However, if I want to get a dynamically allocated var (ie anarray[i])... How
do I do it?

Dunno, maybe something like, but I may be on the wrong track

<CFOUTPUT>
<CFLOOP FROM="1" TO="#arraylen(AnArray)#" INDEX="i">
Item: #AnArray[i]# <br>
</CFLOOP>
</CFOUTPUT>

Recent articles by Hal Helms in cfdj on arrays. Pulling dynamic data from eg
a text file requires &......text......&   ( note the &'s)
there may be fussy stuff like this you may have to watch out for, macromedia
stuff on web services, grabbing dynamic data
might be worth looking at as well.

Have fun,


Colm


-----Original Message-----
From: Paul Johnston [mailto:[EMAIL PROTECTED]
Sent: 28 February 2003 13:08
To: [EMAIL PROTECTED]
Subject: RE: [ cf-dev ] OT: Flash Buttons...


> try quotes around _level0.buttonURL[i]

Okay... That works, but sends it to "/blah/_level0.buttonURL[i]" which isn't
wonderfully helpful, BUT it does show that the function works when the
button is pressed.

However, now what I need to figure out, is how to make the whole thing
dynamic?  Any ideas

This works:

_level0.getURL("redirect.php", "_parent", "GET");

This works too:

avar = "redirect.php"
_level0.getURL(avar, "_parent", "GET");

This works:

// outside function
_level0.anarray = new Array( "url1.php", "url2.php" );

// in function
_level0.getURL(_level0.anarray[0], "_parent", "GET");

However, if I want to get a dynamically allocated var (ie anarray[i])... How
do I do it?

Paul



--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to