Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > General > Animation and Effects

Reply
 
Thread Tools Rate Thread Display Modes
Old 03-27-2001, 10:29 AM   #1
Liquid
Registered User
 
Join Date: Mar 2001
Posts: 166
Default

Hey all,
Can someone tell me how to flip an object horizontally or vertically instead of having it rotate clockwise or CCW... thanks
Liquid is offline   Reply With Quote
Old 03-27-2001, 10:40 AM   #2
Jesse
Administrator
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,612
Default

A neat trick posted a by a user is:

_root.object._xscale = -1;

Cheers

Jesse
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder
Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Old 03-27-2001, 10:48 AM   #3
Liquid
Registered User
 
Join Date: Mar 2001
Posts: 166
Default _root.object._xscale = -1; ?

Jesse,

Do you have a link for the original post for that expression... I'm not sure if I'm placing it in the wrong parameter because it isn't working.. I'm doing something wrong, but just don't know what it is heh..
Liquid is offline   Reply With Quote
Old 03-27-2001, 11:46 AM   #4
Jesse
Administrator
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,612
Default

That could be because I wront the wrong code (left out the * )

try:

_root.object._xscale *= -1;

Cheers

Jesse
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder
Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Database simulated with arrays on a cd-rom lecasn5 Components 61 09-07-2004 12:40 PM
PIXELWIT flipping page book changes happyjime ActionScript 2.0 4 08-14-2004 01:09 PM
enterframe and load and objects, oh my! dice ActionScript 1.0 (and below) 13 07-18-2003 12:07 PM


All times are GMT. The time now is 01:45 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.