Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | FLASH: How do I check a variable in an If/else statement |
From: | John Graham |
Date: | Thu, 6 Apr 2000 18:51:42 +0100 |
I'm still plugging away with these darn variables. I am trying to have a
button tell a swf to run only if a variable in _level0 is not something.
See below,
On (Release)
Comment: THE PROBLEM IS HERE
If ("_level0:copy" = "products/design.swf")
Stop
Else
Set Variable: "_level0:copy" = "products/design.swf"
Load Movie (_level0:copy, 25)
End If
End On
And it doesn't work, here are some of the other way's I've tried it.
If (_level0:copy = "products/design.swf")
If (_level0:copy = products/design.swf)
If (Eval (_level0:copy) = "products/design.swf")
If (Eval (_level0:copy) = products/design.swf)
My apologies for the frequent variable questions, is there any recommended
online reading about them that stands out? I've been to most of the
Tutorial sites in general. I am going to go purchase the Flash Bible, and
Flash 4 book, the one that Branden Hall contributed to.
Thanks.
John G
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 helpchinwag [dot] com
Replies
Re: FLASH: How do I check a variable in , DSG
Replies
FLASH: Child call back to parent in Java, John Prince
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]