It got us more than once. It is not something that you think about when
you are fixing or enhancing one area.
Using Ant to do your builds is a good way to make sure that everything
gets recompiled when a class changes.
Most of the time it will compile more than you need but at least it
stops this kind of problem that is so hard to resolve unless you are
thinking about the possibility and you have some evidence (debugging)
that your changes did not get fully propagated.
Ron
Dominico Savio wrote:
My bad, one of my team member used that class before I load A.swf. So
your
suggestion is correct Ron. Thanks
On 8/31/06, Dominico Savio <[EMAIL PROTECTED]> wrote:
But B.swf doesn't use C class at all. just use a simple loadMovie call.
Then where is the problem?
D.
On 8/31/06, Ron Wheeler <[EMAIL PROTECTED]> wrote:
>
> Does compiling the B class fix the problem?
>
> If the B.SWF has an old version of the definition of the C Class, then
> rebuilding A.SWF will not get rid of the copy of the definition of
Class
> C in the B.SWF. When Flash player needs to use Class C it uses the
first
> definition it finds.
> Common problem - bit us a few times.
>
> Ron
>
>
> Dominico Savio wrote:
> > I have this weird problem, and could not find any solutions on net.
> >
> > I have 2 swf A and B, and A.swf using a C class, and A.swf will be
> loaded
> > into B.swf .
> >
> > Whenever I modified C class, then recompile A, the A.swf functions
> > correctly
> > when it's played alone or tested in authoring environment. But
when I
> > load
> > A.swf in B.swf, then A.swf behaves just like before I modifield C
> > class. To
> > fix this problem I have to change class path, and this solution
is not
> > good
> > at all if I frequenly update C class.
> >
> > I have tried Clear ASO Cache component, I have physically deleted
the
> > whole
> > ASO folder, and still not fix it. Any idea?
> >
> > Dominic
> > _______________________________________________
> > [email protected]
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
> >
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com