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

Importance of Array class

by admin on September 25, 2007

in Flash CS3,Mix,Tutorials

Greetings to all!

Why this article?
Simple. Many of you have used with Actionscript 2.0, forms and techniques which with the version 3.0, would only create varied errors and would bring negative result.
Often, I receive e-mails with strange questions such as:
– how do I create the name of a variable in runtime?
It is typical of whom still thinks the following way: this['nome'+i]… and would like to realise something such as: var ‘nome’+i:MovieClip=new MovieClip();

My opinion:
– this ['name' + the]… it is obsolete and indeed not very good mannered.
– var ‘name’ + i:MovieClip=new MovieClip (); with Actionscript, it is not possible

Then I have seen in some Italian’s forums that some ‘misunderstood genius’ (perhaps too much misunderstood) answers to this type of questions with eccentric solutions.
Since I don’t like to create polemic and respect other people’s job, I never said a word about it.

What I have seen in these last few days however, has pushed me to write this article in how much at least, I will have the certainty that who wants to correctly learn Actionscript 3.0 will have available another technique, a more valid technique from my point of view.

A lot of solutions to these types of problems are found using the Array class of Actionscript 3.0.
We have already seen a few things in this article, but I wanted to get deeper in one of the many virtue of the array class.

Let us see a concrete example…

Read more

Share This Post

Related posts

Leave a Comment

Previous post:

Next post: