Flasher Archive

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


Subject: RE: FLASH: bug in flash4 scripting????? (probably not)
From: Edwin van Rijkom
Date: Sat, 29 Jan 2000 17:32:23 GMT

Perhaps placing some extra "(..)" will help?

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

Thanks, Edwin.


> -----Original Message-----
> From: owneratchinwag [dot] com [owneratchinwag [dot] com]On">mailto:owneratchinwag [dot] com]On Behalf Of montague
> withnail
> Sent: Friday, January 28, 2000 2:00 PM
> To: flasheratchinwag [dot] com
> Subject: FLASH: bug in flash4 scripting????? (probably not)
>
>
>
> 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


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
  FLASH: bug in flash4 scripting????? (pro, montague withnail

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