Flasher Archive

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


Subject: Re: FLASH: Changing Color via ActionScript
From: Nathan Dicken
Date: Mon, 28 Feb 2000 19:39:37 GMT

Hi Mike,

Here's one way that you could do this... When the mouse is dragging the
slider, monitor the difference between it's current position and it's
start/original position. Have the object that you want to change color
inside a movie clip with a specific tint or new symbol on each frame.
You'd have to figure out the relationship between the distance your slider
is allowed to move and how many frames you have in your color controller
movie clip. Then, as the slider moves, cycle the color controller through
specific frames. Just monitor the color controller movie clip's frame
using the "_currentFrame" property.

hth,
Nathan

-----------------
Nathan Dicken
Fusionary Media



>Hello,
>
> I want to create a slider to allow the user to set the Red, Green, Blue
>values on an object and have it be updated as they drag the slider in real
>time. I know how to get the slider functioning, it is changing the color
>that I am having the trouble with.
>
>Thanks,
>
>Mike Weiland
>-------------------------------------------------
>Wasatch Interactive Learning
>5250 S. Commerce Drive
>Salt Lake City, UT 84107
>mikeatwasatchnet [dot] com www.wasatchnet.com
> www.CertificateCreator.com
>
>
>
>flasher is generously supported by...
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> flashforward2000 and The Flash Film Festival
> "The World’s Premier Flash Solutions Conference and Expo"
> March 27-29, Nob Hill Masonic Center, San Francisco, California
>
>-Register before Feb 25 and save $200!!-- www.flashforward2000.com
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>To unsubscribe or change your list settings go to
>http://www.chinwag.com/flasher or email helpatchinwag [dot] com



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World’s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California

-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: FlashZone.org *vs.* flashzone.com, unique
  FLASH: Changing Color via ActionScript, Mike Weiland

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