Is it possible to make a button go to 1 of the 3 scenes?

Is it possible to make a button go to 1 of the 3 scenes? I do an animation and I need to when you click the button it go 1 3 scenes for this button, but he chose 1 of these 3 scenes at random. I'm new to actionscript, I don't know what I'm doing.

the first frame of each scene label (for example, "frame1_scene1", "frame1_scene2" etc.);

You can use:

{btn.onRelease = function ()}

_root.gotoAndPlay ("frame1_scene" + math.ceil (3 * Math.Random ()));

}

Tags: Adobe Animate

Similar Questions

  • Is it possible to make a button with multiple paths?

    Hello and good day everyone

    I want to make a flash game with a map leading to various locations for example school or beach like this http://www.yotreat.com/sites/default/files/190-160_1286.jpg

    If the player goes to the school she will find the Professor and if the player goes to the beach will be the coach.

    How can I make the player (for example) converses with the teacher at school, back to the main map and go to the beach to talk with the coach, but if she goes to school, even once, dialogue with the teacher is not the same with the first dialogue?

    = > > > It is possible to make a button with different paths to go? As if you watched the a-frame, then you press the same button again need you to part B? < < < =.

    Sorry for my confusing description... I hope you get the idea >, <
    IM so desperate... I searched for articles about this since yesterday and I still can't find one to solve this problem of mine.
    Making games is my dream... I've done a few very simple games, but I want to try a new level of difficulty

    Please help me? (> o <)

    Learn how to design solutions of programming requires learning what tools you have for you and how you can manipulate them according to your needs.  It doesn't matter if you make the games or anything else.

    Only you know the details around your design idea, but there are probably a number of management solutions with a single button to do different things.

    One way would be to use an array of information (such as the numbers of framework/labels) and have a counter that changes values when you use a button and this counter is used to index to select an element in the array.  So when you start the meter/index is 0, and he chose the images [0] table frames.  During treatment the counter/index is incremented by 1 so that the next deadlines [1] is selected.

    This same kind of approach could be used to keep track of how far went into a series of interactions, such as when you want to have a conversation with a character pick up where it left off instead to start over again.

    The key to everything that is store/keeping track of information.

  • Is it possible to create a button that goes back to the previous page?

    I would like to create a button that is located within an interactive pdf page which, when a click, turn to my previously visited page.

    As the page can be accessed through many other pages the traditional built in action menu does not Execute.

    The page that will appear (at the click of a button) is a variety of sizes of mattresses that I want to be accessible by each bed product in our collection. Once the user has looked at the mattress size guide, I want them to be able to back to bed product they were looking for, without having to then do scroll and search.

    Is this possible with tricks of javascript?

    I found this script:

    History.Go (-1);

    But allas acrobat was not fond.

    Help, please!

    Thanks in advance.

    Thanks for the tips!

    I already managed to do the navigation above methods with success.

    I have also since posting this message found the answer via a web document:

    http://cybertext.WordPress.com/2010/07/06/Acrobat-back-and-forward-buttons/

    It seems that if I told him to go to the previous view, it has the same effect as a "back" button.

    Thanks for the quick reply no matter!

    Oli

  • Hello, is it possible to make Firefox copy non-Latin URLS in the address bar in full instead of encoded in percentage?

    When I copy a url in the address bar in the clipborad and paste it elsewhere, it is truncated. This is particularly annoying when trying to someone send a link to a non-English wikipedia article (or other sites with the "descriptive" URLS.) is there a way to disable this option?

    To avoid that you can place a character like a '-' to the far left of the address bar and select the URL without leading the hyphen.

    -https://support.mozilla.com/en-US/questions/760105
    
  • Is it possible to make a "GO DOWN" - button in a smooth scrolling page?

    It is possible to make a button GO UP in a page to scroll smoothly AND in a several page article

    It is possible to make a button GO to BOTTOM in a several page article (for example the button go to URL > navto://pagename#pagenumber-1)

    But is it possible to make a "GO DOWN" - button in a smooth scrolling page? Perhaps with some sort of anchor point?

    Yes, in the scenes, Smooth Scrolling items are divided into tiles, each tile is actually a page, so navto://articlename#99 will pass at the end of the article. You can even use fractions to jump to a specific point. See DPS tips > overlays advanced for an example.

  • Make a custom page when you access the URL of the root of a Web application

    A BC blog post says it's now possible to "make a custom page when you access the URL of the root of a Web App site. For example, if you have a "blog" Web App, items can be made available to/blog/my-blog-post, and you will be able to customize the page/blog"

    Is this possible? It doesn't for me due to unique URL problem yet.

    For example the web page is / banksy - Guide of Banksy

    But web app components must be on/banksy/web-app-item but need to change to/banksy-editions / Banksy choose your weapon (green) | Gallery hang up Banksy Guide

    I don't see any documentation, support BC do not know and ask me the Forum to discuss. Someone at - he found a workaround?

    Thank you

    Paul

    You have a page with the same name as you want for the web application folder.

    1 remove this page from banksy (Dungeon of backup of your content)

    2. change your url web app for /banksy you need

    3. create a folder called /banksy (it will allow you to make a folder)

    4. create an index.html in the folder of Banksy page - put your content to the page that you deleted here

    You will then have an index for the file page and the web application will work...

    /Banksy - index page

    /Bansky/ - index page

    /Banksy/index.html - index page

    / web banksy/something - point app

  • Is it possible to obtain folio to make vector buttons, and no raster?

    Just curious if it is possible to get a folio to render a button in vector format and no raster?  I know that there is a little pleasant to tell him to use the vector... but nothing for the buttons that I can find with the multi-state objects?  I don't like how some buttons will eventually look on the Retina display on the iPad...

    Thank you!

    Greg B

    One method is to create a separate invisible button on the button image. This method works very well unless you have a State of click.

  • My camera Olympus only works with Apple's Quick Time 7. Is it possible to make it work with my operating system from Windows XP?

    My camera Olympus only works with Apple's Quick Time 7.  Is it possible to make it work with my operating system from Windows XP?

    Apple QuickTime 7 works is because. MOV is the Apple
    QuickTime format.

    QuickTime. MOV files can cause problems with Windows Media Player.
    And... If you plan to try editing with Movie Maker... the files should
    be converted to the. WMV format.

    No guarantee, but the following decoder might allow Windows Media
    Reader to read your. MOV files. Only problem is... it is not freeware to retail.

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    3ivx MPEG-4 5.0.4 decoder
    http://store.3ivx.com/3ivxStore/product_details.php?ID=11

    Convert the. MOV files to the. WMV format may be worth a try:

    There are many converters available on the net... some
    free... some detail.

    The following freeware converter is just one example:

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Format Factory (freeware)
    http://www.videohelp.com/tools/Format_Factory
    (the 'direct link' is faster download)
    (the file you want to download is: > FFSetup295.zip<>
    (FWIW... installation..., you can uncheck
    ('all' boxes on the final screens)
    (Windows XP / Vista / 7)

    First, you will need to decompress the file or just open the
    Drag > FFSetup295.exe< out="" of="" the="">
    and drop it on your desktop. To install left click.

    Next, after the download and installation of Format
    Factory... you can open the program and
    left click on the toolbar, the "Option" button and
    "Select an output folder to" / apply / OK.
    (this is where you find your files after they)
    are converted)

    Drag and drop your video clips on the main screen...

    Select "all to WMV" / OK...

    Click on... Beginning... in the toolbar...

    That should do it...

    Good luck

  • Is it possible to make my website to run smooth and without changing my design? :-/

    The Design of my site has many pictures and lots of amazon payment buttons allowed inside many viewers... Is it possible to make it work without soldering and smoother without changing my design? :-/

    Thank you very much!

    getalifeconmagia

    Post edited by: Marco Antonio Olmos

    Hello

    In case you have not optimized your property, please check out some useful tips here

    Optimize images in Adobe Muse | Adobe Muse CC tutorials

    Adobe help Muse | Working with graphics

    Let me know if you have any other questions.

  • How to make a button, a scroll bar

    Hello

    First things first. I know that my English isn't the best but I'll try to explain my problem as clearly as possible.

    I have a problem with my Indesign document, I use indesign5.5.

    I do a version of the ipad to a newspaper. And I did a scroll to the menu item. So if you want to see what's new you can scroll through the topics. But if you see a topic you want to read. You must click on the image of you articale that you want to see.  I can make buttons and I can make a scrolling section, but I can't make a button IN the scrolling section. I tried many ways, but it just doesn't work or it will not scroll with the photos. I hope you guys can help me find a solution.

    Thank you

    It is a new feature that requires the use of the only function of pan in the Pan and zoom overlay.

    Create your block of text, including the inline buttons or hyperlinks. Take note of its width and then draw the frame that you want to keep this content. Visit 5-7 pixels wider than the text frame and align the two, top and left. Cut the block of text to the Clipboard, and then choose the placeholder image. Choose Edition > past.

    With this framework select, choose the decorative Panel to the creator pan and zoom and check the option only pan.

    Bob

  • make a button to reset a flash file

    Is it possible to make a sort of interactive object that resets a flash file? You are in a game and your character gets killed. By clicking on a button you are returned to you at the beginning of the file flash and all the variable restore their starting positions. Basically, I just want to make a button that charges the same flash file hit the button reload in your browser (except that it charges just the flash file and not the whole web page).

    You can use:

    {yourbutton.onRelease = function ()}

    loadMovieNum("thisswf.swf",0);

    }

  • Is it possible to make DVD Region Free of A60?

    Hi all

    Is it possible to make my DVD of game (742) Satellite A60 in the region?

    Currently, I can play region 2 DVDs.

    My computer:
    -Windows XP Home Edition (Swedish)
    -Pioneer DVR K13A, revision 2.00

    Thank you and best regards,
    Thomas Jedenfelt

    P.S. to the webmaster Forum
    The title of the page on the pages of the Forum Satellite contains a B element.
    The TITLE element cannot contain other elements,
    and the B element has been deprecated for several years.
    Suggested reading to W3C (www.w3.org).

    HI Thomas,

    You can select the desired region by going into the properties of your DVD-ROM (right clivk on icon workstation).

    You can only change the region 5 times before it becomes permanent how he will stay on the last selected region.

    There is no legitimate way to make your drive "set".

    Kind regards

  • Is it possible to make a slipstream using the recovery CD (SM30-154 WXP)?

    Is it possible to make a slipstream using the product recovery (satellite SM30-154 pro and windows XP home) and put on day of windows XP sp 3 die?
    If so, how?

    friend
    Bert

    Hello

    What you could do is to create a new image using a 3rd party such as Norton Ghost for example application.

    You might first install Windows XP using the Toshiba Recovery CD.
    You could install the MS 3 service pack and then you can create the new image.

    This image could be stored on the new CD, or as a file on the second partition.

    I did it too. I ve got two partitions on my HARD drive and have created a backup of C (System partition) by using the spirit. The file is stored on D (data partition) and if something goes wrong with my Windows I can restore using this file.

    Easy ;)

  • Is it possible to make the back to Pentecost iPhone 6 and Air iPad

    Is it possible to make the back to Pentecost iPhone 6 and Air iPad

    You cannot back up an iPhone to an iPad or vice versa, but you can save them both to a computer via iTunes or you can backup to iCloud. See: How to back up your device using iCloud or iTunes - Apple Support

    You can also synchronize contacts, photos, etc. between the iPhone and the iPad. See settings > iCloud on each device for things that you can synchronize.

  • Satellite M40-300: is it possible to make a CD or a DVD for all facilities?

    Hello

    I bought a Satellite M40-300, it's a very good laptop
    I just have two questions:
    is it possible to make a CD or DVD for all facilities
    because I have two partitions. One for the window
    and the other for a linux?

    For Linux I want to install Red Hat Fedora Core 4 all devices are compatible or not? and where I can get driver for this?

    Thank you very much

    PS: Sorry for my English I'm French.

    Hello

    First of all there is no drivers for Linux because Toshiba doesn t supports the Linux operating system. All Toshiba units are shipped with the Microsoft Windows operating system.
    I also work with Linux, but I use a different distribution. I use Knoppix because I n t need to install anything whatsoever on the HARD drive and I can use this Linux as other Linux distributions.

    On a CD/DVD creation: do you know that Symantec Ghost?
    This tool allows to create an image file or a CD/DVD image you OS. I don't know if it works with Linux, but as I suggested, you can use a Knoppix ;) m

    Hoppe these tips will help you make a decision.

    Good bye

Maybe you are looking for

  • 5.6.2 pages will not open Documents

    Basic problem: I got iWork 5.6.2 for some time now without any problem, but, recently, I have reproduced a 233 KB word document and after it froze the application. I waited for about 10 minutes, but there is no determination to force the application

  • Best solution to reprint an opening to the format book Apple is no longer able to print?

    I have a MacBook Pro with El Capitan.  Apple no longer supports opening and I am able to reproduce a book I did on opening.  I read on some of the online companies that make books and I wonder if you have had experience with Blurb, my editor or Prest

  • How can I change my e-mail address in Windows Mail?

    My current email address for Windows mail is the same as my email address for AOL.  That's why every email I sent to my AOL address is also sent and received on my Windows mail. I want to stop the duplication of emails so I think the answer is to hav

  • kdbsync.exe has stopped working - win 7 64 bit

    I am running Win 7 64 bit on an HP Pafilion HPE h8 - 1360t.  After last week round of updates my computer can't play mp4 files, the Media Center will come is no longer (Message: "Windows Media Player has stopped working"), You Tube files will no long

  • HP Pavilion 17 Laptop: Bios disabled system admin

    AnniiHP Pavilion 17 laptopSerial number: 5CD43539KLWindows 10 home