Flasher Archive

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


Subject: Re: FLASH: using a slider in Flash
From: Laura Mollett
Date: Fri, 12 May 2000 01:44:12 +0100

> Hello. I am new to this list. I have a quick question about using a
> slider in Flash. I put together a slider using the Drag Movie Clip Action.
> I want to make images appear and disappear onscreen when the slider is moved
> back and forth. I am not certain how to make this happen. I would
> appreciate any ideas that anyone can offer. Thanks very much in advance.
>
> Mike

Hi Mike,
Welcome to the group. You'd do it something like
Make movie clips of all your images, put them on the stage where you want
them, give them instance names, and set their visibility to 0.
On the slider button instance put an action like:
On (Release)
Set Variable: "currentposition" = GetProperty (_x)
If (position1 < currentposition < position2)
Set Property: "image1" visibility, 1
Else
If (position2 < currentposition < position3)
Set Property: "image2" visibility, 1
[etc. for as many images as you have... ]
End If
End On

Anyway, that'd be one way to do it. Note: not tested, excuse any errors :)
Laura

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]