Hi Rich,

I just read something about (2) in Programming ActionScript 3 (the Adobe manual that comes with Flex 2) in Chapter 5 "Display Programming" - Traversing the display list.

HTH

Phil

richmcgillicuddy wrote:

How would I do the following in AS3.

1. Find an object by id, something like:

psuedo code-

foundobject = app.components.findbyID("lblText");
foundobject.dostuff;

2. Similar, is there a app.components that I can cycle through that
will list all application components/objects.

psuedo code again

for (i=0;i<components.count-1; i++) {
var thisObject:TObject = components[i];
thisObject.doStuff..
}

Rich


-- 
______________________________________________________________ 
Phil Marston 
Technology Enhanced Learning
Centre for Learning & Teaching 
University of Aberdeen
Aberdeen
AB24 3QY

Email: [EMAIL PROTECTED]
Tel: +44(0)1224 273329
Mob: +44(0)7798 723660 
Web: http://www.abdn.ac.uk/clt/
______________________________________________________________

The University of Aberdeen Open Day 29th August 2006
Booking is essential
www.abdn.ac.uk/openday
email [EMAIL PROTECTED]
or call 0800 027 1495
__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to