versione italiana versione italiana
FlepStudio logo

Actionscript 3.0 Blog with Tutorials and free resources for Flash

>> Free Flash files

Events Scroller | Images Scroller | Multi FLV Player | Flash CS3 GuestBook | News Scroller | Tortillas - creator of simple graphs for statistical data | 3D images visualization free utility | Flash CS3 Uploader - free utility | Mini Gallery | Flash CS3 puzzle | Hit counter Flash CS3 + XML + PHP | Multi Audio Player | Newsletter module | Bluring Slide | Monthly Calendar | ShoutBox | StripGallery - Flash CS3 and XML gallery | Email Form PRO | MaskMenu | Elastic Gallery | PhotoNavigator | Pixellation - SlideShow | Email form | Analogue clock | FullScreen images gallery | Rotating header | Flash Portfolio | Polls System | Products Exhibitor | Mini Navigator | Drag Menu | Horizontal Menu | Quizzer | Mini Navigator 2 | Reflect Gallery | Events Scroller - version 2 | Rotating header 2 | Magnifying Glass | Zoomify | MenuVibration | Email form Flash CS3 and ColdFusion 8 | News Scroller 2 | Simple GuestBook | Captcha for Flash CS3 | Email form with pictures - Flash CS3 and PHP | FlepCharCode | Mac Menu | Header | Memory Game - Flash CS3 game | Flash CS3 CountDown | FLV Slide Show Videos | Illusion - images gallery | Tell A Friend | Flash RSS reader | ToolTip Flash CS3 - CS4 | Sliding Email Form | ComboMenuHeader | ComboMenuHeader PRO | Mac Front Row in Flash CS3 | FlaTwit - Flash and Twitter - twit this | Store Locator | Multi Video Player MAC style | Flash XML editor | BlurSlideShow | ImagesViewer | Video Gallery | Flash XML editor gallery 1 | 15 numbers game | Tipper vertical scroller with Iphone effect | YouTube Video Player by categories | GuestBook Flash CS4 | tweened menu | Twitter RSS reader | Xmas Flash header | Events Scroller - version 3 | TripleBox | BlackComboBox | Inertial Photo Portfolio | Fullscreen Background | Multi Categories Images Gallery | DropDown menu | CountDown version 2 | Advertising Flash banner | Quizzer version 2 | UEFA RSS reader | Flash Scrolling Portfolio | Video Player | Flash Gallery | Images Scroller version 2 | Images Scroller version 3 | Images Scroller version 4 | Europe map | Events slide show | Banner Rotator | Flash and Flickr image gallery | Flash and Picasa image gallery

From the category archives:

Sintax

Alpha mask using Actionscript 3.0

by admin April 12, 2010 Sintax

Have you ever tried to create an alpha mask using Actionscript 3.0? The thing is reachable with the method copyChannel of the BitmapData class. Load an external image Create a new instance of BitmapData (bitmap_data) and assign it to bitmapData property of the external bitmap Create a new instance of BitmapData (bitmap_data_copy) with same size [...]

Stop all sounds with Actionscript 3.0

by admin January 12, 2010 Sintax

In Actionscript version 2.0 there was the command stopAllSounds that stopped any audio was playing in a SWF. With version 3.0 of Actionscript, Flash CS3 and Flash CS4 has not changed much, just use the following code: import flash.media.SoundMixer; SoundMixer.stopAll(); Related posts Zoomify (1) Using PrintJob class of Actionscript 3.0 (0) this root (0) Removing [...]

Method some of Array class of Actionscript 3.0

by admin November 8, 2009 Sintax

This method allows us to check if an array has undefined indexes. Especially important in applications with considerable use of arrays, the some method allows us to control our array so as not to fall into errors due to some unpleasant index that is undefined (undefined). As arguments, this method takes a function name that [...]

Useful list of regular expressions with Actionscript 3.0 and RegExp class

by admin October 29, 2009 Sintax

In computing, regular expressions provide a concise and flexible means for identifying strings of text of interest, such as particular characters, words, or patterns of characters. A regular expression (often shortened to regex or regexp) is written in a formal language that can be interpreted by a regular expression processor, a program that either serves [...]

describeType method with custom events

by admin October 19, 2009 Sintax

We saw long ago how to create custom events. In this tutorial we explore custom events and the method describeType of Actionscript 3.0 utils package. This method wants an object as a parameter and returns an XML format with the full description of the object except for the static properties. In can check the XML [...]

Date class of Actionscript 3.0

by admin October 15, 2009 Sintax

In this tutorial we’ll see how to work with the Date class of Actionscript 3.0. It ‘a very large class with many methods and properties so I made two good examples that we draw near to solutions / applications that need to retrieve the data from the user’s machine. The first example works with time, [...]

Flash image gallery using Zoom class Actionscript 3.0

by admin October 1, 2009 Sintax

