How to go from one flash movie to another smoothly?

  • monie
  • Born
  • Born
  • No Avatar
  • Joined: Aug 22, 2003
  • Posts: 1
  • Status: Offline

Post August 22nd, 2003, 3:53 pm

I am creating a big Falsh project that is split between a few .swfs. When I link from one swf to another for a split second it flashes off then plays the next one. Is there any way to make the link seemless.

thanks
Monica

Okay so to better explain: I have this flash movie that is blue. At the end of the movie I want it to go to and play another blue movie. (The 2nd blue movie will not be playing inside the first one). On the last frame of the first movie I have this action script
Code: [ Select ]
loadMovieNum("custom.swf", 0);
For a second it flashes white before it loads and plays custom.swf (the 2nd blue movie). Thanks
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post August 22nd, 2003, 3:53 pm

  • SycomCOmp
  • Graduate
  • Graduate
  • User avatar
  • Joined: Aug 02, 2003
  • Posts: 173
  • Loc: USA
  • Status: Offline

Post August 22nd, 2003, 4:15 pm

I'm not to sure what your asking for but I've done a {loadMovie} in my site... dont know if that's what you want it to do... :?: or do you want it to run as a slide show :?: If you could show me an example or give a better example I could further explain a response....

Later SycomCOmp
  • solaris
  • Student
  • Student
  • User avatar
  • Joined: Oct 18, 2003
  • Posts: 83
  • Loc: NC
  • Status: Offline

Post October 30th, 2003, 5:14 am

maybe your loading your movie too early, check youjr timeline and excess keyframes to make sure you have stuck something in there. never seen flash mx "flash" before :)
  • UNFLUX
  • Genius
  • Genius
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 6382
  • Loc: twitter.com/unflux
  • Status: Offline

Post October 30th, 2003, 1:27 pm

what the problem is, is that the new swf isn't loaded before you call on
it. By default, flash uses a white bg for loading new movies - which is
what you are seeing.

one small workaround you can try is to set the swf's default bg color
within the html tag itself.

For the object tag:
Code: [ Select ]
<param name="bgcolor" value="#333333">

For the embed tag:
Code: [ Select ]
bgcolor="#333333


just slip those in and it should help.

Here's a full example of how it should look:
Code: [ Select ]
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
 codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0"
 id="bigwebmaster_sign" width="150" height="80">
 <param name="movie" value="bigwebmaster-sign.swf">
 <param name="quality" value="high">
 <param name="menu" value="false">
 [color=red]<param name="bgcolor" value="#333333">[/color]
 <embed name="bigwebmaster_sign" src="bigwebmaster-sign.swf" quality="high" [color=red]bgcolor="#333333"[/color] menu="false"
  width="150" height="80"
  type="application/x-shockwave-flash"
  pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
 </embed>
</object>
  1. <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
  2.  codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0"
  3.  id="bigwebmaster_sign" width="150" height="80">
  4.  <param name="movie" value="bigwebmaster-sign.swf">
  5.  <param name="quality" value="high">
  6.  <param name="menu" value="false">
  7.  [color=red]<param name="bgcolor" value="#333333">[/color]
  8.  <embed name="bigwebmaster_sign" src="bigwebmaster-sign.swf" quality="high" [color=red]bgcolor="#333333"[/color] menu="false"
  9.   width="150" height="80"
  10.   type="application/x-shockwave-flash"
  11.   pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
  12.  </embed>
  13. </object>


However --
I would ask this, why is it you have it seperated into many swf's and not
using seperate mc's (movieClip) within the original swf? This would allow
you to preload the entire movie at one time, and produde the seemless
transition you want.
UNFLUX.FOTO
  • lostinbeta
  • Guru
  • Guru
  • User avatar
  • Joined: Jun 26, 2003
  • Posts: 1402
  • Loc: Philadelphia, PA
  • Status: Offline

Post October 30th, 2003, 2:31 pm

monie wrote:
Okay so to better explain: I have this flash movie that is blue. At the end of the movie I want it to go to and play another blue movie. (The 2nd blue movie will not be playing inside the first one). On the last frame of the first movie I have this action script
Code: [ Select ]
loadMovieNum("custom.swf", 0);
For a second it flashes white before it loads and plays custom.swf (the 2nd blue movie). Thanks


If you are using loadMovieNum then your 2nd blue movie is indeed playing inside the first one since loadMovieNum loads a movie into a level of the current movie playing.

