Groups | Blog | Home
all groups > flash (macromedia) > june 2005 >

flash (macromedia) : Fading in an external movie


Kellis Landrum
6/21/2005 8:48:51 PM
Hi,

Still new to this so I my be setting this up the wrong way. I'm loading an
exteral movie (1.jpg) into a movie clip (image1), then nesting it inside
another clip (ref1) where it plays for 50 frames, then fades out (alpha100-0)
from frame 51-75. This is not working for me and I'm hoping someone can point
me in the right direction. The only script I am using so far is-

loadMovieNum("images/group_1/1.jpg", 100);


What really need to accomplish is to make a slide show. To keep the load time
from being to large I want to break the show into a few pieces (4 movies). I
also want the movies to call the images dynamically so the can be switched out
relativley quickly. Any suggestions are welcome.

Thanks
sly one
6/22/2005 1:10:13 AM
The best way would be to fade via actionscript. There is a slide show example
included with Flash that you can have a look at...but it will probably scare
you off if you are new to actionscript. You will need to learn three things:

1. loading via MovieClipLoader (look in the Actiosncript dictionary)
2. detecting that the file has fully loaded
3. Fading the alpha via scripting

Here's a tutorial that might get you going:
http://actionscript-toolbox.com/samplemx_slideshow.php
AddThis Social Bookmark Button