PDA

View Full Version : on(release) gotoAndPlay



zebdaag
June 8th, 2004, 06:26 PM
Hi,

I'm getting data from a database and I put this data in an array that looks like this:

me, you, he, she

Now I want this data to be put in an dynamic text field like this

me
you
he
she

and they all have the option to click on it and do things like this
for me:

on (release){
gotoAndPlay (20);
}

for you:

on (release){
gotoAndPlay (25);
}

for he:

on (release){
gotoAndPlay (30);
}

for she:

on (release){
gotoAndPlay (35);
}

thanks in advance

Ordinathorreur
June 8th, 2004, 10:08 PM
I don't get it? Do you mean that the user can click on the text that you load into the dynamic text field and clicking on that text executes the actionscript commands you listed?

mr.b
June 17th, 2004, 03:22 PM
Try this out:


http://www.macromedia.com/support/flash/ts/documents/asfunction.htm