PDA

View Full Version : Why does my loaded jpg disappear after the mask reveals it?? Argh!!



vthok
March 28th, 2007, 01:57 PM
https://filebox.vt.edu/~gyanez/flash_test/source/

site on https://filebox.vt.edu/~gyanez/flash_test/

after the mask swipes left to right to reveal the externally loaded jpg, the jpeg disappears and never returns. What am I doing wrong here? I have stop() actions, no extra keyframes that I can see. Please help a newbie.

rabidGadfly
March 29th, 2007, 09:03 AM
Pretty sure I already answered this post somewhere else. You're overwriting your loaded clip with an empty clip. You have to remove the keyframe from the last frame of the layer you're loading your clip on.

vthok
March 29th, 2007, 02:06 PM
Actually that wasnt the problem...the problem is how FLash handles the mask of a loaded external image on the same level as the image. The "fix" was for me to take the shape tween of the mask and put it a movieclip symbol. I then put a instance of this MC symbol on frame 1 of timeline in the mask layer and VOILA it works now. So I had everything setup right it was just the nesting of the mask that needed to be done for some reason.

Soln found from here:

http://www.actionscript.org/forums/showthread.php3?t=66946


Pretty sure I already answered this post somewhere else. You're overwriting your loaded clip with an empty clip. You have to remove the keyframe from the last frame of the layer you're loading your clip on.