Flasher Archive

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


Subject: FLASH: Problem with Variables
From: Kevin Huisman
Date: Tue, 11 Apr 2000 21:51:39 +0100

I'm building a database driven flash movie, and I'm having some problems
with variables, as this is completely new to me..

I'm trying to display grapics based on information returned from a
Filemaker Pro database.

If my variable is an integer, I can get the correct graphic to appear,
but if the variable is a word (for example, "Create!" is one of my
variables) my if/else statements don't work correctly.

It will treat the first if statement as true (even if it is false) and
display that graphic... Of course, it doesn't get to the correct else if
statement.

If I use mulitple if statements, it will display the last if statement's
graphic, treating each if statement as true..


This is a sample of my code:

If (theme="Stop Go")
Begin Tell Target ("/theme")
Go to and Stop (5)
End Tell Target
Else If (theme="Create!")
Begin Tell Target ("/theme")

Go to and Stop (2)
End Tell Target
End If


Thanks for your help,

Kevin Huisman

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: Problem with Variables, John Graham
  Re: FLASH: Problem with Variables, Cheri Harder

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