Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Loading Flash movie as a sequense

Status
Not open for further replies.

KattyKatty

Programmer
Nov 10, 2003
91
TH
Hello, :)

How can I load Flash movies as a sequense?
This is the details about what I would like to know:

1. loading movies without hit any button from parent movie.
2. Playing first movie while other movies still loading, and showing text "loading" in first movie or parent if it's still loading, and replace with the text of movie's topic when it done.

It should use array for this, but I don't know how?

Thank you,

Kathryn



 
Hi Kathryn,

Hope this helps you on your way.

1. loading movies in sequence is quite simple,


first create a blank movie,
a. click on [ctrl F8]"insert new symbol" give it any name!
b. the blank movie clip will open for edit. [it has a size of 0.0,0.0] do nothing except click on 'scene 1' to end editing.
c. the new blank movie clip will seem to have disapeared, but it's awaiting you in the library, press F11 to see it.
d. click on it in the library, and drag it to your screen area, position it at the 0.0 point [or where ever you want it to be, then give it an instance name, I always use a relevant name and end with '_pos'.

e. now comes the exciting bit, in the frame where you want the new movie to load, enter the action;

loadMovie("*****.swf", "******_pos");

save, and test the movie.

your second question is best left to one who has more experience than I, except to say that it is possible to preload in the background, and when ready, make it visible.

Hope This has been of some use,
Regards
Kiwijor.
 
Hi Kiwijor,

Thank you, I will try to follow your advice. I still need help from somebody that know the answer of my second question?

Thank you again,

Kathryn

plaior1@yahoo.com
 
I'm trying to do a similar thing, so I have a vested interest here, as soon as I figure it all out, I'll share the knowledge with you ;-)

Give me a few days to figure it all out.

KiwiJor
 
Hi Kathryn,

I am working on the "preloader" now, it's proving ok in concept, pictures will load in the background, and be ready for 'showing' when required, I'm off for the weekend, have further details for you next week.

KiwiJor
 
Hi Kiwijor, :)

Thank you, I still have problem with this "******_pos"), what is the meaning of "*****" ? I think we might have to put every movies in a parent, and then make others visible when don't click on it, and have to make them loading as a sequence from first till end. Make me headache when think about it.

Have a nice weekend, :)

Kathryn

plaior1@yahoo.com
 
Hi Kathryn,

I am sorry, not to have explained further, *****.pos is just the name of your image, with _pos on the end of it, as in elephant_pos, as it really is where you will position the picture of an elephant, try to think of the blank movie clip, as if it were a picture frame, which you will "Pos"ition on the screen, I don't yet know how many pictures can be preloaded, and stored hidden till needed, I will find out this week though ;-)

Bye for now

Kiwijor
 
Hi kiwijor,

Thank you so much! for all your help. :)

Have a nice day,

Kathryn




plaior1@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top