dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: dynamically loaded images (.jpg only?)

  1. #1
    Sick of the web
    Join Date
    Nov 2000
    Posts
    160

    dynamically loaded images (.jpg only?)

    I'm loading images from outside my movie using the load movie action. Everything I've read and tried myself so far implies that you can only load .jpgs... Is this correct? I want to load .gis or .pngs so that I can have a transparent background. Any ideas?

    thanks

  2. #2
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,490
    Put them inside a movie clip and load that. It's the only way, then at least you can control 'where' on the stage they load.

  3. #3
    Sick of the web
    Join Date
    Nov 2000
    Posts
    160
    I am loading them into a MC.... ;however that does not seem to allow me to load anything but .jpgs..... Is there a way to load .gifs?

  4. #4
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,490
    You can only load jpg's dynamically. What I meant was to open a new fla, import the gif or png to the library. Drag it to the stage, and do a test movie to create an swf. Then, import the swf to your main movie, using loadMovie.

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