This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > February 2006 > How to play many swf movies in sequence in web pages





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 How to play many swf movies in sequence in web pages
AmazingInternet

2006-02-24, 10:16 pm

Who knows how to make html pages to play swf movies one after another in the same page? Are scripts required? If so, what kind and how to program them? Please help. Thanks.
michael novia

2006-02-24, 10:16 pm

well, im not sure exactly what your trying to do? i assume you have an area
with flash, but once that movie has ended you want another movie to play? - the
logical way- in flash is to use loadMovie() at the end of your movies so it
will load the next movie in.

If i were to play 3 movies, i want 4 flash files.

the first will be blank, with an empty movie clip, i would then load flash
file 2' into that movie clip.

flash file 2 would load flash file 3, in the same clip at the end of the movie.
flash file 3 would load flash file 4, at the end.
and so on, and so on..


AmazingInternet

2006-02-24, 10:16 pm

Michael, thanks for your prompt reply. I'll explain exactly what I want to
accomplish. Let's say I have a web site (www.MyDomain.com/index.html) that
shows a small swf intro movie (movie1.swf). At the end of that movie, a new
html page should load that will play a 2nd movie (movie2.swf). This new web
page (www.MyDomain.com/Movie2.html) will also have, below the area that holds
movie2.swf, a small form for users to input their personal info (name, email,
phone #, best time to call, etc.) that the page (www.MyDomain.com/Movie2.html)
will email me, so I can contact that prospect. The problem is I can't make the
html page to play the second movie (in a new page).

Another option that I was considering was to join those 2 movies into a single
movie, thus having a single page, with a single movie, and with the form in it.
In this scenario, is there a way to join those 2 movies into a single one? I am
using Macromedia Flash Pro ver. 8. I'm new using this software and I don't know
if Flash 8 can do it. It's so vast and has so many commands that it makes me
dizzy. I believe I can do it, but I don't know how. How can I import a movie
project into another? Or, how can I "merge" 2 movies into one? Or, how can you
import one fla project into another? How could you explain in a 9-year-old
language how to accomplish this task?

I hope this will clarify my intentions. Any light you could shed will be
extremely appreciated. Thanks in advance.

Henry Power
AmazingInternetProfits@hotmail.com

jhutchdublin

2006-02-25, 6:15 pm

You're going to need scripting -- ActionScript. You can import movies into one
another using the loadMovie command as Michael said.

If you don't have a programming background look up tutorials on using
behaviors It will let you load extenal movies clips by clicking on buttons.
With Behaviors you want have to know ActionScript inside out. But to get the
most from Flash it is something I would definately learn at some point

Sponsored Links


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