Skip to main content
Inspiring
Mar 18, 2010 12:50 PM UTC
Question

Error #1053: Illegal override of exportXMLAttributes in flashx.textLayout.conversion.FXGExporter

Error #1053: Illegal override of exportXMLAttributes in flashx.textLayout.conversion.FXGExporter

Any idea why I am getting this error when using the latest textLayout.swc from the latest nightly build 4.1.0.14837 or stable build 4.0.0.13875?

thanks

Nikos

This topic is closed to new replies. Start a new post to keep the conversation going.

8 replies

Inspiring
Apr 12, 2010 3:17 PM UTC

Well, I'm seeing this after moving from Beta 2 to released FB 4.  I've grep'ed for both exportXMLAttributes and FXGExporter, and neither exist in our code.  Happens on two different machines with FB4 installed.

Flash player 10,0,45,2; Firefox 3.5.9, Windows 7 64-bit.

Any suggestions anyone...?

Thanks,

Rich

Translate
Inspiring
Apr 12, 2010 10:50 PM UTC

That class was removed from TLF.  You may want to do a "clean" on your project.  If that doesn't work I'd suggest removing the .metadata directory and reloading the projects.

Hpoe that helps,

Richard

Translate
Inspiring
Apr 13, 2010 1:50 PM UTC

Thanks for your quick reply Richard.  Unfortunately though, the problem still happens even after removing the workspace .metadata directory and doing a full clean/rebuild.  It happens both when launched from FB4 for debugging, and when opening a Web page with the SWF embedded, in the browser.  The problem occurs very early in the launch process.  It's not possible to debug beyond the error, but if simply opened in the browser, I can dismiss the error message and the app largely works.

FYI, here is the stack dump:

VerifyError: Error #1053: Illegal override of exportXMLAttributes in flashx.textLayout.conversion.FXGExporter.

    at flash.display::MovieClip/nextFrame()
    at mx.managers::SystemManager/deferredNextFrame()
    at mx.managers::SystemManager/preloader_preloaderDocFrameReadyHandler()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.preloaders::Preloader/timerHandler()
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()

Thanks,

Rich

Translate
Inspiring
Mar 18, 2010 4:57 PM UTC

There is no FXGExporter class -- use TextLayoutExporter.  The exportXMLAttributes method doesn't exist any more either.  I don't quite recall what it did but the method you may be looking for is exportStyles.

What are you trying to accomplish?

Hope that helps,

Richard

Translate
Nikos_Author
Inspiring
Mar 19, 2010 1:11 PM UTC

Weird, the error disappeared after a few compiles..

Wasn't trying anything, I just updated to the latest version of textLayout.swc.

cheers

nikos

Translate