Forum Topic: A quick array question

(122 views • 3 replies)

This topic is 1 page long.

<< < > >>
None

Jhetto

Reply To Post Reply & Quote

Posted at: 5/26/06 01:01 AM

Jhetto NEUTRAL LEVEL 08

Sign-Up: 08/08/05

Posts: 93

How can I make flash search of an item in an array? Example:

array("D","E","F","Empty")

How do I make it look for Empty then change it (to G) then add another Empty at the end?


None

jmtb02

Reply To Post Reply & Quote

Posted at: 5/26/06 04:04 AM

jmtb02 LIGHT LEVEL 29

Sign-Up: 03/01/04

Posts: 5,527

At 5/26/06 01:01 AM, Jhetto wrote: How can I make flash search of an item in an array? Example:

for(i=0; i=arrayName.length; i++) {
if(arrayName[i] == "Empty") {
arrayName[i] = "G";
}
}

NOM NOM NOM NOM NOM

BBS Signature

None

shazwoogle

Reply To Post Reply & Quote

Posted at: 5/26/06 04:20 AM

shazwoogle NEUTRAL LEVEL 10

Sign-Up: 09/27/04

Posts: 2,661

At 5/26/06 04:04 AM, jmtb02 wrote:
At 5/26/06 01:01 AM, Jhetto wrote: How can I make flash search of an item in an array? Example:
some stuf...

for(i=0; i<arrayName.length; i++) {
if(arrayName[i] == "Empty") {
arrayName[i] = "G";
}
}

that will work :P


Questioning

DannyMac910

Reply To Post Reply & Quote

Posted at: 5/26/06 12:34 PM

DannyMac910 NEUTRAL LEVEL 05

Sign-Up: 01/08/06

Posts: 24

Q:1 if i wanted to make a certin scene hapeen when i hit a certin key on the keyboared to make so as if i clicked on a certin button how could i do that?

Q:2 im having trouble with something i put this as in
on(press){gotoAndPlay
("Scene", framenumber);
}
but when it goes to to the certin scene it just keeps going througn the rest of the scenes how do i make it stop at the end of the scene and go back to the first scene

your help is greatly appreciated


All times are Eastern Standard Time (GMT -5) | Current Time: 07:47 AM

<< Back

This topic is 1 page long.

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!