flash tutorials
  Home Computer Graphics Tutorials Tutorials Web Design tutorials Forums Computer Graphics Community Interview Interview Articles Articles Making Making About About US Contact us
flash 8 tutorials
*Home / Tutorials / Adobe Flash / Moving Text
Maya tutorials   Autodesk Maya
Photoshop tutorials   Adobe Photoshop
Illustrator tutorials   Adobe Illustrator
flash tutorials   Adobe Flash
3Ds max tutorials   Autodesk 3D's Max
Premiere tutorials   Adobe Premiere
Dreamweaver tutorials   Adobe Dreamweaver

Moving text animation

Author: Arjun   Level : Intermediate   Environment : Adobe Flash MX
User Rating  : * * * * *  
After reading this flash tutorial you would be able to create a moving text animation using adobe flash.

Steps for closing a Flash Movie Using Action Script

1) Under file menu import an images to the library. From the library put the image into a layers in the scene Now select the image and go to the modify menu and click on convert to symbol you will get a pop up box as seen below

2)give a name and select movie clip under that and press ok repeat it for all the images.

3) Now create a new layer and draw a circle with white fill color and convert that shape also to a movie clip.

4) Now select the white fill movie clip and press F9 or go to window menu and under that Development Panel the first menu Actions as shown below.

5 )Now you have got your actionscript window. Now feed in a small script into the window as shown below.

onClipEvent(enterFrame) {
  this._x = _root._xmouse;
  this._y = _root._ymouse;

5)Make sure that the things marked red in the above image has come, that says that the actionscript is loaded to that image.

6) The things marked in green are events like when it should happen. The things in blue determines what will happen. onClipEvent(enterFrame) specifies when the script should get executed this._x = _root._xmouse; and this._y = _root._ymouse; makes the y and x coordinates of the object always equal to that of the x and y of your mouse so that it always goes with your mouse.

7)Now if you press CTRL + ENTER you will get the output given below. You can click and drag and keep both the images anywhere in the scene you like.

  Bookmark   Googlize this * Add to Yahoo * Add To_Delicious * Digg It * Scrutinize this * Spurl this * Furl * Socializer * Onlywire
  Discuss This   Add to Any * Add this * Blink It * Socialize It

Home | Tutorials | Forums | Interviews | Articles | Making | About the Team | Terms and Conditions | Privacy Policy | Contact us
Copyright © 2006-2007 CGShelf.com. All Rights Reserved