floating point math instead of integer math. Easy - just add .0!
- Tab
At 02:08 PM 7/23/01 -0400, Jason Whiting wrote:
>Hopefully somone can help me with this one. I am working on a movie slider.
>Here's the code to move the slider durring playback.
>
>
> ctime = sprite(2)
Thanks for the link. Here's what i did to solve the problem. all works well
now and thanks again.
-Jason
ctime = sprite(2).currenttime
-- 8 is the video sprite #
floatPrecision = 10
-- allow floating numbers to use 10 decimal places
cdur = float(sprite(2).duration)
Hopefully somone can help me with this one. I am working on a movie slider.
Here's the code to move the slider durring playback.
ctime = sprite(2).currenttime
-- 2 is the video sprite
-- ctime is the current time code in ms
cpart = ctime * (1/sprite(2).duration)
-- cpart
aving director
send a play command to the flash movie but that didn't help at all. Like I
said the director show works fine on every other machine, so I'm a bit
stump'd. Anyone run into this? Bug? Thanks.
-Jason Whiting
[To remove yourself from this list, or to change to dig