1 Reply Latest reply on Nov 6, 2008 10:32 AM by clbeech

    Convert an image to a button

    giorgiss
      How to convert an image to a button through actionscript 2 (flash mx 2004); Is it necessary to convert it to a button or there is an event so that if someone clicks on an image, he will go to another frame. I load images into my flash through an xml file and i need an event so than if someone clicks on an image, he will go to another frame.
        • 1. Re: Convert an image to a button
          clbeech Level 3
          you can apply a onPress handler to the MC that you are loading the image into. if you need each image/MC to nav to different addresses (that you would draw on from the xml, like foe instance in an attribute) you can assign the URL to the handler within the onLoadInit handler of the MCL class for each image.