In this tutorial, we saw how important can be an Array.
Also, I explained the basics of the Arrays .
I think it is time to start looking at some methods of the Array Class in more details.
A very useful one is the method ‘splice’.
This method adds or eliminates an element from an array without creating a copy of the Array itself.
Let us say that we want to create a banner in rotation which would display different banners for our client.
This banner loads an external SWF every tot seconds.
It should be random but without reloading the same external SWF twice.
In this case, the method splice is our man…







{ 0 comments… add one now }