Actionscript 2, Actionscript 3.0, Actionscript 3.0 _, Flash, Games, Image Processing, Mathematics, Open Source, People, Tutorials, Web developer

What’s possible in 25 Actionscript lines? Vote for favorites!

Second ever 25 lines AS contest produced 12 incredible finalists as it was expected. I will hardly decide on favourites but I surely will vote and please you do that too because this contest deserves attention. Respect for all the good word, and yes, you can have the sources too!

Finalists of the 25 lines AS contest >>>

Advertisements
Standard
Actionscript 3.0, Actionscript 3.0 _, Flash, Flash _, Tutorials, Video, Web developer

Flash AS3 Beginners Tutorial – Adding library item to Stage [VIDEO]

Mirko Fisic did another nice and simple tutorial for understanding class creation and adding library item to Stage in Flash CS3, Actionscript 3 version. First he explains how to create a class, extending object and then he creates simple MovieClip in Library which then is added to stage. At the end, MovieClip acts as a Label, having its own method to set Label Text. Check it out, Mirko did again great work!

In Serbian / Na srpskom :

Mirko Fisic donosi jos jedan sjajan video tutorijal za pocetnike u Flash-u verziji 9 odn. Actionscript-u 3. Video tutorijal pokriva kreiranje nove klase, dodavanje simbola iz biblioteke (Library), i kreiranje metode koje tom simbolu menja tekst unutar njega. Jednostavan i efektan tutorijal koji Vam moze pomoci da savladate jedan od osnovnih koraka u Flash-u.

Ukoliko imate pitanja o tutorijalu slobodno ih postavite na Hagane Flash Forum-u

Mirko and Alex support FlashDevelop, you can support it too.

Standard
Actionscript 3.0, Actionscript 3.0 _, Adobe, Flash, People, Web developer

Flash 9 – AS3 beginners tutorial : Creating Document Class [video]

My friend Mirko from i-do2.com created video tutorial for beginners in AS3 Flash 9 software. He will gradually continue to introduce this wonderfull technology to interested people out there.

Thanks Mirko for this and keep it going !

TAKE A LOOK AT THE VIDEO TUTORIAL :

How to create document class in Flash 9

subtitles are available only in serbian if you press little button in bottom right corner with CC written on it
English subtitles will come soon if you show interest in Mirkos effort

Standard
Actionscript 3.0, Actionscript 3.0 _, Flash, Flash _, Flex, Web developer

AS3 PDF Creation with AlivePDF AS3 Alpha

Well, I’m sure that almost everybody is familiar with ByteArray.org and their amazing work featuring ASZip, AS3 Gif Player, Mouse Gesture, Live JPEG encoder, WiiFlash and more…
AlivePDF is WIP and now it’s in Alpha phase. AlivePDF is AS3 library for PDF creation based on FPDF PHP library.
Check it out at ByteArray.org – AlivePDF 0.1 Alpha Release

Standard
Actionscript 2.0, Actionscript 3.0 _, Applications, Flash, Flash _, Flex, Web developer

Random array in AS2 & AS3 example using sort

I suppose many of you know how to use sort to get random array…
For those who are not familiar with those nice feature of sort method I will explain the idea. Sort method can randomize array if you put function that return -1, 0 or 1 randomly, which basiclly tells sort randomly are elements less then, equal or greater then eash other.

AS2 Random Array based on Sort source:

var a:Array = new Array(“a”, “b”, “c”, “d”, “e”);
function shuffle(a,b):Number {
var num : Number = Math.round(Math.random()*2)-1;
return num;
}
var b:Array = a.sort(shuffle);
trace(b);

AS2 Random Array based on Sort source:

var a:Array = new Array(“a”, “b”, “c”, “d”, “e”);
function shuffle(a,b):int {
var num : int = Math.round(Math.random()*2)-1;
return num;
}
var b:Array = a.sort(shuffle);
trace(b);

EDIT: you can take a look at algo comparison, with source for much faster approach in new post

Standard
Actionscript 3.0, Actionscript 3.0 _, Flash, Flash _, Tutorials, Web developer

ComputeSpectrum and BitmapData filters AS3 Example

This is little computeSpectrum Actionscript 3 example for Flash
There is huge improvement in AS3 with Sound and SoundChannel class.

basiclly computeSpectrum is simple and there are few good examples already available
mine uses some BitmapData filtering examples too

SWF
FLA

if you download fla just put song.mp3 in same folder

UPDATE : two more examples, different graphics but same algo

SWF2
FLA2

SWF3
FLA3

greetz

EDIT: Links are corrected, sorry for keep you waiting. Thanks!

Standard