Hi, again... one more problem that has puzzled me for a while now.
I am loading in a several swf:s and want them to dynamically scale to fit in on
a set of buttons. I thought that the clip would be ready for manipulation when
the loadComplete event occurs but I still can't read the width of the loaded
clip...
mclListener.onLoadComplete = function(target_mc:MovieClip, status:Number):Void {
trace('target_mc._width: ' + target_mc._width) // traces "0"
target_mc.onEnterFrame= function(){
trace('this width: ' + _width) // traces "70" (correct width)
}
};
As you see when I delay the trace to the next enterFrame it works. Is there a
way to force the clip to update? Preferably without updating the entire stage.
Thanks for your help!
/David
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com