You are right. Now i use a generic library (myLib.swc) as RSL. The RSL
is loaded first and my problem is solve...

I can use RSL or link-report to load repetitive class, but what is the
advantage to use link-report?

--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Because it is a common problem.  Try putting a ToggleButtonBar in the
> main app first to prove it one way or another.
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of nxzone
> Sent: Tuesday, March 27, 2007 2:36 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: TypeError: Error #1034: Type Coercion failed :
> 
> 
> 
> Why you think this bug is due to this cause? Why loading the shared
> content before should solve the "Type Coercion failed: cannot convert
> mx.controls::[EMAIL PROTECTED] to mx.controls.ButtonBar" ?
> 
> --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
> , "Alex Harui" <aharui@> wrote:
> >
> > Check out the shared code portion of my modules presentation at
> > blogs.adobe.com/aharui
> > 
> > ________________________________
> > 
> > From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
> [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
> ] On
> > Behalf Of nxzone
> > Sent: Monday, March 26, 2007 2:27 PM
> > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> 
> > Subject: [flexcoders] Re: TypeError: Error #1034: Type Coercion failed
> :
> > 
> > 
> > 
> > Same problem ...
> > Line 158 of ButtonBarButtonSkin.as... (parent.parent is a
> > ToggleButtonBar not a buttonbar)
> > var bar:ButtonBar = parent ? ButtonBar(parent.parent) : null;
> > 
> > --- In flexcoders@yahoogroups.com
> <mailto:flexcoders%40yahoogroups.com>
> <mailto:flexcoders%40yahoogroups.com>
> > , "lrhazi" <lrhazi@> wrote:
> > >
> > > I get this annoying error often:
> > > 
> > > TypeError: Error #1034: Type Coercion failed: cannot convert
> > > mx.controls::[EMAIL PROTECTED] to mx.controls.ButtonBar
> > > 
> > > My app uses Modules and has a user login/logout functionality... I
> get
> > > the above error systematically when i logout of an account and login
> > > to a second one.
> > > 
> > > Any hints on what to look for?
> > > 
> > > Thank you very much.
> > > Mohamed~
> > >
> >
>


Reply via email to