Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 5th, 2006, 09:27 AM
redd38 redd38 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: College Station, TX
Posts: 97 redd38 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 18 m 16 sec
Reputation Power: 11
Send a message via AIM to redd38
Movieclip distortion/transformation

If I have a movieclip is there anyway to set the location of it's four corners dynamically in such a way that will distort the original shape of the clip? Specifically changing a rectangular clip from: |___| to: \___/

Reply With Quote
  #2  
Old May 5th, 2006, 10:35 AM
b3n's Avatar
b3n b3n is offline
Prisoner of the Sun
Dev Shed God (5000 - 5499 posts)
 
Join Date: Jul 2004
Location: The Mews At Windsor Heights
Posts: 5,309 b3n User rank is General 21st Grade (Above 100000 Reputation Level)b3n User rank is General 21st Grade (Above 100000 Reputation Level)b3n User rank is General 21st Grade (Above 100000 Reputation Level)b3n User rank is General 21st Grade (Above 100000 Reputation Level)b3n User rank is General 21st Grade (Above 100000 Reputation Level)b3n User rank is General 21st Grade (Above 100000 Reputation Level)b3n User rank is General 21st Grade (Above 100000 Reputation Level)b3n User rank is General 21st Grade (Above 100000 Reputation Level)b3n User rank is General 21st Grade (Above 100000 Reputation Level)b3n User rank is General 21st Grade (Above 100000 Reputation Level)b3n User rank is General 21st Grade (Above 100000 Reputation Level)b3n User rank is General 21st Grade (Above 100000 Reputation Level)b3n User rank is General 21st Grade (Above 100000 Reputation Level)b3n User rank is General 21st Grade (Above 100000 Reputation Level)b3n User rank is General 21st Grade (Above 100000 Reputation Level)b3n User rank is General 21st Grade (Above 100000 Reputation Level) 
Time spent in forums: 2 Months 2 Weeks 4 Days 8 h 2 m 23 sec
Reputation Power: 2349
Facebook Orkut
Hmm I don't think so.

If you are using Flash 8, then have a look in the Help at the Transform object. That might be able to do it somehow - but it looks complicated.
__________________
.
:: My blip.fm tunes :: Web Design Feeds :: Web Dev Feeds :: CheatSheets :: PHP :: MySQL :: 13 Moon FB App.

"All matter is merely energy condensed to a slow vibration. We are all one consciousness experiencing itself - subjectively. There is no such thing as death, life is only a dream. We are the imaginations of ourselves."
- Bill Hicks


"Truth is hidden in the subtle nature of the heart of everything, although it is invisible. One cannot see it from inside and neither from the surface. One can only live and experience it."
- Heart Sutra

Reply With Quote
  #3  
Old May 5th, 2006, 03:44 PM
Tann San Tann San is offline
Gotta get to the next screen..
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Nov 2003
Location: Legion of Dynamic Discord
Posts: 6,663 Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)  Folding Points: 14767 Folding Title: Novice Folder
Time spent in forums: 1 Month 1 Week 3 Days 20 h 10 m
Reputation Power: 3163
Facebook MySpace
Howdy, skewing with Flash 8 is shown here hmmmm i just tried that out and without some modifications it wont do the particular skew your after. Thats more of a perspective skew. Found this perspective skew example although it looks like it might be overkill. Theres this kickass Transformation tutorial on Senoculars site which might help you get your head around things. I used to use this prototype for skewing clips in Flash MX, you could always use that still but it just seems a pity to not use the new Flash 8 features. Doing a google around seems to have tons of people pointing at the second link i posted.
__________________
Quis custodiet ipsos custodes?

Reply With Quote
  #4  
Old May 5th, 2006, 04:09 PM
shadow89's Avatar
shadow89 shadow89 is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2005
Posts: 538 shadow89 User rank is Corporal (100 - 500 Reputation Level)shadow89 User rank is Corporal (100 - 500 Reputation Level)shadow89 User rank is Corporal (100 - 500 Reputation Level)shadow89 User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 5 Days 27 m 36 sec
Reputation Power: 10
Wow that Senocular tutorial is amazing o.o, it looks quite easy now o.O (if you get how to use the matrices that is :P)
__________________

why "i++;" ? is better to evaluate first then add
MSTDump,Just Dump iT!

Reply With Quote
  #5  
Old May 8th, 2006, 10:18 AM
redd38 redd38 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: College Station, TX
Posts: 97 redd38 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 18 m 16 sec
Reputation Power: 11
Send a message via AIM to redd38
I need to change the perspective, not the skew which is what I think all those links do. Also I'm on MX 2004, not Flash 8. So I'm thinking it's not possible.

Reply With Quote
  #6  
Old May 9th, 2006, 03:01 PM
Tann San Tann San is offline
Gotta get to the next screen..
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Nov 2003
Location: Legion of Dynamic Discord
Posts: 6,663 Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)  Folding Points: 14767 Folding Title: Novice Folder
Time spent in forums: 1 Month 1 Week 3 Days 20 h 10 m
Reputation Power: 3163
Facebook MySpace
yer im sorry, i looked around and tried various things out during the day but couldnt get it setup the way your after. its really strange though, i was sure it could be done and that i had it happen when i was after skewing. i guess i must be confused since it seems no one has achieved this.

