This is a pony dress up game for kids. I have included the .fla and .swf versions of the file I need help with. I streamlined the code that needs to be translated down to these lines of code. I think I can finish the rest if you can get the javascript below to work. You can see it in action here: [login to view URL]
Please let me know if you need any more information. - Susan
Here is the code I need translated:
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]);
}