A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: loadmovie() question

  1. #1
    Senior Member
    Join Date
    Dec 2003
    Posts
    188

    loadmovie() question

    If you use loadMovie() to load a jpg image into your flash.. is there a way to preload the image that's being loaded?

    Ideally I would like to preload jpgs that will be used in later scenes in my movie, during the first scene.

    How would I do this?

  2. #2
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    You can preload any number of .jpgs, so that they're cached (ready for later use...), in off-stage movie clip container(s)...

  3. #3
    Senior Member
    Join Date
    Dec 2003
    Posts
    188
    So I would just do that in another hidden MC in scene 1, and they'll be available for loading at any other point in the movie.. regardless of what scene I'm in?

  4. #4
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Assuming your not loading 100 heavy pictures, within a 10 second scene, possibly! Your scene's length, the size and number of pictures being loaded and even the user's connection speed, will determine if it's all possible!

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