Web Site Development Resources Directory
 
Advanced Search

Flash MX. Part III. Circle Design.

Author: Eugène Poitiers, bestcatalog.net, 4design.tv

7. Go to "holder" Movie Clip edit mode. Select the instance of "mc" Movie Clip on the stage. In the Properties window set the instance name : "mc".
edit movie clip instance name
 
Return to Scene 1. Open the Library (F11). Drag the instance of the"holder" Movie Clip from the Library onto the stage. In the Properties window set the instance name : "holder".
 
8. Insert new Layer, select  first keyframe and copy and paste the following code into the Actions window.
stop();
_root.holder.mc._visible=false;
for(i=0;i<18;i++)
{
_root.holder.mc.duplicateMovieClip("mc"+i,i);
_root.holder["mc"+i]._rotation=i*20;
}

Test your movie. You should see your custom circle. Save your FLA. file.

DOWNLOAD .fla (circle_basic.fla)

Note: I just give an example of using for() loop and _rotation properties. Make them in according to your own stroke element.
9. If you don't satisfied that the custom circle only appears after rendering, or you wish to have it on the stage we have to make it manually. Load the file "circle_basic.fla" and save it under a new name.

Delete the ActionScript code. Go to "holder" Movie Clip edit mode. Select the instance of the "mc" Movie Clip on the stage, copy it and Paste in Place (Ctrl+Shift+V). Open Transform window (ctrl+T). Set Rotate to 20°. Press Ctrl+Shift+V one more time and set Rotate to 40°.

Note: the Rotate settings depends on stroke element.

rotate movie clip

Continue to Paste in Place the instances to fill all the circle. Save your FLA. file.

DOWNLOAD .fla (circle_basic_01.fla)

 

custom circle
 

You only need to change the stroke element if you want to modify whole custom circle. Go to "mc" Movie Clip edit mode and make a shape you like. Then modify the ActionScript code or Rotate settings if necessary.

Good luck!





Pages: 1   2  

© 2004 Eugène Poitiers. BestCatalog.net

 

 


Best Catalog'
partners :
Best Catalog'
friends :
© 2004 BestCatalog.net