Having problems creating button "Replay."

Hi, I want to create a button "replay" on the last picture of my film, but it does not work.

Here's what I did.

1. I created a layer named "Actions" and my last image (900 frame) I created a "Stop" action

2. I then created a button and saved to my library.

3. I then created a new layer named "Replay Btn" and created a keyframe in the last frame of the movie (900 frame). I then dragged the button on the stage, so it was in the last keyframe (900 frame) and actually a button symbol.

4. in the Properties Inspector, I then typed in the name of "replay" an "instance".

5 then in the layer named 'Replay Btn', I selected the last picture of my film (900 frame) and added a keyframe in the same layer as my button. Then, I opened the 'Actions' Panel and entered this code.

replay.onRelease = function() {}

gotoAndPlay (1);

}

6. I then did a "Preview post" of the film and got this error:

"WARNING 1090: Migration issue: the onRelease event handler is not triggered automatically by Flash Player running in Actionscript 3.0." You must first register this handler for the event using addEventListener ('click', callback_handler)

In Actionscript 3.0, code can be placed directly on the objects. Please select an image or use the code snippets panel to apply the code to the current selection on the stage. »

I understand that I have to select the layer and "right click" to add an action instead of select the object on the stage, but I guess I'm not sure how to get the button 'Replay' to work in CS5. I looked at a few tutorials, but they were not very well made and have been really difficult to understand. Can someone please explain this to me. I want to just create a button to play the movie.

Impossible

You paste the last code with the stop()? The only way stop() could be ignored if an error occurred. You see a mistake?

Tags: Adobe Animate

