How do i make a link button?

I made a button-symbol up-down-over and hit and then i go to
scene1. I take the button from ilbrary and put it inside the main
movie window. Then i go to actions and i type
mybutton.onPress = function ()
getURL ("https://www.google.com","_self");
The button works fine but it doesn't link to google. What am
i doing wrong? I want the button to open goggle in a new window.

ah I know what you did - you attached the code to the button
not the frame.
Make sure you click on the frame to add that code. If you
click on the button and add that code it has to be worded
differently:
on(Press) {
getURL ("https://www.google.com","_self");
Your way is better. Just make sure that you click on the
button and remove the code, then click on the frame and put the
code back in so it is not attached to the button. You can tell by
clicking on the button, the AS window should be blank. Then if you
click on the frame in the timeline the AS should be there.

Similar Messages

  • How can we make the save button active in standard toolbar in outout of alv

    Hi experts ,
    I am using factory method to print alv with oops .
    Cancel , Exit and Back button are active by default in Standard tool bar  in output of Report , But Save button is not active , How can i make that save button active .
    Also Pls tell me how i can make editable to the cell in output , 
    My Code is like this :
    cl_salv_table=>factory( IMPORTING r_salv_table = gr_table CHANGING t_table = ispfli ).
      gr_functions = gr_table->get_functions( ).
      gr_functions->set_all( abap_true ).
      gr_display = gr_table->get_display_settings( ).
      gr_display->set_striped_pattern( cl_salv_display_settings=>true ).
      gr_display->set_list_header( 'This is the heading' ).
      gr_columns = gr_table->get_columns( ).
      gr_column ?= gr_columns->get_column( 'CITYTO' ).
      gr_column->set_long_text( 'This is long text' ).
      gr_column->set_medium_text( 'This is med text' ).
      gr_column->set_short_text( 'This is sh' ).
      gr_column ?= gr_columns->get_column( 'CITYFROM' ).
      color-col = '6'.
      color-int = '1'.
      color-inv = '0'.
      gr_column->set_color( color ).
      gr_sorts = gr_table->get_sorts( ).
    *gr_sorts->add_sort( 'CITYTO' ).
      gr_sorts->add_sort( columnname = 'CITYTO' subtotal = abap_true ).
      gr_agg = gr_table->get_aggregations( ).
      gr_agg->add_aggregation( 'DISTANCE' ).
      gr_filter = gr_table->get_filters( ).
      gr_filter->add_filter( columnname = 'CARRID' low = 'DL' ).
      gr_layout = gr_table->get_layout( ).
      gr_layout->set_key( key ).
      key-report = sy-repid.
      gr_layout->set_save_restriction( cl_salv_layout=>restrict_none ).
      gr_table->display( ).
    Rgds,
    Premraj

    Hi,
    1)you need to give the function code to that save in the Function Keys of that screen from the GUI Status.
    2) while filling the field catalog of that field you need to put the        
    wa_fieldcat_edit-edit = c_x.
    i.e use the edit and append to that field catalog internal table.
    for more infomation you can refer to below links:
    problem with alv edit and save
    *Edit* and *Save*  for the selected records in ALV
    solves your problem
    Thanks!!

  • How i can make user defined button in standard menu.........

    hi all,
                     please tell me how i can make user defined button in standard menu.........
       regards
    vikas saini

    hi Vikas ,'
    u can do this by using PF status and setting titile .
    follow thw link for help.
    Re: To Change SAP Tiltle into some other title
    Regards,
    Amit

  • How do I make a submit button work on a mobile oriented page?

    How do I make a submit button work on a mobile oriented page?  I have the .html file and the .data file (and one other kind), but it just spins and spins and spins when I try to send the form in (for an absence).  I'd like it to work on all devices.  Help?

    HTML forms don't do anything.  You need a form processing script to gather and process form data.  Which server-side scripts does your web hosting plan support -- php, asp, asp.net, perl?  This will determine which scripts you can use with your form.
    Nancy O.

  • How do you make a link open on a new page (typically the target="_blank" command) in MUSE?

    how do you make a link open on a new page (typically the target="_blank" command) in MUSE?

    Newer version does not have the same interface.  I'm stuck trying to understand how to add a "blank" target to a hyperlink...  See how your screenshot has a dropdown associated with the "Hyperlink" object?  Mine doesn't...

  • How can I make a giff button have a second state?

    how can I make a giff button have a second state?

    how can I make a giff button have a second state?

  • How can I make the playback buttons of YouTube and other plug-ins bigger since they are so tiny?

    How can I make the playback buttons of YouTube and other plug-ins bigger since they are so tiny in Firefox? I tried some suggestions that dealt with entering "about:config" in a fresh browser, but to no avail. I also downloaded an add-on called "Theme Font & Size Changer", but that didn't work either. So, I am reaching out here as that was a suggestion that another user here offered.

    Ah, yes- that is an ultra high DPI (dots per inch) display. This is a known issue in Flash Player, which Adobe is working on fixing.
    In the mean time, you can get some videos to have normal-sized controls by switching Youtube to the HTML5 video player:
    In Firefox, go to https://www.youtube.com/html5 and click the "Request the HTML5 player" button.

  • How can I make sure linked in contacts are only added once?

    For some reason the linkedin contacts are appearing endlessly in my mac address book. Every time I delete they come back - Very annoying especially since I have to delete folders manually one by one. How can I make sure linked in contacts only added once? And how can I delete from mac address book  in one go?

    If you installed software from LinkedIn to synchronize the contacts, refer to the developer for support. Otherwise, how did you import the contacts?

  • How do I make all links open in a new window?

    I have some RSS feeds on my website.  If you click one of their headlines it takes you to that source to read the story.  Is there a way to make all hyper links on a webpage open in a new window?  If not, is there a way to make the individual links open in a new window?  The website is http://www.businessfixer.net/articles

    Mark,
    Target: e.g. <a href=”#” target=”_blank”> is deprecated (outdated) code.  Strict doc types will not pass validation.
    OP,
    Most people know how to use their browsers BACK button to return to a site.  Or better yet, right click on links to open them inside new tabs or windows.  This should almost always be a user's decision and not a web designer's decision.
    If you have all links open in new windows/tabs, In no time at all, user's browser will be stuffed with them which is ugly and can diminish browser performance.
    If you need to open a new window on SELECT links, use the Behaviors Panel, press the Plus sign (+) and select Open Browser Window.  Repeat this for all links you want opened in new windows.
    For further details see the following tutorial -
    http://cbtcafe.com/dreamweaver/popup_image/index.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • How do i make a submit button work on mobile with my PDF

    I do not want to use the Adobe Forms Central. I have a client that wants a PDF on their mobile site to be readable and editable on an iPad. The submit button does not work. Is there a work around or another means to make this work. I realize the PDF form can be emailed via the iPad, but not all the people or "customers" know the email address to send to, so how can i make this work. Any suggestions or anyone else encounter this issue? I do not want to have to ask my client to ask his customers to go purchase software, when they should be able to just download adobe reader to fill out the form and send it like we can do on a regular desktop.

    I created the PDF and at the end placed the submit button with the following actions (screenshots included):
    Setting for the Submit form:
    Submit button at the bottom of the last page of the application:
    Maybe I have it all set up incorrectly, but from all that I have read it works fine on the desktop, but when the iPad is used, the submit button becomes inactive. I thought there could be some work around to make it work other than the "actions" or javascript, but I have also seen other forms that have javascript work on the iPad, so it has me totally confused.
    Thank you.

  • How do i make a clickable "button" that works in the PDF?

    I have a newsletter and want to make a button on a page that when clicked, will open the browser and go to that site. I see how to convert objects to a button and enter the URL in its properties but when I convert to a PDF, the entire object is missing. When converting to PDF, I also make sure that hyperlinks and interactive elements are both checked in the General section. I dont know what else I need to do!

    It is a colored square that was also grouped with a text box. I tried also ungrouping it and just putting the button effect on one or the other and had the same problem. When i look at the PDF, it has nothing there, whatever object i have the button effect applied to is totally deleted. I even tried clicking on the area where it was thinking maybe something was invisible and that didnt do anything either. There are no left over or hidden boxes there that could be covering things either. Im good about working cleanly and organized.
    Ill try doing this with a new document tomorrow and see what happens

  • How do I make relative link in a pdf

    How can I make a relative link in a pdf file, so that I can put the pdf file and the files on a usb memory stick and send it out to our costumers. I use Acrobat XI Pro. I can´t possibly be the only person with that problem, so please, somebody help me with a solution.

    Thank you for your answer, but I have already tried that, I did all the work with links in the pdf to jpg´s in a folder (and there are a lot of links), and put it all on a usb memory stick, gave it to one of our costumers for testing and it didn´t work, it keeps referring to our server. I had a similar project in Excell, where I had to link the text in Excell to a product related file, after that I put it on a memory stick, and that worked without any problems, but off course Excell is a whole other world. I just think that it shouldn´t be so complicated in Acrobat, so I´m hoping you have a different solution ;-)

  • How do I make a link found in a .pdf file open in Firefox?

    When I have a .pdf file open in Adobe Reader, the link opens in Google Chrome.  How do I make it open in Firefox?

    Use Firefox as your default browser.

  • I'm trying to open a folder found in a department drive that i have full access to via a link on a website but nothing happens. How do I make the link work?

    The link connects to my G drive and it should open up a folder for me to store things on my hard drive. This works on IE although I usually use firefox at home so I changed my browser at work. Can you tell me how to make these links work so that i can use a website online that will connect to my offline folders?
    Would appreciate it very much.

    Please update to Firefox 20.0.1 immediately, before continuing using the Internet. Firefox 3.6 is no longer supported and has critical security flaws.

  • How do you make a custom button that is Invisible When not selected

    Im just recently switching over to using a mac for authoring. I really like all the features in DVD Studio more than what i was using on a PC for the past 6 years. Which was ulead DVD Workshop 2.
    The only problem im having (For Now) is that i cant make my custom buttons invisible. I made this little black shape thing in photoshop and i want to use it in DVDSP for selecting different tracks.
    I thought all i had to do was just save the black shape with a transparent background in photoshop as a .psd and import it. But that didnt work.
    When i change episodes it just stays black the whole time. I want something that will be invisible when it is not selected.
    please help
    I can send someone my little shape if they can make it a usable button that i can make invisible in dvdsp. I really need to see the layers done with a shape as a button to see how they were able to make it invisible.
    i tried a few tutorials but instead of being invisible all i got was a shape that was stuck white the whole time. this is even when i put the opacity to 0 on normal.
    I want to make this into a button
    http://img694.imageshack.us/i/custonbutton.png/

    Ok, what you want to do is also in the same tutorial. See the section on "Advanced Highlights" (again, avoid the sections on layered menus), You can create an overlay that does have two colors. The bad news is that there will be absolutely no anti-aliasing at all. This means your graphic will be extremely pixelated. This is just the way the DVD specs are set up, so there is no way around it.
    Given that I would highly recommend redesigning your overlay. Take a look at variety of DVDs from Hollywood. See what they are doing in their menus. You can do anything they are doing, but you will notice that the overlay is very simple because of the limited anti-aliasing of DVDs. In all the years that I've been watching DVDs I've only see one DVD use two colors in the overlay, and that was the Jim Carey "The Grinch who Stole Christmas."

Maybe you are looking for

  • Rg: down payments made

    Hi, User posted a down payment using transaction f-48 for an amount of 500000 to a vendor AAAA. and received an invoice of 400000 for that vendor AAAA. 400000 is nullified using f-44 for the existing amount of down payment 500000. now the user says t

  • File, Save Page As option not working in Firefox 8.0.1

    Cannot save webpage from file menu.

  • Write to text file problem

    I have a write to 'text file' in a sub vi. It is a popup where user can change his program. For some reason, only the first time it is called, it actually writes to the text file. As long as the sub vi is in memory, and I call it again and press ok t

  • Mail issues in Mountain Lion

    Has Apple even attempted to fix flaws in Mountain Lion regarding Mail? Ever since I've purchased Mountain Lion, I have to "Force Quit" Mail in order to shut down my Macbook Pro.

  • How to display video from UDP web camera

    hi Im interfacing to a Sony IPELA video camera that has a built in http web server.  i can send individual HTTP commands to authenticate, to retrieve still jpeg images from the camera and to control tilt pan zoom.  but when i initiate video, there is