[Flashcoders] Trouble Updating Frame Position Using onEnterFrame

2005-11-29 Thread kelly snyder
I am using the following code in the root movies to attempt to update the frame position of a child movieclip using the Flash 6 player with Actionscript 1 (compiled on Flash 8): function onEnterFrame() { window.pie.gotoAndStop(x); trace(x + , + window.pie._currentframe); } As I

[Flashcoders] Trouble Updating Frame Position Using onEnterFrame

2005-11-29 Thread kelly snyder
Hans, I can hardly believe it, but #2 worked. Thanks a bunch. Kelly Hi, im not sure what you want to do, but: 1. change the x position: it should be window.pie._x = x; 2. change the current frame for the pie clip: you should use whole numbers and not 54.3 and 87.6, so gotoAndStop