Hi, i m new to flash as well as actionscript. I m using actionscript 3.0 and flash cs4. I have button “Music_btn” which i want to link to a HTML file which lies in C:\Documents and Settings\Administrator\Desktop\bg\index.html. So, this i what i have tried
Music_btn.addEventListener(MouseEvent.CLICK, music);
function music(event:MouseEvent):void {
var url:String="C:\Documents and Settings\Administrator\Desktop\bg\index.html";
var req:URLRequest=new URLRequest(url);
navigateToURL(req, ‘_blank’);
}
Error DeScription: - 1120: Access of undefined property Music_btn.
but of no use
Can ne1 please help.