Search Tutorials
The StructureOn 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”).
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|