For an easy ActionScripting Challenge with a holiday theme, here's a little Valentine's time-killer that lets you create a custom candy heart just like the ones handed out in grade school. The scripting is fairly simple, and can be done all in one frame. Your challenge is to take a look at the basic version that I created
, then try making your own without step-by-step instructions other than past tutorials on the methods used to accomplish various parts of it; I'll post the tutorial separately in a week.
Your SWF should include:
- The ability to change the message on the candy heart.
- The ability to change the color of the candy heart.
- Character limits on the input box to prevent overflowing the available text area on the candy heart.
- Text that changes colors to match the candy heart background when the user selects a new color.
Lessons you can use for reference on how to accomplish this are:
For bonus points, you can combine Flash and PHP to create a candy heart e-card that can send your custom message to your friends in a URL. For reference on how to do this, see Dynamic E-Card Using Flash and PHP.
See if you can come up with something like mine, or do ten times better!
Interested in other ActionScripting Challenges?