In this Tutorial I will show you how you can duplicate your instances of a movie clip using a simple action script.
1. Create a movie clip of your choice. (If you want to show animation use motion gudie path for Motion Twin).
2. Place movie clip in the stage and give a instance name here I [...]
Flash's tag archives
Flash Duplicate Movie Clip
Drawing Shape Using Action Script
1. Draw Animating Circle
var cnt:Number = -90; // from which degree
var radius:Number = 100;
this.createEmptyMovieClip(”circle”,this.getNextHighestDepth());
circle._x = 200;
circle._y = 200;
circle.lineStyle(1,0xFF0000,100);
xx = 100*Math.cos(-90*Math.PI/180);
yy = 100*Math.sin(-90*Math.PI/180);
circle.moveTo(xx,yy);
intervalId = setInterval(this, “executeCallback”, 5);
// function to darw a circele.
function executeCallback() {
xx = 100*Math.cos(cnt*Math.PI/180);
[...]
Drawing a Circle Using Action Script Code
Create Empty Movie Clip mycirlce
this.createEmptyMovieClip(”mycircle”, 3);
Set the Stage Position for x coordinate and y coordinate
You can change the movie position as your required
mycircle._x = 200;
mycircle._y = 200;
Create Circle code here
mycircle.createEmptyMovieClip(”circle”, 1);
mycircle.circle.lineStyle(5, 0×003399, 300);
mycircle.circle.moveTo(200, 0);
Define Radius of your circle
circleRadius = 200;
for (a=0; a<360; a++) {
radAngle = a*Math.PI/180;
xCoord = Math.cos(radAngle)*circleRadius;
yCoord = Math.sin(radAngle)*circleRadius;
Move Line to x, y coordinate [...]
Flash CS3 Tutorial – Arrays
An array is basically a container for holding data, similar to the way a variable hold data. The difference is that an array can hold multiple pieces of data. The location of each piece of data is referred to as its index and will always fall in a specific sequence. These indexes are numbers sequentially [...]
Flash CS3 Tutorial – Arrays
An array is basically a container for holding data, similar to the way a variable hold data. The difference is that an array can hold multiple pieces of data. The location of each piece of data is referred to as its index and will always fall in a specific sequence. These indexes are numbers sequentially [...]
Featured Articles
31 Grunge WordPress Theme...
Grunge design is most popular among designers, it's have been trend in wordpress [+]
Top WordPress Themes from TOPWPTHEMES...
1. Unistar Features:2 Columns, Adsense Ready, By Zinruss, Fixed Width, Left Sidebar, WP Themes, Widget Ready Download [+]
Adsense Ready Wordpress Themes...
Using a WordPress theme with distinct ad blocks and optimized ad placements will very likely [+]
Top Ten Real Estate Theme from Themes Ju...
Today I was looking for some Real Estate WordPress Theme. I found site Taree Internet [+]
Archives
-
Recent Posts
Recent Articles
- 10 Simple PHP Login Sytem Tutorial
- An Introduction to Object Oriented PHP
- 25 Awesome web design/development + graphics/UI+resources/tutorial sites
- CSS Positioning, Layout and Understanding CSS z-index
- PHP Image File Upload Tutorial
- jQuery addClass(), removeClass(), toggleClass() Tutorial
- Understanding Search Engine Models
- Inspiration Windows 7 Wallpapers
- JavaScript Built in Object, Method, Properties & Handling Events in browser
- How to Create a MovieClip Rotating around the Center Continiously
Popular Tags
- 3 columns 125x125 Advertising-Ready Action Script Adsense Adsense Ready Ajax comments CSS Download download icons Flash free icons free themes Icons Inspiration JavaScript Jquery jquery slideshow magazine themes Manage Comments navigations Photoshop php Plugins rss rss icons set SEO SEO Expert SEO Plugins SEO Tips spam spam protection theme Themes twitter icons Wallpaper web 2.0 wordpress WordPress Code wordpress contents in other pages WordPress How-To wordpress theme wordpress themes Word Press Tips WP-Hacks
Recent Feedbacks
- Shahriar Hyder: Very nice article mate. I have also linked to yours from my blog post below where I am trying to...
- neo: I would be better if you should add button “next” and “prev”..
- cheap phenteramine: This is certainly the best that I read today in the Internet
- Bill Bartmann: Excellent site, keep up the good work
- Bill Bartmann: Hey good stuff…keep up the good work!
Most Commented
- Display Wordpress content outside of your blog (15)
- Top 10 Magazine WordPress Themes from Premiumthemes (9)
- WordPress Meta-Tags Plugin (4)
- Simple JQuery Image Slide Show with Semi-Transparent Caption (4)
- Web 2.0 and SEO (3)
- Photoshop Tutorial Sites (2)
- How to: Embed Google Ad in your post (2)
- Wordpress Tips and Tricks (2)
- Digital Photography Tutorial and Tips (2)
- Useful Wordpress Tricks to Make Your Theme Even Better (2)

RSS Feeds
Feed Comment 



