Groups | Blog | Home
all groups > flash actionscript > july 2007 >

flash actionscript : Flash movie playing continuously


Jean DENOEL
7/24/2007 9:18:43 PM
Hi ya'll,

I'm new with this forum and about as new with flash. So, I need help.

I wrote a very simple Flash movie (a simple picture "appearing" i.e. with it's
alpha going from 0% to 100%, nothing more) which I load from another Flash
movie (the one with the "miniature" of the picture) with the code below
attached to the instance of this "picture-button"

on (release) {
loadMovieNum("affich_photo.swf", 3);
}

The number "3" is there because I want my picture to appear over the existing
screen.

It works, the picture appears, but the sequence keeps running continuously.
I can't find why and how to make it play only once.

Any idea?

Thanks

Jean
dzedward
7/24/2007 9:24:44 PM
Jean DENOEL
7/24/2007 9:28:21 PM
Thanks for helping me.

I've done that. But it doesn't work (at least not when I try it on my computer)
dzedward
7/24/2007 9:34:29 PM
it should work when you test it locally. where are you putting the stop action?
are you clicking the last frame, then opening the actions panel and typing
stop();

or are you clicking something on stage then opening the actions panel?
Jean DENOEL
7/24/2007 9:44:52 PM
dzedward
7/24/2007 9:52:56 PM
Jean DENOEL
7/26/2007 8:13:48 PM
Ok, I'm back.

I've done it again and I still have the problem.
So I designed a small web page with links to 4 files (start.fla, start.swf,
loaded_page.fla and loaded_page.swf). You can load them all and you'll see what
I'm trying to do. The site address is www.jeandenoel.net
In fact, I'd like the "loaded_page" to appear AFTER the text on the start page
is fully printed.
Thanks for your help
AddThis Social Bookmark Button