Ask a Question related to Macromedia Director Basics, Design and Development.
-
cfinn #1
Image change according to slider values?
I'm trying to create a simple interface where a tempersture is vaired, and a
picture changes according to this. Ideally, what i'd like is to be able to
point a pointer or slider up or down a thermometer (image), and the image of a
character changes (shivering, comforatble, sweating) at different temperatures.
Is there any simple way to achieve this? I think it would be best implemented
using Lingo, but i have very little experience of using it, and was wondering
if there was any easier way?
Many Thanks,
~Clare
cfinn Guest
-
Image Slider
I was wondering if it was possible to create a slider for my image annotation...I found that movie annotations contain an entry for controlling the... -
Swatch values to slider menu?
When I color an object with a swatch from Iibrary I created, the CMYK coordinates do not appear in the sliders of the Color menu. Is there an option... -
Video Slider Change Color
I would like to have a video slider that changes color. What I mean, is that I want the slider to slide along for instance a white rectangle. Once... -
How do I make an image slider?
Hi, I was wondering if anyone has come across a flash mx component (free), tutorial or source file for an "image slider" type tool. I stumbled on... -
Slider Nav and Image Gallery
There must be a way to do this... I seem to be able to do one or the other, but not be able to combine both. The Goal: I want to have a slider at... -
JB #2
Re: Image change according to slider values?
The easiest way to do it is to spread the cooling image sequence over a
range of frames as a simple animation sequence, even the thermometer
change can be pre animated.
Then have a score script spread over theses frames to hold the frame
on exitFrame
go to the frame
end
and a simple behavior script in a fixed slider rectangle, say ther are
100 frames and the thermometer range is 200 pixels.
on mouseDown me
repeat while stillDown()
mouseOffset = min(sprite(me.spriteNum).height, max(0, the mouseV -
sprite(me.spriteNum).bottom)) -- this is the end of a wrapped line
go to frame label("tempStart") + mouseOffset * 2
updateStage
end repeat
end
-- unwrap that one line the news program word wrapped.
-- tempStart is a score marker at the start of the sequence
Without a lingo intensive approach it's tough to have simultanious
animations. This temperature thing could saved as a self contained
movie that would then be imported into a bigger movie as a linked
external movie, allowing it to play inside other score aniumation.
JB Guest



Reply With Quote

