As you might know I am always fighting for the favour of Flash, it seems
that luck is with me this weekend. Currently, I am working on flash
website which is now totally event based, and includes /finally/ some
patterns. Not perfectly, but works, though. Only I happen to have some
issues with, let me first explain the current design, and then the
problem.

The website is based on several AS2 classes including Application, which
creates the SiteController instanec. The SiteController then creates in
the initialise-mthod the SiteModel and SiteView instance. This works all
greatly. I am receiving a modelDataAvailabe-event when the SiteModel is
done retrieving the required information such as navigation, news etc.

In the event dispatch method (through delegation) it starts a nice cycle,
i.e.  createContent() and then createNavigation() and such.

Now, the problem I have is the content + navigation thing. I want that the
content animation is shown first, before the navigation animation is
started. This quite easy with events, the problem only is that I want to
content to be in a separate movie (for organisation purpose). Anyone know
how I should do this?

My current idea is that I make a class something like AboutPage which then
gets created when the visitor requests the About-page. The constructor of
the class will then have parameter which represents the model for this
page (i.e. array with news).

What do you think of this solution? Any good?

-- 
Yours,

Weyert de Boer ([EMAIL PROTECTED])
innerfuse*

http://www.innerfuse.biz/
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to