But the flashing part is confusing. Because even using loadMovieNum if the movie hasn't loaded then it will be transparent until it does load (since flash can't show something it hasn't fully loaded), so no flashing should occur, but rather, a delay between the end of the first and the start of the second.

So as solaris said, check for any excess frames that could be causing this flash.
  • UNFLUX
  • Genius
  • Genius
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 6382
  • Loc: twitter.com/unflux
  • Status: Offline

Post October 30th, 2003, 2:32 pm

why is it that i think you're right, and i'm not :oops:
UNFLUX.FOTO
  • solaris
  • Student
  • Student
  • User avatar
  • Joined: Oct 18, 2003
  • Posts: 83
  • Loc: NC
  • Status: Offline

Post October 30th, 2003, 3:04 pm

hehehe, to backup my theory on the excess frames, if your background movie color is white, this may be one of the reasons u see a flash. Unflux answered one of my own questions on how I would use transitions to load movie swfs, I see this as maybe being extremely difficult :)

Hope we helped you man ;)
  • bhandari2000
  • Born
  • Born
  • No Avatar
  • Joined: Jan 07, 2004
  • Posts: 1
  • Status: Offline

Post January 7th, 2004, 4:14 am

just copy the first frame of your second movie and paste in the last frame of your first movie to avoid the jerk.........
  • tribel
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Mar 02, 2004
  • Posts: 5
  • Status: Offline

Post March 3rd, 2004, 8:32 am

hey,

what did you do to help this problem. i have exactly the same problem and dont know what to do about it. thanks.
  • ToshTrent
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Feb 23, 2004
  • Posts: 14
  • Status: Offline

Post March 6th, 2004, 7:00 am

Same problem here. It's not really a "flash" it's where the first movie is replaced by another on the same level, I guess this is just due to the unloading of the original first, best way arround is to have the new movie loaded to the level above (_level2) then when _level2 hits the first keyframe action the unload (_level1) event. This should make it seem "Seamless"

Code: [ Select ]
loadMovieNum("newmovie.swf", 2);
unloadMovieNum(_level1)
  1. loadMovieNum("newmovie.swf", 2);
  2. unloadMovieNum(_level1)


That should do the trick, let us know how you got on,

Cheers
Tosh
  • tribel
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Mar 02, 2004
  • Posts: 5
  • Status: Offline

Post March 8th, 2004, 7:44 pm

thanks, it helped me a bit on the way. now, my background stays which is great but the content on each page is still flashing. please have a look at http://www.annatribelhorn.net. can't find any help for this on the net, so there must be some way out of it! is loadMovie a script that people dont use? any tips would be great.
  • ToshTrent
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Feb 23, 2004
  • Posts: 14
  • Status: Offline

Post March 9th, 2004, 12:40 pm

Quote:
thanks, it helped me a bit on the way. now, my background stays which is great but the content on each page is still flashing. please have a look at http://www.annatribelhorn.net. can't find any help for this on the net, so there must be some way out of it! is loadMovie a script that people dont use? any tips would be great.


I like the style of your site. I see where the problem seems to be occuring, how many kilobytes is the entire site (all the *swfs together)?

I was thinking, instead of having lots of different flash movies for your siie, have one which has all the menu options and the background, then have a holding frame which you load a jpg image into when an option is selected.

I can pop an example together for you if you would like.

Cheers
Tosh
  • tribel
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Mar 02, 2004
  • Posts: 5
  • Status: Offline

Post March 9th, 2004, 12:57 pm

i'm just creating a new post to see what you wrote, now it's all behind buttons and stuff.
  • tribel
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Mar 02, 2004
  • Posts: 5
  • Status: Offline

Post March 9th, 2004, 1:09 pm

all the swf's makes up a total of 700 KB. i dont know if i should count the pdf which is an additional 260 KB. could that be the problem that it is too big? i'm using gif for the images since the type comes out better that way.

i would definitely like you to pop an example, that would be very cool.
  • ToshTrent
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Feb 23, 2004
  • Posts: 14
  • Status: Offline

Post March 10th, 2004, 12:56 pm

ok, i've popped together a very simple example for you, it has been winzipped with two example images.

I would recommend when publishing your website that you protect the content by selecting "Protect from Import" in the publish swf settings. This will assist in theft of your site design and images as easily. (Like I did for your example).

As i've just imported your site, send me your email address and i'll send you the file direct, don't want it thieved by anyone else... 8)

Hope this helps. Feel free to ask more questions if needed.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post March 10th, 2004, 12:56 pm

Post Information

  • Total Posts in this topic: 16 posts
  • Users browsing this forum: No registered users and 31 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.