Flasher Archive

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


Subject: RE: FLASH: slider
From: Verhaegen Tom
Date: Wed, 24 May 2000 10:48:44 +0100

Hi Helge,

of course it is possible to jump to another frame depending on the Y
position of your mc, just set up a loop wich constantly checks your Y
position (GetProperty("/MyMovie", _y)),in this loop you have jour if()
statement. It should look like this...

----------------------------------------------------------------------------
------------------------------------
first frame of the loop between two frames
------
if (GetProperty("/yourMC", _y)> MaxYPosition)

GoTo and Stop (MyFrame)
end if

-----
second frame of the loop
-----
Go To Previous frame

----------------------------------------------------------------------------
----------------------------------

Maybe it is a good practice to use the Call fonction and to set the
"MyFrame" and "MaxYPosition" as a variable. This variable can change during
the piece but the script and fonction stay the same. In this way you can
jump from frame to frame but still use the same script. Only the values of
the two variables ("MyFrame" and "MaxYPosition") are addapted.


Tom Verhaegen
--
GUI Engineer
tom [dot] verhaegenatcarels [dot] com
--
Carels innovative Software
Derbystraat 33
9051 Ghent
Belgium
--
tel.+32(0)9 222 99 88



-----Original Message-----
From: owneratchinwag [dot] com [owneratchinwag [dot] com]On">mailto:owneratchinwag [dot] com]On Behalf Of helge
stangeland
Sent: Wednesday, May 24, 2000 1:52 AM
To: flasheratchinwag [dot] com
Subject: FLASH: slider


i've made a slider menu that i want to go to differtn keyframes depending on
y position
i cant figure out how to use the information from get property and maybe
make it take fex from y
pos 150-155, to go to one specified keyframe. is there a way to make it snap
into a more exact
position as well?so i can say 'if y position of mc eq 150 go to frame 'x'
any tutorial on this?


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]