Re: [Flashcoders] Addressing functions in frame script from classscript

2007-03-23 Thread Omar Fouad
Yes u can i did it before... Just Import the classes below the functions u wrote on the timeline... On 3/17/07, Roman Hippler [EMAIL PROTECTED] wrote: If your class extends MovieClip and you have attached it to a MovieClip in the library, you should be able to call the functions on the

Re: [Flashcoders] Addressing functions in frame script from classscript

2007-03-17 Thread Roman Hippler
If your class extends MovieClip and you have attached it to a MovieClip in the library, you should be able to call the functions on the timeline just as if they where methods of your class. You just have to make sure that - your class is dynamic - you invoke the functions with the this keyword

RE: [Flashcoders] Addressing functions in frame script from classscript

2007-03-16 Thread Danny Kodicek
if you are using classes, why do you have code in the movieclip timeline ??? Because sometimes it's easier that way. (And because this is a legacy project that I'm trying not to *completely* rewrite...). Specifically, I've already got a load of movieclips with similar functionality, which I