Similar Questions

  • Having problems creating Gallery video Lightbox

    Hey everybody...

    I am trying to create a gallery of videos that are hosted with the rest of my site (no relation to YouTube, Vimeo or something like that). Based on the research, I am sure I have made the right choice, but I don't get the results I want. Here is my method:

    1 library / Compositions / display Lightbox dragged on the page

    2. Select first thumbnail (shown as a trigger in the upper left toolbar)

    3. purpose / insert HTML code, paste it into the html link to the video I know is functional

    What happens when I do that, it's a small black text my link version appears in the target box, but no video in the trigger or target. If I go back to the object / HTML insert my code is no longer in the dialog box. When I delete the composition, the text of the code does not have with her. I know that my html link works because I am able to make it work using MuseThemes html5 player, but it's video only single and I need to make a gallery.

    It's a little urgent for me, so any help is greatly appreciated!

    Hello

    I think your problem is solved?

    If this isn't the case, then please let me know.

    Thank you

    Sanjit

  • Having problems creating new folderin.

    I can't get a new folder by using the very familiar procedure of the mouse goes again right click and folder selection. File is no longer in the selection list. If anyone has had a similar problem and if so can provide you the solution?

    You have installed chrome? It is an update of Chrome, (mid), is responsible. Here are two patches.

    How to remove and restore the default context Menu items 'New' in Windows 7 and Windows 8
    http://www.SevenForums.com/tutorials/28677-new-context-menu-remove-restore-default-menu-items.html

    If still no joy, see the 'response' by Linda Yan in this thread.
    http://social.technet.Microsoft.com/forums/en-us/w7itprogeneral/thread/97de8a2a-12f2-4381-A409-a78f4ae551cf/#99395761-56de-4a76-8C2A-eab498ad735a

    Tip: When you save the text in Notepad, the default file format is .txt. Replace all files.

  • CS3: Having problems creating an Action to "save for Web".

    Hi all

    I am creating an Action to convert my psd. files to JPEG is suitable for the web.  I use a Mac Pro CS3 running.  My work space Adobe RGB (1998), all files start as Canon RAW CR2, are published in 16-bit and then saved as a psd.  I created an Action following an open psd. image in Photoshop:

    (1) Windows > Actions

    (2) create new Action

    (3) renamed 'save for Web' and then click on registration

    (4) image > duplicate > OK

    (5) Edition > convert to profile

    (6) changed Destination space sRGB IEC61966 - 2.1 > OK

    (7) file > save as

    (8) format > option JPEG no?  What?

    Everything seemed fine until I reached the stage of Format.  I had a lot of choices, but JPEG was not one of them.  Can someone please tell me what I'm doing wrong?  Thank you!

    Mike

    They must be 8 bits. But why do you use Save as instead of "save for web"?

  • Creating a replay button

    Okay - I'm super new to all this so my question may sound silly.

    I created a simple animation (fall of snowflakes with a text that appears to) and I wanted to create a button that could play again in control of the user. I've looked everywhere for the code or how to do this, but I found nothing relevant. Can any of you help me please?

    Reading through first...

    Once you have this created button and have assigned an instance name (say that you named "btn")... in a layer actions (create one if you haven't), create a keyframe in the same framework when the button is on its layer, select this key and open the Panel (window-> Actions) Actions.  Enter the following code in the Actions Panel...

    function startOver(evt:MouseEvent):void {}

    gotoAndPlay (1);

    }

    btn.addEventListener (MouseEvent.CLICK, startOver);

    If you the movie is stopped at the last image, then you already have a stop(); command in the last image, which is probably where you want to put the button code as well.

    In the preceding code, there are three things that I arbitrarily named...

    startOver - the name of the function could be what the name you want as long as it conforms to the naming rules

    evt - the event listener up an argument to the event handler function, evt is a variable representing the argument

    BTN - this is the name of the instance assigned to the button

  • I have to remove the duplicate files, but having problems by selecting more than one file in the player at the time.

    I have to remove the duplicate files, but having problems by selecting more than one file in the player at the time. How can I select multiple files at the same time so I can just delete them. I used to be able to do this in previous versions of Media Player, but this function seems now blocked or unavailable. The problem is this: through previous use of media player, it plays all my multimedia files several times whenever a device support has been added. He would try to save the files on my main drive, but since there is not enough room this would save the files somewhere else. This happened several times, I suppose, because when I upgraded my computer and a media scan was conducted he found duplicates of all my media various times of at least 6-8. I've consolidated since my plates on 3-disc multi to, but have now records duplicated hundreds and thousands of duplicate media files. Previous versions of Media Player would allow me to select all files and then delete them both of the reader, but also from my hard drive. So now I'm stuck with more than 300 GB of duplicate media I have to search line by line through all my hard drives to find each duplicate both, unless I can get media player to do what it can. Any help in this area would be appreciated.

    Hello

    1. did you of recent changes on the computer?

    2. is Windows media player files in double creation during playback of music files?

    To delete duplicate entries, click on another feature tab in the drive (for example the current playback), and then click library.

    If this does not remove duplicates from your library, you can use the Add to library dialog box to search computer to analyze a file on your computer the duplicate entries not valid-pointing. The player will remove invalid entries in your library that point to files that no longer exist in the folder.

    Complete the steps above for files that are stored in the hard disks.

    Method 1: Use the add to Library dialog box search for computers

    (a) start Windows Media Player.

    (b) press F3 on your keyboard to open Add to the library of the find computers dialog box.

    (c) click the Browse button to locate the folder on your computer so that your library contains invalid entries. Specify the location of the folder in the box look in.

    If you are not sure what duplicate in your library entry is not valid, you can add a path column to display in your library. Specify the folder on your computer that corresponds to the path not valid file displayed in your library.

    (d) click on the Search button.

    The player will search for digital media files and playlists in the folder that you specify and remove invalid entries in your library that point to files that no longer exist in the folder. If not valid in double entries point to other folders on your computer, repeat this procedure, specify a different folder every time.

    If only a small number of duplicate entries exist, you can delete those invalid manually by right-clicking on the invalid entry, and then clicking Delete .

    For large double-number of entries in your library (or if all your library is duplicated), it might be better to create a new library and delete the files.

    Method 2:

    After you remove the duplicate entries, run the troubleshooting of Windows Media Library settings to solve this problem.

    Open the troubleshooter in Windows Media Library

    http://Windows.Microsoft.com/en-us/Windows7/open-the-Windows-Media-Player-library-Troubleshooter

    Let us know the results.

    I hope this helps.

  • 12.4.3.1 update volume problems created?

    12.4.3.1 update volume problems created?

    Hello

    I had no problem with the Volume in the latest version of iTunes. Can you give more details about the problem you are having?

    Jim

  • Siri free eyes - 2016 Jeep - anyone having problems?

    I just took delivery of a 2016 Jeep Grand Cherokee. One of the important reasons that I ordered it was the new command button "Siri eyes-free. As many of us know, iPhone users have not voice full of e-mail/text in some systems of the car. Until CarPlay becomes available, a button of Siri on the wheel is almost essential as far as I'm concerned. When he's not working, it works well. Unfortunately, it works some of the time to "send a message" when he decided to not to cooperate, it goes like this: Siri lights thanks to the system of reliable car with the familiar beep, but slow to type commands and hangs for command/response sequence. He doesn't seem to know when I stopped to talk. I. I called Chrysler support. They noted my report, and the rep mumbled something on the iPhone 6 and 9.2.x. anyone having problems with Uconnect and the Siri eyes new free?

    Yes, in my Jeep Cherokee I get where Siri crashes after that you dictate a message. Touch the screen to send it! Do not know if it is intermittent since we just got the car the other day. If we say the message in one sentence, it works. So frustrating.

  • I am currently having problems with my Zune software: Microsoft Fix it 50577 error.

    I am currently having problems with my Zune software

    and for this reason I turned to Microsoft Fix for... fix it, but every time I start it I get this error:
    "An error occurred while attempting to create the directory: C:\Users\***my name * \Appdata.
    original title: Microsoft Fix it error 50577

    Hello

    I suggest to ignore the fix and follow the steps in the "More information" category of the link.

    How to remove and then reinstall the Zune software

    http://support.Microsoft.com/kb/929358

    If you still have any questions, then contact Zune support itself additional troubleshooting:

    http://answers.Microsoft.com/en-us/Zune/Forum

    Hope this information is useful.

  • Having problem installing Windows Vista Sp2, I keep getting error 0x800B0100

    original title: HELP! Having problem installing Windows Vista Sp2, I keep getting error 0x800B0100

    My checksur.log said

    =================================
    Preparation of control system was updated.
    Binary version 6.0.6002.22441
    Version 9.0 package
    2011-06-29 15:32
    Checking Windows Service Packages
    Checking of manifests package and catalogs
    (f) CBS MUM corrupt 0x800F0900 servicing\Packages\Package_4_for_KB948610~31bf3856ad364e35~x86~~6.0.6001.2123.mum line 1110: nam
    Checking package Watchlist
    Watchlist checking
    Checking packages
    Control components store

    Hello

    These should help to resolve the problem:

    How to fix Windows Vista error 800b0100 update
    http://www.SimpleHelp.NET/2008/07/06/how-to-resolve-Windows-Vista-update-error-800b0100/

    Error Code 800b0100 in Windows Update
    http://www.instantvista.com/800B0100.html

    Error message when you try to use Microsoft Update or Windows Update Web sites to install
    updates: "0x800B0100.
    http://support.Microsoft.com/kb/956702
    How to reset the Windows Update components? -a Mr Fixit
    http://support.Microsoft.com/kb/971058

    Description of the system for Windows Vista, Windows Server 2008, update tool and
    for Windows 7
    http://support.Microsoft.com/kb/947821

    ==========================================================================

    How to troubleshoot Windows Vista and Windows Server 2008 service pack installation issues
    http://support.Microsoft.com/kb/947366

    You select Download - SAVE? After download go where you put it and right click
    on and RUN as administrator.

    Download Service Pack 2 x 86 32 bit
    http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=891ab806-2431-4D00-afa3-99ff6f22448d & displaylang = in

    Download Service Pack 2 x 64 64-bit
    http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=8ad69826-03d4-488C-8f26-074800c55bc3 & displaylang = in

    Create a new ADMIN account with your password - same then REBOOT (do not logoff) and
    log on to the new account and try the download.

    How to obtain the latest Windows Vista service pack
    http://support.Microsoft.com/kb/935791/

    Service Pack Center
    http://Windows.Microsoft.com/en-us/Windows/downloads/service-packs

    ================================================================

    If necessary, you can get free reports of incidents however generally above allows to solve this problem.

    Windows updates - free Incident report

    Go here and click on-> Windows Update fails while searching, downloading or installation of updates
    http://support.Microsoft.com/GP/wusupport#tab3

    The security updates, you can get free support Incident report
    http://www.Microsoft.com/protect/resources/support.aspx

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • I started having problems with the wireless mouse and the carpet of my laptop - Lenovo ThinkPad T420 mouse.

    Original title: right click on the mouse itself activating

    I borrowed a USB to a person at work and I started having problems with the wireless mouse and the carpet of my laptop - Lenovo ThinkPad T420 mouse. The left click of two devices works normally, however, sometimes she does not respond to clicks and it takes a few seconds to work. The left button was constantly starts to turn on, as if he was stuck. After that I hit Alt + Tab and modify windows it stops for a few moments and starts at a later date. I havo not found a specific condition or a combination of keys that may trigger the fault.

    I read a few posts on discussion forums, but all say that it could be a hardware problem, which I think is not, because both devices have the same problem and I'm sure it all started with the insertion of the borrowed memory stick. I scanned the readers to help Symantec's EndPoint Protection and installed Microsoft Security Essentials and performed a full scan, but found nothing. I even restored the system, but the problem remains.

    Should I get a different antivirus? How can I find the cause so I can find a better targeted solution?

    Try to install the drivers from this link and check.

    http://support.Lenovo.com/en_US/research/hints-or-tips/detail.page?&LegacyDocID=MIGR-77167

  • BlackBerry Smartphones Cust is having problems with Blackberry App world. BB App...

    Cust is having problems with Blackberry App world. BB App World says it has changed its device pin code too many times (exceeded pin code changes) and leaves him not download applications more

    Hello!

    Your request should be sent as follows. Go to this address:

    and complete the form. Use, in the "Please select a component:"on the ground, AppWorld billing/payment selection. " Don't forget to also include the reason why you have exceeded your maximum eligible PIN associations to AppWorld (for example, several RMA, warranty replacement, etc..).

    If this does not work, then please come back on these forums (http://supportforums.blackberry.com/rim/) and create an account so that we can provide direct assistance.

    See you soon!

  • Is anyone having problems with the last lR? I can't do to apply effects to develop at all. I have to force to leave whenever I try to use it.

    Is anyone having problems with the last LR?

    I can't do the effects to apply to develop and I have to force to leave whenever I try to use it.

    I have absolutely nothing accomplished recently - it has worked so well.

    I created enough space on my hard drive thinking that this might be a cause of slow operation but he has not made the difference...

    Hi GKVsiuals,

    suggest make you in Lightroom preferences > performance > uncheck 'use graphics processor' and restart Lightroom to check again.

  • I bought adobe for windows, but I think they gave me the keys for mac so am having problem downloading

    I bought adobe for windows, but I think they gave me the keys for mac so am having problem downloading

    Hi wadadar85548349,

    Please contact our service customer to get this fixed number, follow this link Contact Customer Care, sign in using your adobe ID & click on "still need help? Contact us' button.

    Kind regards
    Nicos

  • Assign a function. onClick() to a generic/automatically created button?

    Hey scripters.

    I'm back with another scratcher of noodles. I am tempted to write a dialog script UI with a simple checkbox in the top box, and then a group of buttons below. The number of generated buttons and their text will vary from doc to doc, so I create buttons with a loop. However, because of this, I encountered a problem that I had not expected.

    I want each button to perform a function that sets the variables of a couple and then closes the dialog window. Normally, I would use:

    {buttonName.onClick () {function ()}

    variables Set

    Window.Close ();

    }

    }

    Unfortunately, since I use a loop to create each button, I do not have a single variable that is defined for each button, so I do not know how to assign the. onClick()... Any ideas on that?

    Here's the mess jumble of code from that moment, I work with... I apologize in advance...

    function placeAdditionalArt(addArtLayer){
            var addArt = addArtLayer.pageItems[0];
            var layerName = addArtLayer.name;
            var pieces = wearerLayer.layers["Prepress"].layers[0].pageItems;
            
            //begin script ui window// determine destination shirt piece and whether or not to scale
            
            var aaLoc = new Window("dialog", "Additional Artwork");
            var aaLocInfo = createAALoc();
            function createAALoc(){
                var result;
                var scale;
                var scaleGroup = aaLoc.add("group");
                    var yesNoscale = scaleGroup.add("checkbox", undefined, "Scale Artwork");
                var pieceGroup = aaLoc.add("group");
                    for(var a=0;a<pieces.length;a++){
                        var thisPiece = pieces[a];
                        var thisName = pieces[a].name;
                        if(thisName.indexOf("Waistband")<0 && thisName.indexOf("Cuff")<0 &&
                        thisName.indexOf("Collar")<0 && thisName.indexOf("Placard")<0){
                            pieceGroup.add("button", undefined, thisName);
                            this.onClick = function(){ //this.onClick doesn't work because i imagine this refers to pieceGroup in this context..
                                result = thisPiece;
                                if(yesNoScale){
                                    scale = true;
                                }
                                aaLoc.close();
                            }   
                        }
                    }
                aaLoc.show();
                return [result,scale];
            }
            var destPiece = aaLocInfo[0];
            var scaleAddArt = aaLocInfo[1];
            
            // end script ui
            
            for(var a=0;a<prepressLayer.layers.length;a++){
                var curSize = prepressLayer.layers[a].name;
                var dest = prepressLayer.layers[a].groupItems.getByName(curSize + " " + destPiece); 
                var scale = (newWidth / addArt.width)*100;
                var addArtCopy = addArt.duplicate(dest);
                addArtCopy.resize(scale,scale,true,true,true,true,00);
                newWidth = newWidth + addscale;
                addArtCopy.name = curSize + " Additional Art";
            }
        }
    

    I would like to use a table for the buttons.

    This has not been tested at all. If it's the same concept that I used in "PieMaker" If you have seen this thread.

    // replace lines 21 - 28 with this line
    add_button (a, thisName);
    
    // add this section above the for loop but still within the createAAloc function
    var btn = [];
    function add_button(num, thisName){
        btn[num] = pieceGroup.add("button", undefined, thisName);
        btn[num].onClick = function(){
            result = thisPiece;
            if(yesNoScale){
                scale = true;
            }
            aaLoc.close();
        }
    }
    

