How to make a link in Flash ActionScript 2.0

Trying to figure out how to add a link that will open up in a new window using Action Script for something at work.  Have barely used Flash so I am totally lost.  People at work gave me a file with a blue box that is in its own layer, but I don't understand where to put the link at.  I know I have to use Action Script 2.0 and go to the Actions palette.  After that I am lost! HELP!

if clicking the blue box is supposed to open that link, right click the blue box, click convert to symbol, tick movieclip and click ok.  in the properties panel assign an instance name (say blueboxMC).  click on an empty part of the stage and in the actions panel paste:
blueboxMC.onRelease=function(){
getURL("http://www.adobe.com","_blank");
// upload your published swf, html and ac_fl_runcontent.js files to your server and test.

Similar Messages

  • How to make a link to an image in flash?

    Hi,
    I´m new in Flash CS3 and I´m trying to get some
    answers to my problem.. The question is
    that how do I create a link to an image in flash??
    I know how to make a link to a text field but I really
    don´t know how this could get working properly.. :/

    Link to an external URL image? In AS 2 the code is
    'getURL("putaddresshere")' and in AS 3 it's 'navigateToURL("")' ...
    If it's a simple image, it's easier just to import it to the
    stage, save it as a symbol, put it in a timeline frame and then
    code your link so on click or rollover it goes
    'gotoAndPlay(framenumber)'.

  • 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 to make downloadable links in Adobe Muse

    I am new to website design and am trying to figure out how to make downloadable links for some PDF flyers, PSD templates I am creating.   Not sure if "downloadable links" is the correct term for what I'm trying to say but in a nutshell I am creating Business Flyer's in PDF form and Photoshop PSD template files that I would like to be able to have my users click a link that allows them to download them right to their desktop.  Any help would really be appreciated!

    Hi caybar10gaming,
    I had the same question as you and was searching online for how to add "downloadable links" as well so your not alone in that lol. Anyways, I found this video that explains how to do this. I hope this helps you, as it did me. Good Luck  
    http://tv.adobe.com/watch/muse-feature-tour/add-and-link-to-any-type-of-file/
    -Caitlin

  • How to make a link page come up in seperate window

    Am not sure how to make a link page to anther site for
    insatance come up in seperate window so that they do not navigate
    away from my site.Thanks Tony

    Select the item you want to use as a link. In the property
    inspector, type
    in the full path to the website you want to link to and set
    the Target to
    _blank.
    Nadia
    Adobe� Community Expert : Dreamweaver
    http://www.csstemplates.com.au
    - CSS Templates | Free Templates
    http://www.perrelink.com.au
    - Web Dev
    http://www.DreamweaverResources.com
    - Dropdown Menu Templates|Tutorials
    http://www.adobe.com/devnet/dreamweaver/css.html
    "chesterarebest" <[email protected]> wrote
    in message
    news:e88357$ifp$[email protected]..
    > Am not sure how to make a link page to anther site for
    insatance come up
    > in seperate window so that they do not navigate away
    from my site.Thanks
    > Tony

  • How to make a link in textflow that send parameters to a function?

    How to make a link in textflow that send parameters to a function?

    In the examples included with the weekly builds there is a CustomLinkEventHandler.as example.  Passing parameters would be done in the CustomClickHandler function.  You could attach the parameters to the LinkElement as user styles using the setStyle API.
    Hope that helps,
    Richard

  • How to make relative links

    Hello.
    I need your help.
    Inside the public_html folder I have two files one index.dir and part1.dir The file (index.dir) I wanted to do html and I do the Regulating through public settings
    My problem is that it will link files? I do not know how to do it and I want your help please.
    How to make relative links?
    Information my project test:
    Script from index to part1
    -- DESCRIPTION --
    on getBehaviorDescription me
      return \
        "GO NEXT BUTTON" & RETURN & RETURN & \
        "Moves the playback head to the next marker when the user clicks on the sprite." & RETURN & RETURN & \
        "PERMITTED MEMBER TYPES:" & RETURN & \
        "Graphic members" & RETURN & RETURN & \
        "PARAMETERS: None"
    end getBehaviorDescription
    on getBehaviorTooltip me
      return \
        "Use with graphic members. " & \
        "Moves the playback head to the next marker on mouseUp."
    end getBehaviorTooltip
    -- HISTORY --
    -- 3 November 1998, written for the D7 Behaviors Palette by James Newton
    --  5 January   2000: updated to D8 <km>
    on mouseUp me
      go frame "test1" of movie "pat1" -- test1 is Maker and the file is part1.dir
    end mouseUp
    on isOKToAttach (me, aSpriteType, aSpriteNum)
      tIsOk = 0
      if aSpriteType = #graphic then
        tIsOK = 1
      end if
      return(tIsOK)
    end on
    script from part1 to index
    -- DESCRIPTION --
    on getBehaviorDescription me
      return \
        "GO PREVIOUS BUTTON" & RETURN & RETURN & \
        "Moves the playback head to the previous marker when the user clicks on the sprite." & RETURN & RETURN & \
        "PERMITTED MEMBER TYPES:" & RETURN & \
        "Graphic members" & RETURN & RETURN & \
        "PARAMETERS: None"
    end getBehaviorDescription
    on getBehaviorTooltip me
      return \
        "Use with graphic members. " & \
        "Moves the playback head to the previous marker on mouseUp."
    end getBehaviorTooltip
    -- HISTORY --
    -- 3 November 1998, written for the D7 Behaviors Palette by James Newton
    --  5 January   2000: updated to D8 <km>
    on mouseUp me
      go frame "Intro" of movie "index" -- Intro is Maker and the file is index.dir
    end mouseUp
    on isOKToAttach (me, aSpriteType, aSpriteNum)
      tIsOk = 0
      if aSpriteType = #graphic then
        tIsOK = 1
      end if
      return(tIsOK)
    end on
    Please help
    Look my page for you to understand my problem www.ionio.gr/~aleksgeor

    It looks like you have taken a behavior from the Library Palette and hard coded it to suit your needs. This was unnecessary. Instead try the following behaviors attached to buttons that take you between movies - assuming they are in the same directory:
    on mouseUp me
      gotoNetMovie("@/part1.dcr#test1")
    end
    on mouseUp me
      gotoNetMovie("@/test.dcr#Intro")
    end
    Also, you should Shockwave-compress your files to DCR (see the Publish Settings) in order to make your movies as small as possible so they download quickly

  • How to make the link between the technical version and the packaging vers.

    Hello,
    Does anyone know how to make the link between the technical version number and the packaging version number ?
    For exemple, I can download on the SAP Market Place the version B1iSN 8.8 PL7 but if I look into the B1iSN the version information, it returns B1iP_3.0_SP04_HF03.
    This is quite confusing.
    Thank you.

    Hi Gordon,
    In fact this information is usefull for me. I was looking for a customer installation but he did not remember which version was installed. They are facing some problems. So I don't know if I have to update B1iSN or not to solve it.
    B1iSN returns only the technical version number, but I would like to know which version was downloaded from the Market Place.

  • How to make a simple JPEG flash light to dark on PDF?

    Hello all. Thank you for reading this.
    Please have a look at this online magazine:
    http://viewer.zmags.com/publication/1d272263#/1d272263/1
    Notice how the "Click Here To Read" is flashing?
    Well I'm wondering how do I create that effect? I'm sure it can't be as confusing as I'm trying to learn. Basically I'm creating a online magazine, and I want a JPG/PNG File to flash from dark to light. Is this an effect I add on Adobe InDesign before I convert my (rather large 1,500 page) magazine to a PDF? Or do I open this in Adobe Acrobat X as a PDF and tweak some setting there?
    Or does this file have to be converted to a Shock-wave Flash file? Because I have NO EXPERIENCE in flash files, they seem so confusing.
    Please help if you can!

    Salah Fadlabi wrote:
    Yes that correct
    just export the page logo flashing to (SWF) than place again on indesign document to export with remaining pages to PDF.
    Hello, thank you for your help. When I place the swf file onto the correct InDesign page, I upload it onto the page viewer online, but I see that rather large Flash icon. If you click on the image below you'll be able to see it. I've print screened it.
    ?1
    Am I exporting it incorrectly? I've exported it as a interactive PDF.
    EDIT: I may be confusing you, but this is my general process. I create a magazine. Export it as a PDF, and upload it on a pdf internet viewer called FlipViewer.
    But now, some clients want certain pages/logos etc flashing. So now I need to figure out (for the next magazine that will be uploaded soon), how to make certain logos/badges etc flash. So when I follow your instructions, I upload it as a PDF, then when I open that PDF, I get that flash icon that says "...click to activate", when I click that, then the SWF effects appear over the document. But when I upload that PDF document to FlipViewer, it just appears as a unclickable link. And other magazines that have been uploaded on flipviwer has flashing logos, automatically when you open up the document. What am I doing incorrectly?
    Thank you so much for your help!

  • How to make a link in a report open a Form in a different region of the same page ?

    Hi,
    I developped a report and a form for the same table. I also created a link and used it in my report so that when I click on the link of one record, the form is opened and display this record.
    My problem is that when I include my report as a portlet and I click on a link, the form is opened in full screen mode by replacing the page containing my report.
    What should I do in order to open this form in another region of the same page ?
    Thanks a lot

    I presume that the two regions are working fine with their individual buttons and your issue is how to make them both save with one button.
    Here is how
    a. You will have 2 ApplyMRU and 1 ApplyMRD processes for each of the regions. Right? Lets say you have 2 "Save" (i.e. label=Save) buttons, one has name SUBMIT and the other SAVE ( SUBMIT and SAVE being the requests that will be sent when they are clicked , respectively)
    b. Make the Display condition on one of the buttons 'Never'. Now it won't show when you run the page. Lets say you made SAVE's conditional Display 'Never'
    c. Go and change the condition on all ApplyMRU and ApplyMRD processes from "When Button Pressed" to "Request is contains in Expression1". In Expression1 enter SUBMIT,SAVERegards

  • How to make a linked list?

    I've seen how to implement a linked list in oracle ? but it's not what I'm interested in.
    First of all, it is just a curiosity, no serious task behind it. I think I've almost made a linked list (of chars) type, however it misses the notion of empty list and thus I virtually cannot construct it.
    create or replace type LString as object
      head Char,
      tail ref LString,
      member function cons(
        p_x Char)
        return LString
    create or replace type body LString is
      member function cons(
        p_x Char)
        return LString
      is
        xs LString;
      begin
        xs := LString(head => p_x, tail => self.tail);
        return xs;
      end;
    end;I need to be able to make empty list to construct other lists, for example:
    empty_lstring.cons('H').cons('i').cons('!')
    How can I do it?
    Edited by: 922141 on 12.07.2012 7:02

    I need to be able to make empty list to construct other lists, for example:
    empty_lstring.cons('H').cons('i').cons('!')
    Why ? Can you mention one procedural language who can do this? I can't! Can you?
    Sybrand Bakker
    Senior Oracle DBA

  • How to make clickable links in headers

    I am using POPFile to filter my mail. It is terrific. I have used it for years. It will produce a link in the header to any message. In most email programs, the link will appear clickable. But in Mac Mail, it does not. I have to highlight it, and then drag it onto my Firefox icon in the doc. That works, but I would like to find a way to make the links clickable. In Thunderbird there is a plugin called mheny, but I cannot find such a plugin for Mac Mail. Any ideas?

    Anyone...anyone? Ferris Buehler?

  • How to make a link to play only part of a video

    Is there a way to make a link to play only a part of an embedded video (from timecode - to timecode)?

    Hello,
    You can achieve this by using the rectagle tool. You can create a rectangle and place it in the background and change the fill color of the rectangle to "None".
    It will make the rectangle transparent and you can also add a hyperlink to it.
    If you want to have different hyperlinks to different pages (like you mentioned you want to be linked to next page) then you should not use Master pages as you need to add these rectangles to the pages and not master pages.
    If you add the rectangles on Master Page then you can only add one link to it and that will not solve the purpose. And if you use Master page and add rectangle to page then the Rectangle will always be above the Master page content (Master page content is by default in the background and cannot be brought up).
    Another option is to add rectangle to master page background and duplicate your master page to create multiple copies of it. After that you can add required links to the rectangles in the master page and associate the pages to the corresponding Master pages.
    Hope this helps.
    Regards,
    Sachin

  • EH&S: How to make a link between tables PA0002 and  T7EHS00_ANA_HEAD

    Hi all, I need to make an Infoset for EH&S  and a I can't link tables PA0002 and  T7EHS00_ANA_HEAD, i search values in tables an the values in the field PRNR in both tables are different. I need to know if there is a table that contains some reference of a the data of an employee so i can make the link an obtain the data of an employee. Thanks.
    Edited by: Albio Vivas on Mar 5, 2009 4:16 PM

    Hi Albio,
    Check the compatability of the remote cube & edit Phrase Sets. You can display additional information for a phrase set by choosing Utilities - Administration Info. To display the phrase set-to-attribute assignment, choose Utilities - Attribute Assignment.
    However, i suggest to go throught he links, which are helpful.
    [http://help.sap.com/erp2005_ehp_04/helpdata/EN/a7/2871000a6c11d28a220000e829fbbd/frameset.htm]
    [http://help.sap.com/erp2005_ehp_04/helpdata/EN/8d/c8fa3a4dbdf428e10000000a114084/frameset.htm]
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/85/b70bdba5944cab8ed7967ec3aea807/frameset.htm
    with regards,
    mahesh

  • How to make Highlighted links color permanent?

    Simply, for example, in Wikipedia, I clicked a link in their page to a different page, then that link would have been highlighted as "has been selected or clicked" with different color (in this case: purple), while links not have been clicked before are in blue.
    The problem is after a few week, the links the I have previously visited before which should have been in purple turned blue again indicating that that I have not visited this link before (but I already have). This seemingly seems like the cache have been reseted or cleared. But I have not cleared any cache. This could also be that the cache is full but I have not set any limit on the amount of content.
    So my question is, how do I ensure that the link that have been visited remain highlighted permanently for the font color so that I do not make the mistake of visiting the linked page again?

    Note that your System Details List shows that you have obsolete, no longer supported, preferences from previous Firefox versions.
    You can delete the prefs.js file and possible numbered prefs-##.js and user.js files to reset all prefs to the default value or reset these prefs to the default value via the right-click context menu on the <b>about:config</b> page or edit the prefs.js file and remove related line(s).
    Your System Details List also shows that you have a user.js file in the profile folder to initialize some prefs on each start of Firefox.
    The user.js file is only present if you or other software has created it, so normally it wouldn't be there.
    you can check its content with a plain text editor if you didn't create this file yourself.
    The user.js file is read each time you start Firefox and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.
    *http://kb.mozillazine.org/Preferences_not_saved

Maybe you are looking for

  • BI-IP implementation in BI 7.0(NUC)+ Java Add-In(UC) system

    Hi Experts, We want to implement BI-IP in our existing SAP BI 7.0 system which we upgraded from BW 3.5 to BI 7.0 followed by adding the Java Add-In. During the installation of the Java Add-In central instance the BI-Java, EP Core & EP software units

  • Error in BAPI_0050_CREATE

    hi Guys! I encountered an error with BAPI BAPI_0050_CREATE, saying <b>'Data locked by user <my username></b>' however I'm only running my program. In my custom program, I post 12 consecutive FM docs (1 for every month). Have any of you encountered sa

  • JSF - JavaScript - onCondition

    Hello again, I want to popup a new window handled by javascript. That works fine by placing it simply on <body onload="openWindow()"> and some Script. So far so good. But this should only be done if some coniditions come true in the backingBean. With

  • Inter company stock issue

    hi gurus,               i am unable to create delivery in VL10b,as i am gettinga messgae ACTIVITIES DUE FOR SHIPPING ,SO please tell me where toc heck this and steps needed to do. regards NNEETI

  • Temporary Switch from Broken Palm Pre Plus

    I currently have a Palm Pre Plus with and Unlimited Data plan. I can no longer use it due to various damage, and rather than shill out $100 to the Asurion insurance I have on it, a friend gave me their Motorola Devour they no longer use. I was hoping