--- In [email protected], "hoytlee2000" <[EMAIL PROTECTED]> wrote: > > Hello Lee, > > Thanks! that typecasting line worked perfectly! > > It's interesting I tried to import just the HBox specifically and I still got the error message > in the IDE as: > > Implicit coercion of a value with static type flash.display:DisplayObject to a possibly > unrelated type mx.containers:HBox. > > If I read the line correctly, I can TypeCast a Display Object by using the constructor of the > UIComponent?
You can use something like myHBox:HBox = yourVar as HBox HTH; Amy

