Copy link to clipboard
Copied
Hi
I would like to know how to create an opening envelope effect after you click on the stamp.
I saw just one tutorial about that but it didn't work and the envelope it wasnt on the front position.
Abs
Here's a link to a CS5 file I made that demos 2 possible ways to approach it using AS3 to animate the flap. One important element of both these approaches is the location of the registration points for the flaps (at the top). The first approach gradually changes the scaleY property of the flap, which would have been an approach to take before CS4 introduced 3 dimensional properties. The second approach gradually changes the rotationX property.
Copy link to clipboard
Copied
What is the tutorial you saw that did not work? What would such an animation look like from the stamp-side of the envelope?
Copy link to clipboard
Copied
Hi
What I would like to is something similar to this card
http://www.bluemountain.com/ecards/holidays/christmas/everyone/card-3132942
Copy link to clipboard
Copied
Here's a link to a CS5 file I made that demos 2 possible ways to approach it using AS3 to animate the flap. One important element of both these approaches is the location of the registration points for the flaps (at the top). The first approach gradually changes the scaleY property of the flap, which would have been an approach to take before CS4 introduced 3 dimensional properties. The second approach gradually changes the rotationX property.
Copy link to clipboard
Copied
Thanks a lot!!
Would you mind to tell what¹s the best place to learn action script through
examples?
As I said I¹m trying to do something similar to that ecard but I¹ve been
trying to find tutorials to help me with that.
Now you help me with the opening envelope but I still have to find how to
trig events such as show decoration, lights on mouse event.
Regards
Patricia
Copy link to clipboard
Copied
The best place to learn Actionscript thru examples is on the machine/software in front of you. Learning is best done by doing. So find yourself some tutorials for a variety of different topics and set into learning how they work by trying them and playing with them. What I did when I started learning AS3 is I decided on something fairly complicated as a project and pursued it step by step. You might find it easier to start small if you have no coding experience.
There are numerous resources for tutorials, so it's up to you to decide what you want to learn. You can try a site like lynda.com or a couple of other good resources are...
The Adobe TV website - video based learning material: http://tv.adobe.com/product/flash/
Lee Brimelow's site http://www.gotoandlearn.com/ is great for video tutorials
One of the easiest ways to find anything that is related to Actionscript tutorials is to use a complete set of terms when searching Google. Including terms like "AS3 subject matter tutorial" will often produce what you need to find.
Copy link to clipboard
Copied
Hi Ned
One more question still in regards of the opening envelope. If I want to set
the envelope on the top the flap how do I hide it after opening the
envelope.
Then push a paper¹ increasing it to show the nest scene.
Regards
Patty
Copy link to clipboard
Copied
One way to change the layering of objects is to use addChild(). So if you wanted the card inside the envelope that is originally beneath the flap to appear atop the flap as it is slid out after the flap opens, you could use addChild(card) just after the flap is opened, where card is whatever instance name you assign to the card instance. (you'd deal similarly with the lower part of the envelope)
Find more inspiration, events, and resources on the new Adobe Community
Explore Now