Newbie is still being stupid! Actionscript for a button to a URL isn't linking??

Not sure what I am doing wrong now.  I have coded the frame as below, yet when I publish it it doesn't link?  Any suggestions? (obviously a false link here, but am using a link that actually works!)
stop();
var getPaypalBoostaboiler:URLRequest = new URLRequest("http://www.addressgoeshere.co.uk");
//---Get URL---\\
paypal_boostaboiler.addEventListener(MouseEvent.CLICK,boostaboilerBuy);
function boostaboilerBuy(event:MouseEvent):void{
navigateToURL(getPaypalBoostaboiler);

Just uploaded it and it works fine now - I HAVE SO MUCH TO LEARN!!!
Thank you so much for your help.

Similar Messages

  • Actionscript 3.0 - Button to open URL

    I'm attempting to have a basic FlashCS4 intro/splash screen for my  website, that after finished playing is a button that links to the  first page of my site.
    I have the animation created, I'm just having trouble actually  linking it to the page.
    When I test the movie, I get the error:
    TypeError: Error #1009: Cannot access a property or method of a null  object reference.
    at splash_fla::MainTimeline/frame66()
    Frame 66 being the frame with the button and actionscript on it:
    enter_btn.addEventListener(MouseEvent.CLICK,goThere);
    function  goThere(e:MouseEvent) {
    var request:URLRequest=new  URLRequest("*******");
    navigateToURL(request);
    I'm very much an AS3 beginner, so it may just be a simple fix, but  I'm at a loss. Any help would be greatly appreciated!

    If that is the only code you have, chances are your enter_btn is not named or is otherwise out of scope.  Instance names are assigned by selecting the object on the stage and assigning the name in the properties panel where it says instance name.  If you did that okay, then maybe the problem is that the code is executing where the button doesn't exist-- they need to be in the same frame (Not layer, just frame).
    The 1009 error indicates that one of the objects being targeted by your code is out of scope.  This could mean that the object....
    - is not in the display list
    - doesn't have an instance name (or the instance name is mispelled)
    - does not exist in the frame where that code is trying to talk to it
    - is animated into place but is not assigned instance names in every keyframe for it
    - is one of two or more consecutive keyframes of the same objects with different names assigned.
    If you go into your Publish Settings Flash section and select the option to Permit debugging, your error message should have a line number following the frame number which will help you isolate which object is involved.

  • Actionscript for nav buttons

    hi guys,
    how can i set some actions to the buttons in my navigation so
    that when clicked, it plays an animation. when it gets to the end
    of this animation i want the movie to play another animation that
    leads into the next section of the site, depending on which button
    was clicked.
    so basically if youre in a section of the site (say news),
    when you select another section to go to (eg. contact), an
    animation will play that gets rid of all the news stuff on the
    screen and then comes back in with the contact animation - as to
    not have a direct cut to the next scene.
    i dont want to make eight or so animations that exit from the
    news section that have a different gotoAndPlay actions at the end
    of them. im just hoping there is some actionscript that i can put
    on each button to tell it what to do and where to go.
    hope ive explained this ok!
    thank you very much and i hope to hear from you.
    all the best,
    mark

    I would create a "movie instance" first of all the
    animation(s) itself. Make it as long as you like, but in my demo
    I'm using a movie instance (my animation) of about 15 frames. When
    someone clicks on a button in my demo here, I use a script that
    points to the relavant frame in which I want my animation to play:
    Example ( this script attached to button one, the top button of my
    nav)
    on (release) {
    gotoAndPlay("1");
    In this code its going right to frame #2 when the first
    button is pressed, as seen in the image below of my example, within
    the "frame name" layer. I gave the "Frame Label" the name "1". (I
    kept it simple)
    What that is doing is playing the animation I created (the
    word "loading" fading in and out) and placed in the "animation"
    layer that runs from frame #2 to frame #14. Then in the "action"
    layer, frame 15, I have the "stop" command.
    http://www.themekings.com/images/flashsample.jpg
    See an eample of the nav unit at:
    http://www.themekings.com/themestk/gamers/sectionx/demo.htm
    Its not as animated as you want it to be, but it should give
    you an idea as what to do.

  • BPS/Web: 'Your previous query is still being processed'

    Hi,
    One of our users get the following message when clicking on a page link in a BPS web application we designed:
    'Your previous query is still being processed'. The user is only clicking once on the link and gets in an endless loop (when monitoring the system, no activity can be seen).
    All our other users are fine. We checked the internet explorer settings of this user and they are identical to all the other users. We know it is not linked to the user ID or the portal.
    Has anyone already seen this ? Any idea where we should look at ?
    Thanks for any help.
    David

    Hello David,
    on one hand you are saying only one user has the problem but on the other hand you write that it's not linked to the user ID?
    If the frontend settings are OK, then it might be a firewall issue. Some of them block ports or filter JavaScript.
    Regards,
    Marc
    SAP NetWeaver RIG, US BI

  • ActionScript on Flash buttons

    I am just getting back into using Captivate 2.0 to create
    some online training and I need some assistance using
    JavaScript/ActionScript in Flash buttons. I created a series of
    buttons that are part of a single Flash .swf file. I'm using these
    buttons as kind of a "main menu" and I would like each of the
    individual buttons in the exported Flash .swf file to perform one
    of the following functions:
    - Open another Captivate project in the same (parent) browser
    window, or...
    - Jump to a specific slide in the current project
    I layed out all the buttons in a single .swf file so I
    wouldn't have to import individual buttons into my Captivate
    project. So how do I define the ActionScript for each button in
    Flash to achieve these functions?
    Any help is greatly appreciated.
    Brian

    Hey Brian,
    You can easily open another .HTM file using Javascript, but
    doing so generally won't allow you to do any tracking of results.
    Successful results tracking pretty much requires that an LMS is
    launching each file. That said, opening a new file requires only
    the following line of Javascript, where the path can be either
    relative or absolute:
    window.location.href = "<path to new file>";
    As for jumping to a specific slide in a given file, Adobe
    Community Expert Paul Dewhurst contributed to a discussion topic in
    these forums that references using an undocumented internal
    Captivate array to navigate to a specific slide via Actionscript.
    You can check it out here:
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=67&catid=464&threadid =1149498&highlight_key=y&keyword1=variable

  • "Return for Correction" button in SSHR approval notification directing to External URL

    In SSHR approval workflow notification mail, if we click on "Request for Correction" button, an incorrect URL is loaded.
    1 - Where should this be setup to direct to the particular notification in workflist in Oracle page?
    2 - How can we remove this functionality in the notification?
    Thanks,
    Sumanth

    Check the Node attributes in the Return for Correction process through workflow builder.  That should tell you where it will be sending the email.

  • Why am i being charged twice for 11.04 and 11.46 when I did not purchase those songs, I used an itunes card 25$ and I still have 0.04 cents left?

    Why am i being charged twice for 11.04 and 11.46 when I did not purchase those songs, I used an itunes card 25$ and I still have 0.04 cents left?
    I couldnt redeem w/o an apple ID so when i did it asked for a credit card. And I want to discontinue and remove my account from itunes but it wont let me, there is no account discontinue or removal of account

    Because too much time has passed I can't edit this into the prior comment, but here is the info regarding reverting to iTunes 11.0.2 (assuming you do have a time machine backup) from https://discussions.apple.com/message/22057703#22057703
    W. Raider wrote:
    Repairing permissions doesn't fix it.
    I reverted to the previous version, 11.0.2.
    1. Quit the new crash-prone iTunes.
    2. Delete the app.
    3. Restore v. 11.0.2 with Time Machine.
    4. In your iTunes folder look for a folder called "Previous iTunes Libraries", find the latest one.
    5. In the iTunes folder itself you'll see "iTunes Library.itl", delete it (or compress it and save a copy for later just in case.
    6. Copy the newest .itl file in Previous iTunes Libraries to the iTunes folder and rename it "iTunes Library.itl".
    7. Launch the older version of iTunes.
    My crashing has seemed to have ceased with a revert to an older version. I noticed today that the newer crashing iTunes had been launched for hours but not playing anything, when I played internet radio it crashed within 5mins, fed up I reverted to an older version.
    Btw, a simpler way to do this is to revert to older iTunes app, then hold Option when it launches and choose an older library.

  • HT4203 I have turned off the Data use on the I-phone 4s but am told by AT&T that data is still being used for applications.  How is this possible. Can someone help me understand this.  Thanks.

    I have turned off the Data use on the I-phone 4s but am told by AT&T that data is still being used for applications.  How is this possible. Can someone help me understand this. 

    I assume you are including the STIX font as part of your epub files?     
    Perhaps the folks who do this blog might be able to help -- they have done some work with font embedding:
    http://www.pigsgourdsandwikis.com/2011/04/embedding-fonts-in-epub-ipad-iphone-an d.html

  • TS3772 On my iphone 5 i have two iTunes ID, one is no longer in use, but keeps asking for a password which I no longer have, whilst the other is still being used. How do I delete the old ID?

    On my iphone 5 i have two iTunes ID, one is no longer in use, but keeps asking for a password which I no longer have, whilst the other is still being used. How do I delete the old ID?

    Hello steveod2
    The main thing to do is to sign out all services on your iPhone, like iCloud, iTunes & App Store, iMessage and FaceTIme. Check out the article below for more information.
    iOS 7: If you're asked for the password to your previous Apple ID when signing out of iCloud
    http://support.apple.com/kb/ts5223
    Regards,
    -Norm G.

  • Is Eclipse (java viewer) for CR still being developed?

    Hello,
    Is the Eclipse (Crystal java viewer) still being invested in from a development perspective? I'm currently using the .NET (HTML) viewer because of two reasons:
    1. The Java viewer has embedded flash functions which render it useless on Apple devices.
    2. I heard the Java viewer was not going to be supported in favour of the .NET (HTML) viewer.
    Can you someone confirm if the Eclipse (Java) viewer is still being developed. Also, is there a version that strips out the Flash functions?
    I'd like to drop the HTML viewer because I'm paying $600/year just to run Windows servers just for this viewer!
    Thanks for any assistance on this!
    Mark

    Hi Brummygit,
    Yes we are always developing new technology and firmware versions to improve upon what we already offer but I am afraid I cant give you any dates for when you might expect this to be available.
    Thx
    Craig
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)”
    td-p/30">Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Adobe Premiere Elements 9 Plus... Am I still being charged for Plus?

    I just saw in my account that there is a yearly "renewal" for Plus and I've never even used the product. How do I find out if I was still being charged?
    I just saw in my account that there is a yearly "renewal" for Plus and I've never even used the product. How do I find out if I was still being charged?

    Are you talking about photoshop.com? if so there's a separate forum for that:
    http://forums.adobe.com/community/photoshopdotcom
    where you're probably more likely to get help finding out what's going on.

  • TS1424 I had purchased a VIP subscription in starmakerstudios karaoke for a week. I don't know how to stop auto renewal. Even though I have deleted the app I am still being charged

    Hey people please help me with my problem.
    I purchased a VIP subscription for a week in starmakerstudios karaoke. I don't know how to stop auto renewal. Even though I have deleted the app, I'm still being charged $1.99 a week!
    Please help me out...

    Hi Gerald,
    Well, you're not alone. The question is why is this happening? Since the referenced link shows the same type of problem with Yahoo finance, I suspect there is a coding problem on the site, specific to how Firefox is reading the code. Not being a programmer, I can't offer specific advice other than contacting either Firefox through their Community forum, or Yahoo Finance.

  • Is Livecycle Designer still being developed for further versions?

    I was just curious if Livecycle Designer is still being developed for further versions.. haven't seen any recent activity on the blogs and on the forums..
    Thanks,

    Yes it is still being developed ....there is definiately an update in the LiveCycle platform due later this year. As far as activity on the forum and in blogs, there is a new blog entry about once every two weeks on FormFeed and this forum produces a large amount of queries daily so in my view there is still laots of activity.
    Paul

  • Switched to full Creative Cloud Membership, still being charged for single-app memberships.

    I'm trying to switch from having several Single-App Memberships to one full Creative Cloud Membership. I already signed up for the full CC membership and paid for it, but I'm still being charged for the single-apps separately. How do I cancel the single-app memberships or somehow register them as part of the full membership?

    This is an open forum, not Adobe support... You need Adobe support to cancel a subscription
    -start here https://forums.adobe.com/thread/1703848
    -or by telephone http://helpx.adobe.com/x-productkb/global/phone-support-orders.html
    --and two links which may provide more details, if the above links don't help you
    -http://helpx.adobe.com/x-productkb/policy-pricing/return-cancel-or-change-order.html
    -http://helpx.adobe.com/x-productkb/policy-pricing/cancel-membership-subscription.html

  • I have an active creative cloud subscription, yet I am still being asked for serial numbers?

    I have an active creative cloud subscription, yet I am still being asked for serial numbers. How do I proceed?

    How did you download the software? For Creative Cloud, you should download from http://creative.adobe.com (which will install through an application called AAM). If you have a trial installation, and bought Creative Cloud, that could be the cause.
    Please see http://forums.adobe.com/message/4397400#4397400 for more detailed information.
    James

Maybe you are looking for