no you what, screw it, im going to take another stab at it tomorrow. i have this hunch i can jimmy rig Senoculars prototype to do the angle your after. maybe it will, maybe it wont, let you know tomorrow evening :¬)

Reply With Quote
  #7  
Old May 10th, 2006, 06:30 PM
Tann San Tann San is offline
Gotta get to the next screen..
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Nov 2003
Location: Legion of Dynamic Discord
Posts: 6,663 Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)  Folding Points: 14767 Folding Title: Novice Folder
Time spent in forums: 1 Month 1 Week 3 Days 20 h 10 m
Reputation Power: 3163
Facebook MySpace
so i went back to muddling over which past project I had where I was trying to get the same kind of effect and eventually i remembered. it wasnt even that long ago as it was a rotating christmas card project. the client wanted to have dynamically loaded images on one side of the card and a still color on the other.

I got stumped when trying to just skew a movieclip so I went for a pseudo 3d system which I partially five fingered from the Flash page of ericlin. Scroll down there a bit and check out the "perspective cube Flash MX" under the Flash 3D header.

squash a cube down and it becomes a card which is the mentality I went at it with and it worked quite well. Each side of the cube/card is a seperate movie clip so one of them can contain your image. then to give it the perspective skew your after just rotate the cube slightly. once its setup its really nice as you can tween animate it and link it to the mouse.

Reply With Quote
  #8  
Old May 10th, 2006, 07:13 PM
redd38 redd38 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: College Station, TX
Posts: 97 redd38 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 18 m 16 sec
Reputation Power: 11
Send a message via AIM to redd38
Thanks for trying so hard, but even that ericlin tutorial is just using the drawing api to achieve the effect. What I wanted was to be able to achive the effect on a whole movieclip.

What I want is a rotating cube with text on each face of the cube. So I need more than just a cube's face drawn, I need to attach a movieclip to it that contains my text field that is also being distorted with the cube face.

Reply With Quote
  #9  
Old May 11th, 2006, 06:57 AM
Tann San Tann San is offline
Gotta get to the next screen..
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Nov 2003
Location: Legion of Dynamic Discord
Posts: 6,663 Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)  Folding Points: 14767 Folding Title: Novice Folder
Time spent in forums: 1 Month 1 Week 3 Days 20 h 10 m
Reputation Power: 3163
Facebook MySpace
hehe oops my bad. when I saw that site I was like "oooo thats how i did it" but it wasnt, it was a bit of a variation of that by the same person here. Looking at their tutorial demo again though; im not sure if even that does the perspective skew your after, maybe if you play with the code a bit you can jimmy rig something out of it :¬)

Reply With Quote
  #10  
Old May 11th, 2006, 09:45 AM
redd38 redd38 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: College Station, TX
Posts: 97 redd38 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 18 m 16 sec
Reputation Power: 11
Send a message via AIM to redd38
That's it man, thanks a lot! Now I just have to figure out how to adapt it for my use.

Reply With Quote
  #11  
Old May 11th, 2006, 01:04 PM
redd38 redd38 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: College Station, TX
Posts: 97 redd38 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 18 m 16 sec
Reputation Power: 11
Send a message via AIM to redd38
Running into more problems. I added a static text box to one of the movieclips that make up a face of the cube and when I tested the movie it worked perfectly!

When I changed that static text box to a dynamic text box, however, it didn't display the message in my box.

I don't think I know enough about what the script is doing to find out if I'm doing something wrong. But does anyone have any suggestions?

Reply With Quote
  #12  
Old May 11th, 2006, 01:07 PM
Tann San Tann San is offline
Gotta get to the next screen..
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Nov 2003
Location: Legion of Dynamic Discord
Posts: 6,663 Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)  Folding Points: 14767 Folding Title: Novice Folder
Time spent in forums: 1 Month 1 Week 3 Days 20 h 10 m
Reputation Power: 3163
Facebook MySpace
try embedding the font :¬)

Reply With Quote
  #13  
Old May 11th, 2006, 06:35 PM
redd38 redd38 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: College Station, TX
Posts: 97 redd38 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 18 m 16 sec
Reputation Power: 11
Send a message via AIM to redd38
I don't think that's it, cause if I add the movie clip just normally to the stage (not attached to the cube) then it displays the text fine.

Reply With Quote
  #14  
Old May 12th, 2006, 04:05 AM
Tann San Tann San is offline
Gotta get to the next screen..
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Nov 2003
Location: Legion of Dynamic Discord
Posts: 6,663 Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)  Folding Points: 14767 Folding Title: Novice Folder
Time spent in forums: 1 Month 1 Week 3 Days 20 h 10 m
Reputation Power: 3163
Facebook MySpace
but when you try doing anything funky with a dynamic text field and the text isnt embedded then it wont work, did you at try it?

Reply With Quote
  #15  
Old May 12th, 2006, 10:11 AM
redd38 redd38 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: College Station, TX
Posts: 97 redd38 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 18 m 16 sec
Reputation Power: 11
Send a message via AIM to redd38
Ok, Tann... I'm sorry, I'll never doubt you again It worked. Thanks again for all your help.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > Movieclip distortion/transformation

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap