Hi, have you tried using another identifier name instead of myBorder? The warning you're getting simpy tells you that the class you're subclassing (mx.controls.Image) already defines a variable myBorder.
Dirk. > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] > Behalf Of Duccio Del Ministro > Sent: Friday, April 22, 2005 1:13 PM > To: [email protected] > Subject: [flexcoders] using mx.graphics.Rect > > > > I'm trying to use the class mx.graphics.Rect to design > a rectangle inside a component that extends from > mx.controls.Image. When i declare a private varible i > get a compilation warning: "The member, myBorder, > hides a member in ancestor class, 'mx.core.View'.". > Why? How can i draw a rectangle inside a component > using Rect class? Is there an example? > Thanks > Duccio Del Ministro > > > > ___________________________________ > Nuovo Yahoo! Messenger: E' molto pi� divertente: Audibles, > Avatar, Webcam, Giochi, Rubrica... Scaricalo ora! > http://it.messenger.yahoo.it > > > > Yahoo! Groups Links > > > > > > > > Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

