The name of this class, ‘abc’, conflicts with the name of another class that was loaded, ‘abc’
28Jun2004 [webprog]
Wow, I searched all over the web and these forums, and finally, a "solution"
I'm using Forms, try to assign a class: flashcom.logon_Form and kept getting error:
Line 23: The name of this class, 'flashcom.logon_Form', conflicts with the name of another class that was loaded, 'flashcom.logon_Form'.
class flashcom.logon_Form extends Form {
Which is complete nonsense. But all I had to do to fix it was to re-save the .fla file - when the .as is more recent and you try to add a class Flash runs into strange compile errors. (the .as was modified 8:53pm, .fla was 8:30pm, so I changed it and saved again so it was modified 8:56 and hey presto, everything works...)
This is a ridiculous bug though and it would be really useful if Macromedia could get it fixed and/or better documented!!
Update:
Oh and I found that it helps to keep one window open at C:\Documents and Settings{username}\Local Settings\Application Data\Macromedia\Flash MX 2004\en\Configuration\Classes\aso (or similar). When you add a class or run the file from inside Flash it compiles a .aso file for the class (it may be inside a subfolder to match your class name - eg flashcom/classname.aso for flashcom.classname)
Sometimes however, Flash doesn't recompile, it just uses the existing .aso file, so when things go weird I delete the .aso before previewing... (and leave one window open to delete it again and again, as I find myself making little syntax changes in the class and them not coming through)
« ‘at no time did australian troops...’ :: Artorius Rex »
Related [webprog]
- None of these seem to get in the way (17May2010)
- IE6 and 7 on OSX (20Sep2008)
In which I run IE 6 and 7 on OSX; the entire process using free software - Random on Windows (15May2007)
In which I am baffled by the mystery that is Windows, and once more wooed by the ease with which one can make Python work, even there - Now ETagging Right! (17Apr2007)
In which I stop fighting the framework and let Django handle ETags the right way - Semantics and Style :: Markup for Dialogue (30Dec2006)
- Winter with Django (02Dec2006)
- Drop that double-u-double-u-double-u-dot (08Nov2005)
- Blog/Search (07Oct2005)
- Converting Relative to Absolute links in PHP (preg_replace) (21Sep2005)
- Think You’re Fighting Spam? (14Sep2005)
- BBC backstage access (12May2005)
- funky google trick (28Sep2004)
- The name of this class, ‘abc’, conflicts with the name of another class that was loaded, ‘abc’ (28Jun2004)
- The Altar Of Reason (10Jun2004)
- Domain.com.au Feedback (17May2004)
- aligned with evil (11May2004)
- flash gallery thingy (08Apr2004)