I have a jpg that i load dynamicly into my swf
when i try to set a mask to it doesnt work??
[AS]mymovieclip.setMask(mymask);[/AS]
I have a jpg that i load dynamicly into my swf
when i try to set a mask to it doesnt work??
[AS]mymovieclip.setMask(mymask);[/AS]
I’m not sure… but try calling the [font=courier new]MovieClip.setMask()[/font] method once the image has been fully loaded.
ok how do i find out if a jpg has been fully loaded? im using
[AS]this.loadMovie(“1.jpg”);
[/AS]
You use the [font=courier new]MovieClip.getBytesLoaded()[/font] and [font=courier new]MovieClip.getBytesTotal()[/font] methods. Run a search for more info, I (and many others) have answered this question several times.
nah , thanks all i need was the code… i can figure it out now thanks for your help
That’s the spirit! Good luck!!
:: Copyright KIRUPA 2024 //--