Hi Bassam,
How about:
function filp(event:MouseEvent):void {
mySampleMC.scaleY *= -1;
mySampleMC.y = mySampleMC.y - mySampleMC.height;
}
Willem
Op 12-jun-2008, om 14:44 heeft Bassam M het volgende geschreven:
Hi
I have Video playing in the center of the stage and I'm using
button to filp
it
function filp(event:MouseEvent):void {
mySampleMC.scaleY *= -1;
}
mySampleMC.addEventListener(MouseEvent.CLICK, flip);
but the problem when I flip it change Y postion and go up ,
I wnat to flip it and keep it in same postion
Help please
Thanks
Bassam
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
Geografiek is a Dutch, Utrecht-based map and chart design company.
Willem van den Goorbergh can be contacted by telephone: (+31)
30-2719512 or cell phone: (+31)6-26372378
or by fax: (+31)302719687
snail mail: Hooghiemstraplein 89 3514 AX UTRECHT
Visit our website at: http://www.geografiek.nl
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders