Hi,

I am working on a project where I have been supplied a number of animation scenes in separate SWF's due to the size of the finished animations. All the animation in the SWF's is on the root timeline and some of it is in separate scenes :(

In order to sequence the animations, I am preloading these SWF's into a shell application then playing them in order I need to be able to detect when certain frames are reached inside these animations in order to fire off various events - like playing the next one, etc.

Rather than extend the functionality of MovieClip by adding to the prototype - the AS1 way - is there a better way of gaining some control over these clips?

I would love to cast them as a subclass of movieclip which dispatches events and can play backwards forwards, etc. but as I am dealing with the root timeline, I guess I cannot cast the MovieClip object as something with extra functionality?

I have the FLA's so at worst, I could move all the frames from the root timeline into a clip linked to my subclass, but as there are a lot of scenes, this is not a desired course of action.

   Thanks for your help

   Glen
_______________________________________________
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