|
Until you sign up you can't do much. Yes, it's free.
|
|
|
|
|
|
|
 | / / / Viewing Topic
|  |
|
|
I need actionscript help! |
| Not exactly programming... but yeah. |
|
|
|
Replies: 4 Last Post Mar. 31, 2005 9:19pm by Sol
|
|
|
|
|
( PiXiE )
24.24.1.1358
Patron
Tech Support Leader
|
I'm having trouble with a loop. I have 17 buttons, instance names are button1, button2, button 3, etc. Each button needs to go to a different frame, those are labeled as part1, part2, part3, etc. This code only works for buttons 10-17: | Code: | for (i=1; i<=17; i++) { _root["button"+i].onPress = function() { myVar = getProperty(this, _name); getCharacter = myVar.charAt(6); getCharacter2 = myVar.charAt(7); if (getCharacter2>=1) { gotoAndStop("part"+getCharacter+getCharacter2); } else { gotoAndStop("part"+getCharacter); } }; } | I believe it is a problem with my if and else statements. Can anyone help?
|
4:01 pm on Mar. 13, 2005 | Joined: July 2002 | Days Active: 1,662 Join to learn more about PiXiE Alberta, Canada | Straight Female | Posts: 4,837 | Points: 34,848
|
|
| |
|
|
|
|
lauriebebe91
Quality Control Engineer
Patron
|
Flash can be a pain. This is the first time I've seen anyone make a topic in here, I was waiting for people to respond and go "I DONT KNOW WHAT YOURE TALKING ABOUT", because people on here seem to find it neccessary to let everyone know when they don't understand a topic.
------- I done forgot more than you ever learned...
If you wanna talk, my AIM screen name is lauriebebe91 and my MSN screen name is lauriebebe91@hotmail.com
|
|
|
( PiXiE )
24.24.1.1358
Patron
Tech Support Leader
|
Haha, so true. They are just in it for the points. DAMN THEM!
|
4:12 pm on Mar. 13, 2005 | Joined: July 2002 | Days Active: 1,662 Join to learn more about PiXiE Alberta, Canada | Straight Female | Posts: 4,837 | Points: 34,848
|
|
| |
|
|
|
|
|
| Looking for something else?
|
|
|
|
|
|
 | / / / Viewing Topic |  |
|