Report this | Email | Print
function MRight(e:MouseEvent):void
{
if (e.target.name == "Ach1")
{
if (!Movement1)
{
TweenMax.to(e.target, .50, {x:-75, onComplete:function(){Movement1 = false;}});
Movement1 = true;
return void;
}
}
if (e.target.name == "Ach2")
{
if (!Movement2)
{
TweenMax.to(e.target, .50, {x:-75, onComplete:function(){Movement2 = false;}});
Movement2 = true;
return void;
}
}
if (e.target.name == "Ach2")
{
if (!Movement3)
{
TweenMax.to(e.target, .50, {x:-75, onComplete:function(){Movement3 = false;}});
Movement3 = true;
return void;
}
}
}

function MLeft(e:MouseEvent):void
{
if (e.target.name == "Ach1")
{
if (!Movement1)
{
TweenMax.to(e.target, .50, {x:-465, onComplete:function(){Movement1 = false;}});
Movement1 = true;
return void;
}
}

if (e.target.name == "Ach2")
{
if (!Movement2)
{
TweenMax.to(e.target, .50, {x:-465, onComplete:function(){Movement2 = false;}});
Movement2 = true;
return void;
}
}

if (e.target.name == "Ach3")
{
if (!Movement3)
{
TweenMax.to(e.target, .50, {x:-465, onComplete:function(){Movement3 = false;}});
Movement3 = true;
return void;
}
}
}
Views - Today : 662 Total : 662