Load external MovieClip
this might more complicated can handle @ moment but... right i'm trying find way load custom, animated artwork , external .swf file. add movie clip .swf file's library application. happily, class seems load successfully: function created returns proper value. since flex components don't regular movie clips, i've added uimovieclip application, , add contructed object that. nothing appears! puzzled, tried use following. property "container" uimovieclip. when box drawn, both , external clip display marvelously. nothing @ shows when box not drawn. why? because has no dimensions?
container.visible = true; with(container.graphics) { linestyle(3,0x00ff00); beginfill(0x0000ff); drawrect(0,0,100,100); endfill(); } addelement(container);
oh ya, , there way find of applicationdomain's definitions or loop through them?
drawing in container gives size. adding child size
should well, child reacting parent size or
maybe not added @ right time.
More discussions in Flex (Read Only)
adobe
Comments
Post a Comment