hi, anyone? ^^; please, it's ok to tell me if it can't be done... this was done as a recode in relation to a question i had a few months back that i couldn't solve the easy way... and i really need a solution by today, if possible ^^;
if not, the only solution i can think of is to manually compute all the x- and y- coordinates (i.e. compute height/width of icon + height/width of label, etc.) and use graphics to draw the lines manually again... i am trying to avoid this because in my previous coding, it was really tedious and computations may not apply to all possible cases (and i need something that will apply to most, if not all cases). my previous implementation did (so far) but dedicating x100 lines of code for computations only is bad :( i'm sorry... just really desperate... --- In flexcoders@yahoogroups.com, "callistachan" <[EMAIL PROTECTED]> wrote: > > hello again, > > a component of mine looks something like this: > <mx:canvas> > <mx:hbox> > <mx:horizontallist /> > <mx:tilelist /> > </mx:hbox> > </mx:canvas> > > now, my question is this... my horizontal list contains, as a data > provider, an array collection of objects (which basically is your > average icon with a label). pretty straightforward enough. however, > what i need to do is locate the x- and y- coordinates of *each* of > these objects because i need to draw lines to it (think of a map...) > > i am not sure where exactly to start... i was thinking of using > something like the function localToGlobal() but i think the way i > coded makes this not feasible... or i'm even using the wrong things... > > please please please... any help would be truly appreciated! thanks :) >