thank you Willem
I tried
var rotate:String = cw;
function rotat(event:MouseEvent):void {
if (rotate== cw) {
rotate = cww;
this.mainmov.scaleY *= -1;
this.mainmov.y = (this.mainmov.stage.stageHeight / 1) -
(this.mainmov.height / 1);
} else if (rotate == cww) {
rotate = cw;
Need help here please
On 6/12/08, Bassam M [EMAIL PROTECTED] wrote:
yes it's
On 6/12/08, Jiri Heitlager [EMAIL PROTECTED] wrote:
Is the center point in the middle?
Jiri
Bassam M wrote:
Hi
I have Video playing in the center of the stage and I'm using button to
filp
it
function
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
Try looking into the transform matrix. I use AS2, not sure if it's the
same in AS3, but with that, you can flip it, and offset it back to its
original position.
- MM
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
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
Is the center point in the middle?
Jiri
Bassam M wrote:
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
yes it's
On 6/12/08, Jiri Heitlager [EMAIL PROTECTED] wrote:
Is the center point in the middle?
Jiri
Bassam M wrote:
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;
}
7 matches
Mail list logo