Someone at - it an easy way to hide an image when you click on it?
Hello
I have an image where I need each arrow/box text to remove once clicked. There must be an easier way to create millions of images? Is it possible to do it with a button? The person using the animation should click on vouchers that would lead to their dissappearing.
It was fun place in photoshop. That the picture will be brought in the library of hot flashes.
Thanks in advance.
F8 to convert the image into a symbol
give a name to the new video clip (perhaps image1)
then add the code in the framework (F9)
Image1. addEventListener (MouseEvent.CLICK, hideImages)
function hideImages(e:MouseEvent):void {}
e.Target.Visible = false;
}
for other images just add a line of image
Image2. addEventListener (MouseEvent.CLICK, hideImages)
image3. addEventListener (MouseEvent.CLICK, hideImages)
image4. addEventListener (MouseEvent.CLICK, hideImages)
Tags: Adobe Animate
Similar Questions
-
Show/hide elements - how to hide an image when you click on another
I have a page of the library of photo with 10 pictures on it. I organized it where there is a large image on the left side of the page and 10 thumbnails of turning on the right. I put larger images in separate AP div tags hidden. I want the big picture is displayed when the user clicks on the corresponding thumbnail. This works well, but how to make the image of 'hide' when the user clicks on a different thumbnail.
Can you help me?
Here is my code:
< div id = 'eau1"style =" position: absolute; " Left: 20px; top: 50px; Width: 630px; height: 491px; z-index: 100; visibility: hidden; "" "> < img src ="... / media/images/water/water1.jpg "width ="650"height ="500"alt ="eau1"> < / div >
< div id = "water2" style = "position: absolute;" Left: 20px; top: 50px; Width: 630px; height: 491px; z index: 103; visibility: hidden; "" "> < img src ="... / media/images/water/water2.jpg "width ="650"height ="500"alt ="water2"> < / div >
< table width = "100%" border = "0" cellspacing = "0" cellpadding = "0" >
< b >
< td width = "20" height = "20" > < table >
< td > < table >
< td > < table >
< td > < table >
< td width = "20" > < table >
< /tr >
< b >
< height td = "20" > < table >
< height td = '30' class = "copy18grey" > water Applications < table >
< td > < table >
< td > < table >
< td > < table >
< /tr >
< b >
< td > < table >
"" < td width = "650" height = "500" rowspan = "5" valign = "top" > < img src = "... / media/images/water/water1.jpg" width = "650" height = "500" alt = 'eau1' > < table >
"" < td = '100' height > < a href = "#" onMouseOver = "MM_swapImage ('Image12 '", '... / media/images/water/water1_thmb_over.jpg',1) "Mm_swapimgrestore" > < img src = "... / media/images/water/water1_thmb.jpg" name = 'Image12' width = "160" height = "100" border = "0" onClick = "MM_showHideLayers ('eau1',", 'show') ' onDblClick = "MM_showHideLayers ('eau1',", 'hide') "" > < /a > < table > "
"" < td > < img src = "... / media/images/test.jpg" alt = "" width = "160" height = "100" > < table > "
< td > < table >
< /tr >
< b >
< td > < table >
"" < td = '100' height > < a href = "#" onMouseOver = "MM_swapImage ('Image13 '", '... / media/images/water/water2_thmb_over.jpg',1) "Mm_swapimgrestore" > < img src = "... / media/images/water/water2_thmb.jpg" name = "Image13" width = "160" height = "100" border = "0" onClick = "MM_showHideLayers ('water2',", 'show') ' onDblClick = "MM_showHideLayers ('water2',", 'hide') "" > < /a > < table > "
"" < td > < img src = "... / media/images/test.jpg" alt = "" width = "160" height = "100" > < table > "
< td > < table >
< /tr >
< b >
< td > < table >
"" < td = '100' height > < img src = "... / media/images/test.jpg" alt = "" width = "160" height = "100" > < table > "
"" < td > < img src = "... / media/images/test.jpg" alt = "" width = "160" height = "100" > < table > "
< td > < table >
< /tr >
< b >
< td > < table >
"" < td = '100' height > < img src = "... / media/images/test.jpg" alt = "" width = "160" height = "100" > < table > "
"" < td > < img src = "... / media/images/test.jpg" alt = "" width = "160" height = "100" > < table > "
< td > < table >
< /tr >
< b >
< td > < table >
"" < td = '100' height > < img src = "... / media/images/test.jpg" alt = "" width = "160" height = "100" > < table > "
"" < td > < img src = "... / media/images/test.jpg" alt = "" width = "160" height = "100" > < table > "
< td > < table >
< /tr >
< b >
< td > < table >
< td > < table >
< td > < table >
< td > < table >
< td > < table >
< /tr >
< /table >Show/hide behavior is not just for a single element. With a single application of the behavior, you can display an image and 24 other people hide. The trick is to keep by selecting the named items and their visibility, that is, to select "img1" and click display, then select "img2" and click Hide, etc.
-
Currently, making an escape the room game. How can I write a piece of script that will allow me to click on the value of video clips and then they will be hidden.
One of the many ways:
1. you can change the alpha of the movieclip to 0 property. The object will still be active, but is not visible.
2. you can change the visible property of the movieclip to false. The object is not active and is not visible.
3. you can change the x or y property of the movieclip to bring out of the visible area of the scene.
4. If you have added the movieclip to the display list using addChild() to show on the stage, you can use removeChild() to remove the movieclip from the display list and make them disappear.
5. If you have added the movieclip to the display list using addChild(), then you can change the order of the child and hide the movieclip behind one another, bigger, movieclip in the display list.
-
Hide the Textbox when you click on buttons
Hi all
Im trying to create a form to our customer service representatives to make their life easier. Which is a plus for me.
I tried Googling and playing with scripting Validation and nothing seems to work.
Here's what I'm trying to accomplish.
There are 3 radio buttons (credit, repair and replacement), I need to have the possibility of having only 1 of the selected three
So if a button is clicked it would make a series of text boxes and text visible and hide others
I can't mention how to proceed.
Found this article, but im not sure if it applies. IM using Acrobat X Pro.
I have acutally thought of it earlier
var f = this.getField ("c1");
var g = this.getField ("Text2");
If (f.value == (2)) # changed that "if (f.value is"YES") #
{
g.Display = display.hidden;
}
on the other
{
g.Display = display.visible;
}
If (event.value == 'Yes') { ##Changed that "if (event.value == 'YES') {} ' # }
this.getField ("Hidden_Field") .display = display.visible
} else {}
this.getField('Hidden_Field').display = display.hidden
}
Thanks for the reply so :-D
-
How to hide a TextField when you click another button
Hello!
I was able to generate a TextField appear when you click a button, but when I click on another button, to display further information, I have still the first TextField shows. I had a quick glance, but not managed to find something to help me get the first to disappear. Can anyone provide ideas for this?
The code I am using to display the TextField object is:
Button10.addEventListener (MouseEvent.CLICK, fl_ClickToPosition);
var fl_TF:TextField;
var fl_TextToDisplay:String = "send the right projector/screen disply";function fl_ClickToPosition(event:MouseEvent):void
{
fl_TF = new TextField();
fl_TF. AutoSize = TextFieldAutoSize.LEFT;
fl_TF. Background = true;
fl_TF. Border = true;
fl_TF.x = 300;
fl_TF.y = 100;
fl_TF. Text = fl_TextToDisplay;
addChild (fl_TF);
}Thanks in advance
use:
Button10.addEventListener (MouseEvent.CLICK, fl_ClickToPosition);
var fl_TF:TextField;
var fl_TextToDisplay:String = "send the right projector/screen disply";function fl_ClickToPosition(event:MouseEvent):void
{if(fl_TF&&fl_TF.parent) {/}
fl_TF.parent.removeChild (fl_TF);
fl_TF = null
}
fl_TF = new TextField();
fl_TF. AutoSize = TextFieldAutoSize.LEFT;
fl_TF. Background = true;
fl_TF. Border = true;
fl_TF.x = 300;
fl_TF.y = 100;
fl_TF. Text = fl_TextToDisplay;
addChild (fl_TF);
}Thanks in advance
-
Can someone show me an easy way to reduce the space between lines of text
Hi, can someone show me an easy way to reduce the spaces in line in my text. Currently, they number about twice as big as I would like. I hope it's just a setting in the CSS that's easy to change even if I think I have tried everything. I hope you can help, thanks in advance. -Jason-Hi thanks to everyone for their contribution. I finally solved the problem thanks to a previous post. "Murray" posted this info and it worked like a charm.
Open the page in DW. View the CSS with WINDOW Panel | CSS styles, click
Click the new CSS rule at the bottom of the unified CSS panel, click
the Middle option (Tag) button, enter "p" (without the quotes) in the tag: field,.
Click this radio button at the bottom of the document, and then click OK.The margins are styles of box model, so select the category box and in the
Margin field (you can leave the check box selected), enter a zero. Click OK,
and you have created a rule of CSS stylesheet on the page that should look like
-Geddit?
Thanks again... until next time,.
Jason
-
DragAndDrop offer an easy way to put the image under the mouse while dragging?
Hello
Drag - move in javafx provides an easy way to put an image under the mouse when dragging?
Thanks in advance,The demand for javafx 3 http://javafx-jira.kenai.com/browse/RT-14730 "drag view."
-
Hello, Ive just purchsed PSE 13 and when you click on the download button, nothing happens. It routes me to a black screen with an icon of Adobe, but that's all. Can someone help me in what I should do next?
Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache. If it fails to connect, try to use another browser.
-
Is there a way to apply develop presets when you synchronize a folder?
Is there a way to apply develop presets when you synchronize a folder? I want new images that are synchronized to have an applied preset development.
Continuing the conversation here: http://forums.adobe.com/thread/1107607
-
Usually I don't mind the ads on web pages. So, I feel strongly to use ad-blocking software to prevent any or all kinds of ads. But I don't mind the ads that float on web pages because they often block the view.
Although some floating ads allow the user to close them, more pop ups or other types of malware, can appear after their closure.
Yes, is there an easy way (an add-on, perhaps) to remove the floating ads after they appear and prevent them from generating more ads or to show again when the page is reloaded?
Maybe something like "CTRL + Alt + left click on ' applied to the floating ads?
I don't want to turn off scripts and Flash.
There are Add-ons that, but they don't have not been updated in a long time, while they might have problems.
- https://addons.Mozilla.org/firefox/addon/zaqwes_remover/
- https://addons.Mozilla.org/firefox/addon/remove-it-permanently/
- https://addons.Mozilla.org/firefox/addon/clean-the-Junk/
- https://addons.Mozilla.org/firefox/addon/Nuke-anything-enhanced/
Earlier, I would recommend Adblock Plus, used as follows:
- Install Adblock more.
- Click on Adblock Plus toolbar icon and click Filter Preferences.
- Subscriptions, right-click each subscription tab and choose Remove. Now, Adblock Plus is not blocking anything.
- Install the element hidden assistance made to Adblock Plus.
- Now when you want to hide something on a web page, click on Adblock Plus toolbar icon and choose "select an item to hide."
- Web page preview is acceptable, click the button add element hiding rule. For advanced use, see the following pages.
-
Is there a way to hide the image of user account on the windows login screen?
I am trying to find a way to hide the user account picture, because it does not match the custom wallpaper that I've put on to the login screen.
We can change the image to something less offensive (even an empty frame - the procedure of which is in this article:http://smallvoid.com/article/vista-welcome-screen.html), but they cannot be removed entirely. If you want the Welcome screen, you will have to live with the icons.
Sorry, but this option is being Setup.
I hope this helps.
Good luck!
Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.
-
Can someone help me change the preference for what color appears when you add content using cultures
Areas that are circled, used to be a kind of bright blue and was easier to select and see. For some reason any over the past days, he has switched back to that dark gray color. I was wondering if someone could help me to restore.
Thanks a lot for any help
Take a look at your foreground and background colors. When you add to the canvas using the crop tool, filled it with the background color.
-
Someone at - it an easier way to play sounds?
I learned AS3 this year and so far the more difficult and annoying thing for me is how works the sound channel.
I have a support of movieclip with about 20 images, with each image animation.
I've been coding my sound effects, but soon I'll need a Voiceover track on each image. I don't want to have
to write tons of code for each of them, play them and stop them if the user toggles back.
Is there a simple way to do this? I tried to add sound on the timeline using 'event', but they don't stop
play if you go to a new framework.
Any ideas?
Thank you
Matt
Yes, you can have external MP3 files, also a long time that you added the files on the general tab of the iOS parameters.
stopAll() stop sounds going right now. You would go to the destination image, and then his event should play ok.
-
the easier way to resize the image
Hello
What is the best way to resize images? I searched the forum and search engines, only I found things was custome tags or components.
I don't have the part to know where I can use tags custome.
Can someone help me with this?
Thanks in advance!Some time ago I was looking for the same thing but could not find any solution that does not involve a component or a custom tag...
I ended up going with a custom tag called 'Jpegresize '. It works very well and is easy to implement and use.URL: http://www.chestysoft.com/jpegresize/default.asp
A useful way to work on the image dimensions: http://awads.net/wp/2005/06/16/get-image-dimensions/ -
Need an easy way to resize the image for email on XP.
I used to use the Photo editing software, but this isn't on my new computer. MS site says I should be able to do by right clicking, but the optiondoes "resise" does not appear. I need to be a 'one-click' for my wife.
OK... you must run * Windows XP * or if you cannot
install the following utility.Click on the following link and the left click of the
PowerToys tab...See where the PowerToys is in the following menu...
"Recommended downloads" - "PowerToys" - Packs 'Fun' - "Tablet Media Center"
After leaving clicked on "PowerToys"... left click "Image Resizer".
Save the download ImageResizer at your office and left
Click on it to install it.(FWIW... it's always a good idea to create a system)
Restore point before installing software or updates) *.Windows XP downloads
http://Windows.Microsoft.com/en-us/Windows/downloads/Windows-XPDownload and install: ImageResizer.exe
(Filename: ImageResizerPowertoySetup.exe)
(does not work on Vista)Then, you can open any folder containing
images and you will have an option to resize.
Just right click the selected image files and
Choose resize images in the menu. You
can select a picture or an entire group.The program will place the resized in copies
the folder with your originals.
(Tip: * never * overwrite your originals)To ensure that images in both portrait and
landscape orientation are resized to the
same dimensions... go to... Advanced...
and enter the largest number in these two areas.
IOW... for 600 x 800... Enter 800 in these two areas.
Maybe you are looking for
-
Organize my library - best practices
I'm getting used to the way iTunes works to organize things and I would like to get your thoughts and ideas on what I came with. I would like to have the option checked in the preferences to keep my music organized folder (although this caused a prob
-
Satellite A350-13 a - function keys does not work
I have the Satellite A350-13. I installed Windows 7 for 2 weeks. The function keys does not work although I have installed the Toshiba value added package, which is responsible for the activation of the function keys. What the solution to this proble
-
Problem during connection of the oscilloscope
Hi Im writing a program for measring a signal to oscilloscope Tektronix TDS3054B
-
Microsoft and indexing of Site engine. How does this work on my computer?
All this has been checked and re-checked and checked again with the old parts, new parts, the new computer and the laptop works fine wired or wireless. Always the 'IE' hangs in place every 3 minutes on the desktop. The Google Chrome still work
-
How can I remove the block hard (if this is what is causing my problem) so that the games that I play? I used to play these games all the time and then after so many MS patches and updates now none of the Myst games I always played will run! they act