Internet Commerce

Partners & Affiliates














Developer Channel

internet.com


Tutorials Home What's New Top Rated Submit myTutes Random!

Search Tutorials


Categories Building a Tsunami
Author: Morten Barslund | Website: http://www.hhbk.subnet.dk/GotCha.html |

 
Page 2
«prev 1 2 3 4 5 6 7 8 9 10 next»

The Structure

On the main stage, you’ll find a movie clip called “01 – boundingbox” and some actions in frame 1, which set the player so that the movie is always drawn at 100% and the image is never scaled, return the player to normal menu view and stop the file (this is necessary because of the comments):

FS Command ("fullscreen", "false")
FS Command ("allowscale", "false")
Stop

Inside “01 – boundingbox” you’ll find three layers, which contain an empty movie clip, the box and our objects, which have been stored inside a movie clip named “column1”. There is only one action in frame 1, which simply makes the centre of the movie clip (“dragscale”) appear directly under the mouse pointer. This is necessary, since we want to determine the distance between the cursor and our objects:

Start Drag ("dragscale", lockcenter)

The crucial actions are located in frame 2 inside “column1”; the action in frame 3 simply insures that the actions in frame 2 are carried out continuously:

Go to and Play (2)

You’ll notice that there are 20 layers, where the first contains our actions and the rest our objects. Furthermore, object 1 and 19 (the first and last) are empty, which is because we do not want our objects to be scaled beyond the box. These objects have been called “text” followed the object’s number (e.g. the first is called “text1” and the last “text19”).

«prev 1 2 3 4 5 6 7 8 9 10 next»

» Level Advanced

Added: : 2000-12-27
Rating: 8.84 Votes: 236
Hits: 1919
» Author
The author wrote this tutorial to explain the infamous effect originally created by Joshua Davis of www.praystation.com. The tutorial was written with his personal permission and the source is simply a modification of the file available at PrayStation.com.
» Download
Download the files used in this tutorial.
Download (10 kb)
Get conversion and unzipping tools for PC and Mac here!

» Forums
More help? Search our boards for quick answers!

Please rate this tutorial, 10 is the top rating, you can also click the comments link to read/write a review.
10 9 8 7 6 5 4 3 2 1
Read or Post Comments
 
   
 


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers