Can't add actionscript to buttons

Hi, I am currently trying to make a game in AS3 with forward and back buttons. I have drawn my buttons and converted them to symbol (button), but when I select the button and press F9 to add in the actions, this happens meaning I cannot add the script in:
can anyone please tell me what I have done wrong to not show the normal space where I add my script into?
EDIT: OK, I have worked out how to code buttons I think, but now whenever I do I keep getting this error message

you can't add code to objects using as3.
that's an feature of as1 that was (unfortunately) allowed with as2, but finally eliminated in as3.

Similar Messages

  • Can;t add actionscript to button

    hey guys, i've created a button from a piece of text in flas
    CS3, and i want to add some actionscript to skip to another frame
    on mouse click, i've done it before on flash 8, and it worked but
    on CS3 it says "current selection cannot have actions applied to
    it". anyone know why and how i can get round it?
    cheers,
    Curtis.

    your buttons are being controlled by a timeline based tween
    and therefore will not become operable until they encounter the
    code responsible for their events on the timeline. use some script
    for your fades instead of relying on the time line, that way you
    can have the buttons and all their necessary code on the same frame
    - in your case frame 1 - (make sure your code is on a layer labeled
    "actions" atop all your other layers - nothing should ever be on
    your "actions" layer except script).

  • Can't add actionscript to button instance

    How come my fading-in buttons can't be made clickable. I
    tried adding actionscript to the buttons as they are fading but
    they don't accept actionscript while tweening. I'm using MX 2004
    and am a newbie. The links work fine after the animation. Please
    check it out at :
    bradStolba.com

    your buttons are being controlled by a timeline based tween
    and therefore will not become operable until they encounter the
    code responsible for their events on the timeline. use some script
    for your fades instead of relying on the time line, that way you
    can have the buttons and all their necessary code on the same frame
    - in your case frame 1 - (make sure your code is on a layer labeled
    "actions" atop all your other layers - nothing should ever be on
    your "actions" layer except script).

  • How can I add a review button on my podcast

    How can I add a review button on my podcast, so I can see it on my iphone or itouch?

    You must create a custom signature.
    Find a guide here

  • How can i add Facebook likes button on my mac mail?

    How can i add Facebook likes button on my mac mail?

    You must create a custom signature.
    Find a guide here

  • Can we add custom print button to crystal report launched using jsp

    Hi,
    I need to add a print icon in crystal report. My requirement states that I should not use the print button given in the taskbar of crystal report. Can this be done?
    Thanks

    Are you using Crystal Reports for Eclipse?  If so, there is a new version out that suports Excel exporting:
    /people/blair.wheadon/blog/2009/01/16/announcing-crystal-reports-for-eclipse-20

  • Can't add pin it button or amazon button and can't exit customization

    I cannot add the pin it button or the amazon button through customization. I also have a problem with the whole customization process. I cannot exit. I have a little screen thing on customization that when I tried to open was in Japanese and really afraid of what it could have done to my computer. Here is the screen shot of it on customization.

    You can try to click the Restore Defaults button in the Customize palette.
    You can check for problems with preferences.
    Delete a possible user.js file and numbered prefs-##.js files and rename (or delete) the prefs.js file to reset all prefs to the default value including prefs set via user.js and prefs that are no longer supported in the current Firefox release.
    *http://kb.mozillazine.org/Preferences_not_saved
    *http://kb.mozillazine.org/Resetting_preferences

  • How can I add custom toolbar buttons to load different TOCs?

    In my WebHelp output, I want to have custom buttons on the toolbar that when clicked load a specific TOC in the left navigation pane. For example, when the user clicks the PC button, the PC TOC loads in the left pane. When the user clicks the VM button, the VM TOC loads in the left pane. All of the help files are managed in one project and some files will appear in both TOCs.
    I think this should be possible but not sure how to make it happen. Is there some JavaScript that I should add to the custom toolbar item to load the TOC on click? How do I specify the TOC that I want to show for each button?
    BTW - I'm using RoboHelp 8 (8.0.2) to generate WebHelp output. Thanks in advance for your help!

    Hi there
    If you were to upgrade to RoboHelp 9 it would simplify your issue. Version 9 offers a new feature called Dynamic User-Centric Content (DUCC) and provides a nifty little drop-down selector in the Navigation Mini-toolbar.
    As you are on version 8 the only way I can fathom you would manage this is by generating two different outputs. Each output would use its respective TOC. The Toolbar button in each project could be configured to open the other project.
    You might first decry having to manage two outputs and all the files. But if you pick apart DUCC and the way it is configured by Adobe, it works in much the same manner. It's just hidden from your initial view.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Can't add a toolbar button in a overlay extension

    Hello, I'm having trouble adding a button to the main toolbar.
    I'm creating a xul overlay extension but for some reason I can't seem to add the button to the toolbar. I'm able to install it, but not make the button appear.
    What I'm trying to do is create a toolbar button, that opens a popup containing an iframe. I need exactly what the user Felipe Silva show in this example:
    http://stackoverflow.com/questions/18506117/create-mozilla-extension-to-display-a-popup-and-iframe-in-it
    The only difference is that the iframe needs to load an html file packaged with the extension and not some external source.
    I'd also like to add the button by default to the toolbar but I need to get the button working first.
    You can download a copy of the extension here:
    https://dl.dropboxusercontent.com/u/9942366/firebomb.xpi
    I know this would be easier if I was using the SDK but the toolbar button module requires Firefox 29 which is not stable yet so I prefer doing this way.
    Any help would be greatly appreciated.

    hello andremm, for questions related to extension development please use the mozilla addons forum - you'll likely get a better answer there. thank you!
    https://forums.mozilla.org/addons/viewforum.php?f=7

  • How can I add a new button

    Can somebody tell me how to add a new shape buton to my menu?
    There is only 3 shapes and I dont like any of them ....

    I agree. There should be more options here. Might want to make this suggestion directly to apple here:
    http://www.apple.com/feedback/idvd.html
    In the meantime, you may wish to consider using one of the 16 Frames offered in iDvd as opposed to one of three Shapes.

  • Can you add a Print Button to one page?

    I have a form with 15 or so pages of information.  I do not want the submitter to get a printout of the entire thing.  However, they are given a chance to pay via PayPal or pay by mailing a check.
    If they chose PayPal, no big deal.  If they chose to mail a check - I would like them to either GET a print out of the last page, or have a button they press to get a print out of the last page.  This page would be required to be sent along with the check so I can tie it back to the record.
    Is this possible?
    Thank you!
    Jeanine

    What is it you need to accomplish?
    If you just want work to be saved as people move through the form, you could prompt them to hit the save link, if you've enabled it. This would allow them to come back to the form and finish it later, and preserves all selections and filled-in information. When they then hit the "Submit" button at the end of the form, all of their info deposits into the data set.
    If you don't mind the data being split across multiple data sets, you could create multiple small single-page forms, and when the respondent hits the "Submit" button, they could be automatically redirected to the next  form. You would set this up in the form Options tab and select the Redirect URL panel.
    Otherwise, follow Josh's suggestion for a PDF.
    I hope that helps,
    Brian

  • How to add actionscript to buttons

    i m using adobe flash cs3 profficional software version...in my flash document i m using some buttons but i didn't get action script to that buttons...what is the reason?....can any one solve this problem....plz give me the reply....

    stop();
    aboutus_btn.onRelease=function(){
    gotoAndPlay(1);
    gotoAndStop(3);
    gotoAndStop(2);
    gotoAndStop(6);
    gotoAndStop(4);
    gotoAndStop(5);
    contactus_btn.onRelease=function(){
    gotoAndPlay(2);
    gotoAndStop(1);
    gotoAndStop(3);
    gotoAndStop(6);
    gotoAndStop(4);
    gotoAndStop(5);
    employment_btn.onRelease=function(){
    gotoAndPlay(3);
    gotoAndStop(1);
    gotoAndStop(2);
    gotoAndStop(6);
    gotoAndStop(4);
    gotoAndStop(5);
    movies_btn.onRelease=function(){
    gotoAndPlay(4);
    gotoAndStop(1);
    gotoAndStop(2);
    gotoAndStop(6);
    gotoAndStop(3);
    gotoAndStop(5);
    technology_btn.onRelease=function(){
    gotoAndPlay(5);
    gotoAndStop(1);
    gotoAndStop(2);
    gotoAndStop(6);
    gotoAndStop(4);
    gotoAndStop(3);
    //gotoAndStop(0);
    but it is not working properly..........can u plz give me short length code.....
    logic is:each button display one image....

  • How can I add an edit button to my tray?

    My iphoto menu does not include and editing button. Can someone help me find/install it? TKU

    No.  When you ran iPhoto the next time a new preference file was created.
    Open iPhoto's General preference pajne and set iPHoto to edit in the main window.
    Then double click on the thumb nail to enter the edit mode where the edit tools are located at the bottom of the window.
    When you crop a photo set the constrain menu to the size you want, adjust the crop area and then click on the Crop button. Then click on the Done button.  That will save the crop.

  • Cani I add additional home buttons to group business and personal use home pages?

    Want to have multiple home buttons on the browser bar to "group" home pages.

    You can use folders on the Bookmarks Toolbar to place multiple links in one such folder group and middle-click such a folder to open all links in it in tabs.
    *https://support.mozilla.org/kb/Bookmark+folders

  • Can I add a Close button to a popup window?

    My RoboHelp 10 project has nested popup windows (that is, I can open a popup window within a popup window within a popup window). The problem is, when I close the popup window at the lowest level, all of them close simultaneously. This is not good for navigation, particularly if the user is following instructions in the popup window and needs to go back up one popup window level.
    Is there a method by which I can close each individual popup window, for example, by adding a Close button to them? In other words, can I change the format of the popup windows?
    Your help will be much appreciated in finding a solution to this problem because it is fundamental to the way we want our Help to function. If a solution can not be found, we may have to change to another product to produce our Help.

    Hi,
    You can create a close buton by creating a link as follows with the following address:
    javascript:self.close()
    But I'm not sure whether this will work correctly with RoboHelp generated popups.
    Another question: why would you want multiple popups? Wouldn't it be better to create a popup that can tthen redirect to another topic? Having lots of windows wil become very confusing very fast.
    Greet,
    Willam

Maybe you are looking for

  • Text elements SAPLXM02

    Hy all, i'm having a strange issue in trasporting text element in Quality landscape, i have insert an include in the user exit ZXM02U12, i have to text that are in SAPLXM02, but i can't include the SAPLXM02 in my CR. I try in all the way i know but t

  • Check GL(Bank) account balance for banks and stop payment if sufficient

    Hi Experts Requirement is to check GL account balance for bank account and check whether enough balance exists for effecting payments. In the absence of insufficient bank balance, payment should not be effected. Balance needs to be check either manua

  • My administrator privileges are gone... how do I get them back?

    I've been having serious problems since downloading the latest security update... See here: http://discussions.apple.com/thread.jspa?threadID=1466190&tstart=0 I tried a complete reinstall of Leopard because it was the only way to get my computer to b

  • Made mistake and updated Firefox to 36.0.1 from 36.0

    After updating Firefox to 36.0.1 from 36.0, the speeds of Firefox went from great to MODEM speeds. This happens for most websites. Tried going to "www.google.com" and it took 21 seconds to load page. www.mozilla.org took 31 seconds. Tried the REFRESH

  • How to make a contact sheet in CS5

    How do you make a contact sheet in Photoshop CS5?