> I'm not sure I understand what you mean by an "array of typed objects"

That's an array of objects that are typed as some class you've created. For
example, with the data you entered in another message:

> // the array
> arrData = [
>       {sName: 'web 1',
> sURL:'http://192.168.0.1',sUsername:'admin',sPassword:'[EMAIL PROTECTED]'},
>       {sName: 'web 2',
> sURL:'http://192.168.0.2',sUsername:'admin',sPassword:'[EMAIL PROTECTED]'},
>       {sName: 'web 3',
> sURL:'http://192.168.0.3',sUsername:'admin',sPassword:'[EMAIL PROTECTED]'}
> ];

You could create a class to represent a "site", which would contain a name,
URL, username and password:

package whatever;

public class Site {

        public var name:String;
        public var sURL:String;
        public var username:String;
        public var password:String;

}

Then, rather than just creating an array of generic objects, you could
create an array of objects with a specific datatype of Site.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:5342
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37

Reply via email to