All but the last Loader is being over written.
Put each Loader into an array.
var req:URLRequest = new URLRequest(path);
loaderArray[counter] = new Loader();
loaderArray[counter].load(req);
loaderArray[counter].contentLoaderInfo.addEventListener(Event.COMPLETE,loade
d);
This way each Loade
On Thu, Feb 18, 2010 at 2:15 PM, Keith Reinfeld
wrote:
> > I did all of the above copying and pasting your code on a black stage...
>
> You pasted it on the stage?
>
No. Created DesertSands.as and called it from Properties::Class.
Susan
___
Flashcoders
Hi;
I have this code:
public function thePic(x:int,
y:int)
{
var path:String = new String();
switch (counter)
{
case 0:
path = "images/bracelet.jpg";
break;
case 1:
path = "images/brooch.jpg";
break;
case 2:
path = "images/chain.jpg";
break;
case 3:
path = "images/earring.jpg";
break;
case 4:
p
3 matches
Mail list logo