Flash articles

and stay informed on Flash using our web articles portal


Flash - RSS feeds

search the articles directory


Powered by Google™


Enter your search terms in the field above, check if you want to find information in article directory or on the web, then hit the "Search" button.

old Flash articles

Drawing an Ellipse using ActionScript - ...e( ) method accepts four parameters: xRadius The radius of the ellipse in the x direction (major axis). yRadius ...
ActionScript: Filling a Shape with a Gradient - ...inGradientFill( ) in the same way you initiate a solid-filled shape with beginFill( ). The difference is that the call to beginGradientFill( ) require...
Scripting Masks in Flash - ...ask bitmapped graphics (in movie clips). You can use any movie clip as a mask of another movie clip using the setMask( ) method. The setMask( ...
Drawing a Triangle using ActionScript - ...reas three arbitrary sides may not fit together to make a triangle. The custom drawTriangle( ) method accepts six parameters: ab ...
ActionScript: Filling a Shape with a Solid or Translucent Color - ...awn at authoring time or runtime. You must invoke beginFill( ) before drawing the shape to be filled. This example creates a solid blue ...
Drawing a rectangle using ActionScript - ...e> // Specify a one-pixel, solid, black line. rectangle_mc.lineStyle(1, 0x000000, 100); // Draw four lines to form the perimeter ...
How to draw a rectangle with rounded corners - ...u specify the rectangle center's coordinates Can draw a rectangle with rounded corners The drawRectangle( ) method accepts...
Reusing and Organizing Code in Flash Movies - ....as" Use the #include directive to incorporate code from external text files into your Flash movie during compilation from a .fla file ...
Drawing a Circle using ActionScript - ...s The radius of the circle x The x coordinate of the circle's center point. If undefined, the circle is centered at x =...
ActionScript: Repeating a Task at Timed Intervals - ...e a function. function myIntervalFunction ( ) { // Output the difference between the current timer value and its value from the ...
Mouse Location Flash Script - ...nically, cursor is the term I should be using here. However, ActionScript uses the term mouse in its keywords. I will therefore use mouse and cursor i...
ActionScript: Performing Actions Conditionally - ...). The conditional statements allow you to make logical decisions, and you'll learn from experience which is more appropriate for a given situ...
Enhancing Standalone Projector - ...F Studio produces Windows projectors only. Also note that the resultant projector files are rather hefty (minimum file size is around 1.5 MB). The...
How to build an animated button using Flash - ...ar but it was kind of hard, until I stumbled upon this Tweening Engine from Extend. This tutorial makes use of the Tweening Engine to animate a butt...
Using Mathematical Operators in ActionScript - ...le, you might want to move a movie clip to a new position that is 10 pixels to the right of its current position. In an assignment statement—a...
Targeting Flash Movie Clips - ...n underscore followed by the word "root." For instance, if you want to send a gotoAndStop command to the main timeline, you can do t...
Move Clip Rotation - ...tays 179. However, if you set it to 181, it wraps around to -179. To change this property, simply set it to a value. You can also use operator...
How to Exit a Function in ActionScript - ...llow a return statement are ignored. function myFunction ( ) { return; trace("Never called"); } myFunc...
ActionScript: Repeating an Operation Many Times - ...frame, use a looping statement to make your code more succinct, easier to read, and easier to update. You can use a while statement or a for statement...
Avoiding Conflicting Variables in ActionScript - ...es of the same name in other functions or within the timelines in which the functions are defined. To make a variable local, declare it with the var k...
Transforming the Current Color of a Flash Movie Clip - ...lied a transform object that set the movie clip's alpha percentage to 42, getTransform( ) would return an object with the following values: ...
Clips Controlling Other Clips - ...top(7); If "gears1" and "gears2" are at level 1, _parent addresses level 0. Adding "gears2" addresses the command back down to level 1, ...
Scaling a Flash Movie - ...e can have borders on the sides if the Player aspect ratio does not match the movie aspect ratio. You can set a movie to "showAll" mode, as ...

latest articles under "Flash"

Navigation: Categories » Computers and technology » Flash

Below is a list of all Flash articles. If you want to find a tutorial by keywords, all you have to do is a quick search in our directory. Just use the search option. The website search is powered by Google. But, if you want to read specific Flash tutorial, just point to it. The newest articles and tutorials are shown first in the list. To access the last ones, browse the pages 2, 3, 4... at the bottom.

Page# 1 2 (last added articles shown first)

What Flash Scripts Can Do (07/26/2007)
... But that's not all that ActionScript can do...
Loops in ActionScript (07/26/2007)
... This first part of the for statement is executed once, before the loop starts...
What are Loops and how do they work (07/25/2007)
... Each time the loop loops, the counter is incremented by 1...
Detecting Display Settings using ActionScript (07/22/2007)
...capabilities...
Building a Slideshow in Flash using ActionScript (07/22/2007)
... The contents of Frame 1, plus the way the timeline is set up...
Writing Bug Free Code (07/21/2007)
... This sounds a little ridiculous, but it makes sense...
Jumping from Frame to Frame (07/21/2007)
... There are also two simple commands that work just like gotoAndStop but take the movie to the next frame or the previous frame...
Comparisons and Operations in ActionScript (07/20/2007)
..." If you set a to 8 instead, the Output window will show "false" because 7 is not equal to 8...
How to Obtain the Result of a Function in ActionScript (07/18/2007)
... trace("The player's average score is " + playerScore); You can use the return value of a function, without storing it in a variable, by passing it as a parameter to another function: trace("The player's average score is " + average(6, 12)); Note, however, that if you do nothing with the return value of the function, the result is effectively lost...
Functions in ActionScript (07/17/2007)
... In this case, you are going to give the function a number to do something with...
ActionScript: Checking Equality or Comparing Values (07/16/2007)
... If you use the assignment operator instead of the equality operator, you change the variable's value rather than testing its current value...
ActionScript: Performing Complex Conditional Testing (07/16/2007)
...getMonth( ) == 3)) { trace ("Happy Birthday, Bruce!"); } Here we use the logical OR operator (||) to test whether either condition is true: // Check if it is a weekend...
Detecting the Audio Device Capabilities using Flash Scripting (07/16/2007)
... If a device has no audio support, you should avoid forcing users to download something they cannot hear (especially because audio can be quite large): // Load a ...
Local and Global Variables in ActionScript (07/16/2007)
... Global Variables A global variable is one that is accessible throughout the entire level of the Flash movie...
A Rotating Movie Clip (07/16/2007)
... That is, of course, if your computer can handle the full rate of animation...
How to Check the System Language using ActionScript (07/12/2007)
..., "fr" for French)...
Controlling the Color of a Flash Movie Clip with Sliders (07/12/2007)
... Line them up horizontally on the right side of the Stage...
Backward Movie Clip (07/12/2007)
... Two handlers are in this script...
How to select an item on the screen (07/10/2007)
... So you have to be tricky...
Stretching and Shrinking Movie Clips (07/09/2007)
... The example movie contains the most complex script that we have seen so far...
Conditional Statements in ActionScript (07/02/2007)
... You can even compare different variables in the else if clauses; there is no restriction to keeping it to a similar comparison...
Creating Flash Buttons (06/26/2007)
... They represent the three button states, and the active area of the button...
Bouncing Ball Script (06/22/2007)
... The horizontal speed of the movie clip will be stored in a variable named speedX...
3D Scaling with ActionScript (06/20/2007)
..._xscale = scaleAmt; this...
The Dot Syntax (06/19/2007)
...sqrt(4); Another common way to use dot syntax is to address a property of a movie clip...
Movie Clip Scripts (06/12/2007)
... Whenever an enterFrame event occurs, our onClipEvent (enterFrame) handler will be called...
Decoding an RGB Value (06/08/2007)
... red = (rgb >> 16); green = (rgb >> 8) & 0xFF; blue = rgb & 0xFF; Although displayed as a decimal number, remember that each color is stored internally in its hexadecimal form: 0xRRGGBB...
ActionScript: Generalizing a Function to Enhance Reusability (06/06/2007)
... The trick is to create a single function that can accept different values to operate on...
Scaling a Flash Movie (06/02/2007)
... You can set a movie to "noBorder" mode, as follows: Stage...
Clips Controlling Other Clips (06/01/2007)
...gotoAndStop(7); Now let's use that technique to create a movie with three movie clips...
Transforming the Current Color of a Flash Movie Clip (05/31/2007)
... my_color = new Color(myMovieClip); // Get the transform object...
Avoiding Conflicting Variables in ActionScript (05/21/2007)
..."; } Variables declared without the var keyword are implicitly scoped to the timeline on which they reside (note that unlike some languages, ActionScript doesn't require you to declare a variable before assigning it a value for the first time)...

Enter page# 1 2 (last added articles shown first)