SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    SitePoint Enthusiast MSWD's Avatar
    Join Date
    Nov 2007
    Location
    Texas
    Posts
    78
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Mouse events are permitted only for button instances

    I'm trying to add this action to a button so I can get openx to track this flash banner. Can anyone clue me into what this means. I must be tired-but I have looked at this everyway and don't see what I'm doing wrong.

    Made a button-added keyframe to each poition, went back to the main time line inserted an instance of the button onto its own layer-added the following action

    on (release) {
    if (clickTAG.substr(0,5) == "http:") {
    getURL(clickTAG, "_blank");
    }
    }

    and it gives me the error message = Mouse events are permitted only for button instances

    Please ???? Any ideas????

    Ive attached a zip file incase that helps solve it
    Attached Files Attached Files
    Last edited by MSWD; Jul 14, 2008 at 20:18. Reason: typo

  2. #2
    SitePoint Guru [Paul Ferrie]'s Avatar
    Join Date
    Oct 2007
    Location
    Glasgow, Scotland, UK
    Posts
    853
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Make sure that your code is in fact on a button and not on a frame.
    .:To me AS is like LEGO, Only for the big Kids :.
    - Site - Blog - Glasgow Flasher
    bringmadeleinehome.com

  3. #3
    SitePoint Enthusiast MSWD's Avatar
    Join Date
    Nov 2007
    Location
    Texas
    Posts
    78
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Did you look at my file? From what I can see they are? Any help would be appreciated!

  4. #4
    SitePoint Guru [Paul Ferrie]'s Avatar
    Join Date
    Oct 2007
    Location
    Glasgow, Scotland, UK
    Posts
    853
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by [Paul Ferrie] View Post
    Make sure that your code is in fact on a button and not on a frame.
    Quote Originally Posted by MSWD View Post
    Did you look at my file? From what I can see they are? Any help would be appreciated!
    Yeah!
    Did you check what i said?
    .:To me AS is like LEGO, Only for the big Kids :.
    - Site - Blog - Glasgow Flasher
    bringmadeleinehome.com

  5. #5
    SitePoint Enthusiast MSWD's Avatar
    Join Date
    Nov 2007
    Location
    Texas
    Posts
    78
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah!-Take it easy on us newbies

    I click the button, right click actions, and there is the code. What am I missing?

  6. #6
    SitePoint Enthusiast MSWD's Avatar
    Join Date
    Nov 2007
    Location
    Texas
    Posts
    78
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'll pay you to fix it.....what do you charge?

  7. #7
    SitePoint Enthusiast MSWD's Avatar
    Join Date
    Nov 2007
    Location
    Texas
    Posts
    78
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I got it-it toggles the actions title depending what you are clicking.

    Thanks much for pointing that out!

    Its working now-

  8. #8
    SitePoint Guru [Paul Ferrie]'s Avatar
    Join Date
    Oct 2007
    Location
    Glasgow, Scotland, UK
    Posts
    853
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well done you!
    We're all still newb's
    .:To me AS is like LEGO, Only for the big Kids :.
    - Site - Blog - Glasgow Flasher
    bringmadeleinehome.com


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •