Flasher Archive

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


Subject: FLASH: Variables Comparison, Coding and Method shite
From: Steve Mendizabal
Date: Thu, 25 May 2000 15:32:29 +0100

check it peeps

I'm doing this.

I have a mc on the mainTimeline that checks to see what button the
mouse rollsover
now the movies go up or down according to the name of the button.
LIke aboutUs. Rollover the aboutUs button and this happens:

On (Roll Over)
Set Variable: "who" = "about"
Set Variable: "move" = "go"
End On
On (Roll Out)
Set Variable: "who" = "nothing"
Set Variable: "move" = "stop"
End On

now all the button pick up the go variable:

If (/:move eq "go")
Go to and Play ("who")
Else
Go to and Play (_currentframe -1)
End If

and then according to what variable was passed proceed:

If (/:who eq "about")
Go to and Play ("maxUp")
Set Variable: "maxUp" = "295"
Else
Go to and Play ("maxDown")
Set Variable: "maxDown" = "320"
End If

so that if it aint you move down. Now since this is aboutUs it goes on:

Set Variable: "aboutOrigY" = GetProperty ( "../about", _y)
Set Variable: "aboutyPos" = GetProperty ("../about", _y)

and then on to do it's business. Now the question I have is can I
send the MC path as a variable and have all the GetPropertys and set
Propertys respond to the variable just as if I had manually placed
them there?

And someone please let me knoe if I'm going about this the right way.
I know what i'm doing, I just don't know if I'm "coding" in the right
manner or approaching the way I think about coding is the most
effecient.

Whew. Thanks a bunch flashHeadListFlasherBuddies
--
s t e v e | f u s e m e d i a
m e n d i z a b a l | s t u f f t h a t d o e s s t u f f

4 0 4 . 5 2 3 . 6 7 0 0

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


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