Maybe you are looking for

  • HP ENVY 15-J104SL - DOWNGRADE TO WINDOWS 7

    I am a system integrator and therefore a very expert user. I bought a notebook HP Envy 15-104SL. This NB have 8 pre-installed Windows. I have a lot of planning application that will work with Windows 8 so I have to downgrade to Windows 7 I've read th

  • WRT150N questions, Please help!

    So I just moved into my new House and set up my internet. I used my router before without any problem so far. So my problem is that I have this linksys router and a motorola 2210 dsl modem AT & T Eh well, if I run the Ethernet directly from the modem

  • Saving on a LAN path location

    Hello and thanks in advance. Today, I bought two Officejet 6700 premium and am currently their implementation on Windows XP Home edition. Configure shortcuts in HP Scan, I want to configure the save location of the path \\192.168.1.1\share\scanner bu

  • Cannot install the update for Internet Explore 11 on windows 7, it displays an error (code 0 x 0000005) at the opening of an application.

    OT: Update error Hello. Happy new year to everyone. I've updated my laptop two days ago, there were some important updates 254 and I install all of them, but an update fails in installation. Internet Explore 11 for windows 7 for 64-bit systems. I tri

  • Unrecoverable internal error: java.lang.NullPointerException

    Hi all While iam trying to open the application iam getting this error ' fatal internal error: java.lang.NullPointerException ", iam unable to understand what is the real problem. Any help please... Thnaks.