A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Loading multiple images into one flash movie clip

  1. #1
    Junior Member
    Join Date
    Jul 2004
    Location
    New York
    Posts
    6

    Loading multiple images into one flash movie clip

    Is there a way to make it so I can automatically insert my 200 images into 1 big movie clip? So I do not have to add all of them manually?

  2. #2
    Sir solves own questions :-D
    Join Date
    May 2003
    Location
    IL
    Posts
    216
    You could have all the pictures sized in a folder and have 1 frame on that movie clip.

    Then put a script with someting that would load the pictures and make buttons that would goto the next one in the folder.

  3. #3
    Junior Member
    Join Date
    Jul 2004
    Location
    New York
    Posts
    6
    I'm not that good in flash

  4. #4
    Junior Member
    Join Date
    Jul 2004
    Location
    New York
    Posts
    6
    Can anyone help?

  5. #5
    Senior Member
    Join Date
    Mar 2003
    Location
    New Orleans
    Posts
    191

    okay here's what you do

    Create a movie clip with as many fames as you have movies. On each frame place a stop command "stop();"

    Then on each frame place an action loadmovie(imagename.jpg);

    then your mc will have many movies loaded into separate frames.

    To show the specific image, create a button that has the command
    PHP Code:
    on (release) {gotoAndStop(frame number goes here)}; 
    Last edited by lelales; 12-12-2004 at 05:02 PM.
    I'm only in it for the pleasure

  6. #6
    Junior Member
    Join Date
    Jul 2004
    Location
    New York
    Posts
    6
    I don't want to have to do that for 200 images though

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