Anyone have an easy way to hide an image when clicked?

Hi,
I have an image where I need each text box/arrow to delete once clicked. Surely there is an easier way than creating millions of frames? Is it possible to do it with a button? The person using the animation needs to click the right ones that would lead to them dissappearing.
This was mocked up in photoshop. Only the photo would be brought into flashes library.
Thanks in advance.

Thanks esdebon for your response. I have tried to get it to work and keep getting compiler errors. Nothing happens when i click on the movie clip. button was converted to a movie clip and I added the actionscript but to no avail. This is the error I am getting while testing:
Scene=Scene 1, layer=low, frame=1, Line 1
Statement must appear within on/onClipEvent handler
Scene=Scene 1, layer=low, frame=1, Line 3
The class or interface 'MouseEvent' could not be loaded.
In your second response does "
image2.addEventListener(MouseEvent.MOUSE_OVER, hideImages) // to mouse over event
image2.addEventListener(MouseEvent.MOUSE_OUT, hideImages) // to mouse out event"
replace "
image2.addEventListener(MouseEvent.CLICK, hideImages)
image3.addEventListener(MouseEvent.CLICK, hideImages)
image4.addEventListener(MouseEvent.CLICK, hideImages)"
for each image? Two lines compared to one in the original line of code?
Also does this stay the same for the first image?
image1.addEventListener(MouseEvent.CLICK, hideImages)
function hideImages(e:MouseEvent):void{
     e.target.visible=false;

Similar Messages

  • Does anyone have an easy way to transfer Picasa photo files to G5 from a PC

    I have 11000 photos in Picasa and got my apple to do more with them. I cannot seem to transfer the photos without emailing them individually.
    Does anyone have any experience with this? Help!

    Hi butterbeer,
    check out this Switch page
    http://www.apple.com/switch/howto/
    Hope you find the right solution for your situation.

  • Does anyone have an easier way of playing sounds?

    I've been learning AS3 this year and so far the most tricky and annoying thing for me is the way the Sound Channel works.
    I have a movieclip holder with around 20 frames, with animation on each frame.
    I have been coding my sound effects, but soon I'll need a Voiceover track on each frame. I don't want to have
    to write tons of code for each one, playing them and stopping them if the user toggles back and forth.
    Is there a simple way of doing this? I tried adding sounds on the timeline using 'event', but they don't stop
    playing if you go to a new frame.
    Any ideas?
    Thanks,
    Matt

    If you use external MP3 files you could have an array of the file names, or construct the filename based on the frame number. Then you would do a SoundMixer.stopAll() to stop any other sounds playing, and then play the frame's external MP3.
    The SoundMixer.stopAll() ought to work for the timeline Event sound version too.

  • I have just updated my software on my iPhone 4S to IOS7.0.4 now I have lost many of my contacts.   Can anyone suggest an easy way to reinstate them.  (Without having to add them all again as I don't know what I have lost until I need it).

    I have just updated my software on my iPhone 4S to IOS7.0.4 now I have lost many of my contacts.   Can anyone suggest an easy way to reinstate them.  (Without having to add them all again as I don't know what I have lost until I need it).

    Try assigning Queen as the Album Artist on the compilations in iTunes on your computer.

  • I have huge amount of data on a windows external drive and want to transfer to a Mac drive.  Does anyone know an easy way to do this?  I have almost 2TB of data to transfer.  Thanks.

    I have huge amount of data 2TB on a windows Fantom external drive and want to transfer to a Mac drive.  Does anyone know an easy way to do this?  Thanks.  I have an IMac 3.5 GHz Intel Core i7.  I haven't bought a Mac external yet. 

    Move your data to a new Mac - Apple Support

  • Does anyone have a quick way to have iTunes on my ipad list which songs are actually downloaded to the device ?

    Does anyone have a quick way to have iTunes on my ipad list which songs are actually downloaded to the device ?

    If you want to import movies into iTunes you can use that to stream & convert to Apple TV compatible formats as Rudegar suggested.
    Another option is to install a media streaming application like Plex or Kodi on a PC/ Mac.
    https://plex.tv/
    http://kodi.tv
    Those should be able to stream to the Amazon Fire stick. They also can re-encode video 'on the fly'. So if you format is not supported the computer converts it & the device on the TV gets a format that does work (not including DRM protected files) - obviously this requires a computer with enough power to convert, but many recent computers have enough power to do that. There is setup involved, but these servers are a good once configured.
    Roku has a Plex app that also works well on the TV.
    The Apple TV does not work well with these apps, it expects you to use iTunes.

  • Is there a quick & easy way to replace an image within an image frame?

    Is there a quick and easy way to replace an image in an image frame that is already set up with the proper effects?
    In my example, I have a photo grid and just need to replace the photos periodically. Everything is already in place in the grid. I don't want to recreate the grid on the page.
    I thought that I could have clicked to get the brown frame for the image and placed a new one, but that didn't work. Or, I could have right clicked and found something like "replace image", but that didn't work.
    How can I quickly and easily just click on the image I need to replace and replace it with another one?

    There is an easy way to do this. Click on the image you would like to change and then change the fill to the new image. You will see the fill option in the upper left when you have the image you would like to change selected.

  • I cannot see my Iphone 4 in my device window in the finder anymore.  It use to appear so I could copy the camera pictures off of it and transfer them to other folders.  Does anyone have and idea how to get it back when you plug it in initially.  Thanks

    I cannot see my Iphone 4 in my device window in the finder anymore.  It use to appear so I could copy the camera pictures off of it and transfer them to other folders.  Does anyone have and idea how to get it back when you plug it in initially.  Thanks

    You will want to open iPhoto, go to the iPhoto menu and select Preferences. Under the General tab, next to Connecting camera opens: select iPhoto. Close the preferences and quit iPhoto. Reconnect your iPhone 4. iPhoto should open automatically and offer to import your pictures. Import them and then do what you want with them.
    Best of luck.

  • Is there an easy way to centre an image between 2 guides in PS CS6 please?

    Is there an easy way to centre an image between 2 guides in PS CS6 please?

    // try this script ))
    var old_units = app.preferences.rulerUnits;
    app.preferences.rulerUnits = Units.CM;
    main();
    app.preferences.rulerUnits = old_units;
    function main()
        var doc = app.activeDocument;
        var layer = app.activeDocument.activeLayer;
        var x = 0;
        var y = 0;
        var x_cnt = 0;
        var y_cnt = 0;
        var doc = app.activeDocument;
        for (var i = 0; i < doc.guides.length; i++)
            switch (doc.guides[i].direction)
                case Direction.HORIZONTAL: y += doc.guides[i].coordinate; ++y_cnt; break;
                case Direction.VERTICAL:   x += doc.guides[i].coordinate; ++x_cnt; break;
        if (x_cnt)
            x = x/x_cnt;
        else
            x = (layer.bounds[2]+layer.bounds[0])/2;
        if (y_cnt)
            y = y/y_cnt;
        else
            y = (layer.bounds[3]+layer.bounds[1])/2;
        move(layer, x-(layer.bounds[2]+layer.bounds[0])/2, y-(layer.bounds[3]+layer.bounds[1])/2 );
    function move(layer, x, y)
        try {
            app.activeDocument.activeLayer = layer;
            var d1 = new ActionDescriptor();
            var ref = new ActionReference();
            ref.putEnumerated( charIDToTypeID( "Lyr " ), charIDToTypeID( "Ordn" ), charIDToTypeID( "Trgt" ) );
            d1.putReference( charIDToTypeID( "null" ), ref );
            var d2 = new ActionDescriptor();
            d2.putUnitDouble( charIDToTypeID( "Hrzn" ), charIDToTypeID( "#Rlt" ), x*28.354779 );
            d2.putUnitDouble( charIDToTypeID( "Vrtc" ), charIDToTypeID( "#Rlt" ), y*28.354779 );
            d1.putObject( charIDToTypeID( "T   " ), charIDToTypeID( "Ofst" ), d2);
            executeAction( charIDToTypeID( "move" ), d1, DialogModes.NO );
            ref = null;
            d1 = null;
            d2 = null;
        catch (e) { alert(e); throw(e); }

  • HT5182 New to iPad and I was wondering if anyone knows an easy way to transfer photos from pc to iPad?

    I am new to iPad and need to know an easy way to transfer my photos from my pc to iPad.  Anyone have any ideas?

    Download and read the iPad user manual. You can find it here http://manuals.info.apple.com/en_US/ipad_user_guide.pdf
    Start iTunes on your computer and use the menus to check for an update. Make sure you have the latest version of iTunes on your computer. If you are using a pc and don't Have iTunes you can download it free from apple.com.
    Start iTunes on your computer and connect your iPad. Follow the instructions in the users guide.

  • I was wondering if anyone had an easy way to edit the photos on a .swf file?

    I am trying to change out the photos on the flash photos on my homepage.  I only have the .swf files.  Is there an easy way to do this?  My web developer wants to charge a ridiculous amount to do this and I would actually rather learn how to do this versus paying someone else.  Any help would be appreciated.
    Thanks in advance.

    I thought there was a way to do this in Flash, but you can use a SWF extractor like http://www.swftools.org/
    You would have to follow the directions(documentation) as I have not used this program before. Or find another that seems easier to you, but thats what you need.
    Did you ask in the flash forum?
    Hope this helps,
    Chad Smith

  • DW CC: Easy way to hide an element on small screens like smartphones?

    Hi,
    Is there an easy way in Dreamweaver CC to hide an element like an image or div on small screens like smartphones so that it is only shown in desktop browsers? I know the way to build classes with media query but may be in DW there is another way.
    Thank you.

    Sure - just target the element you want to hide once the device viewport hits a specified width in the media query; (example below hides an element with the id of 'header')
    @media screen and (max-width: 480px) {
        #header {
        display: none;

  • Anyone have a good way to reboot clustered WL servers

    Hello,
    We have 6 clustered WL instances running on 3 NT Boxes.
    Currently I have to go to each machine, run the shut down sequence on an
    instance, wait for it to completely shut down, and wait for it to
    completely start back up before I can move to the next instance to shut
    down.
    This process on 6 machines takes a good 30 minutes of my time. Does
    anyone have any suggestions on how this process can be automated or at
    least easier? It is only going to get worse as we grow and add more
    machines.
    How are other people handling required code reloads and reboots in a
    cluster?
    Thanks,
    Chris Lynch
    TravelNow.com

    Daniel Ilkanayev wrote:
    We are about to face the same issue and I thought to use weblogic.Admin to
    control the cluster, that would include not only servers life-time but
    client notification before and after the event (JMS).
    Would be interesting to hear BEA recommendations on the subject. This it too
    obvious and natural for a cluster to have.In our next version we are coming up with much better administration tool.
    Your life should be much more easier to do things like this.
    - Prasad
    >
    TIA,
    Daniel Ilkanayev
    [email protected]
    Christopher Lynch <[email protected]> wrote in message
    news:[email protected]..
    Hello,
    We have 6 clustered WL instances running on 3 NT Boxes.
    Currently I have to go to each machine, run the shut down sequence on an
    instance, wait for it to completely shut down, and wait for it to
    completely start back up before I can move to the next instance to shut
    down.
    This process on 6 machines takes a good 30 minutes of my time. Does
    anyone have any suggestions on how this process can be automated or at
    least easier? It is only going to get worse as we grow and add more
    machines.
    How are other people handling required code reloads and reboots in a
    cluster?
    Thanks,
    Chris Lynch
    TravelNow.com
    Cheers
    - Prasad

  • Why doesn't the Quicktime site have an easy way to report broken links?

    Perhaps Apple thinks this site is perfect?
    The link to 'The heart is deceitful above all things' has been down for DAYS -- surely something the producers of that movie would not be happy about??
    There's no simple way (that I can see) to report such a broken link - just for the heck of it I spent 20 minutes looking for a way to report this minor glitch, and there doesn't seem to be one (or I'm missing the obvious).
    Maybe someone who can do something will read this!

    Thanks very much for the link!
    ...but where is the "link to the link" on the Quicktime site.... if I didn't know where to look for this, how would I find out about it, or realize that this is the way to report a simple broken link?
    Is this bad site design or am I just plain blind!?
    I'm just frustrated that the site doesn't have a simple way to report this (I've seen similar broken links before on the Movie site, and they often persist for days). If you hadn't helped me out I don't think I would have figured out how to do this!

  • Easy way to manipulate overlay image file?

    Greetings, I'm currently trying to figure out how to simplify something for a client so they can make quick changes. Here's what I have:
    - Menu with a video in the background playing in a 30s loop.
    - Menu buttons with a specific "tile" I created in Photoshop, and placed into DVDSP as an overlay. This button "tile" (a vertical triangle) was placed in a specific position relative to the video in the background.
    - Menu buttons illuminate the triangle when you select a specific button properly.
    Now, the client has changed the background video from a 4:3 video to a 16:9 video, and wants to move the text and buttons on the menu. In doing so, this means the button "tile" needs to shift many pixels down.
    As far as I can tell, there's no way to simply grab the overlay image file and drag it down a few pixels, line it up by eye and be done with it. Do I have to go into Photoshop, manipulate the image, re-save it and reintroduce it to DVDSP?
    Basically, is there an easy way to move or relocate the overlay image file within DVDSP? Thanks!

    Tiresias314 wrote:
    As far as I can tell, there's no way to simply grab the overlay image file and drag it down a few pixels, line it up by eye and be done with it. Do I have to go into Photoshop, manipulate the image, re-save it and reintroduce it to DVDSP?
    Basically, is there an easy way to move or relocate the overlay image file within DVDSP? Thanks!
    Overlays cannot be moved or relocated in DVD SP. Best bet is to do it in a Custom 16:9 preset in Photoshop

Maybe you are looking for

  • HP Deskjet 3050 All-in-One Printer - J610a

    All printing with colors screwed up. no error messages. print and scan doctor says all ok. Cannot open software, check ink levels, alignment - nothing, yet it prints (black), scans and copies just fine.

  • HP Pavilion Dv6 7078CA Recovery without recovery disc

    Hello!! i have an Hp Pavilion Dv6 - 7078ca, and after just 6 months of use, the Hard Drive just died. because i live in Brazil, and brought the Computer back home, i couldnt use the warrant, since the warrant is for canada only. so i changed by my ow

  • Add sub number prefix/suffix to main material number

    Hi, I would like to know how to solve the below scenario:- I have one material number: Mineral Water with different brands as below:- Borneo Spring ABC How should I configure the above materials in SAP to differentiate the different brand? Pls help a

  • How to get notified when new java SE update is released

    We need to track security and performance bug fixes and features introduced in each new Java release that comes out.  Is there a linked that we can monitor or feed that updates us when a new java version comes out? Do we need a support contract to re

  • Updating part of a column

    I have a column in a SQL database which contains data (numbers separated by a pipe sign ex: 23|2|5) and I want to write something that will update the second number which in this case, 23|2|5, it would be 2. Can someone help me out on this?