Skip to main content
Participant
November 6, 2012
Question

Making an movieclip/jpeg 3D in AS2?

  • November 6, 2012
  • 1 reply
  • 704 views

Hello!

I am making an flash advent callender, with 24 small "doors/wickets" in AS2...

The callender is made of a big background-image, and the doors beeing movieclips containing sections of the image.. I guess, you know what I mean.. 🙂

The thing is, that I want an 3D-effect" on the small images, when they open up after being activated.

I'm aware that the build-in 3D engine does not support AS2. Further more, am I not able to animate a jpeg to look like it is in perspective... (I cant grap a single corner, and manipulate it, like plain vector-graphics...)

My question is now, are there any other way to manipulate the jpeg's, so they looks like being in perspective/3D? 🙂

Thank you so much..

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
November 6, 2012

you can use a 3d library like papervision 3d.  or use 4-corner transformations with some other library like distordimage (sic).

CvdMarkAuthor
Participant
November 6, 2012

Thank you for your reply!

I have tried looking into papervision 3D... To be honest, is seems very complicated to use, maybe too complicated! :/

I cant really find anything regarding the distordimage "pluginn" you mention?

How does it work? (What is it really?) :)

I thought there would be some sort of simple solution to my problem... :P

kglad
Community Expert
Community Expert
November 7, 2012

distordimage allows you to control the 4 corners of any rectangular movieclip which allows you to mimic a 2d object moving in 3d space:

http://www.flashsandy.org/blog/distordimage-the-way-to-distord-bitmaps-by-code.html

p.s. please mark helpful/correct responses.