From: Glen Pike <[email protected]>
To: Flash Coders List <[email protected]>
Sent: Mon, March 8, 2010 3:04:47 PM
Subject: Re: [Flashcoders] Re: swf doesn't work the same online

var nNavs:Array = new Array();
for(var i:int = 0; i < numLinks;i++) {
   var nav:Sprite = nav(nNames[i], nUrls[i], positions[i], 0x0e778a);

It throws error 1067 on the above line: implicit coercion of value type void to 
an unrelated type flash.display.Sprite, which frankly makes sense; however, I'm 
not sure how I should create the variable to push it onto the stack by doing 
otherwise. 
Thanks,
John


      
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to