How to click to view the object and click to hide the object

I'm very new to Flash and I create an ad that has a simple animation that cycles between two pieces of content. I including, but I have a button on the lower part called 'Important information' and clicking on, I want to bring up a screen that displays important information. I want there to be a 'Close' button on the important information screen, which brings back you to the animation. What is the best way to do it? I have trouble finding a tutorial, but for me, it doesn't seem like a rare action.

With the help of professional Flash Action Script 3.0 and CC 2015

There are several ways to do it, but all require that your screen is an object.  a clip that you create in the IDE would be typical.

Add the movieclip on the stage where you want it to appear and assign it an instance name, for example info_mc.

during your use of actionscript Panel:

removeChild (info_mc);  to remove the display info_mc and the addChild (info_mc) to get it back on top of everything else.

for a button trigger info_mc reappear:

btn.addEventListener (MouseEvent.CLICK, infoF);

function infoF(e:MouseEvent):void {}

addChild (info_mc);

}

the code for the close button will also call a listener function that executes removeChild (info_mc)

Tags: Adobe Animate

Similar Questions

  • How to let axSequenceView view the sequence file, after the opening before the race.

    How to let axSequenceView view the sequence file, after the opening before the race.

    I would do it differently, you do not see when running because your sequence control is connected to the requeteexecution Manager. I have two controls of the same size that sits on top of the other, one connected to requeteexecution as it is by default and the other to SequenceFileView Manager.

    You can then use reminders to start execution and execution of end events in the user interface to make the control visible. It is very easy to achieve.

  • How can I have 7 txt calculate and/or show/hide fields?

    I have 7 fields txt. As follows, ST1, ST2, ST3... ST7. With 1 TotalST field for all areas 'ST' (that calculates totals fields). Is what I want to do, when the ST fields are not met, then the TotalST field would be hidden. When one or all the fields St are filled the TotalST field would be visible, but also calculates the fields of ST. Then the TotalSt would hide if I delete the entry of all fields of ST.

    At the moment, I have the calculation works fine (fairly simple) by using the simplified window. But, in my opinion, it takes a javascript that will have to be placed in the window of custom calculation. So, can someone provide a script that would do what I hope to do? Thank you.

    Sure. Use this code instead of the one above:

    Event.Target.Display = (event.value == 0)? Display.Hidden: display.visible;

  • How can you determine what the user watch calendar view (month, week, day, list) the calendar of CSS (5.0)

    We run Apex 5.0.1.00.06 and I would like to add a region to a page, if the user displays the LIST of the CSS calendar view. I can't understand how to determine which view the user displays currently. Is it possible to determine to create a condition to show another region in they are on a particular view?

    BillH104 wrote:

    We run Apex 5.0.1.00.06 and I would like to add a region to a page, if the user displays the LIST of the CSS calendar view. I can't understand how to determine which view the user displays currently. Is it possible to determine to create a condition to show another region in they are on a particular view?

    This can be achieved using some dynamic measurements, to hide the region if the calendar is the display month view when loading the page and to show/hide the region when you click the list/month selector.

    Add a static region ID to region calendar for use in jQuery selectors.

    Name: See the region list - load

    Event: Loading the page

    Condition: Expression of JavaScript

    Value:$('#static-region-id .fc-month-view').length > 0

    Real Action

    Action: Hide

    Selection type: Region

    Region:

    Nom : See the region list - click

    Event: Click

    Selection type: jQuery Selector

    jQuery Selector:.fc-button-group button

    Condition: Expression of JavaScript

    Value:$(this.triggeringElement).hasClass('fc-list-button')

    Real Action

    Action: Show

    Selection type: Region

    Region:


    Action of false

    Action: Hide

    Selection type: Region

    Region:

  • I've just updated to Firefox Beta 20. Not happy! The options "View Background Image" and "Image Mode" when you right-click is missing. How can I get that back?

    I've just updated to Firefox Beta 20. Not happy! The options "View Background Image" and "Image Mode" when you right-click is missing. How can I get that back?

    These entries should still be there if you right click on an image or an area with a background image.

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance).

    • Do NOT click on the reset button on the start safe mode window or make changes.
  • My Inbox to view the sender for each message and now it does not work... How do I get it back to where it was?

    My Inbox to view the sender for each message and now it does not work... How do I get it back to where it was?

    Right-click on the header at the top of the list of messages and select from the list of options.

  • How to make "Windows Picture and Fax Viewer" the default viewer?

    "Picasa" to look at someones photos on the web, and now when dbl click on image, Picasa comes back as the image viewer.
    Is possible, with a permanent framework for XP, do "Windows Picture and Fax Viewer" the default viewer? Thanks again for your help. akmbd166 (XPpro, SP-2, 7 - IE, Office2003)

    "Picasa" to look at someones photos on the web, and now when dbl click on image, Picasa comes back as the image viewer.
    Is possible, with a permanent framework for XP, do "Windows Picture and Fax Viewer" the default viewer? Thanks again for your help. akmbd166 (XPpro, SP-2, 7 - IE, Office2003)

    =================================
    The display of images by default XP's Windows Picture and
    Fax Viewer... so all you have to do is to reset the default values:

    See the following link:

    Utility to repair image file associations
    http://WindowsXP.MVPs.org/imgassofix.htm

    more information:

    (307859) how to change or select which program
    starts when you double-click a file in Windows XP
    http://support.Microsoft.com/?kbid=307859

    Try this... open a folder of images and right-click
    your file image... from the menu, select... Open
    With / choose program.

    Make your choice from the list, or click Browse for the
    correct program if it is not in the list.

    If you want the default value... to choose... "Windows".
    Picture and Fax viewer '.

    Once you make your choice... don't forget to check
    the box that says: "always use the selected program."
    to open this type of file. (you will need to do
    for each format, jpg, .tif, .gif... etc.)

    Also... you can click with the right button on an image and choose
    Properties / change button... Choose the program
    you want to use, and then click on... OK / apply / OK.

    Also, in Windows XP, you can go to... My computer.
    Tools / Folder Options / File Types tab...

    Volunteer - MS - MVP - Digital Media Experience J - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • How can I make a clickable object, and when I click it, it moves down another object (extend)?

    How can I make a clickable object, and when I click it, it moves down another object (extend)?

    Only with a specific widget. Check the usual sites, if is not the default widgets menu and the accordion.

    Mylenium

  • How to set text in an object, so the object expands with the text and has even space on both sides of the object in illustrator cc?

    How to set text in an object, so the object expands with the text and has even space on both sides of the object in illustrator cc?

    R,

    You can do this:

    (1) create the initial direct Type;

    (2) in the appearance palette dialog, click on add a new fill and define the color as you wish;

    (3) effect > convert to shape > Rectangle corners round/Rectangle/Ellipse and set parent > width/extra height as you wish (essentially what needs to be added to the size of the bounding box, if anything).

    After that you can change the Type and the filled area will fit as shown on the picture.

  • How to open 2 sites on start and 1 Web site when you click the home button?

    How to open 2 sites on start and 1 Web site when you click the home button?

    You can change your shortcut on the desktop Firefox with two starting URLS. To try:

    • Shortcut on the desktop: right-click on the icon, choose Properties
    • Icon taskbar pinned: clic click right on the icon, right click in Mozilla Firefox, click on properties

    Windows normally selects the shortcut tab. If this is not the case, go ahead and click on the shortcut tab.

    You will see the target highlighted. On 64-bit Windows, which is usually either not less the following:

    "C:\Program Files (x86)\Mozilla Firefox\firefox.exe"
    

    For the specific shortcut launch pages, you can add them to the end, for example:

    "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -url "http://www.dilbert.com/" -url "http://www.gocomics.com/pearlsbeforeswine"

    After OK'ing the Properties dialog box, you can test everything right now to confirm that Firefox is now launching a window with tabs. Either:

    • Double-click the shortcut on the desktop
    • right click on taskbar icon pinned, click Mozilla Firefox

    Who do you want?

  • How to view the monthly/annual statistics in terms of time past/calories burned, broken down by each individual activity such as run elliptical/outside etc. Y at - it a third party application that can help me to collect and display these data?

    How to view the monthly/annual statistics in terms of time past/calories burned, broken down by each individual activity such as run elliptical/outside etc. Y at - it a third party application that can help me to collect and display these data?

    Hello

    It is not currently possible to review the data the application integrated in activity or training on this basis. If you want Apple to consider adding this feature, you can suggest here:

    https://www.Apple.com/feedback/watch.html

    However, health and fitness data from other sources, iPhone, and Apple Watch are registered and grouped within the health on iPhone app. These data can be exported, which you may find useful to track the cumulative progress and/or analyze your activity more in detail.

    IPhone app activity also has a button for sharing (top right of the screen) that allows to share data - including social media, Messages, Mail, Notes, and a printer.

    Include third-party applications that can be useful, for example:

    Access to QS

    -"Access your HealthKit data in a table so you can Explorer using numbers, Excel, R, or any other tool compatible CSV."

    - https://itunes.apple.com/gb/app/qs-access/id920297614?mt=8

    SpectaRun workouts

    -"View from the workouts of your Apple Watch on your iPhone and to export these workouts so you can download them to your favorite online running community."

    - https://itunes.apple.com/gb/app/spectarun-workouts/id991723862?mt=8

    Data can also be exported directly from the application of the health (Health Data > All - Share at the top button on the right).

    Check the descriptions and support resources for third party applications for supported details of import and data analysis features.

    More information:

    Use the activity on your Apple Watch - Apple Support

    Use of the workout on your Apple Watch - Apple Support

    http://www.Apple.com/watch/health-and-fitness/

  • I was playing with a photo and click on save by accident. How can I get back the original?

    I was playing with a photo and click on save by accident. How can I get back the original?

    Sorry, you can't... unless you have a backup from before you made the changes.

  • How can I leave my desktop screen and go to the screen where I can click on the icons to go to the websites I want?

    How can I leave my desktop screen and go to the screen where I can click on the icons to go to the websites I want?

    Hello

    Please, move your cursor to the bottom left. You will see a small photo with the screen full of apps, then click on that and you will be taken to this screen,
    It will be useful.
    Josh.
  • How to use several adf 12 shape and insert the form data in to table during the click on "submit" button

    How to use several adf 12 shape and insert the form data in to table during the click on "submit" button. Can we use several form from adf or not?

    Make sure that you dragged the VO based EO.

    Also make sure that the VO attributes based EO Updatable property.

    The query according to VO is used only to add LOV to the column of the original VO ModelId.

    See you soon

    AJ

  • On the forms send us and receive in return, data in the form of fields will be not print.  We can view the data, but the fields to print Virgin.  How can I fix it?

    On the forms send us and receive in return, data in the form of fields will be not print.  We can view the data, but the fields to print Virgin.  How can I fix it?

    OK, it's different. These text boxes are (at least engineering point of view) not considered form data, they are annotations (or markup). On your print dialogue box, you will see a group of "Comments & Form". Make sure that the first control is set to "Document and annotations:

    After this change, you should see the markup of your impressions.

  • How can I view the Photoshop files on my Mac to my iPad and iPhone?

    How can I view the Photoshop files on my Mac to my iPad and iPhone? I am new to Adobe products and understand with the latest version creative Cloud is no longer does.

    Hi leonoraw51296428,

    It is not possible to synchronize files from the computer to your phone.

    Then I suggest you to download and install the Application Photoshop (Photoshop Mix, or Photoshop Fix) on your phone.

    Kind regards

    Tanuj

