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 change the variable x, the output reads something like "54.3,30" "87.6,30". The code is running, but the movieclip position is not changing. The code works fine when I run it at initialization, the problem seems to be associated with my use of it within the onEnterFrame function. What am I doing wrong? Any suggestions?

Kelly

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to