This text is replaced by the site logo. If not, try enabling javascript.
Advertise
|
About us
|
Site map
|
Syndicate
|
Search site
|
Mailing list
|
View Authors
|
Become an Author
Home
Tutorials
Forums
Articles
Blogs
Movies
Library
Employment
Press
ActionScript.org Forums
>
Extensions and Plugins
>
JSFL - Extending Flash
finding the rotation?
User Name
Remember Me?
Password
Register
FAQ
Members List
Social Groups
Calendar
Search
Today's Posts
Mark Forums Read
Thread Tools
Rate Thread
Display Modes
02-01-2006, 11:35 PM
#
1
juworld
Registered User
Join Date: Mar 2005
Posts: 44
finding the rotation?
I am trying to find rotation to an element object. I found rotation attributes for text object but it only returns true or false. Is there any way I can find the numeric representation of rotation?
Thanks in advance
Justin
juworld
View Public Profile
Find More Posts by juworld
02-02-2006, 06:09 PM
#
2
hangalot
lala
Join Date: Feb 2002
Location: on the road
Posts: 2,858
i would imagine its in the matrix object associated with that shape
__________________
oi poloi
http://www.memorphic.com/news/
hangalot
View Public Profile
Find More Posts by hangalot
02-03-2006, 06:26 PM
#
3
juworld
Registered User
Join Date: Mar 2005
Posts: 44
Hey, thanks for replying!
I've been looking into the text object and I can't figure out how to get the Matrix Object from the Text Object.
Please advise,
Thanks,
Justin
juworld
View Public Profile
Find More Posts by juworld
02-03-2006, 11:47 PM
#
4
juworld
Registered User
Join Date: Mar 2005
Posts: 44
K, i figured it out!
I guess text object is also an element object. So you can get the matrix by simply calling textObj.matrix.
Once you got the matrix, you can figure out the rotation.
var rotationInDegree = (Math.acos(mat.a) * 180 / Math.PI)
Justin
juworld
View Public Profile
Find More Posts by juworld
02-04-2006, 02:41 PM
#
5
hangalot
lala
Join Date: Feb 2002
Location: on the road
Posts: 2,858
yeah it extends element
__________________
oi poloi
http://www.memorphic.com/news/
hangalot
View Public Profile
Find More Posts by hangalot
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Rate This Thread
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Rate This Thread
:
5 : Excellent
4 : Good
3 : Average
2 : Bad
1 : Terrible
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 Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
ActionScript Forums Group
ActionScript 3.0
ActionScript 2.0
ActionScript 1.0 (and below)
Simple Stuff (Newbies)
Flash General Questions
Flash 10 General Questions
Flash 9 General Questions
Flash 8 General Questions
Other Flash General Questions
Flex
Flex 2, 3 & 4
Flex 1
Extensions and Plugins
Components
JSFL - Extending Flash
Desktop, Mobile and non-browser Environments
AIR (Apollo)
FlashLite / Portable Devices Development
Projectors and CDs
Supporting Technologies
HTML and JavaScript
haXe
Server-Side Scripting
Flash Remoting
Flash Media Server
General
Best Practices
Gaming and Game Development
Animation and Effects
Flashants Support Forum
Community Boards
General Chat
Just for Kicks Challenges
Detention
Flash In Action
Site Check
Cool Sites
Widgets
Decommissioned
Projects and Positions
CMS Forums
Announcements Board
Content Postings / Updates
Product Review Requests
CMS Technical Questions
Process Questions
Collaboration & Suggested Articles
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
object rotation with mouse movement
paolino
ActionScript 2.0
6
11-21-2008
01:42 PM
Hour hand movement based on senocular code
voltron
ActionScript 1.0 (and below)
5
06-23-2005
01:16 PM
Sync Rotation with Sound Clip
Meista101
ActionScript 2.0
1
09-29-2004
12:52 PM
3 d rotation
SeanPaul72
ActionScript 1.0 (and below)
6
02-18-2003
12:40 AM
help with rotation image....Please....
boyzdynasty
ActionScript 1.0 (and below)
2
12-21-2002
05:02 AM
All times are GMT. The time now is
10:41 AM
.
///
Categories
Tutorials
Flash
Flex
Articles
Best Practices
Product Reviews
Third Party
Press Releases
The Community
Featured Jobs
Technical Flash Artist
MADISON, USA
iPhone/iPad Developer - CREATIVE CIRCLE
Philadelphia, USA
UX DESIGNER - CREATIVE CIRCLE
Philadelphia, USA
- More ActionScript, Flash and Flex jobs in the Employment Section.
- Advertise a job for free
Contact Us
-
Home Page
-
Archive
-
Privacy Statement
-
Top
Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Ad Management plugin by
RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our
Privacy Policy and Terms of Use
.