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";
  this.mainmov.scaleY *= -1;
  this.mainmov.y = (this.mainmov.stage.stageHeight / 2) -
(this.mainmov.height / 2);
 }
}
ro.addEventListener(MouseEvent.CLICK, rotat);

I change the movie clip name to   this.mainmov
but the problem if I change the movie size of make it full screen it will
change the potion
is there anyway to flip it in same postion

Bassam


On 6/13/08, Geografiek <[EMAIL PROTECTED]> wrote:
>
> 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
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to