[Extendflash] Live Preview
Judah Frangipane
judah-fc at t8design.com
Wed Dec 14 11:49:53 PST 2005
I am working on a component that attaches a movieclip. When I drag it to
the stage it attaches multiple copies of this movieclip skipping my
checks and balances. But when I test the movie it works and shows only
one instance like it is supposed to. Is there anyway to find out in my
component class file if the instance is on the stage or in a test movie?
class myComponent extends UIComponent {
// constructor
function myComponent() {
}
function init() {
if ("onTheStage") {
// exit out and do not attach movie
}
else {
// attach movie
}
}
}
More information about the Extendflash
mailing list