Flash CS4 refuses to let go

后端 未结 7 2245
一个人的身影
一个人的身影 2020-12-02 03:09

I have a Flash project, and it has many source files. I have a fairly heavily-used class, call it Jenine. I recently (and, perhaps, callously) relocated Jenine from one name

相关标签:
7条回答
  • 2020-12-02 03:40

    Flash still has the ASO file, which is the compiled byte code for your classes. On Windows, you can see the ASO files here:

    C:\Documents and Settings\username\Local Settings\Application Data\Adobe\Flash CS4\en\Configuration\Classes\aso
    

    On a Mac, the directory structure is similar in /Users/username/Library/Application Support/


    You can remove those files by hand, or in Flash you can select Control->Delete ASO files to remove them.

    0 讨论(0)
  • 2020-12-02 03:46

    Try deleting your ASO files.

    ASO files are cached compiled versions of your class files. Although the IDE is a lot better at letting go of old caches when changes are made, sometimes you have to manually delete them. To delete ASO files: Control>Delete ASO Files.

    This is also the cause of the "I-am-not-seeing-my-changes-so-let-me-add-a-trace-now-everything-works" bug that was introduced in CS3.

    0 讨论(0)
  • 2020-12-02 03:50

    Do you have several swf-files? If your class is imported in one of the swf's, other swf's will also use the same version of the class. One old import with * in one swf will do it. Recompile everything and see if it works.

    0 讨论(0)
  • 2020-12-02 03:53

    What if you compile it using another machine? A fresh installed one would be lovely. I hope your machine is not jealous.

    0 讨论(0)
  • 2020-12-02 03:56

    Also, to use your new namespaced class you can also do

    var jenine:com.newnamespace.subspace.Jenine = com.newnamespace.subspace.Jenine()
    
    0 讨论(0)
  • 2020-12-02 03:57

    Use a grep analog to find the strings oldnamespace and Jenine inside the files in your whole project folder. Then you'd know what step to do next.

    0 讨论(0)
提交回复
热议问题