Skip navigation
Currently Being Moderated

Help with adding images in rotating banner

Mar 18, 2012 2:10 PM

Hi,

  What's the quickest way to add/replace an image in a rotating banner using CS5.5?

 

Thanks so much,

Rosemary

 
Replies
  • Currently Being Moderated
    Mar 18, 2012 3:18 PM   in reply to Rose1366

    It all depends on how the images are added in the first place.  If the images are dynamically loaded, then just renaming the image file to an existing image file name it will replace would be sufficient.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 19, 2012 4:26 AM   in reply to Rose1366

    You should be able to drag and drop the image within the library, as in click down on it and move it into the Images folder.

     

    You should resize/optimize the image before you import it.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 24, 2012 3:38 PM   in reply to Rose1366

    If you mean the new images are the ones that do not have the rounded corners and softened right edge, then chances are there is a mask involved that you have neglected to include for them. 

     

    What a mask does is it only allows what is covered by it to display.  Masking can be done either using code or in the timeline. 

     

    To get that softened edge (the mask has a gradient that gradually fades out that edge) also requires that both the mask and the image symbol have their cacheAsBitmap property set to true.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 25, 2012 4:59 AM   in reply to Rose1366

    YOu'll need to srutinize how the other images that play properly are treated and do the same for them.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 25, 2012 2:01 PM   in reply to Rose1366

    You look at the objects that currently work and figure out what makes them work... it could be a timeline design or it could be a coded design or it could involve both.

     

    I don't normally write step by step tutorials for people and I doubt you will find one specific to your file's design, particularly if you do not understand how your file is designed.

     

    You might need to hire someone to do this for you if you don't know enough about using Flash to understand the different ways things can be designed.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 25, 2012 2:02 PM   in reply to Rose1366

    If you can post a screenshot of your main timeline, that might help someone to determine how your banner file is designed.  If there happens to be any significant amount of code in the first frame or so, having that in the screenshot could be useful info as well.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 26, 2012 5:47 AM   in reply to Rose1366

    That image in the library and the one on the stage appear to carry the answer.  It appears the images were created to appear as they do outside of the program and imported that way.  So if you want to add new images, you need to edit them to match what you see for the image symbols in the library.  So Photoshop might be the key to resolving your problem, although getting the blurring effect to the right side could prove tricky without having the original file used to create the images.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 26, 2012 10:51 AM   in reply to Rose1366

    You're welcome.  In case you find yourself hitting a wall trying to recreate the images, here is a link to a simple file that demos what I was indicating you could do...  It involves a mask movieclip, an image movieclip, and a little bit of code.  You could build each of the images as movieclips containing what I show.

     

    http://www.nedwebs.com/Flash/AS3_mask_img.fla

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points