FCS and mvc
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Macromedia Flash Server > FCS and mvc




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    FCS and mvc  
[*__*]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-07-05 10:55 PM

I'm working of an pattern based application modelled on the mvd triad. I
have found a few situations I would like to share with the group and a
few unanswered questions

These round of findings are in the Model which holds the business logic
of the application

1) The NetConnection Object  though declared as a  private property of
the Model class refuses to activate except it is referenced to the root
of the application. I had ab initio tried to initialize it as a property
of an object of the Model with no success at all. Once referenced to the
root or to an object referenced to the root all is fine.

Why does this happen?

2) Shared Objects will not initialise except triggered in a separate
function (Peldi, this was the palaver of yesterday). I tried as many
different scopes as possible, referencing to the root, objects off the
root, objects within the class- no cigar. I then created a private
method which initialized the SO and made the net connection object the
method parameter. All was well?

Any reasons why the SO will not initialize any other way??

3) A shared object was defined as a private property of  the Model
class. The onSync method was then defined like so:

this.s_so.onSync = function(list) {

for (var i in this.s_so.data) {
whatever blah();
}
It failed woefully.
However this worked

this.s_so.onSync = function(list) {

for (var i in this.data) {
whatever blah();
}

Why ?

I'd appreciate any answers

a


=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:18 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register