I update the code
   
  public var arrFilenames:Array = new Array();
   arrFilenames.push("abc");

but I get same error message.

"Access of undefined property arrFilenames."

Thanks


----- Original Message ----
From: Sherif Abdou <[EMAIL PROTECTED]>
To: [email protected]
Sent: Wednesday, February 6, 2008 3:51:11 PM
Subject: Re: [flexcoders] Array function error?

why do u have "" in the array?
public var fileNames1:Array = [];
or just public var fileNames1:Array = new Array();


----- Original Message ----
From: markflex2007 <markflex2007@ yahoo.com>
To: [EMAIL PROTECTED] ups.com
Sent: Wednesday, February 6, 2008 2:47:47 PM
Subject: [flexcoders] Array function error?


Hi,

I did a simple code

public var filenames1:Array = new Array(""); 
filenames1.push( "abc");

but I get a error 

"Access of undefined property filenames1."

I do not know what is wrong. Please give me a idea to fix it.

Thanks

Mark







Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. 



      
____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

Reply via email to