Program buttons with url

I'm new to flash 8. I got everything the way I need it except
I can't figure out how to program the bttons to open a website
after clicking on it. Any help would be appreciated. Thanks, JM
[email protected]

give the button an instance name, like, my_btn. click on the
keyframe the button resides on, open the actions panel, and paste
this:
my_btn.onRelease = function(){
getURL("
http://www.google.com");
// to open in new window/tab, do like this
// getURL("
http://www.google.com",
"_blank");

Similar Messages

  • Since we use APEX 4 and another Theme - Button with URL - javascript fails

    Hi,
    we are currently updating an application in our APEX 4 environment which was developed in APEX 3.
    On one page (popup) there is a button which is used to close the popup and another one to print the page. The buttons use the option "URL" and the url is "javascript:this.close();" / "javascript:this.print();". In APEX 3 everything worked fine, in APEX 4 / with the Theme Simple Red (i don't know what exactly the problem is) the buttons don't response. Simply nothing happens. When i try to forward to a page and not an url everything works but that's not what i want because i want to execute javascript!
    Thanks
    Regards
    Daniel

    sspadafo wrote:
    1. In the URL field, you can enter f?p=app:page:&APP_SESSION.::NO::NAME1,NAME2, ...:Value1,Value2...
    2. Using the popup branch wizard, you can enter any number of item names, separated by commas, in the item name fields and any number of item values, separated by commas, in the item values fields.
    3. Are you sure you need to pass that many item name/value pairs in the URL? Where do the values come from?
    ScottHello Scott,
    Thank you for your quick response. I have to admit that I was too fast to ask question, and as soon as I did read your notes (1.) and (2.) I found out that for some reasons I did not consider manually editing pairs of Items/Values in the Optional URL Redirect. Simply I was fooled by clicking side Lamp icon and opening popup with ten possible pairs items/values that ten rows would be the limit of number of pairs to enter.
    But you answered my question and thank you again.
    As you made comment (3.) about number of item/value pairs and where they come form I would be interested to hear your thoughts and suggestion.
    I need that many name/values since we were required to: if user is on Page 4, he clicks checkbox on this page, then set of values from Page 2 should fill items on current page (Page 4). The question: Is this the best way to transfer these values?
    Interesting note: When user is on Page 2 (Form page) he cannot submit this page until he has all mandatory data. He might or not enter some mandatory data, but not all. (User has to go to Page 3 and then to Page 4 to generate needed data.) User, then can redirect with button to Page 3 (Tabular Report) and then to Page 4 (Form ) where by filling and submitting the page generates the mandatory data for Page 2, that are returned by Ajax when we return to Page 2.
    If you have any ideas I would appreciate to hear them.
    Regards,
    Brano

  • Help creating buttons with actions

    I am looking for a way to program buttons with actions and conditional outputs. As an example: After populating a set number of cells, I would like to be able to program a button to copy the contents of those cellsto another set of cells. Also, a button programmed to clear the contents of the cellswould be nice.
    anyone?

    Buttons are typically associated to macros (VBA or other). As Numbers 1.0 does not support any macros, I am afraid that you are out of look.
    To copy values is very simple with formulas of course (=a1 and so on), but you probably know that, and need something more powerful.

  • Working with url redirects

    I have a html region with the following code:
    <html>
    <head>
    <title>Report</title>
    </head>
    <SCRIPT language="JavaScript1.2">
    function items()
    $s=('BINDTEST1');
    function popon(url)
    window.open (url, "EasyReportWriter",
    "location=1,status=1,scrollbars=1,width=1000,height=700, resizable");
    </SCRIPT>
    I have a text box item "BINDTEST" that has html element set to:
    onchange="items();"
    I have a button with a url redirect of:
    javascript:popon('http://test/' + items());
    When I click on the button, popup window opens with test url but bindtest1 variable is not appended. What am I missing?
    Thanks,
    Brett
    Edited by: 794218 on Sep 12, 2010 8:20 AM

    This worked perfectly!
    Thanks. One question, what Oracle documentation contains the details such as: document.getElementById
    for one to reference? I thought I used to see a Apex developer manual in previous releases and no longer see it with the recent releases. Please clue me in on what Oracle manual/documentation exists for such programming details.
    Thanks,
    Brett

  • ITunes installation error: does not have program associated with it for performing this action

    Repeated tries to install iTunes continues to fail. Installing on Acer laptop using Windows 7.
    Error: does not have program associated with it for performing this action
    We have done the following: open Default programs, clicked associate a file type, clicked on change program button and selected a program to open with and clicked OK/enter.
    The installation continues. we get to the finish window; click finish.
    Next error: iTunes has been installed incorrectly.
    So, what do we do to get iTunes working?
    Thank you.

    Hi normeagle,
    Welcome to Apple Support Communities.
    You may find this article helpful for troubleshooting your iTunes installation:
    Trouble installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/HT1926
    Best,
    Jeremy

  • I cannot open my firefox broswer. The message box appeared that said a problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available. Under that there are debug and close program buttons.

    I cannot open my firefox broswer. The message box appeared that said a problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available. Under that there are debug and close program buttons.

    JackieMars71 I would recommend reviewing your installation log files to determine if there are any errors during the installation process.  You can find information on how to locate and interpret your installation log files at Troubleshoot install issues with log files | CC - http://helpx.adobe.com/creative-cloud/kb/troubleshoot-install-logs-cc.html.  You are welcome to post any specific errors you discover to this discussion.

  • Powershell shortcut gives"this file does not have a program associated with it for performing this action"

    Hi,
    We have a server where powershell gives an error. The shortcut or the context menu for start button (replaced cmd in context menu) gives an error saying "this file does not have a program associated with it for performing this action".
    In some events, like going to C:\ProgramData\Microsoft\Windows\Start Menu\Programs\System Tools\Windows PowerShell.lnk and opening it results in bupkus. Nothing happens.
    Browsing to C:\Windows\system32\WindowsPowerShell\v1.0\ and running powershell.exe directly or opening cmd.exe and typing powershell <enter> runs powershell as it should.
    What gives?
    This posting is provided "AS IS" with no warranties or guarantees and confers no rights

    Hi,
    I'd probably try asking here:
    https://social.technet.microsoft.com/Forums/en-us/home?forum=winserver8gen&filter=alltypes&sort=lastpostdesc
    This is more of an OS issue than a PowerShell issue, IMHO.
    Good luck.
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • This file does not have a program associated with it for performing this ac

    Hi all,
    After creating an application for a WebDynpro project, when I execute the project (Deploy New Archive and Run) the application I am receiving then following error message.
    "This file does not have a program associated with it for performing this action. Create an association in folder options in control panel."
    Pls can anyone provide the solution.
    Regards
    Ravi

    Maybe the problem its on the Run part. It is supposed to open a navigator and go to the URL of the application you just deployed.
    Try deploying on one step and then Running on other.
    If it is the Run then open the navigator and test your App.

  • Program associated with the creation of a virtual instrument of Lab View. Please help me

    I have a question with program associated with the creation of a virtual instrument of Lab View. 1.Create of virtual instrument based on the NI 9401 module fitted to the chassis NI Compaq DAQ (Ni-cDAQ-9172). Creating a virtual tool needed to implement the following counting impulses in impulse series, visualization of data through a digital indicator, comparing the number of impusite with pre-set value, that value can be assigned by the user. Indicator light when reaching in reaching the set number of pulses, the opportunity to reset the meter of a button on the front panel. Switch to digital output in reaching the set number. I hope someone can help me.
    Solved!
    Go to Solution.

    What is your question? You've described what the program is supposed to do, but it's not clear what you're asking about. Do you need help getting started? If so, have you gone through the LabVIEW tutorials? You and look over the material in the NI Developer Zone's Learning Center which provides links to other materials and other tutorials. You can also take the online courses for free. Have you looked through the many examples that ship with LabVIEW for data acquisition?

  • Conversion program generated with errors

    in lsmw idoc method at the step 11 convert data iam getting error as conversion program generated with errors can some body help me .i assigned port ,partnertype and partner number and activated inbound processing but still getting this error.somebody pls help me its urgent.

    Hi Mamidi,
    Go to the LSMW you have choosen and if it is Recording Method you are getting this error.
    Select Goto-->Recordings.
    Select the Recording you have choosen in the Edit Mode.
    Click on the Defaults All Button and save the recording.
    Now go to the option Convert Data and check .
    You will receive a message ..Conversion program successfully generated.
    Thanks,
    Sri

  • How to create a button with the drop-down menu?

    I want to create a button with the drop-down menu, which is like the 'back' on the tollbar in IE. I heard JPopupMenu can reach the certain result, but the button hadn't a down arrow. Who can help me?

    i have made something like this :
    //======================================================================
    package com.ju.guiutils
    import java.awt.*;
    import java.awt.event.*;
    import java.net.URL;
    import java.util.Vector;
    import javax.swing.*;
    import javax.swing.border.*;
    import javax.swing.event.*;
    import javax.swing.plaf.basic.BasicComboBoxUI;
    * @version 1.0 14/04/02
    * @author Syed Arshad Ali <br> [email protected]<br>
    * <B>Usage : </B> ButtonsCombo basically performs function button + JComboBox, if we have different options for
    * <BR>same button then we can use this ButtonsCombo.
    *<BR> By the way there is no button at all in <I>ButtonsCombo</I>
    public class ButtonsCombo extends JComboBox {
    //===================================================================================
    * Create ButtonsCombo with default combobox model
    public ButtonsCombo () {
    super ();
    init ();
    //===================================================================================
    * Creates a ButtonsCombo that takes it's items from an existing ComboBoxModel.
    public ButtonsCombo ( ComboBoxModel model ) {
    super ( model );
    init ();
    //===================================================================================
    * Creates a ButtonsCombo that contains the elements in the specified array.
    public ButtonsCombo ( Object [] items ) {
    super ( items );
    init ();
    //===================================================================================
    * Creates a ButtonsCombo that contains the elements in the specified Vector.
    public ButtonsCombo ( Vector items ) {
    super ( items );
    init ();
    //===================================================================================
    private void init () {
    setBorder ( BorderFactory.createBevelBorder ( BevelBorder.RAISED ) );
    setRenderer ( new ComboRenderer() );
    setUI ( new ComboUI() );
    addMouseListener ( new ComboMouseListener() );
    //===================================================================================
    * Set items for ButtonsCombo in the specified array
    public void setItems ( Object [] items ) {
    setModel ( new DefaultComboBoxModel( items ) );
    //```````````````````````````````````````````````````````````````````````````````````
    * Set items for ButtonsCombo in the specified Vector
    public void setItems ( Vector items ) {
    setModel ( new DefaultComboBoxModel( items ) );
    //```````````````````````````````````````````````````````````````````````````````````
    * Get current items in a array
    public Object [] getItemsArray () {
    ComboBoxModel model = this.getModel ();
    if ( model != null ) {
    int size = model.getSize ();
    if ( size > 0 ) {
    Object [] items = new Object[ size ];
    for ( int i = 0; i < size; i++ ) {
    items[ i ] = model.getElementAt ( i );
    return items;
    return null;
    //```````````````````````````````````````````````````````````````````````````````````
    * Get current items in a Vector
    public Vector getItemsVector () {
    ComboBoxModel model = this.getModel ();
    if ( model != null ) {
    int size = model.getSize ();
    if ( size > 0 ) {
    Vector itemsVec = new Vector();
    for ( int i = 0; i < size; i++ ) {
    itemsVec.addElement ( model.getElementAt ( i ) );
    return itemsVec;
    return null;
    //===================================================================================
    class ComboMouseListener extends MouseAdapter {
    public void mouseClicked ( MouseEvent me ) {
    ButtonsCombo.this.hidePopup ();
    public void mousePressed ( MouseEvent me ) {
    ButtonsCombo.this.hidePopup ();
    ButtonsCombo.this.setBorder ( BorderFactory.createBevelBorder ( BevelBorder.LOWERED ) );
    public void mouseReleased ( MouseEvent me ) {
    ButtonsCombo.this.hidePopup ();
    ButtonsCombo.this.setBorder ( BorderFactory.createBevelBorder ( BevelBorder.RAISED ) );
    //===================================================================================
    class ComboRenderer extends JLabel implements ListCellRenderer {
    //````````````````````````````````````````````````
    public ComboRenderer () {
    setOpaque ( true );
    //````````````````````````````````````````````````
    public Component getListCellRendererComponent ( JList list, Object value, int index, boolean isSelected, boolean cellHasFocus ) {
    setBackground ( isSelected ? Color.cyan : Color.white );
    setForeground ( isSelected ? Color.red : Color.black );
    setText ( ( String )value );
    return this;
    //````````````````````````````````````````````````
    //===================================================================================
    // We have to use this class, otherwise we cannot stop JComboBox's popup to go down
    class ComboUI extends BasicComboBoxUI {
    public JButton createArrowButton () throws NullPointerException {
    try {
    URL url = getClass ().getResource ( "/images/comboarrow.gif" );
    JButton b = new JButton( new ImageIcon( url ) );
    b.addActionListener ( new ActionListener() {
    public void actionPerformed ( ActionEvent ae ) {
    return b;
    } catch ( NullPointerException npe ) {
    throw new NullPointerException( "/images/comboarrow.gif not found or /images folder not in classpath" );
    catch ( Exception e ) {
    e.printStackTrace ();
    return null;
    //======================================================================
    you can cutomize this according to your requirement , okie ;)

  • Buttons with images in web!!! Please help-me!!!!

    I want to publish mine forms 6i in web. They have buttons with figures. I already converted the figures of .ICO for .GIF. I already read diverse papers on the subject but I did not understand them. What I must make now?
    I need step-by-step that to make now, therefore I have stated period to carry through this task and is if depleting. Who to know, please says which archives to me must edit, where to place the figures, etc.
    Thanks!!!!!

    Joao,
    There is Registry.dat file in which there are two items:
    default.icons.iconpath=
    default.icons.iconextension=
    My Registry.dat contains this:
    default.icons.iconpath=/nis-img/
    default.icons.iconextension=gif
    The url /nis-img/ is defined in httpd.conf (I use Apache).
    kind regards,
    Ivan
    I want to publish mine forms 6i in web. They have buttons with figures. I already converted the figures of .ICO for .GIF. I already read diverse papers on the subject but I did not understand them. What I must make now?
    I need step-by-step that to make now, therefore I have stated period to carry through this task and is if depleting. Who to know, please says which archives to me must edit, where to place the figures, etc.
    Thanks!!!!!

  • Animating a button with actionScript

    I'm fairly stumped on this one - but probably quite simple to fix.
    I need to animate the scale of a button with actionScript 2.0. I've inherited a project that was done with actionScript 2.0 and have decided to stay with this generation rather than rewrite the whole project. Anyway - I've created a sound object, it plays audio from the library and 3 seconds after it starts playing, I want to animate the "next" button and make it pulse to attract the users attention.
    Doing this by putting the button in a movie clip is not working as I am losing it's button states and besides it's probably far more tighter to program it.
    When the user rolls over the button it stops pulsing but still retains it's up, over and down states.
    Any easy answer?

    Thanks for your help Ned.
    I ended up making an advanced button with movie clips and using programming for all the states.
    Movies are so much easier to control than buttons.
    But you have raised something I had overlooked...setTimeout( )
    I was using setInterval( ) and then doing clearInterval( ) within the function so it would only loop once, which of course was problematic if the user beat the 'clearInterval' code by clicking on the button too early.
    Actually used setInterval( ) to delay all sound on the project - now going to re-program all that.
    Thanks

  • FF5 error parsing CSS font-face with url inline base64 data

    Firefox 5 refuses to parse CSS @font-face with url inline base64 data.
    I use the declaration:
    &lt;style type="text/css"&gt;
    @font-face {
    font-family: 'MyFont';
    src: url(data:font/truetype;charset=utf-8;base64,[base64data]);
    &lt;/style&gt;
    then used this way:
    &lt;div style="font-family:'MyFont'; font-size:12.0pt"&gt;Test text&lt;/div&gt;
    But Firefox is not using the font and in the error console, there is always the message:
    ''Error parsing the "src" value. Skipped to next declaration.''
    (more or less, I actually have this message in Czech)
    Tried with different mime types (font/ttf,font/otf,font/opentype,application/x-font-ttf etc.), with or without charset specification, with or without quoting the font family name, with different specifications:
    &lt;style type="text/css"&gt;
    @font-face {
    font-family: 'MyFont';
    src: url(data:font/truetype;charset=utf-8;base64,[base64data]) format(truetype);
    &lt;/style&gt;
    (tried also with opentype format, etc.)
    &lt;style type="text/css"&gt;
    @font-face {
    font-family: 'MyFont';
    src: url('myfont-webfont.eot?');
    src: local('☺'), url(data:font/truetype;charset=utf-8;base64,[base64data]);
    &lt;/style&gt;
    If I provide the font path:
    &lt;style type="text/css"&gt;
    @font-face {
    font-family: 'MyFont';
    src: url('Arial.ttf');
    &lt;/style&gt;
    (the font actually is Arial, for testing), it works (but I need to embed the font in the HTML for specific reason, so having the font externally is not the option).

    Finally I got it work! Thanks, cor-el, you pointed me the right way to solve this problem.
    There was problem with the encoding too (there was part of the font missing at the end, because of the bug in the program - I forgot to flush the buffered output stream), after then I was able to download the same copy of the TTF. - I didn't know about the possibility to put the entire url data to the location bar and try to download it, thanks cor-el.
    But it still didn't solve the problem ... the problem was, that the base64 stream was divided to multiple lines, like
    data:font/truetype;charset=utf-8;base64,
    AAEAAAAYAQAABACARFNJRwMaCRYAC8m8AAAXfEdERUaJ+Y1JAAr/JAAAAsJHUE9T
    e1arnwALAegAAKwaR1NVQt5CYFEAC64EAAAbmEpTVEZtKmkGAAvJnAAAAB5MVFNI
    RExjrAAAN8wAAA1dT1MvMhAyXXMAAAIIAAAAYFBDTFT9ez5DAAr+7AAAADZWRE1Y
    After I removed the line breaks, it works now! (the line is quite long then, because the base64 string is about 1MB, but it works)
    Strange that I do the same for images (jpeg, png) and there is no problem with base64 string divided to multiple lines.
    But anyway, I'm fine with that.

  • Replace Buttons with Images.

    Folks,
    I have buttons in my application which perform a certain functions
    by clicking on them.
    I want to replace the buttons by gif/jpg images,so that when the
    user clicks on them,it does the same set of functionality as discussed
    above.
    HOW CAN I REPLACE THE BUTTONS with Gif and implement the actionListener??

    Hello,
    there are several methods to set the icon for the button like setIcon and setRolloverIcon etc. You better setContentAreaFilled(false) if you want an icon-only button. Have a look at [url http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/AbstractButton.html]AbstractButton for further information.
    Regards,
    Tim

Maybe you are looking for

  • OBIEE 11g SSL Configuration Issue : Unable to import the Server certs

    Hello All, We are trying to configure OBIEE 11.1.1.6.0 with SSL using Windows server 2003 (IIS) and facing some issues with that. Followed the document : OBIEE11g SSL Setup and Configuration [1326781.1] http://obieedue.blogspot.sg/2012/08/obiee11g-ss

  • Error: "Not logged on in interface XBP"

    We are developing an external monitoring tool to call CCMS Bapi's via RFC calls. As per the documentation, we are opening RFC connection and then calling function module(BAPI). When we pass the BAPI, we get the error message "Not logged on in interfa

  • External Hard disk cannot be detected by my MacBook Pro USB's

    Hi I have bought an external hard disk 2.5" and even though I have formatted it as FAT 32 still none of my 2 USB ports detect it. It is a hitachi drive 160 GB eSATA. I haven't use power with my external drive. I ended up sharing it through a toshiba

  • How to input password automatically with below html code

      I want to display one pdf file with password(I know the password) on website.How to input password automatically with below html code: <object classid="clsid:CA8A9780-280D-11CF-A24D-444553540000" width="760" height="411" border="0">       <param na

  • Auto mail of purchase order to vendor after final approval(release)

    hello all, my requirement is that.after creation of purchse order and final release,my client want to send the puchase crder automatically to vendor via mail. pls explain me settings for same. i have already search the sdn threads,but not got the exa