AS3 Error 1034 in Banner Ad coding


code:

 

invisclick.addeventlistener(mouseevent.click, buttonhandler);

function buttonhandler(event:mouseevent):void {

          var clicktag:string; - root.loaderinfo.parameters.clicktag;

          if(clicktag.substr(0,5)=="http:"){

          navigatetourl(new urlrequest("http://www.42wins.com/"));

          }}

 

 

debug msg:

 

attempting launch , connect player using url /users/pol/desktop/banners/42w_160/42w_160.swf

[swf] users:pol:desktop:banners:42w_160:42w_160.swf - 92740 bytes after decompression

 

typeerror: error #1034: type coercion failed: cannot convert flash.display::movieclip@1068b0281 fl.motion.animatorfactory.

 

          @ flash.display::sprite/constructchildren()

          @ flash.display::sprite()

          @ flash.display::movieclip()

          @ _42w_160_fla::maintimeline()

cannot display source code @ location.

 

no matter write in actions window, message.

 

 

i have no programming knowledge, try make banner ad in flash pro cs6

 

could please help?

thank you!

based on code showing didn't fix told fix yesterday in other posting.  can't if won't yourself.

 

the 1034 error showing cannot related code showing.



More discussions in ActionScript 3


adobe

Comments