Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Preloading.....

simsim Member Posts: 40
What tricks do I make to create a flash movie that first it show the loading image while it keeps on downloading the whole file that will be used by the page. Coz when you upload a movie and played in the browser, the playing sequence is not as smooth as it plays when you compile it. It keeps on pausing until the whole file used in the movie is fully downloaded from the server. Also, if it is already done and when you click the refresh or back button it will not show the preloading image again......


Comments

  • JomacJomac Member Posts: 231
    : What tricks do I make to create a flash movie that first it show the loading image while it keeps on downloading the whole file that will be used by the page. Coz when you upload a movie and played in the browser, the playing sequence is not as smooth as it plays when you compile it. It keeps on pausing until the whole file used in the movie is fully downloaded from the server. Also, if it is already done and when you click the refresh or back button it will not show the preloading image again......
    :

    What you need to do is make the second frame in your first scene check if:

    [b]_framesloaded >= _totalframes [/b]

    if it is then the movie is loaded otherwise, send it back to frame 1 where it can play and check again.

    You can work out the percentage with simple math, and display it in a text field or resize an image to look like a progress bar.

    Provided the browser has not cleared its cache, the movie will not need to go through the whole loading process again.

    Regards Jomac.


  • simsim Member Posts: 40
    : : What tricks do I make to create a flash movie that first it show the loading image while it keeps on downloading the whole file that will be used by the page. Coz when you upload a movie and played in the browser, the playing sequence is not as smooth as it plays when you compile it. It keeps on pausing until the whole file used in the movie is fully downloaded from the server. Also, if it is already done and when you click the refresh or back button it will not show the preloading image again......
    : :
    :
    : What you need to do is make the second frame in your first scene check if:
    :
    : [b]_framesloaded >= _totalframes [/b]
    :
    : if it is then the movie is loaded otherwise, send it back to frame 1 where it can play and check again.
    :
    : You can work out the percentage with simple math, and display it in a text field or resize an image to look like a progress bar.
    :
    : Provided the browser has not cleared its cache, the movie will not need to go through the whole loading process again.
    :
    : Regards Jomac.
    :
    :


  • simsim Member Posts: 40
    : : : What tricks do I make to create a flash movie that first it show the loading image while it keeps on downloading the whole file that will be used by the page. Coz when you upload a movie and played in the browser, the playing sequence is not as smooth as it plays when you compile it. It keeps on pausing until the whole file used in the movie is fully downloaded from the server. Also, if it is already done and when you click the refresh or back button it will not show the preloading image again......
    : : :
    : :
    : : What you need to do is make the second frame in your first scene check if:
    : :
    : : [b]_framesloaded >= _totalframes [/b]
    : :
    : : if it is then the movie is loaded otherwise, send it back to frame 1 where it can play and check again.
    : :
    : : You can work out the percentage with simple math, and display it in a text field or resize an image to look like a progress bar.
    : :
    : : Provided the browser has not cleared its cache, the movie will not need to go through the whole loading process again.
    : :
    : : Regards Jomac.
    : :
    : :
    :
    :


Sign In or Register to comment.