A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: is it possible to load gif dynamicly ??

  1. #1
    Junior Member
    Join Date
    Sep 2001


    is it possible to load gif dynamicly using loadMovie command ??

    ... i c ant manage to do it !!

  2. #2
    Junior Member
    Join Date
    Dec 2001
    Spain, Madrid

    ...yes you can

    Hi, you can load an image dinamicly (gif, jpg...). One way to do it is to create an empty moviclip. And then you can load the image into the moviclip. Imagine you want to load the image when you press a button.

    loadMovie("myphoto.jpg", "_root.myemptymoviclip");

    Either the image is in the same directory or you have to specify the whole path. The second parameter is the name of the instance of the empty created moviclip.

    Hope it helps...

  3. #3
    Senior Member
    Join Date
    Jan 2001

    hi you can but

    hi dude,

    you can do that but remember only specific file formats can be loaded at runtime.....progressive jpegs are not loaded at runtime...so don't give any streaming properties for the images to load in flash dynamically.

    good luck

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