flash as3: can children not run their own actionscript?
Posted
by HeroicNate
on Stack Overflow
See other posts from Stack Overflow
or by HeroicNate
Published on 2010-06-07T14:27:22Z
Indexed on
2010/06/07
19:32 UTC
Read the original article
Hit count: 237
actionscript-3
|addchild
I thought I was being slick by having movieclips that I export for actionscript and then addChild later. I've made this one movieclip that loads html text through as, and it works fine when I drag it to the stage; but if I do
var trackListingBox:trackListingScreen = new trackListingScreen();
addChild(trackListingBox);
it either doesn't run the actionscript, or it's somehow broken. Can children not run their own action script?
© Stack Overflow or respective owner