Web Design and Development Forums

Problem with Actionscript 3.0

This is a discussion on "Problem with Actionscript 3.0" within the Flash & Multimedia Forum section. This forum, and the thread "Problem with Actionscript 3.0 are both part of the Design Your Website category.

Old May 1st, 2008, 20:30   #1 (permalink)
New Member
 
Join Date: May 2008
Location: Portsmouth
Posts: 1
Problem with Actionscript 3.0

Hi,

I am trying to create a series of invisible buttons, within a Flash movie, that link to various URLs. I have created a button on one layer and an action on a separate layer but I can't get it to work.

The Action reads:
gotaq_btn.addEventListener(MouseEvent.CLICK, buttonClickHandler);
function buttonClickHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("http://www.gotaqchallenge.com"));
}

The error message I get is:
'The class or interface 'MouseEvent' could not be loaded.'

I am using Flash CS3 Pro (Actionscipt 3.0)

I have been trying to get this to work for the best part of the day so am hoping someone out there will tell me where I'm going wrong and put me out of my misery!

Can anyone help??

Thanks
Mrs Spider is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old May 5th, 2008, 00:06   #2 (permalink)
New Member
 
Join Date: Apr 2008
Location: Sunderland
Age: 20
Posts: 2
Re: Problem with Actionscript 3.0

you havent got any other events called 'buttonClickHandler' have you?
bellyscratch is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
a little actionscript ziggi Flash & Multimedia Forum 0 Sep 18th, 2007 11:46
Actionscript within .NET timshih ASP.NET Forum 0 Aug 16th, 2007 00:56
ActionScript Tutorials? HecticHermit Flash & Multimedia Forum 3 Aug 2nd, 2007 22:42
actionscript cressy Flash & Multimedia Forum 3 Jul 24th, 2007 07:29
Actionscript 3.0 Sgaspar11 Flash & Multimedia Forum 7 May 28th, 2007 18:31



Latest Updates

All Points SEO Security Advisory - CHECK YOUR SITE NOW!

Creative Coding :: February 2008

Webforumz is sponsored by: WESH UK Web Hosting
All times are GMT. The time now is 19:20.

Sleep Study Scoring :: Free Bet :: Website Templates :: Online Betting :: Bookmakers :: Funny Quotes :: Internet Recruitment Software :: Microsoft CRM Experts :: Online Casino :: Decorated Christmas Trees :: Midwife Forums :: Football Betting :: Ecommerce Software :: Web Hosting :: Football Stats :: Dry Cleaning Collection :: xtreme wales - extreme clothing :: Apuestas :: Sharepoint Consultants :: Website Optimisation :: Office Clearance London :: Sharepoint Experts :: Sports Betting :: Casino :: Website Templates :: Web Design Development India :: Online Gambling

Powered by: vBulletin Version 3.7, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
© 2003-2008 Webforumz.com : All Rights Reserved
Search Engine Friendly URLs by vBSEO 3.2.0 RC6


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59