This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > June 2004 > gotoAndPlay display a blank frame before playing the assign frame.





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author gotoAndPlay display a blank frame before playing the assign frame.
JOelle

2004-06-22, 7:21 pm

Hello,

gotoandPlay (in the same scene) display a blank frame before playing
the assign frame number when jpg or gif or swf are loaded using
loadMovie in a MC placed on the main time line.

Here is what I try to do:

I created a slide show of 5 JPGs with transition between them.
JPGs are loaded using the loadMovie and placed on a Movie Clip
loadMovie("pict1.jpg", "_root.pict1");
Movie Clip "pict1" is located on the main time line and a motion path
mask applies to it to do the transition between images.

I want to loop this movie.
To do so from JPG 5 (the last) I repeated the transition to JPG 1 and
from JPG 1 on frame 100 I putted a gotoAndPlay (10) which is jumping
to JPG 1 just before playing transition on the JPG 2.

From JPG1 on the last frame to JPG 1 on frame 10 there I have a blank
frame appearing. Like a flash… I need to get ride of that.

I did a test with JPG imported into the library of my main movie and
placed manually in the good MovieClip and then I do not have the
problem. So, problem might be related to loadMovie function.

I did a test with a JPG loaded using the LoadMovie action but directly
on the main time line level (not on the MC) and then I do not have the
problem … but then my mask does not apply anymore to my JPG.

Thanks for the help on this!
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews