A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Changing an image

  1. #1
    Member
    Join Date
    Jul 2009
    Posts
    42

    Changing an image

    I have made a flash pannel for a website, the panel is made up of 3 images, the tweens are all done and the panel is finished!

    But the problem is that i need to change all the images, the images will be the same size, and move the same way, its just i need them to literally be swapped with another? Is there a quick way to sway them, rather than making the whole thing again with new images?

    Thanks

  2. #2
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176
    import the image names from a text file using the LoadVars class (examples in Help files)
    use the LoadVars.onLoad function to place your images

    alternately, use an xml file and the XML class / XML.onLoad

  3. #3
    Member
    Join Date
    Jul 2009
    Posts
    42
    Sorry that means absoloutely nothing to me!

    That sounds incredibly technical lol

  4. #4
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176
    start by reading the relevant sections in the help files and testing the examples given

  5. #5
    Rookie Panda
    Join Date
    May 2009
    Location
    Philippines
    Posts
    1
    You can...

    1. Update the image from the library

    - assuming you have just overwritten your image file used in flash, go to library the right-click on the image you want to change
    - then click update

    2. Swap Image

    - import to library the new images
    - select the image to be change in the stage (go inside the symbol)
    - then under the properties click on Swap and select the new image on the list, then click Ok.

    Hope this helps.

Tags for this Thread

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