Quick guide to Director Digital Video Commands Note: in the member information inspector you can set these properties loop, paused at start, crop/scale Direct to State (DTS) - for sake of speed director can bypass all the sprites and put video straight on stage, but then all the sprite manipulation features will not work - uncheck dts Speed - stop - go speed ( 1 = forward 0= stop -1= backwards 2= double speed etc) sprite(2).movierate = 1 Location in the video (measured in ticks - 60th/s of second) sprite(2).movietime = 200 Total duration (note it is for member not sprite) d = member("movie1").duration Volume of sound (0-255 ) sprite(2).volume = 120 General sprite qualties Transparency (0 to 100%) sprite(2).blend = 70 size (scale must be chosen in member inspector - not crop) (uses directors rectangle feature) for example rect (20,30,220,330) 20,30 are coordinates of upper left corner 220,330 are coordinates of lower right corner sprite(2).rect = rect (20,20,260,200) sprite(2).rect = rect(20,20,340,260) loop (true or false) member("movie1").loop = true loop range (play between movietime 200 and 400) sprite(2).loopBounds = [200,400] ================ quick examples to show how to use=== convert mouse motion to speed (assmume whole screen of 640 pixels width - put this as routine on movie script level) call it via frame script for every frame on exitFrame mousemoviespeed end assume we want to convert the mouse postion into speeds from 0 to 5 on mousemoviespeed x = the mouseH -- real mouselocation ranges from 0 to 640 -- but we want to get scaled speed not higher than 5 -- if we divide the mouseloc by 120 that will get close -- for example at outer range 640/120 = 5.2 approx newx = x/120 sprite(2).movierate = newx end The routine could get + and - values by subtracting the middle cooridnate newx = (x - 320)/120 thus if it were at position 320 it would get 0 (320-320)/120 if it wre at postion 200 it would get -1 (200-320)/120 = -120/120