limscoder / amfast

An Adobe AMF serialization and RPC implementation for Python, written as a C extension for speed.
MIT License
5 stars 6 forks source link

Flex compiles addressbook but won't let me run it #44

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

Download source and libs AmFastLib.swf and insert them into a new flex 
project. 3.2, 3.3, or 4.0

Wait for compile and then Run it 

I have flash player 10 debug version and it played the precompiled swf fine 
off my site... I have amfast addressbook example working on my server, but 
I am kind of lost as to why flex throws so may errors.

Are there compiler arguements I need to include? I feel like I am missing 
something simple...

Here is the first of many errors, but the only one mentioning remoteing is

VerifyError: Error #1053: Illegal override of initEndpoint in 
mx.rpc.remoting.mxml.RemoteObject.

    at flash.display::MovieClip/nextFrame()
    at 
mx.managers::SystemManager/deferredNextFrame()[C:\autobuild\galaga\framewor
ks\projects\framework\src\mx\managers\SystemManager.as:322]
    at 
mx.managers::SystemManager/preloader_initProgressHandler()[C:\autobuild\gal
aga\frameworks\projects\framework\src\mx\managers\SystemManager.as:3094]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at 
mx.preloaders::Preloader/timerHandler()[C:\autobuild\galaga\frameworks\proj
ects\framework\src\mx\preloaders\Preloader.as:399]
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()

Original issue reported on code.google.com by JoshBWh...@gmail.com on 28 Oct 2009 at 1:32

GoogleCodeExporter commented 9 years ago
That's weird. I think the AmFastLib.swc was compiled with SDK version 3.4. 
Maybe try
using that SDK, or re-compiling AmFastLib with whichever version of the SDK 
you're using?

Original comment by dthomp...@gmail.com on 30 Oct 2009 at 6:12

GoogleCodeExporter commented 9 years ago
It looks like re-compiling AmFastLib with the same version of the Flex SDK 
fixes the
problem.

Original comment by dthomp...@gmail.com on 1 Nov 2009 at 10:09