Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | FLASH: Simple comparison does not work... |
From: | Henrik Mikael Kristensen |
Date: | Thu, 29 Jun 2000 15:08:16 +0100 |
Hi!
If (/movie_target:VarsLoaded ne 1)
Set Variable: "/movie_target:ButtonsEnabled" = 0
Go to and Play (2)
Else
Set Variable: "/movie_target:ButtonsEnabled" = 1
-> Set Variable: "/movie_target:TotalSubjects" = 9 <- Variable set!
-> If (/movie_target:TotalSubjects lt 15) <- Why is this one false
Go to and Stop (3)
End If
-> If (/movie_target:TotalSubjects gt 15) <- And this one is true?
Go to and Stop (4)
End If
Set Variable: "/movie_target:End" = /movie_target:Begin + 14
Set Variable: "/movie_target:namecount" = 0
Set Variable: "/movie_target:index" = 0
-> Loop While (/movie_target:index <= /movie_target:TotalSubjects)
If (/movie_target:index ge /movie_target:Begin or
/movie_target:index le /movie_target:End)
Set Variable: "/movie_target:FieldName" &
/movie_target:index = Eval ("/movie_target:GroupName" &
/movie_target:namecount)
Set Variable: "/movie_target:namecount" =
/movie_target:namecount + 1
End If
Set Variable: "/movie_target:index" = /movie_target:index + 1
End Loop
End If
Set Variable: "ResultRange" = (Begin + 1) & " - " & (Begin + namecount -
1)
Why does the variable TotalSubjects to Flash appear to be greater than 15?
In the loop, TotalSubjects evaluates correctly as 9...
Regards
Henrik Mikael Kristensen
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]