Button lnks don't work?

For some reason I can't get my buttons to link to a URL. The file was created in Flash CS3 and I'm working in CS4.  I'm still a newbee. Seems by the time I finally figure Flash out, it's time to learn it all over again. Getting familiar with AS, but still have along way to go. Anyway when I apply either these scripts to a button the url launches without ceremony or not at all when I preivew it. Probably something brain dead, I'm sure.
AS2
.onRelease = function() {
    getURL("http://www.http://www.linkedin.com/connections?trk=hb_tab_cnts.com");
AS3
linkedBtn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
function mouseDownHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("http://www.http://www.linkedin.com/connections?trk=hb_tab_cnts.com));
Errors:
Line 2 – The class or interface 'MouseEvent' could not be loaded.
Line 1 – Statement must appear within on handler
Thanks!
Bill

I can totally understand how you can lose it with idiots like me. We mean you no harm, honest. So you know, I am applying this code to the buttons not the frame and this was probably first authored in either MX 2004 or Flash 8. Does Flash CS4 open as AS3 by default?
Tried this:
face_btn.onRelease = function() {
    getURL("http://www.http://www.linkedin.com/connections?trk=hb_tab_cnts.com");
Line 1 – Statement must appear within on handler
Don't I need a function to call on here? What do I need to tell it what to do?
Then this:
face_btn.on (release) {
      getURL("http://www.http://www.linkedin.com/connections?trk=hb_tab_cnts.com");
Line 1 – Expected a field name after '.'  operator.�
Even tried this.
face_btn.onRelease = function() {
     getURL("http://www.facebook.com/#!/profile.php?id=1208936702","_blank","GET");

Similar Messages

  • Trackball buttons suddenly don't work

    I've been using a MS trackball explorer with this iMac G5 since I've had the computer. I also have a MS trackball Optical on my iBook.
    Suddenly, the two right buttons on the explorer which I have programmed for 'forward' and 'back' don't work. I tried substituting the trackball explorer and found it had the same problem on the iMac, but both trackballs worked fine on the iBook, which says to me that it's a software problem. The other functions on both trackball work fine.
    I have repaired permissions, searched and removed all items for the MS intellipoint, and uninstalled and reinstalled intellipoint. No help.
    Can anyone suggest anything to help?

    bulder wrote:
    >
    > Buttons suddenly don?t work . I have a navigation clip
    with flash buttons, -
    > referencer and husbyggeri expands when you push the
    button. it worked fine -
    > but now many vistors have to push twiche if they shal
    see the site, this means
    > many are leaving because it dont work - does anyone know
    what?s happening???
    > my clip is here:
    http://www.fjerring.dk/menu/
    Let me guess, happens only in IE ?
    Search google for "click to activate"
    Best Regards
    Urami
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • What should I do on GMAIL LOADING and the buttons that don't work on Firefox 4?

    The Write e-mail, reply, reply all and config GMAIL buttons DON'T WORK AT ALL in MZ Firefox 4. In Explorer 9 works fine. Shat shoud I do? And ABOUT:CONFIG dom.storage don't fix the problem

    Data Recovery – Best
    Data Recovery – Disk Drill
    Data Recovery – Data Rescue
    Data Recovery – File Salvage
    Data Recovery – Stellar Phoenix
    Data Recovery - uFlysoft
    Data Recovery – Best
    Data Recovery – Disk Drill
    Data Recovery – Data Rescue
    Data Recovery – File Salvage
    Data Recovery – Stellar Phoenix
    Data Recovery - uFlysoft

  • Button transitions don't work

    I'm importing a Quicktime movie into iDVD 7. The movie was produced with FCEHD 3.5, and contains 2 chapter markers. None of the iDVD button transitions will work. No matter which transition I choose, the image flashes briefly to blank white, then to the expected beginning of the movie or scene. This occurs no matter which theme I use. Any ideas?

    Hi
    I don't use HD - but just thinking.
    FCEHD 3.5, and contains 2 chapter markers.
    a. No Chapter marks at the very start of Your movie - iDVD want's to do this by it self.
    b. Export out of FCE/P WITH Chapter marks !
    I do in FCE/P (SD)
    • Export out as QuickTime .mov
    • Not selfcontained (not important but saves time and spaces)
    • NO QuickTime CONVERSION
    • Export with Chapter Marks
    • Secure a minimum of 25Gb free space on boot hard disk (others don't count - at all)
    • This QT.mov I import into a NEW iDVD project (can't be updated - if change -> make a new one)
    Yours Bengt W

  • Home button that don't work.

    It won't work at all! and I was gonna jailbreak it but I'm not paying money to jailbreak the stupid thing!! It's not even a year old!!!

    first jailbreaking doesnt cost anything. Second if it isnt a year old it's still under warrently. Stop complaining and go to an apple store. They will fix it or give you a new one. If your short on time though just turn the ipod off, put some 70% or more isopropyl alcoholon a paper towel and press the home button repeatedly. Wipe away anything that comes off, do it again until stuff stops coming out. turn the ipod back on and see if it works now. If not restore the ipod. If it still doesnt work take it to apple.

  • Button functions don't work AFTER loaded onto website.

    Created a document in Indesign 5.0. Created buttons to click to "next page" and "previous page." Exported to interactive PDF, launch the pdf (full screen) and the buttons advance to the next page when clicked. Problem arises when document is loaded on website. Button functionality disappears.  See website document: http://www.sonypictures.com/kenko/assets/pdf/2013SPEBenefits.pdf

    So when a pdf is launched within a website--it is forced to open in a preview mode...even though I have Acrobat on computers tested with it?
    The other interactive functions (like the hyperlinks) are working fine.
    When the document from the website is saved to the desktop, it opens in Acrobat and all interactive functions are still there.

  • Button functions don't work

    I've had this problem occur intermittently in AS2, and I
    always work around it my putting the code right in the button, but
    it seems that sometimes, out of the blue, one (or some) buttons
    will ignore button functions that are called from a frame script,
    while other buttons are quite happy with their frame scripts and
    work as they should. Yes, the instance name is correct and the
    function is defined within the timeline range of the button, and
    the syntax is correct. It's just a strange phenomenon, and I wonder
    if anyone knows if there is a rhyme or reason (or if there isn't)?
    Thank you for your help!

    Hi clbeech! Thank you for your reply. That wasn't it, what it
    was is interesting... I have a timeline-animated fade in on the
    button, and the function is defined after the button is completely
    faded in and the instance name is defined. Everything is correct,
    however, the first frame of fade-in didn't have an instance name.
    Now keep in mind, that the function is defined after the keyframe
    on which the button is given an instance name, so it shouldn't have
    made any difference, but it did. Strange, isn't it?

  • How to make an ipod classic get off the apple boot logo when the menu an center button still don't work

    i tryed to connect my ipod classic to my computer an every time i do it will start flikering an when i conected it to a wall plug it just get stuck on the boot logo it had the the red x but i fix that but now its just stuck on the boot logo i need my ipod please tell me what i need to do pleaseeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee eeeeeeeee

    The big Red X is a sign of iPod undertaker coming, so you only have temporary extension and put it in Comatose state.
    Some laptops have only one high power USB 2.0 port, so if it flickers, try the others on your laptop.
    However try the following, (bear with me if you have done all these.)
    Toggle the hold switch, make sure you don't see the red marking.
    Press Menu and Center butoons for about 10 secs till the Apple logo comes ON, then release the buttons.
    If the above solve the frozen Apple Logo, then do a Disk Diagnostics, read this earlier post from tt2.
    https://discussions.apple.com/message/17028567#17028567
    Don't worry if yours is Windows, the process apply to the iPod and not the PC.
    Good Luck

  • Transition script and button script don't work together

    Hi
    I've been experiementing with actionscripting transitions
    between sections... this is the first site I have tried this with
    (last 3 had swf loaded in one after another rather than
    transitioned between). I used some code from kirupa.com which works
    for loading movies in and out, but I also have some code for my
    movie buttons. I can get one or the other working, but not
    together, so I guess I'm clashing code somewhere, I could do with
    some help please to find what I'm doing wrong...
    The transistion code and calling-up buttons is;
    Code:
    Menubar.b1.onRelease = function() {
    if (_root.section != "about.swf") {
    _root.section = "about.swf";
    _root.transition.gotoAndPlay("closing");
    Menubar.b2.onRelease = function() {
    if (_root.section != "portfolio.swf") {
    _root.section = "portfolio.swf";
    _root.transition.gotoAndPlay("closing");
    Menubar.b3.onRelease = function() {
    if (_root.section != "contact.swf") {
    _root.section = "contact.swf";
    _root.transition.gotoAndPlay("closing");
    and the code I have on my movie buttons is;
    Code:
    on (rollOver) {
    gotoAndPlay("rollover");
    on (releaseOutside, rollOut) {
    gotoAndPlay("rollout");
    Is there a way to combine them???
    Thanks. Wayne.

    your on(rollover) handlers are applied to buttons that are
    children of a movieclip that has handlers defined. the parent
    movieclip (Menubar.b1 etc) is going to intercept those mouse
    events.
    to remedy move you on(rollover) etc handlers to your
    movieclip buttons b1, b2 and b3 on MovMenu's timeline.

  • Aroows up and down, Page Up & Page Down buttons either don't work or makes the page jump to the end

    For some reason, the arrow keys (up & down) do not make the websites go up and down. Also, the page up and page down buttons either do nothing or make the sites jump to the bottom.
    == This happened ==
    Every time Firefox opened
    == New version of Firefox wa installed (3.6.6)

    You may have switched on [http://kb.mozillazine.org/accessibility.browsewithcaret caret browsing]: press F7 to toggle
    See http://kb.mozillazine.org/Scrolling_with_arrow_keys_no_longer_works
    Tools > Options > Advanced : General: Accessibility: [[ ] "Always use the cursor keys to navigate within pages"
    See http://kb.mozillazine.org/Accessibility_features_of_Firefox
    See http://kb.mozillazine.org/accessibility.warn_on_browsewithcaret
    In Firefox 3.6 and later versions you can disable the F7 shortcut that toggles caret browsing by setting the pref accessibility.browsewithcaret_shortcut.enabled to false.
    To open the ''about:config'' page, type '''about:config''' in the location (address) bar and press the Enter key, just like you type the url of a website to open a website.
    If you see a warning then you can confirm that you want to access that page.

  • :*(  Form buttons don't work for all testers

    I created a form in Acrobat 9.1 using Forms> Add or Edit Fields. The form contains action buttons for next page and previous page, to clear all fields, and (with the generous help of a fellow forum member) to print the form and save it to disk. I optimized the form with compatibility set to Acrobat 8.0 and later, then enabled it for Reader. I sent this form to several users for testing.
    Those using Acrobat have no problems with it.
    Those using Foxit Reader have no problems with the action buttons or the form fields (except that date fields are finicky; Foxit doesn't convert the dates to the correct format the way Reader or Acrobat do). But, the yellow background that I created as a watermark -- so I could make it visible but not print -- is printing. That's not anything that Acrobat can help, but it is a very good reason to not recommend using Foxit. It would create a dreadful shortage of yellow inkjet ink.
    Those using Reader 8.0 to 8.1.2 are having several problems. For them, the action buttons don't work... except the "clear all fields" one. The buttons don't do anything; there are no errors, no messages, no activity of any kind except to change color when clicked.
    The buttons that don't work are all set up as Mouse Up actions executing a menu item... for example, "Go to page 2" is just View>Go To>Next Page. The "Clear all fields" button is, on Mouse Up, "Reset a form" with all fields selected... so it's the only kind of button that works for Reader users, and it's the only button that doesn't execute a menu item.
    Why is there a difference in actions these users can run? If it's a security issue... what possible risk is there in going to the next page, using a button instead of a scroll bar or Page Down key??? I can find no common sense here, especially because Reader users are the only ones barred from these form actions. Everyone else can use them.
    -- Also, these testers (Reader 8+) are having problems with the tab order. Some of the radio button groups (which have no more than three options, Yes, No and NA) at first appear to be tabbing correctly, because the Yes option receives focus in the correct order... but randomly, tabbing through several fields, suddenly the No option will get focus... in a radio button group nowhere near the current tab location. Tabbing is rendered useless, then, because these anomalies are unpredictable and it doesn't appear there's anything I can do to prevent this from happening.
    It's pointless to delete and re-add the afflicted radio buttons. That has no effect... and the radio button groups are already in the correct order anyway. I don't know how this could possibly happen... But it doesn't happen for the Foxit or Acrobat testers.
    • Why would Reader be the only app that can't use the buttons and can't tab through the fields correctly? I'd think Adobe's own software would work best with their own file format. •
    Is Reader 8 the problem --- should those users all update to the newest version? I don't have any Reader 9+ testers yet. Nobody seems interested in it. The testers all assume the problems are MY fault, so nobody's happy with me and no one wants to bother testing the forms because there's always something wrong.
    <hair-pulling> I seriously regret upgrading to Acrobat 9.1.  I know other forum members who agree this thing is catastrophically buggy -- I've wasted  weeks trying to iron out all the problems I've been having with these forms, forms that should have been quick and simple to create, and in past versions of Acrobat, would have been. Yet I'm still tearing out my hair over tab order! Worse, I fear I'm close to losing my job for all the time wasted and all the projects I've fallen behind in because of this. <no /hair-pulling in sight>

    I have no clue, but it might make a difference depending on the form being produced in Acrobat versus Designer. Acrobat will take you both places and one of them may have an issue with backward compatibility. I have not heard of that, but it is a possibility.

  • My iPod Nano buttons don't work...

    My iPod Nano buttons don't work even tho my Hold button in off when I switch my Hold button from ON to OFF my iPod shuts off then restarts by itself. My iPod is fully charged. I have updated my iPod to the latest update. I've tried to restart my iPod many times but since the buttons don't work it doesn't happen.

    If you've reset and restored and the buttons still don't work, then it needs service. Either take it along to an Apple store, or send it in.
    http://depot.info.apple.com/ipod/

  • My back/forward buttons don't work - have done 'reset toolbars and controls', but they still don't work

    When I downloaded the latest version I got a new screen with the orange Firefox tab at the top. That was fine, I could find what I wanted, but back/forward buttons didn't work. I checked the help section and went right through the suggestions down to 'reset toolbars and controls' - this did reset and I lost the orange box - that doesn't matter, but the back/forward buttons still don't work.

    Do you have more than one tab open? If you didn't go to another site in a single tab, then yes, the buttons will be greyed out. If you went somewhere in another tab, then those sites should be accessible by right clicking either button.

  • Why my ipod touch buttons don't work?

    Last nigth I was listening to my music library and after a few hours I fell asleep. This morning, both home and sleep button stopped working. Could anyone tell what is wrong with my ipod touch...??

    If you've reset and restored and the buttons still don't work, then it needs service. Either take it along to an Apple store, or send it in.
    http://depot.info.apple.com/ipod/

  • Iphone5 stuck. Won't go past Apple logo. Sleep/wake and home button together don't help. Connecting to iTunes also does not wo

    MY iphone5 is stuck on apple logo. Sleep/wake and home button together don't work and connecting to iTunes doesn't either. Anyone any ideas

    You need to hold both those buttons down for several seconds, until the Apple logo reappears. Don't release until then.

Maybe you are looking for

  • Should i buy the 13" macbook pro?

    I am a college student and am looking to upgrade from my mac mini to a more portable and powerful mac. I have £1000 to spend.... for now and i obviously want a macbook of some kind to upgrade to. I will be using it for word documents, itunes ect but

  • SOS help please. Macbook Pro won't turn on. Blinking Light

    Hello to everyone this is my first post here and sadly its about a problem with my macbook pro. The notebook in question is a 17'' Macbook Pro I bought in September 2008. I simply closed it (without turning it off, just let it go on sleep) and took i

  • What is the purpose  of Date From and Date To In Oracle HRMS ?

    hi I have doubt on What is the purpose of Date From and Date To In Oracle HRMS? Thanks

  • XSL equivalent of  HTML br tag

    Hi, I am converting an html report in to xml and then this xml to PDF using Apache FOP. I have some data in my xml file which contains some text having BR tags in it. The data is displayed correctly in the browser when the content types are text/xml.

  • TS3999 iCloud/iCal question?

    I started using iCloud on my Mac, iPhone, & iPad. iCal on Mac and iPad use iCloud only & info is outdated & incorrect. iPhone uses "from my mac" & has most updated/correct info. How can I sync all 3 devices to use this correct cal? Thanks in advance!