Maybe you are looking for

  • You please bring friendlieness user of Firefox 3?

    I can't use chrome and... expired my Firefox, Firefox 4 has been great but I think 3 was better. I remember all the hype surrounding its release, and it was amazing. I wish I had this back is because I do not see too well the screen and I am not comp

  • Palm TX - username computer Pocket

    My hard drive crashed.  So I am re-installing software Palm TX on a new drive, but Palm InstallShield Wizard wants the username which I forgot.  Is it possible to get the user name of your handheld or files, I was able to recover the old disk?  I nee

  • Portege 4000: How can I open Notepad?

    Hi Forum, I have problems with certain keys on the keyboard and you want to open the Portege 4000 to remove and clean the keyboard. How can I open the laptop? Thank you very muchDocBrown

  • I want to upgrade CPU on Envy M6 - 1153sr

    I want to upgrade my CPU on my computer laptop envy m6-1153sr and I know it's possible, but im not sure I can put what ever processor that have the same socket as i7 and i5 Office have the same fasteners 1155, and so I can buy a good intel core i7 to

  • Cisco-Linksys USB300M listed as compatible with Windows RT, but is not.

    Based on this unit being reported as being compatible with Windows RT on the Windows Compatibility Center website, I bought this USB Ethernet adapter. The Surface shows as an AX88x72A device in "Other devices" in Device Manager.  It doesn't seem to b