I am getting this error with this actionscript code. I need my banner to be clickable please: ERROR: 1084: Syntax error: expecting rightparen before getURL. CODE: [SWF(width="125", height="125", backgroundColor="#FFFFFF")] public class main extends Sprite { [Embed(source="gggbanner.jpg" getURL="navigateToURL(new URLRequest('http://mywebsite.com') ")] public var Logo:Class; public function main() { var logo:Bitmap = new Logo(); //logo.Width=105; addChild(logo); loaderInfo.addEventListener(Event.COMPLETE, onCreationComplete); } Code (markup): Everything works other than the getURL part! Please reach me on MSN or Yahoo. Yahoo: grafx7712 MSN:
hey why are you doing coding for making banner clickable...simply make it a button and use geturl <url link> action to do that