Google
 
Webnews.only-4-geeks.com
Interesting places
news.only-4-geeks.com Forum Index » Flash - ActionScript

construct Array name dynamically

 
Jump to:  
 
luciewong
PostPosted: Sun Aug 31, 2008 11:01 am    Post subject: construct Array name dynamically
       
Sorry guys, but I must post my message in parts to find out, where in my text
is a >censored word<
I cannot post in one.

So part 1> hope no censored word>

Hi,
I have to construct an Array name dynamic, consisting of
Database "Table" + Database "Column name".
Data comes in with LV.

I do this like:
var theTable:String = Table;//<<from LV
var theColumn:String = Column; ;//<<from LV

Now I create the Array:
_root[theTable+[theColumn]+"_array"] = new Array();//<

No problem so far, works fine. I push values into this new Array.

But?..
if the Table or the Column name contains an >ampersand< then it hurts.

>>end part 1
 

Page 1 of 1 .:.

Google
 
Webnews.only-4-geeks.com

Windows Update | C++ | C | PHP | JavaScript | Photoshop | Programming | Windows 2000 | Python | Windows XP | Object | Flash | Flash - ActionScript | Paint Shop Pro | Excel | PowerPoint | Access | Word | Windows 98 | Internet Explorer 6.0 | CorelDraw12 | Java | XML | asm x86 | Linux Mandrake | Linux RedHat | Outlook |  | news from newsgroups |_ | s

Web Templates

Awesome Website Templates ©

części do maszyn cat Proteza elastyczna zdjęcia ślubne Porównanie Cen OC Pioneer CDJ