as 3 button error
Posted
by ryancherry
on Stack Overflow
See other posts from Stack Overflow
or by ryancherry
Published on 2010-04-30T17:33:36Z
Indexed on
2010/04/30
17:37 UTC
Read the original article
Hit count: 299
Hello! I'm very new to actionscript 3.0 and flash in general. I'm trying to update a website that someone else did with flash, and am having issues with it. I need a button to link to an outside website, but I keep getting the error "access of undefined property" on my button. I am using cs3 by the way
This is my code, any help would be much appreciated!
msds_btn.addEventListener(MouseEvent.CLICK, buttonClickHandler); function buttonClickHandler(event:MouseEvent) :void { navigateToURL(new URLRequest("http://www.retrohair.com/msds_html/msds_login.html")); }
Thanks!
© Stack Overflow or respective owner