I am trying to use the Flex 4 SDK mx.rpc package in a Flash application. I imported Flex rpc.swc (Adobe \ Adobe Flash Builder 4 \ sdks \ 4.0.0 \ frameworks \ libs \ rpc.swc) into my project, adding it to the list in Flash "Publish Settings / Flash / ActionScrip 3.0 Settings / Library Track " It seems that I have access to classes, however when compiling I get this error:
1046: Type was not found or was not a compile-time constant: [mx.rpc]::IResponder.
There is no place or line for error. Any idea how to make this work? TIA!
Notes: I am using Flash Builder 4 and Flash CS5
source
share