Flasher Archive

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


Subject: Re: FLASH: Load Movie question
From: John Croteau
Date: Thu, 4 Nov 1999 06:23:33 GMT

Hi Fabienne,

> I have a movie, let's call it movie1
> I have a button with 2 conditional actions:
> if (a<20)
> Go to Next Scene
> if (a>40)
> Load Movie ("movie2.swf", 1)
> End If
> End If
The above has a nested if statement inside of an if statement.
So a>40 will be activated when a<20 which of course will never happen.

Try something like:

if (a<20)
Go to Next Scene
End if
if (a>40)
Load Movie ("movie2.swf", 1)
End If

or

If (a < 20)
Go to Next Scene
Else If (a > 40)
Load Movie ("movie2.swf", 1)
End If

BTW, I would suggest not using scenes.

--
Coming Soon Flash 4 Web Animation F/X and Design
http://www.amazon.com/exec/obidos/ASIN/1576105555/flashcentral
----------- -----------------------
John Croteau croteauaterols [dot] com (mailto:croteauaterols [dot] com)
------------- -------------------------
FlashTek (Advanced Websites with Flash) http://www.FlashTek.com/
Flash Bible (Fast track to good Flash) http://www.FlashBible.com/
Flash Central(The Universe Starts Here) http://www.FlashCentral.com/
The Flash Tech Resource (Tech Notes) http://www.FlashCentral.com/tech/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  RE: FLASH: Load Movie question, Fabienne Hadkova

Replies
  FLASH: Load Movie question, Fabienne Hadkova

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