Hi Erik, thanks so much for your help, I really appreciate it. :)

On Wed, Apr 20, 2011 at 6:48 PM, Mattheis, Erik (MIN-WSW)
<ematth...@webershandwick.com> wrote:
> Put a function in your document class and check if the function is defined?

Hmm, sorry, I might not have explained things too well.

I have updated my code with comments:

https://gist.github.com/933493

Basically, I needed a way to test if my class was assigned to the FLA
as a Document Class, or, if it was assigned to movieclip/sprite in
library (export for actionscript) and added to stage manually.

I hope that explains things better.

The code I have posted appears to work pretty good, but I am far from
pro AS coder, so any feedback ya'll could provide would be
spectacular. :)

Cheers,
Micky
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to