dcsimg
A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Help Pre-Loading an external swf

  1. #1
    I'm working on a CD rom wich contains some basic info and some embeded quicktime movies, since the SWF movie was getting to big I divided it into smaller movies and just loaded them on to an index.swf whenever you click on a button. Problem is whenever I click on a button that will load one of these smaller movies it kinda freezes for a minute and then plays the movie fine. Is there a way to have a pre-loader that will make it not freeze?

    How do i do this? Any input is apreciated.

  2. #2
    NerdInside's Avatar
    Join Date
    May 2001
    Location
    Penguin Island
    Posts
    3,439
    Put a preloader on the first frame of every movie you are loading. It should take care of the problem.

  3. #3
    I tried that but, it freezes before it loads the new movie. I am calling with a button that when clicked calls this action:

    on (release) {
    loadMovieNum("STRATEGIC.swf", 1);

    when i click it it freezes!, So I was thinking if instead load smaller SWF that will have a loading animation, and have a pre-loading "STRATEGIC.swf" and then go to and play STRATEGIC.swf... is this possible?

  4. #4
    Danny Gomez Creations cosmiceye's Avatar
    Join Date
    Mar 2002
    Location
    under a palmtree in Jamaica waiting for psytopia 2005 to begin
    Posts
    982
    if the work is for a cd-rom, then why do you even care about the size, and download? If it is becouse it takes to much time to test the big movie during the progress, have all the movies being loaded at one time, but stoped at their first frame, which should be an empty frame.

  5. #5
    Let me try stopping it at the first frame

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center