I need this ActionScript 3 code converted to JavaScript in order to make a Flash/Animate CC game work on mobile devices. Game can be seen here: [login to view URL] var myWindowArray = [TackRoom1, PoniesWall1]; function hideAllWindows() { for each (var window in myWindowArray) { window.x=960; } } [login to view URL]([login to view URL], showPonies1); [login to view URL]([login to view URL], showSaddles1); function showPonies1 (event:MouseEvent):void { hideAllWindows(); PoniesWall1.x = 529; } function showSaddles1 (event:MouseEvent):void { hideAllWindows(); TackRoom1.x = 700; } var myFaceMarkingsArray = [DefaultFaceMarkingLabel, StripLabel, BlazeLabel, BaldFaceLabel]; for each (var facemarkings in myFaceMarkingsArray) { [login to view URL]([login to view URL], onFaceMarkingsClick); [login to view URL] = true; } function onFaceMarkingsClick (event:MouseEvent):void { MovieClip(parent).[login to view URL]([login to view URL]); }
Hi, I can convert your flash game to javascript exactly the same as you have right now.
Relevant Skills and Experience
ActionScript & Javascript
Proposed Milestones
$277 USD - Start
Do you have the sources of the previous flash game?