Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
UsualSuspect #1
for( ).....complicated..
ok, here's the deal...
I have 50 dynamic text on the stage. fds0, fds1, fds2, fds3, etc...
Each of them read a cookie previously written on the computer, and
they show a day of the week. Ex.: Thursday
So, if I write :
for (i=0; i<50; i++) {
trace(fds0)
}
it returns : ThursdayThursdayThursday, wich is good. But I want to do it
dynamically,
with every text field that I have...
So I wrote :
for (i=0; i<50; i++) {
trace(fds+i)
}
it returns : 0 1 2 3 4 5, wich is not good.
So I tried :
for (i=0; i<50; i++) {
trace("fds"+i)
}
it returns : fds0, fds1, fds2, fds3, wich is totally not good.
I need the value of the text field, not its name...
Any ideas ?
UsualSuspect Guest
-
Complicated variable
I have a database query, which i output and also use 2 loops in. optionx and qtyx are loop index's. i want to use those loop index's to output a... -
Complicated Insert
I have several rows of data in a table which i want to insert into only 1 row in another table. Is it possible to do an insert query from a select... -
pattern need help... so complicated
hi, need some help over how to create this pattern... <http://img47.photobucket.com/albums/v144/kylekwan/pattern.jpg> I'm using AI 10. Have... -
A bit more complicated....
can any one help me with this ? if i press the button refresh in my browser my movie stop playing i tried to insert a rewind in my script but it... -
Peter #2
Re: for( ).....complicated..
Nearly there - try:
for (i=0; i<50; i++) {
trace(this["fds"+i])
}
--
---------------------------------------
http://www.phageinteractive.com
PhageInteractive Ltd.
remove mm_ to mail
---------------------------------------
'I wish we lived in a world where it was possible to be religious and think
at the same time.' - Jonh Graves
Peter Guest



Reply With Quote

