View Full Version : A load movie/level mess
pdechery
02-04-2003, 02:15 PM
Hi everyone,
I´m having a little trouble with loading movies in different levels. I would like to ask everyone who can spend a little time to see the site I´m working on, and maybe bring a little light to my mind.
This is the url to visit : www.webstyle.com.br
When you go to the site (which, by the way, is all written in portuguese), go fot the "portfolio" section. When the section became completely loaded, hit the "fechar" (close, in portuguese) button. At that point you will notice the problem. The layout disappears through some seconds, and start to re-load again frame-by-frame, and only after that the movie which shows the closing of the portfolio loads. Of course, this happens because the swf. file is a little large and needs to load itself. I understand that, but I need some solution in which that not happens, and the layout behind the animations remains still through every section of the site.
(I hope everyone is understanding my english writting. It´s kinda difficult for me to wright in other language than portuguese)
So I´ll wait for some comments, suggestions and ideas, and give my thanks for you all just for having the work of read this such weird-written letter ! Thanks to you all !
Pierre
Billy T
02-04-2003, 10:26 PM
looks like you are loading it into level0
you should have the bg graphics in level0 and the stuff that changes in level1 or whatever
http://www.tableau.com.au/tutorials/smooth_transitions/
http://www.tableau.com.au/tutorials/load_movie_tute/index.html
cheers
pdechery
02-05-2003, 11:18 AM
Billy T,
Actually, my first try was to do like you told, (keep the layout in level 0 and load everything in level 1) but in that way a little "gap" ocurred on the loading of the "shrink portfolio" swf which, through some seconds, showed again the layout like it is in level 0, whitout the portfolio opened, to, after that, run the "close portfolio" movie. So that "shrink" movie runned with nothing to shrink, starting from zero. Of course, I placed and "unloadMovie" action in the "fechar" button, to avoid the opened portfolio to remain visible through the closing. But I wanted it to appear right before the running of the "close" movie, so it would appear to be shrinked by it.
I don´t know if I could explain you right, but seeing the site you will know better what I´m trying to do, and maybe help me in that intent. I just need the "close" portfolio movie to run right after the opened portfolio, with no gaps, no intervals, no nothing. Can you help me in thinking of a solution who could make that possible ?
Great thanks for your help !
Pierre
pdechery
02-05-2003, 11:26 AM
Hi,
I forgot to told, after my last message (read it above), that in publish environment (my house) my solution worked right. The problem just happened when I send the site to the web.
Bye,
Pierre
Billy T
02-05-2003, 02:08 PM
Hi pdechery the brazilian guy
did you check out the tutes? I don't really understand your problem
cheers
curtis10
02-05-2003, 04:20 PM
Billy T
Bizarrely this is something I was also looking to do....can this also work in conjunction with createEmptyMovieclip....alternatively do you know how to assign a level to a movie clip placed on the main timeline....
thanks
Curtis
pdechery
02-05-2003, 05:21 PM
Hi Billy T,
I´ll try to explain better and simpler now :
When you open the portolio, it expands, right ? So, when you hit the "fechar" button, you expect it to shrink the portfolio starting right from the opened version. A movie loading right after another, without nothing in between. In time : both movies are separeted swf files, controlled by "loadMovie" actions.
On the web you can see what´s happening, and that is due to the fact that the closing movie is loading on level 0, and bring all the bg stuff back again. So, it has to take a little loading time.
I think the best solution is to do like you told (bg level 0 - other swf´s level 1), but that will cause the problem that I have told in my last message. The closing movie, the one you run by clicking in "fechar", runs only after a lapse of time in which the opened portfolio disappears, and the closing starts from the basic layout.
The problem is that these two swf files are complementary to each other. Together they create the animation of a shape that shrinks and expands. They need to run without any lapse of time between them.
Became better now ?
Thanks a lot,
Pierre
P.S. : I went to your site. Very nice. I´m a musician too !
Billy T
02-05-2003, 09:54 PM
the closing animation should be in the same swf
please do the smooth transitions tute
curtis - you can assign a depth to a movieclip - not a level - http://www.macromedia.com/support/flash/ts/documents/layerslevelsdepth.htm
cheers
pdechery
02-06-2003, 10:24 AM
Hi Billy,
So you´re saying that the closing movie, instead of being a separeted swf file, should be a movie clip, which will run inside the opened portfolio ? That propably will work !
And that movie clip should be inside the main timeline of the portfolio swf, right ?
So The "portfolio" swf will end with two movieclips : one to open other to close. I need just the actionscript to erase one while I load another.
Great thanx again !
Pierre
curtis10
02-06-2003, 11:07 AM
Thanks for the link....
I did the tute and it works (just some path issues I had to sort out)....
I do have another question though....is it easy to make the script control more than one movie at a time ?
I have a situation where 3 of my 4 sections have two movies loaded into them and 1 only has 1 movie. The extra movie is sections 1,2 & 3 is the same movie.
thanks for any help
Curtis
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.