Imajine Blog Imajine Articles
Contact Me

Flash tutorials


Horizontal 3D Carousel in Flash CS3

This tutorial will help us teach us on how to create Horizontal 3D Carousel effect in flash using actionscript 3.

The procedure to get this done is by

  • Creating an XML file with the image path and the link data in it.
  • Then calling this xml data into flash.
  • Placing the images in a 3D circle
  • Providing the circular movement for the same
  • Functions for 'on click' and 'on rollover'

Tags: 3D Carousel effect, horizontal circular motion, Loading external XML data

----------------------------------------------------------------------------------------------------------------------------------

Actionscript 3 based MP3 player

We will be covering a lot of topics whilst creating mp3 player, topics include,

  • List Component
  • Loading external XML data to list component
  • Sound, Sound Channel and Sound Transform class
  • Add Event Listener method
  • FLV Components, such as Play / Pause / Stop / Mute / Back button / Forward button / Slider.
  • Volume Control

Tags: Flash MP3 player, Flash audio player, List Component, Loading external XML data to list component, Sound, Sound Channel and Sound Transform class

----------------------------------------------------------------------------------------------------------------------------------

Scrapbook Photo Gallery tutorial in Flash

Goodie!! We will learn three flash behaviors while creating this eye-catching Flash photo gallery and they are -

  • Load external graphic behavior
  • On-click behavior to lift photograph right on top and
  • Drag and drop behavior

Tags: Flash photo gallery, load external images, drag and drop, actionscript photo gallery 

----------------------------------------------------------------------------------------------------------------------------------


Text Enhancement / using styles and HTML pages in Flash

When we say we are enhancing text in flash by implementing ‘styles’ to it, We certainly mean we have a styles (.css) page and an HTML page, which is loaded into flash.

Tags : Text Enhancement in flash, CSS in Flash, Import HTML page in Flash , CSS and HTML in Flash 

----------------------------------------------------------------------------------------------------------------------------------

Flash tutorial to color object

The color object in flash allows us to set RGB color value to movie clip symbols. They also help us retrieve the value once set

Tags: Color Object in Flash, Color using actionscript, RGB() actionscripting

----------------------------------------------------------------------------------------------------------------------------------

Flash tutorial to create glow effect using actionscript

In this tutorial, with the help of actionscript, we shall draw a star, fill color to it and provide outer glow to the same. We shall also include actionscript event to change glow color.

Tags: Glow effect in flash, actionscript filters, Glow in as2, Flash glow effect at runtime,

----------------------------------------------------------------------------------------------------------------------------------

Drawing with actionscript

This tutorial will teach us on how to draw at runtime using actionscript code.

We will use 'drawing methods' of 'movieclip class' to draw shapes in the SWF file in response to events.

Tags: Actionscript drawing tutorial, as2 drawing tutorial, draw at runtime

---------------------------------------------------------------------------------------------------------------------------------- Animation - Blur effect or Motion effect

Similar to Photoshop and Fireworks, Flash 8 has this new "effects" feature, which includes, drop shadow, blur, glow, bevel, gradient glow and garient bevel effects. Here in this tutorial, we will be covering blur effect. One very important thing is, these effects can be applied only on text, movieclips and buttons.

Tags: Flash Animation Blur effect, Flash Animation Motion blur effect.

---------------------------------------------------------------------------------------------------------------------------------- Actionscripting - Loading and using external MP3 files

To load external MP3 files at runtime, we need to use loadSound() method of Sound class. This method has 2 variable as shown below,
public loadSound(url:String, isStreaming:Boolean) : Void
The isStreaming parameter indicates whether the sound is an event or a streaming sound.

Tags: Load external MP3 file into flash, Stream MP3 File, play mp3 file, Sound Object in Flash, Music play and stop tutorial in flash

----------------------------------------------------------------------------------------------------------------------------------

Actionscripting - Set volume of an externally loaded MP3 file

