Make sure that you have recompiled ALL of your classes and rebuilt ALL
of your swf files.
Assume the offending class is called MyFunnyObject
If an old version of the class MyFunnyObject is in an swf that has not
been recreated, then this happens.
It is not unusual and show up here once or twice a year.
Classes can appear in any number of swfs and the first definition of a
Class that is loaded wins.
If master.swf has a definition of the MyFunnyObject class, loading
swfa.swf with the new class definition for MyFunnyObject will not
overwrite the existing class definition.
This makes some sense since the Flash player has no way to know if you
already have an instance of MyFunnyObject already created. So as it
loads SWFA.swf it checks to see if you are trying to reload any Class
that it already has saved and if so, it skips the new Class definition.
Saves time by not doing useless work.
That is why your graphic elements are OK and your code never changes. It
reads the swf OK and extracts the new stuff and ignores duplicate
information.
If it worked the other way (last in overwrites the earlier one) we would
have the same number of complaints.
It makes sense that if you change a class definition, you have to
rebuild all the swfs that use the class.
Ron
pedr browne wrote:
Hello all,
Got a really nightmarish problem with my copy of Flash8. It has
decided to
start caching certain classes and despite clearing the ASO files, from
within Flash and manually, I can't seem to stop it.
I have a swf ("swfA") which is loaded into another ("master"). When I
publish swfA I have no problems. I can alter code on the root or in
any of
the classes it uses and see the results fine.
However, if I then publish master and wait for it to load swfA, none
of the
code alterations I have made are effective. It seems to have taken a
snapshot of the swf and the classes it uses and refuses to update.
The wierd thing is that I can change graphical elements in swfA,
publish it,
and when loaded into master, they will show up, but no matter what I
do, I
can't get it to recognise new code.
I'm working locally on a macbook pro , though I uploaded the swfs in
question to a server earlier today and I am pulling my hair out in
clumps.
Where would the classes and code be cached? How can I delete them?
_______________________________________________
[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