First Time! I have read many of the tutorials on this site and have been helped tremendously by them. I am currently creating a virtual art exhibit for my high school. This will be my fourth or fifth. (http://www.landstownhs.vbschools.com/fineart) This is what I would like to do: Imagine a room in a gallery with paintings on the wall. The paintings are too far away to see very well. When a user clicks (or is on mouseover or on rollover better?) on a painting (MC or button?), the painting zooms out towards the user and into view (or, the the movie zooms in on the painting.) Once the user is finished viewing the piece, another click sends the painting back to it’s original place on the wall. The idea seems simple, and there are certainly easier ways to do this. I could simply open a new window with a larger version of the painting when a painting is clicked, but that is boring. I am relatively new to actionscript (although I have read hundreds of tutorials in the passed few months) and would appreciate any help anyone may offer.
Sorry, the URL is http://www.landstownhs.vbcps.k12.va.us/fineart.htm
Sorry, just getting the hang of this. I’m using Flash MX.
:asian: Allright check this out…
Here are some ideas for your art exhibit idea and how to integrate them:
- Make each painting a button. Then… In the button actions menu. Do tests to see if the button was rolledover or clicked. Simple on statements. If the button was rolled over. Create an outline effect around it to make the user know that he has an object to see… Then if the user clicks on it… Go to a frame and play an animation of the user walking towards the painting… Just making it consecutively larger each frame making it appear as if you were coming in closer to the piece.
Basically that was the only idea I had. If you wnat to implement that… Basically… Just use mouseover and clicks effects presented in the tutorials… I’d give you them… But I totally forget em off the top of my head… lol I’ll give you an algorithm instead
:: Warning - Not Real Code ::
On (mouse click on painting)
{
if (painting view variable is false)
{
go to and play the frame that hold this painting animation;
set painting view variable to true;
}
else
{
go back to art exhibit and play or stop frame;
}
}
I hope this helped…
Peace Out,
Marz <:}
Thank you. Sounds like a plan. I intend to create the interface (movie) tomorrow. I’ll play around with it.