LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 


Prev Previous Post   Next Post Next
  #1  
Old 02-01-2001, 05:41 PM
ir99design ir99design is offline
Registered User
 
Join Date: Sep 2000
Location: Burnaby,BC,Canada
Posts: 171
Rep Power: 13
ir99design is on a distinguished road
Problems with Eval....
Here's the basic code...

i=2;
set("list" add i,list1[1].childNodes);

note how list2 is now equal to the childnodes of list1...

here's how I want to write the code...

set("list" add i,eval("list" add Number(i-1) add "[1].childNodes"));

That doesnt seem to work... I get an undefined value.

Any ideas?

I need to use "i" to create both array names... ie list1,list2 list3,list4
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can u help me : eval ? ANDY31 Flash MX 2004 2 01-23-2005 05:44 PM
Left side of assignment operator must be variable or property. mancroft Flash MX ActionScript 2 06-29-2003 10:50 PM
eval behaviour toxic Flash 5 Actionscript 8 11-07-2001 04:49 AM
eval and bracket notation robertpenner Flash 5 Actionscript 13 09-16-2001 01:04 AM
eval and bracket notation and bugs in flash 5 lex Flash 5 Actionscript 3 09-12-2001 05:42 PM




All times are GMT. The time now is 01:42 PM.