The Enchanted Cave 2
Delve into a strange cave with a seemingly endless supply of treasure, strategically choos
4.38 / 5.00 36,385 ViewsGhostbusters B.I.P.
COMPLETE edition of the interactive "choose next panel" comic
4.07 / 5.00 13,902 ViewsOkay, I have a simple piece of script for AS2, and the player is giving me back the following error, and I don't know how to fix it.
on(release){
shirt = 6;
}
Description: Syntax Error.
Source: on(release){
Can someone please help me?
BTW, I'm using AS2 (I already mentioned that) and Adobe Flash CS4.
06-17-11: User of the Day
07-25-11: 1500th Post
08-09-11: Level 13!
Balderdash and PoppyClock
At 9/22/10 06:12 PM, PoppyClock wrote: Is the code on a symbol?
its on a button.
06-17-11: User of the Day
07-25-11: 1500th Post
08-09-11: Level 13!
At 9/22/10 06:20 PM, ActionSplash wrote: Try using proper variable declaration maybe?
on(load){
var shirt:Number
}
on(release){
shirt = 6;
}
It's okay. I fixed it. Weird thing is, I retyped the same code, and it had no error.
A spooky thing, flash is. - Daily Words of Yodaism.
06-17-11: User of the Day
07-25-11: 1500th Post
08-09-11: Level 13!