View Single Post
  #1 (permalink)  
Old Aug 3rd, 2007, 00:13
designedmemory designedmemory is offline
New Member
Join Date: Aug 2007
Location: new york city
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
updating old actionscript for flash8 and dot syntax

hey guys,
i need some help updating some old action script, i cant seem to get it to work.

Its in old slash syntax and im trying to bring it over to dot, but i keep getting errors.

heres the code below, any help would be greatly appreciated!!!


on my slider bar :
/:value = (marker:_x/(_width-marker:_width))*580;

on the second keyframe
prevFrame();
play();


inside my scrolling MC
left = _x-_width/2;
right = Number(_x)+Number(_width/2);
friction = "0.9";

set("new", /:value);
speed = eval("new")-old;
old = eval("new");
setProperty("", _x, Number(_x)+Number((speed*/:factor)));

prevFrame();
play();
Reply With Quote