In this tutorial, we will learn how to adjust volume of an externally loaded MP3 file in flash. As we all know, to get this done, we are basically revolving around sound object. The method used to adjust sound volume is setVolume() of sound object. Similarly we can even retrieve the already set volume by getVolume() method, getVolume() returns the sound volume level as an integer from 0 to 100, where 0 is off and 100 is full volume. The default setting is 100.

Tags: Volume control in flash, Tutorial to control volume in flash, setVolume(), getVolume(), Load external MP3 file into flash, Stream MP3 File, play mp3 file, Sound Object in Flash, Music play and stop tutorial in flash

----------------------------------------------------------------------------------------------------------------------------------

Actionscripting - Blur effect

lash.filters package contains 'BlurFilter' class, which allows us to apply 'blur visual effect' to movie clips, text fields, and buttons at runtime.

We need to use 'filters' property to apply filters.

Tags: Tutorial on actionscript filters, Blur effect at runtime, Action script blur effect

----------------------------------------------------------------------------------------------------------------------------------

Fading objects with actionscript code

While working with movie clips on stage, we might want to fade the movie clip in or out instead of toggling its _visible property. There are two procedures to animate a movie clip

  • By using 'onEnterFrame' event handler 
  • By using 'set interval()' function

Tags: action script fade image tutorial, setinterval(), alpha code

----------------------------------------------------------------------------------------------------------------------------------

Preload MP3 file

To preload MP3 file, we can use 'setinterval()'  function to create polling mechanism that checks the bytes loaded for a Sound or NetStream object at predetermined intervals. We can use 'Sound.getBytesLoaded()' and 'Sound.getBytesTotal()'  methods to track downloading progress of MP3 files.

Tags: Load external MP3 file into flash, Preload MP3 File, play mp3 file, Sound Object in Flash, Preload and play music, flash music preloader

----------------------------------------------------------------------------------------------------------------------------------

Sound Controller

To build a sound controller, we will need to do the following

  • To attach external .mp3 file to swf
  • To create preloader for sound file
  • To create play / stop button
  • Volume controller
  • Balance (Pan) controller

To Achieve all the above, we will be using built-in sound class to control sounds in a SWF file.

Tags: Load external MP3 file into flash, Preload MP3 File, play mp3 file, Sound Object in Flash, Preload and play music, music play and stop button, Volume control, balance control, Pan control, Sound control

----------------------------------------------------------------------------------------------------------------------------------

Extract and view .mp3 file details - Name of the song, Album, and Artist

ID3 tags are data fields added to MP3 file, which contains information such as the name of a song, album, and artist of MP3 files.

We will use 'Sound.id3' property to extract these information.

Tags: Display song details, Display name of the song, Album and artist, id3 tags, Load external MP3 file into flash, Preload MP3 File, play mp3 file, Sound Object in Flash, Preload and play music, music play and stop button, Volume control, Sound control

Tutorials
Flash Tutorials
Horizontal 3D Carousel
MP3 Player
Scrapbook Photo Gallery
Text Enhancement
Color object
Glow effect using actionscript
Drawing with actionscript
Blur Effect
Load external .mp3 file
Preload external .mp3 file
Sound Controller
Set volume of externally .mp3 file
View MP3 song details
Actionscript blur effect
Actionscript fade in / out effect
Fireworks Tutorials
Custom Stroke
Typography / Ink blot effect
Photograph focus effect
Rainbow Pattern
Inset Text Effect
Fuzzy Light Blending Mode
Little bulb effect
Old paper effect
'Post it' effect
Hand drawn designs
Black/White and Sepia tone
Water color painting effect
Vintage effect on vector graphics
Solid color, black/white
Photoshop Tutorials
Photo editing
Purple Haze

Portfolio

Logos
Website design
CMS Customization
Flash
Web development
Print


Download free textures and patterns and use it for your personal use.

Click here to download Textures and Patterns.

Download free birthday cards

Free Birthday Cards
Click here to view Imajine's free downloadable birthday cards for personal and corporate use. Imajine's birthday cards are in jpeg format so it is faster to download and send in your wishes to your friends and family.
Bookmark and Share Tell a Friend jayanthi.varma@imajine.in  |  © 2008 Imajine