Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
mbockwich #1
how to compare 3 variables
Thanx in advance for any help. I built my wife a slot machine game, she loves
slots. Off stage I have a mc named evaluation that plays after the 3rd wheel
stops. I am having trouble figuring out the code to make it compare all 3
wheels. for instance, if _root.wheel1stopped = wild, and
_root.wheel2stopped=wild, and _root.wheel3stopped = wild, I want the main movie
to go to scene 2, which is the bonus game. Any help will be appreciated. Mike
mbockwich Guest
-
Compare 2 PDF
Hi, is there any way to automate the comparison of two PDFs from outside Acrobat? e.g. I mark 2 PDFs, right-click offers me COMPARE and after... -
Compare string with XML
I have an Array retrived from XML via xPath. I then compare one bucket with a string and dont get the result i want. It seems that the XML string... -
compare
How can I stop a function in PHP? When comparing data I want to stop the function on a hit. Function compare($data) { For... -
Why can't FMP-IF compare to it's own internal variables?
Since I have apparently found a bug in CDML access where as if you do a search and should be retrieving 0 records found, FMP server tells you you've... -
compare variables that contain text
Hi, I was wondering how do you compare variables that contain text strings in ASP. When I use the following If.. Then statement: If... -
Peter Blumenthal #2
Re: how to compare 3 variables
try:
if (_root.wheel1stopped == wild && _root.wheel2stopped==wild &&
_root.wheel3stopped == wild){
//do whatever
}
hth
}`¬P
--
---------------------------------------
[url]http://www.phageinteractive.com[/url]
PhageInteractive Ltd.
remove mm_ to mail
---------------------------------------
'I wish we lived in a world where it was possible to be religious and think
at the same time.' - Jonh Graves
Peter Blumenthal Guest
-
mbockwich #3
Re: how to compare 3 variables
Thank you so much for your quick reply. While I consider my self an intermediate flash user, sometimes you can stare at the screen for hours and not see even the simple things.Will try it...mike
mbockwich Guest



Reply With Quote

