Flash button link AS 3.0

I have a flash button link using actionscript 3.0. The animation is a fade in of a logo. The problem is that the button is only a link during the animation, ie. when the logo has fully faded in it stops becoming a link. Here is the actionscript code i am using, does anyone know where i am wrong? Thank you so much.
import flash.events.MouseEvent;
myButton.addEventListener(
MouseEvent.CLICK, myButtonFunction);
function myButtonFunction(event:MouseEvent):void {
var request:URLRequest = new URLRequest("http://flightswitch.com/home.html");
navigateToURL(request, "_self");

Hi,
If the logo animation is completely fade then the link is not enabled?
Is it?
Disable the logo button after it fade.
Saransoft

Similar Messages

  • Flash button link will not work in CS4

    Can anyone walk me through step by step to get a flash button link to work in CS4?  I tries action scripts 2 and 3... I cut and pasted a bunch of code on line, watched tutorials, and no matter what i do, the link won't work in CS4.  The button looks and works fine, but won't go to the web site ot web page after clicking on it.
    At this point, I am so confused, i think it would be better if someone walked me through step by step.  My email is [email protected]  I can email the button is that would help.  Thanks.
    Steve.

    Hi,
    This issue is fixed in Encore CS5.
    Thanks,
    Pankaj Gauba

  • Flash button link help

    i have a flash website template where i have done all the editing for my website but now on profile page i create a button and i want when i click on that button that button will take me on another page which is already in that template, but i can't create that. Please assit me asap.
    I have create that button on "symbol 25 copy 2" and i want that button take me on "symbol 25 copy 4"

    What will people who do not have Flash installed do when they
    come to your
    page? How about the search engines?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Andy" <[email protected]> wrote in message
    news:e50thk$hjd$[email protected]..
    > In DW if I hit the "Play" button in Properties and then
    click the Flash
    > button, the link works but will not work in IE6!!!???
    >
    >
    > "Andy" <[email protected]> wrote in message
    > news:e50rde$fde$[email protected]..
    >> Thanks for your reply, Alan.
    >>
    >> That is what I did put in the link box but for some
    reason the link will
    >> not work.
    >> I put
    http://www.netspace.net.au in
    the link box, then saved my work and
    >> viewed it in IE6, but it will not connect me to the
    site when I click on
    >> the button. If I create a hyperlink using a word, eg
    Netspace, it works
    >> OK.
    >> I'm using Dreamweaver 8.
    >>
    >> Andy
    >>
    >> "Alan" <[email protected]>
    wrote in message
    >>
    news:C0995965.28F809%[email protected]..
    >>> In the Flash Button dialog box, in the url or
    link box, type the full
    >>> url
    >>> address including the
    http://
    >>>
    >>>
    http://www.example.com
    >>> instead of
    >>> www.example.com
    >>>
    >>> You have to do this for all external links,
    whether using flash buttons
    >>> or
    >>> regular links.
    >>>
    >>>
    >>
    >>
    >
    >

  • Flash Button Links

    I hope someone can help me with this weird problem. I've been
    using Flash for button links for a while but for some reason
    lately, I've been having this strange problem. When you type in the
    url for the site, the Flash buttons will work as far as the roll
    overs and such, but the links do not work. Yet, if you click on an
    html link, it will take you to that page and from then on, the
    Flash buttons will work just fine. I can't understand why this
    would be happening. Basically, the Flash links work fine unless you
    type in the url. What's happening? Here is the link to what I'm
    talking about. Try typing in the url first. You will see that the
    Flash buttons don't take you to the linked webpage. Then try
    clicking on an html link, and then a Flash link from there. Thanks
    for the help!
    http://www.surecarehomehealth.com

    Okay, I've discovered that this only seems to happen if you
    type surecarehomehealth.com without the "
    http://www.". But why wouldn't it work with
    just typing "surecarehomehealth.com"?

  • Flash button link?

    I am also new to Flash. I made a Flash button (in Flash 8u)
    that I put on my Dreamweaver created web page. I can export it to
    Dreamweaver, but I am definitely missing something. It is probably
    quite simple, but I can't get the button to link to another file in
    my folder. The best I can do is to have the button get a url, but
    it does that automatically upon opening the web page that has the
    Flash button on it. I want the Flash button to go to the web page
    (or file folder would be better) only when the button is clicked
    on. I have tried various versions of the action script to get it to
    work, but obviously I am not doing something correctly. I do not
    understand writing code very well. Any help is very much
    appreciated. Thanks.

    This method is the preferred method: Give your button an
    instance name of
    myButton. Then, add the following in the actions panel to the
    main timeline
    on frame one:
    myButton.onRelease=function(){
    getURL("yourURL");
    Dan Mode
    ->Adobe Community Expert
    *Flash Helps*
    http://www.smithmediafusion.com/blog/?cat=11
    *THE online Radio*
    http://www.tornadostream.com
    *Must Read*
    http://www.smithmediafusion.com/blog
    "lifelonglearner" <[email protected]> wrote
    in message
    news:eb6omn$oo0$[email protected]..
    > How exactly to I add the code on the button? When I
    think I am accessing
    > the
    > button symbol directly and try to do that in the action
    panel, I get a
    > message
    > that says "current selection cannot have actions applied
    to it." Thanks
    > for
    > your help.
    >

  • Flash button - linking to HTML page - weird problem

    There could be a really easy solution for this, but I can't
    figure it out. I have a simple button that links to an anchor
    within an HTML page. Here the actionscript for the button:
    on (release) {
    getURL ("test.html#two");
    when the button is pressed, the HTML page comes up but only
    to the top of test.html. The '#two' is not passed to the URL .
    Seems like everything after '#' is ignored. How can I get around
    this?

    hi
    on(press)
    getURL("path of html page");
    }

  • Can there be buttons/links on or in flash object?

    Hi, I have no idea how to ask this question properly. I am only designing this, not making it, so simple answers for me would be good, but also technical answers that I can pass on to the flash person.
    On my home page, I am going to have 3 images that switch out, each that need to have a "learn more >" link and a 1, 2, 3, and pause buttons.
    My question is whether or not these image buttons/links can be placed on or embedded in the flash object. I read this is not possible and that buttons or links have to be separate from flash. Ideally if I wanted to place a "go" button on top of my flash image, that would be great.
    However I have been told the only option is to make one side of this in photoshop where I have the buttons and then place that next to the flash image. My example of this would be the msn.com home page.
    If further descriptions are needed I can post an example.

    Your image hasn't loaded yet, so I'll describe what you should do.  Chances are you will only need one set of buttons to manage everything rather than creating a set for each image.
    If you want to convert each of these items into usable buttons, then select one of them, being sure that all its pieces are selected, then right click on it and select Convert to Symbol ( select it and in the toolbar choose Modify -> Convert to Symbol).
    In the interface that appears, select Button (you could also select MovieClip, but for now, select Button) and give it a name that relates to its functionality in some way, just so it is recognizable by its name in the library.  Click OK.
    Do that for all of the items you want to turn into buttons.  To make things easier to manage, you should place the buttons on their own layer in the timeline.
    If you are handing this over to someone who knows Flash, they should be able to deal with coding the buttons to function the way you want.

  • How can i make a button link in flash??

    Hey Guys,
    Im pretty new to flash but really need your help and
    guidance. I have a nice video ive created, and i want to make the
    buttons link to certain pages on a website it will be displayed at.
    If you want to see the flash video in place on the website,
    visit www.loveandmarriagebridal.co.uk - i want to make the buttons
    to link to the following pages.
    button 1. www.loveandmarriagebridal.co.uk/index.php
    button 2. www.loveandmarriagebridal.co.uk/about_us.php
    button 3. www.loveandmarriagebridal.co.uk/
    button 4.
    http://loveandmarriagebridal.co.uk/account.php
    button 5.
    http://loveandmarriagebridal.co.uk/contact_us.php
    Could anybody please tell me exactly what i need to do in
    order to acheive that. I am using Flash CS3. Ive looked around the
    net for a solution, but i honestly have no idea what im searching
    for.
    Your help would be very much appreciated
    Thanks
    Andy

    See which form of ActionScript you used to make the site.
    Open the Actions panel and see whether you've chosen AS versions 1
    & 2, or AS 3. If you've picked the earlier versions, you can
    attach a link easily to each button by clicking on the button, and
    adding a little code in the Actions panel. Turn on ScriptAssist to
    make it easier. Click on "on" and choose "release" or "press" or
    both. Then scroll down the commands on the left and add getURL. You
    will then have a few lines that say something like, on(Release)
    getURL("putyourpageurlhere"). See bottom for exact syntax. That's
    all. The new .html or .php page will load when the button is
    clicked.
    If your buttons are not actually four-state buttons, but
    graphic or movie clip symbols, you will have do it a little
    differently. Instead of attaching the code to a button, you attach
    it to a keyframe. You give your symbol an instance name in the
    property panel, then in the Actions panel create a function that
    says essentially: when you click on this instance (onRelease)
    getURL.
    If you're using AS3, the concept is similar but the code is
    different. With a quick search you can find dozens of code examples
    that you can cut and paste.
    Here's that AS2 button code...

  • Using FLash Text & Buttons Links

    They have worked fine in the past, but my web pages that use
    Flash buttons or text now require two mouse clicks to make the
    links work work.
    This problem occurred some months ago and is applicable to
    all my web pages, some made years ago and some very recent, though
    the most recent pages don't use them, I just don't know when this
    started as at first I thought it was just on my computer.
    www.kyteweb.net/pooleharbour is an example - why do the links
    need two clicks - I'm lost, help gratefully received.
    Ron

    This is a well known issue in Internet Explorer 6 & 7.
    Doesn't affect other
    browsers.
    See
    http://en.wikipedia.org/wiki/Eolas
    http://www.adobe.com/devnet/activecontent/
    http://www.howtocreate.co.uk/noclicktoactivate.html
    Which version of Dreamweaver are you using?
    DW8.0.2 and CS3 contains an automated fix in th UI.
    For any other version, try
    http://blog.deconcept.com/swfobject/
    Regards
    John Waller

  • Can not link flash buttons to other pages

    i cant get my flash buttons to link to any pages. i keep
    getting warning messages. please can some one help

    You have to do this when you create the buttons in DW, or
    when you make them
    in Flash.
    If you want to use Flash for navigation, consider this -
    1. Some people don't have Flash installed - what do they do?
    2. Search engines don't parse Flash links - your site will
    not be spidered
    3. Screen assistive devices don't parse Flash links - what
    will those users
    do?
    4. DW cannot maintain links within a Flash movie, so if you
    move or rename
    a linked file, your navigation will break - what will you do?
    It's usually a very bad idea for these reasons...
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "TEEJAY123" <[email protected]> wrote in
    message
    news:fo4scm$1oa$[email protected]..
    >i cant get my flash buttons to link to any pages. i keep
    getting warning
    >messages. please can some one help

  • Frames and flash buttons forwarding links to targets

    hi , i'm making a website with frames sow the flash
    buttons are all set for 1 target .
    butt if you test this when 1 button pressed it shows nicely
    in frame butt on the second 1 it opens an new window with the
    forwarded page from the button
    how to fix ???
    thank you

    Xtremedesigner wrote:
    > anyone ? how can i fix this thank you .
    Best to post a link to the page that is not working for you.
    Bonnie
    in California
    8 ^ )

  • Linking a flash button to a html page

    Hi, I was wondering if anyone knew the best way to link a
    flash button to a page in DW?
    Thanks

    Place this actionscript into the hit area of your flash
    button, then export the flash as a .swf and place onto the
    dreamweaver page...
    on(release){
    getURL("YOUR_DESIRED_PAGE.html","_self");
    This will open the new html page in the same window. Hope
    that helps.
    You can get a cheap but awesome tutorial on Flash buttons
    here...
    http://www.cartoonsmart.com/smooth_buttons.html
    No, I don't know the guy and I don't get a commission. The
    tutorials really helped me, that's all.

  • Using own flash button - no link option

    Hey,
    This is probably a really dumb question, but I cannot figure
    out how to link my own imported flash button to a page on my site.
    If I select a button within DW, and click the edit option I'm
    presented with the option of linking the button. If I use my own
    button, clicking edit just puts me into Flash.
    I don't want to use the "getURL" within flash because it
    insists on too many security checks which would really ruin a
    visitor's experience to my site.
    Even in code view there is no hint as to a link referenced,
    so I can't even fudge around with the code!
    Any help would be appreciated.
    Thanks.
    PS.--Adobe: maybe offer a "suggested username" when
    registering for your forums - not really my preferred choice of
    nick, but got fed up after 20 attempts to choose one.

    You cannot apply an HTML link to a Flash element. That link
    must be part of
    the Actionscript.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Biscuit666" <[email protected]> wrote in
    message
    news:etfnt9$afg$[email protected]..
    > Hey,
    > This is probably a really dumb question, but I cannot
    figure out how to
    > link
    > my own imported flash button to a page on my site.
    >
    > If I select a button within DW, and click the edit
    option I'm presented
    > with
    > the option of linking the button. If I use my own
    button, clicking edit
    > just
    > puts me into Flash.
    >
    > I don't want to use the "getURL" within flash because it
    insists on too
    > many
    > security checks which would really ruin a visitor's
    experience to my site.
    >
    > Even in code view there is no hint as to a link
    referenced, so I can't
    > even
    > fudge around with the code!
    >
    > Any help would be appreciated.
    >
    > Thanks.
    >
    > PS.--Adobe: maybe offer a "suggested username" when
    registering for your
    > forums - not really my preferred choice of nick, but got
    fed up after 20
    > attempts to choose one.
    >
    >

  • Links on Flash buttons ( CS3 )

    Hi pros and newbies ,
    I have a question regarding linking flash symbols /
    buttons.What I mean is : after creating dynamic / interactive
    symbol in Flash I want to add link to it so any help will be
    welcomed.Also , After inserting "Media Flash button" in dreamweaver
    and make a link on it - the browsers ask ( after cliking on it )
    what program they should open it with - ? Why don't the links open
    in new tabs after clicking on Flash buttons ? Thanks for any
    answers.

    So you have a button in Flash and you want it to take you to
    a url when clicking on it?
    Here is a quick example of how to do this by applying
    actionscript to the button itself. When you have the button on the
    stage, select it on the stage and then go into your Actions panel
    to add the actionscript code at the end of this post. You can view
    the FLA for this by downloading it
    here.
    Here is the actionscript which needs attached to your
    button:

  • Linking flash buttons to website using div sections

    Ok, I am a total Newbie at Flash and Dreamweaver and I am
    having serious issues linking flash the flash buttons from my
    navigation bar to the main frame on my webpage. I have the buttons
    working, and they do link to a page, just they do not link to the
    frame, instead they load the page as a full page itself.
    I am using Dreamweaver and a website template I found online.
    I believe the problem to why it is not working is because this
    template doesn't seem to be using frames, and I can not find the
    name of the frame to reference in the flash button actions. This
    template is using a lot of <div> tags to separate the
    sections in the index file.
    Does anyone out there know how to link flash button actions
    to open a page in a specific div section? Also, how can I make sure
    that it is these div tags that are creating the frames, and how to
    find out what each section is called? (I'm new to dreamweaver as
    well)
    This is my first post and last resort, forums don't fail me
    now! Thanks to anyone out there who helps me.
    Darian

    use a javascript function to change the div content and the
    flash externalinterface class to call the javascript
    function.

Maybe you are looking for

  • Javax.security.auth.login.LoginException: Cannot authenticate X509(Urgent!)

    I'm trying to sign my messages between client & webservice using X509 certificates. I've created a keystore and imported: privatekey1, certificate1(public key) and trustedCertAuthority that published certificates. I've configured webservice & client

  • How to start isqlplusdba in 10g

    Hi, How can i start the isqlplus/dba in 10g? It is asking for password. In 9i it is possible to set the username and password using htpasswd utility. How to set the username and password in 10g? There is no Apache folder in 10g Home. Thanks in Advanc

  • Using SPRY colapsible menus

    I have playing around with using the SCM on a website. Seems to be great idea to turn about thirty one paragraph pages into just one. I think I have run into a problem though. The site has to be searchable. I ran the Google search from WebAssist on a

  • After Mozilla upgraded (5 I think) my igoogle homepage does not display when I sign in.

    I upgraded to Mozilla 5, (I think, as there does not seem to be any previous versions when I check), now my personalized igoogle homepage does not display when I sign in. I need to go to options then select igoogle. All was well before. How do I rese

  • No IP address...suddenly cannot connect to my home wireless network

    My wireless network had been working PERFECTLY from the moment i got my iBook...but its been about a month now that its just not working. And i've looked online, called for support...and i can't figure out what the heck it wrong. I have a Westell Ver