Sorry Sudha, I've never done this, but you can also set layout="absolute" on a Panel. oops.
-TH --- In [email protected], "Tim Hoff" <[EMAIL PROTECTED]> wrote: > > > Hi Sudha, > > A Panel container uses relative positioning. For absolute positioning, > use a Canvas. > > -TH > > --- In [email protected], "sudha_bsb" sudha_bsb@ wrote: > > > > Hi, > > > > I have a long horizontal panel. I want to add images to it at a > > particular position for each image. > > > > Say I have a panel of width 250 and height 50, with x as 0 and y as 0 > > > > I want to add images at (0,0) (50,0), (150,0), (200,0) > > > > Setting the x and y for images is not helping. > > > > for(var i:int =0;i<dp.length;i++) > > { > > var img:Image = new Image(); > > img.source = "img/separator_vert.png"; > > img.x = i*50; > > img.y = 0; panel.addChild(img); > > } > > > > please help...am I missing something or do I need to use some other > > container for this... > > > > Thanks, > > Sudha. > > >

