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:

Flash CS3

Embed SWF into HTML 5 pages and flashvars

by admin August 3, 2010 Mix

Version 5 of HTML supports the embed tag. This tag allows us to easily insert an SWF in our HTML5 page. Here is the code to insert a SWF. SWF with background <embed src="main.swf" width="550" height="400" /> SWF with tansparent background <embed src="main.swf" width="550" height="400" wmode="transparent" /> SWF with Flashvars <embed src="main.swf" width="550" height="400" flashvars="id=hello [...]

Custom gradients using Actionscript 3.0

by admin April 27, 2010 Drawing with Actionscript 3

This example shows how to create custom gradients with Actionscript 3.0: Read more… Related posts No related posts.

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 [...]

FishEye effect with Flash and Actionscript 3.0

by admin February 23, 2010 Animations

The following example shows how to create a Fish Eye effect to an image using Actionscript 3.0 and Flash CS3 or Flash CS4. First we need to import an image in the Flash library and then assign a class for Actionscript export, I have used such Oldwoman. In this way we can "attach" the image [...]

Loading multiple images with partial preloader using Actionscript 3.0

by admin February 22, 2010 Mix

Suppose we want to create an images gallery using Flash CS3 or CS4. One of the first things you should consider is whether to load all the images right away or to load one at a time requested by the user. If we want to load them all right away, here’s a method to show [...]

Using textures with Flash and Actionscript 3.0

by admin February 16, 2010 Mix

You know that in HTML sites often use textures (those square images of approximately 100×100)? Have you ever tried to use it with Flash? They are very beautiful especially if used in a Flash site that is shown at 100%. In this case we have to deal even with the resizing of the browser, in [...]

Scale video or image proportionally to stage and resolution

by admin February 15, 2010 Mix

I my last job I had to resize a background video without having stretching it. In practice, the Flash site to which I was working had a video in streaming as background. This video is displayed at 100% and then I had to create a script that resizes the video according to the resolution of [...]

Three ComboBox related with Flash CS4

by admin January 22, 2010 Built in components

We have seen how to populate a ComboBox from an external XML file and bind it to a list using the List component in Flash CS3. I added a sample on how to use 3 related ComboBox. The first contains a list of countries, the second a list of states and the third a list [...]

Event REMOVED_FROM_STAGE

by admin January 15, 2010 Tips and tricks

We saw the importance of the event ADDED_TO_STAGE and when to use it. The same goes for the event REMOVED_FROM_STAGE of Actionscript 3.0, which is used for example when a SWF is loaded, when we unload it we need to perform perform actions (such as stop ENTER_FRAME or stop a sound, a timer, free the [...]

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 [...]

Using Flash cu3er tutorial

by admin December 14, 2009 Mix

var flashvars = {}; flashvars.xml = “http://flepstudio.org/swf/cu3er/config.xml”; flashvars.font = “font.swf”; var attributes = {}; attributes.wmode = “transparent”; attributes.id = “slider”; swfobject.embedSWF(“http://flepstudio.org/swf/cu3er/cu3er.swf”, “cu3er-container”, “576″, “216″, “9″, “expressInstall.swf”, flashvars, attributes); #cu3er-container {width:576px;} Progressivered.com has created a free Flash tool to create 3D slideshows of images. This tool is Flash cu3er. This article explains how to set and [...]

Flash CS4 and ThickBox

by admin November 26, 2009 Mix

Do you want work with Flash CS4 and ThickBox ? Here is a couple of examples that show how to call ThickBox using Actionscript 3.0 . >> VIEW THE DEMO The SWF with two buttons is embed in a html file with the following code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> [...]

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 [...]

Coloring regions of images using floodFill method of Actionscript 3.0

by admin November 5, 2009 Drawing with Actionscript 3

In this tutorial we see how to color the sections of an image using the method floodFill() of the BitmapData class of Actionscript 3.0. This method works almost like magic wand tool in Photoshop (or other photo editor) with a setting of zero tolerance. It fills in all contiguous regions of the same pixel color [...]

Passing values from PHP to HTML to Flash

by admin November 2, 2009 Flash CS3 and PHP

We have seen how to pass values from HTML to Flash. Now let’s see how to pass a value from PHP to HTML, which in turn will pass it to Flash. We have two simple files: index.swf and index.php. The PHP file is expecting a variable via GET or POST (indifferent). The switch to Flash [...]

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 [...]

Getting sound of loaded SWF from main SWF

by admin October 17, 2009 Tips and tricks

Have you ever had to load a SWF file that contains an audio playback? You may have noticed that sometimes (depending on how you play the audio file) the sound starts playing before the SWF has been fully loaded. Here’s how to resolve this unfortunate incident using Actionscript 3.0. Suppose we have inserted a sound [...]

Embedding SWF with valid W3C HTML code

by admin October 16, 2009 Mix

If you always try to create websites that are validated according to W3C specifics and royalty-written code semantically correct, sometimes you will ever have problems with validating the code to insert the SWF in your pages. The code of the HTML file that creates Flash, or even one that creates Dreamweaver or other HTML editors, [...]

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, [...]