PDA

View Full Version : access document class



sger_error
July 10th, 2007, 09:07 AM
how to access document class (methods, properties) from an external .swf

senocular
July 10th, 2007, 10:17 AM
you can use parent until you reach a display object whose parent is the stage, or you can have your document instance pass a reference of itself to the loaded swf

sger_error
July 10th, 2007, 10:29 AM
so i'm loading different .swfs with different document classes

how can i trace the definition of the document class

any examples?

thanks dude!!!

CarlLooper
July 10th, 2007, 04:32 PM
Have a look at the docs for this:

flash.utils.describeType();