Hi:

I am embedding a movieclip into one of my classes using this method:
[Embed(source='/sprites.swf', symbol='PlayerSprite')]
private var PlayerSprite:Class;


I need to use gotoAndStop to reflect a state change... e.g.:
if(_isMoving){
    mc.gotoAndStop("walk_"+angle);
}else{
    mc.gotoAndStop("idle_"+angle);
}


The script works but it causes both IE and FireFox to crash completly at random times when gotoAndStop is executed.

Has anybody else experienced this?

Regards:


John __._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to