dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: preloading images?

  1. #1
    What goes around comes around!
    Join Date
    Jan 2003
    Posts
    106

    preloading images?

    I have a number of buttons that on mouse over an image is loaded.

    On my machine it is like s#^t off a shovel but when its on the web you have to keep the mouse hovering for a good couple of seconds.

    In Javascript you can preload images, can you do it in flash and how?
    "A good idea is a good idea forever " from pilisophical master David Brent

  2. #2
    Friendly fire ain't. skd's Avatar
    Join Date
    Mar 2002
    Location
    toronto.ca
    Posts
    389
    You can preload non-progressive jpegs loaded with loadMovie just like movie clips, using getBytesLoaded()/getBytesTotal() methods. Look into sample preloader scripts, they works for images as well.

  3. #3
    What goes around comes around!
    Join Date
    Jan 2003
    Posts
    106
    Thanks mate I will lokk into that
    "A good idea is a good idea forever " from pilisophical master David Brent

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