Flasher Archive

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


Subject: Re: FLASH: Variables : What am I doing wrong
From: Cheri Harder
Date: Thu, 25 May 2000 22:20:19 +0100

Hi, Steve

I didn't analyze your whole script, but did notice the following problem:

In your "go to and play" actions you are referring to the variable as a
string literal each time, instead of as the value of the variable

example: Go to and Play ("MaxUp")

should be without the quotes around the MaxUp or the playhead will try to go
to a frame labelled MaxUp instead of to a frame labelled with the value of
the MaxUp variable.

HTH

~~~~Cheri Harder~~~~~
charderatawsolution [dot] com
Advantage Web Solution
www.awsolution.com

----- Original Message -----
From: "Steve Mendizabal" <steveatfuse-media [dot] com>

> On (Roll Over)
> Set Variable: "who" = "about"
> Set Variable: "move" = "go"
> End On
> On (Roll Out)
> Set Variable: "who" = "about"
> Set Variable: "move" = "stop"
> End On
>
> I then have 2 controller movies that have the following:
>
> frame 2:
> If (/:move eq "go")
> Go to and Play ("who")
> Else
> Go to and Play (_currentframe -1)
> End If
>
> So you roll over the button *poof* the move var get set to go. On to
> frame 10 which has this:
>
> If (/:who eq "about")
> Set Variable: "MaxUp" = "295"
> Go to and Play ("MaxUp")
> Else
> Set Variable: "MaxDown" = "320"
> Go to and Play ("maxDown")
> End If
> .........



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
World Animation Celebration - Big Internet Animation Pow Wow Discount Offer

Register before May 25 mention flasher and save 25%!! www.wacfest.com

Be discovered, get a job or have your web series picked up. A big talent search for Shockwave
and Flash animators is happening May 30-June 4 in Hollywood. Featuring Rob Burgess, Matt
Groening, Brad Bird and more. www.wacfest.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: Variables : What am I doing wrong, Steve Mendizabal

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