Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: FLASH: bug in flash4 scripting????? (probably not)
From: montague withnail
Date: Fri, 28 Jan 2000 13:11:54 GMT


Has anyone experienced prblems with
If...then...elseif... type scripting in Flash 4.

I'm new to flash scripting but not to coding.

I've got a dead simple statement with 3 different
combinations of 2 boolean variables. when both the
variables are true then flash insists on executing one
of the other conditions.

If (bOneWrong = 0 and bAnyCorrect = 1)
Go to and Stop (5)

else If (bOneWrong = 1 and bAnyCorrect = 0)
Go to and Stop (15)

else If (bAnyCorrect = 1 and bOneWrong = 1)
Go to and Stop (10)
End If

when bAnyCorrect and bOneWrong are both 1 it quite
blatently goes down the (bOneWrong = 1 and bAnyCorrect
= 0) path!

Am i going mad or am I missing something
fundamental???

cheers in advance


__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World�s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California

-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  RE: FLASH: bug in flash4 scripting????? , Edwin van Rijkom

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]