How do I add links to my buttons?

Hi, I am new to the Flash platform, but have some Dreamweaver experience......I have designed a page with a top logo and a horizontal and a verticle menubar. I went to test it and it all works fineas far hover colors, hit etc..... Now I need to make the buttons work as they are all a generic button. I need to add the links that will take me to the other pages that are associated with the site. Do I need to have a different layer and name for each button? also I don't know how to make the button work(link to the next page)
Thank you for any help, I have searched around and have not found a way to do this yet.

To make your buttons link elsewhere you need to assign instance names to your buttons and then create the code to make those instances work as desired.  The instance names are assigned by selecting a button and entering a unique name for it in the Properties Panel where it says <Instance Name>
The code you create for making them link depends on which version of Actionscript your file is using and whether you are linking to separate web pages or within the same Flash file (somewhere else down the timeline).

Similar Messages

  • How t o add Link with a button in jsp

    hi,
    I want to add link with a button in jsp. How will i do it? Is there anyone who can help me? Please help me.
    With Regards
    Bina

    Try this,
    <input type='button' onclick='window.location="a.html"'>

  • How do i add a facebook share button to my webpage

    how do i add a facebook share button to my webpage

    I use a Facebook logo and then encourage people to like the page. But I do have a couple of clients who have asked me to do this.
    Here's the link on Facebook's site for share buttons:
    https://developers.facebook.com/docs/plugins/share-button/

  • How do I add a functional "submit button" to a pdf form in Adobe Acrobat Pro XI ? I created the pdf form in Adobe Forms Central.

    How do I add a functional "submit button" to a pdf form in Adobe Acrobat Pro XI ? I created the pdf form in Adobe Forms Central. It's for an online Diet Questionnaire. After people complete the form I'd like them to click "SUBMIT" and the completed form will be emailed to me.

    This can be a bit confusing because Acrobat 11 comes with the desktop app that allows you to create simple PDF forms without having a FormsCentral account. Some people find this helpful, but you need to understand that when you generate the PDF form, it is Reader-enabled by Acrobat. In order to edit the form further in Acrobat, you have to create a non-enabled copy of the form. You do this in Acrobat by opening the form and selecting: File > Save a Copy
    and opening the copy. It is not opened automatically.
    You can now add a button and set it up to submit by email, either using a "Submit a form" action or the submitForm JavaScript method. You can set it up to include just the form data or the entire PDF, and will want to use a mailto type URL. Submitting the form to the FormsCentral server has a number of important advantages over email (much more reliable, more secure, etc.), so you might want to consider it.
    If the form needs to be saved with Reader versions prior to 11, then you will need to Reader-enable the document. In Acrobat 11 you do this by selecting: File > Save As Other > Reader Extended PDF > Enable More Tools

  • How do I add a submit form button to my form?

    I am creating a form in FormsCentral.  How do I add an email submit button, as an object, to the form?

    Hi,
    Please refer to the following forum thread:
    http://forums.adobe.com/message/5797460
    Regards,
    Brian

  • How can i add a donate now button to my iweb website

    how can i add a donate now button to my iweb website

    Here's some info about PayPal buttons....
    http://www.iwebformusicians.com/Internet-Music-Sell-Distribute/PayPal.html
    A "Donate" button is created in the same way as a "Buy" button.

  • How can I add links to open xml and csv files stored in another location? Please advice how to place links in my frame maker document?

    Hi,
    I would like to know as to how can I add links to open xml and csv files stored in another location? Please advice how to place links in my frame maker document?
    Kindly advice.
    Thanks
    Priya

    Special > Hypertext > Command "open document" will do its best to open the target document inside FrameMaker, which may not be much help; Special > Hypertext > Command "message …" will use the application you specify. The user guide for 7.0 says this about absolute links, and I don't think anything has changed since:
    For example, to start PaintBrush and open the Ship.pcx file on drive C you would use the command message system pbrush.exe C:/Ship.pcx
    I've not often used a relative link, and not recently: the same source says
    folder levels are separated by a slash / even in Windows and Mac
    [relative links] FrameMaker searches for a relative pathname beginning in the folder that contains the current document
    [absolute links] FrameMaker searches for an absolute pathname beginning at the top of the file system. In Windows, the absolute pathname begins with the drive specifier, a colon and a slash.

  • How to make email link with a button with AC2 in flash cs3?

    How to make email link with a button with AC2 in flash cs3?
    I wrote this, but it does not work:
    btn_emailinfo.on (release) {
    getURL("mailto:"[email protected]");
    }

    I am guessing you put that on a frame?
    If so, the syntax is as follows:
    btn_emailinfo.onRelease = function(){
    getURL("mailto:[email protected]");
    Though, if you are placing it directly on the button itself,
    the syntax is:
    on(release){
    getURL("mailto:[email protected]");
    }

  • How do I add links to my social media pages within Dreamweaver?

    how do I add links to my social media pages within Dreamweaver?

    As you would for any other link. What is the precise problem? Can you give us an example?

  • How do you add a Facebook like button to an iBooks Author page?

    How can I add a Facebook Like Button to an iBooks Author page?
    I've got my book ready to go.
    I've got a facebook account to promote it.
    I just want to add a "Like" button on the iBooks page.
    regards
    iRevDr Bill Wall

    Hi KT,
    That was helpful, but I'm still having problems.
    I've plonked a Facebook logo on the page.
    BUT I can't seem to give it a hyperlink to my Facebook page.
    When I select the logo and then use the tool bars or the box thingy. It won't allow me to paste in the URL.
    It looks a bit ugly having a Facebook logo and the text of the URL beside it.
    Is there a way of making the Facebook logo have a hyperlink to its URL so you just click on the logo and it takes you to the facebook page.
    regards
    iRevDr

  • How do I add a close window button/image

    All I want to do: Add a close window button (round/square with an "x" through it) to either one or many html files. I don't see how to do this.
    Using RoboHelp 8 HTML and WinXP. Thanks.

    Ahh I see now. You are asking where to obtain such an image!
    The RoboHelp Gallery doesn't contain one. Sorry. You will need to obtain one from any number of other locations.
    You might look at the following link for one possibility.
    Icon Archive
    Here are a couple from my own colloection. You might right-click and save as.
    There are also a number of packages you may purchase or find. Perhaps the following link will help.
    Click here to search Google
    I cannot advise on the legal implications of using said images.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 moments from now - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcererStone Blog
    RoboHelp eBooks

  • How can I add a Save form button ( not save as ) for a custom fillable form ?

    How can I add a Save button ( not save as ) for a custom fillable form ?
    idea is ti to have a Save button  at the bottom of each page where the person filling
    the form  clicks the save button  on each page.( it is a 12 page fillable form )
    The only thing I was able to do  was add a button that  opens a Save As
    dialog box only.
    My experience  lever is - end user-intermediate.
    Thnaks.

    Thanks for the response.
    I wonder why  it wont allow.
    If I can  save ( as opposed to save as)   this form by clicking the  save icon on the  menu bar, I am not sure why it is no possible to do so on page level!
    Custom script option is not  even remotely possible!

  • How can I add linked text boxes to Contents?

    I have a lot of sections in my chapters, and I think they are all coming in to the TOC, but the automatic text box doesn't have a blue tab, so I cannot add a new text box to continue showing the sections.  How can I make this show up? There's no layout I can manipulate for the TOC, so I cannot make the text editable, which is the suggestion that I have seen for regular linked text boxes.

    Hello,
    If you want to add image to it's background then you can select the SubMenu and use the fill option to fill an image to it.
    Make sure you uncheck "Edit together" option in Menu properties so that you can add different images to different submenus.
    And if you want to edit the text and add images to it, I would suggest you to use Manual menu. Where you can customize your own Menu and add links to the Menus and Submenus.
    Please have a look at the screenshot showing how to create Manual menu :
    Hope this helps.
    Regards,
    Sachin

  • Why am I getting this error?  How do I add confirm message to button press?

    Using Java Studio Creator.
    I do not understand why I am getting the following page error:
    Description: An unhandled exception occurred during the execution of the web application. Please review the following stack trace for more information regarding the error.
    Exception Details: java.lang.IndexOutOfBoundsException
    Index: 0, Size: 0
    Possible Source of Error:
    Class Name: java.util.ArrayList
    File Name: ArrayList.java
    Method Name: RangeCheck
    Line Number: 546
    ======================================================================
    I have a page that works.
    It has a button that is created in the session bean code with the following java:
    button = (HtmlCommandButton)application.createComponent(HtmlCommandButton.COMPONENT_TYPE);
    button.setActionListener( application.createMethodBinding("#{ScheduleEditSessionBean.mainApply}", new Class[]{ActionEvent.class} ));
    button.setId( "applyUndates" );
    button.setType( "submit" );
    button.setTitle( "Apply updates.");
    button.setValue( "Apply" );
    button.setStyle(style);
    children.add(button);
    When the button is pushed, it calls the following session bean method:
    public void mainApply(ActionEvent actionEvent)
    updateScheduleData();
    scheduleAdjustFlag = 1;
    dataApplied = true;
    dataSaved = false;
    addControls();
    This all works just fine - no errors
    ====================================================================
    I wanted to add confirmation to the button press, so I removed the action listener for this button and added
    a javascript function call for the onclick method
    button = (HtmlCommandButton)application.createComponent(HtmlCommandButton.COMPONENT_TYPE);
    style = "text-align: center; font-family: 'Arial','Helvetica',sans-serif; " + font + " height: 22px; width: 115px";
    // Commented out this line button.setActionListener( application.createMethodBinding("#{ScheduleEditSessionBean.mainApply}", new Class[]{ActionEvent.class} ));
    button.setOnclick("confirmApply()"); // Added this line.
    button.setId( "applyUndates" );
    button.setType( "submit" );
    button.setTitle( "Apply updates.");
    button.setValue( "Apply" );
    button.setStyle(style);
    children.add(button);
    I added a dummy button to the page that has the following call to execute the mainApply method in the sessioon bean.
    The button action just calls the mainApply() method in the session bean
    public String mainApplyBtn_action() {
    seb.mainApply();
    return null;
    Added the javascript to the page that simply pushes the dummy button if confirmed.
    function confirmApply()
    if( confirm( 'Are you sure you want to Apply these changes?' ) )
    form1["form1:mainApplyBtn"].click();
    The session bean method looks like this it is the same method as before, but without the action event argument.
    public void mainApply()
    lsb.logMsg( "<ScheduleEditBean.mainApply> Main apply pushed" );
    updateScheduleData();
    scheduleAdjustFlag = 1;
    dataApplied = true;
    dataSaved = false;
    addControls();
    ==================================================================================
    Now, when I push the original 'Apply' button, I get the confirmation box just like I expected.
    But when I confirm the question, I get the error at the top of this post.
    If I push the 'dummy button' directly, I do not get the error.
    I do not understand why I should be gettng this error.
    Can anyone give me a clue as to why this change would cause the problem?
    The error is related to an ArrayList.
    I use several of these on the page, but they should be filled with data in the preRender method of the page.
    Can anyone suggest a way that I can add confirmation to a button that is created under program control?
    Thanks

    Make use of the fact that when an onclick event of a button returns 'false', the action will not be taken.
    Pseudocode:<h:commandButton value="submit" action="#{myBean.action}" onclick="return confirm('Are you sure?');" />

  • How do i add a Full Screen Button?

    Hi guys,
    I have used Quicklime X - File > Save for Web option to upload a video to my web site.
    This gave me a Java Script player and code to embed into my site, i have all the files running local on my server and the videos works well.
    My problem is that there is no full screen button on this player...
    Dose anyone know where i could find some code to add a full screen button to this player?
    I cant imagine it being to hard... but my knowledge of java is very limited.
    Thanks for your help
    Alex
    Edited by: swishk on May 21, 2010 10:35 PM

    Despite the similarity in names, Java and JavaScript are separate languages. For embedding Flash players or controls in web pages, you would be using JavaScript.

Maybe you are looking for