I created a simple image gallery slideshow that demonstrates how to use the Zoom class of Flash transitions. The Zoom class zooms the movie clip object in or out by scaling it in proportion. This effect requires no additional parameters. I imported 12 images in the library of Flash, I assigned to each of them [...]

Transition Wipe with Actionscript 3.0

by admin September 29, 2009 Sintax

I created a simple image gallery slideshow that demonstrates how to use the Wipe class of Flash transitions. The Wipe class reveals or hides the movie clip object by using an animated mask of a shape that moves horizontally. This effect requires the following parameter: startPoint: An integer indicating a starting position; the range is [...]

Squeeze class of Actionscript 3.0

by admin September 26, 2009 Sintax

I created a simple image gallery slideshow that demonstrates how to use the Squeeze class of Flash transitions. The Squeeze class scales the movie clip object horizontally or vertically. This effect requires the following parameters: dimension: An integer that indicates whether the Squeeze effect should be horizontal (0) or vertical (1). I imported 12 images [...]

TransitionManager and Rotate class of Actionscript 3.0

by admin September 24, 2009 Sintax

I created a simple image gallery slideshow that demonstrates how to use the Rotate class of Flash transitions. The Rotate class rotates the movie clip object. This effect requires the following parameters: ccw: A boolean value: false for clockwise rotation; true for counter-clockwise rotation. degrees: An integer that indicates the number of degrees the object [...]

Photo transition simulating photografic flash with actionscript 3.0

by admin September 19, 2009 Sintax

I created a simple image gallery slideshow that demonstrates how to use the Photo class of Flash transitions. The Photo class makes the movie clip object appear or disappear like a photographic flash. This effect requires no additional parameters. I imported 12 images in the library of Flash, I assigned to each of them a [...]

Iris transitions of Actionscript 3.0

by admin September 16, 2009 Sintax

I created a simple image gallery slideshow that demonstrates how to use the Iris class of Flash transitions. The Iris class reveals the movie clip object by using an animated mask of a square shape or a circle shape that zooms in or out. This effect requires the following parameters: startPoint: An integer indicating a [...]

Fly transitions with Actionscript 3.0 and Flash CS4

by admin September 12, 2009 Sintax

I created a simple image gallery slideshow that demonstrates how to use the Fly class of Flash transitions. The Fly class slides the movie clip object in from a specified direction. This effect requires the following parameters: startPoint: An integer indicating a starting position; the range is 1 to 9: Top Left:1; Top Center:2, Top [...]

TransitionManager and Fade of Actionscript 3.0

by admin September 11, 2009 Sintax

I created a simple image gallery slideshow that demonstrates how to use the Fade class of Flash transitions. The Fade class fades the movie clip object in or out. This effect requires no additional parameters. I imported 12 images in the library of Flash, I assigned to each of them a class to "attack" from [...]

Passing values between two or more SWF with Actionscript 3

by admin September 8, 2009 Sintax

The LocalConnection class of Actionscript 3 and Flash CS3-CS4, permits us to share values between two or more SWF that reside in the same HTML page. This class is used by those who develop games but not only. It can be very useful, that’s why I created a simple example to show how to use [...]

Converting seconds to standard format using Actionscript 3.0

by admin May 15, 2009 Sintax

Have you ever having to convert a numeric value represented in seconds, in a standard format 00:00:00 ? This conversion is very useful for working with times. Such as to create a clock in Flash, or view the time spent by a timer or yet to see the position of an audio file playing, etc. [...]

How to get web page title using flash and Javascript

by admin April 26, 2009 Sintax

Suppose you have to get the title of web page where your SWF is located. It’s simply done using the ExternallInterface class of Actionscript 3.0 and a little Javascript command. 1 2 var pageTITLE:String=ExternalInterface.call(’window.document.title.toString’); trace(pageTITLE); Browsers I tested: – Safari 3 and 4 MAC – Firefox 3 MAC – IE 8 WIN – Firefox 2 [...]

Removing duplicate elements of Array with Actionscript 3.0

by admin November 17, 2008 Flash CS3

Suppose you have an Array of data and that we want eliminate the elements that have the same value. For example, we got from a DataBase the data on sales of some products. These products are different from each other and the customer asks us to create a scroll that displays product filter. To do [...]

Getting the page url where my SWF is located

by admin November 6, 2008 Flash CS3

Sometime we need to get the url of the web page where our SWF is located. Actionscript 3.0 gives us a way to do it just using 1 line code. Just use ExternalInterface class that runs a Javascript command and gets the page’s url. Here is the code: 1 2 var pageURL:String=ExternalInterface.call(’window.location.href.toString’); trace(pageURL); DEMO In [...]

Dynamically adding a method to Objects

by admin October 14, 2008 Flash CS3

As we have seen in Actionscript basic tutorials, we can add a property to objects at runtime, dynamically. In this tutorial we’ll see that you can also dynamically implement methods to objects (in this case the class Object). The code that we will see is just an object, must be an instance of a dynamic [...]