The amazing adventures of Doug Hughes

I’ve seen some forum messages about this error:

VerifyError: Error #1053: Illegal override of subtopic in mx.messaging.Consumer

This seems to happen to people who’ve installed CF8 and are using FlexBuilder 2 to create Flex projects using Flash Remoting or LCDS (formerly FDS). Why does this happen?

If you look in the properties for a Flex project under FB2 w/a CF8 server, you’ll see that there’s an entry pointing to {cf_install_path}/wwwroot/WEB-INF/flex/libs/fds.swc. This library conflicts with the Flex2 framework SWCs that come with FlexBuilder. The solution?? Pretty easy.

In the project’s Properties panel (right-click the project and hit Properties…) you’ll see a Flex Build Path entry in the list on the left. Click it, then choose the Library Path tab on the right. Now click “Add SWC Folder…” and navigate to your CF server’s {cf_install_path}/wwwroot/WEB-INF/flex/libs folder and click Choose. This will add the {cf_install_path}/wwwroot/WEB-INF/flex/libs folder as a Flex2 library folder to your project. Now remove everything in the Build Path Libraries: window except for:

  • ${FRAMEWORKS}/libs/playerglobal.swc
  • ${FRAMEWORKS}/libs/locale/{locale}
  • /Applications/ColdFusion8/wwwroot/WEB-INF/flex/libs
  • NOTE: Your path to /WEB-INF/flex/libs may be different

Now go back into FlexBuilder 2 and use the Project menu to get to the Clean… menu choice. Choose to clean your Flex project and it should compile, run, debug and in general work just fine with Flash Player 9.0.x.

I was having several issues caused by these mismatched libraries… from the “Illegal override of…” error to being unable to run the project at all, to the project compilling and launching but not running right. It was very frustrating, but once I switched over to the Flex2 libraries that come with CF8 I was up and running just dandy.

Hope this helps!

Laterz…

Comments on: "Illegal Override Error (Error #1053) in FB2 Flex projects w/CF8" (12)

  1. HENRY AYDIN said:

    Thank you for this nice solving.

    Like

  2. Very nice fix worked great for a site im working on. You the Man!!

    Like

  3. Very nice fix worked great for a site im working on. You the Man!!

    Like

  4. Very nice fix worked great for a site im working on. You the Man!!

    Like

  5. Very nice fix worked great for a site im working on. You the Man!!

    Like

  6. Very nice fix worked great for a site im working on. You the Man!!

    Like

  7. Thanks! it worked!

    Like

  8. Thanks for the Tip.It is working… I was scraching my head… it saved some time.

    Like

  9. Susrut Mishra said:

    Thanks a lot! Nice article

    Like

  10. This article really helps me a lot.
    Thank you very much!

    Like

  11. Thanks a lot!

    Like

  12. Craig Verrastro said:

    Thanks for the tip! It solved my problem perfectly and saved me lots of time.

    Like

Comments are closed.

Tag Cloud