Import ResultEvent in Flash

Posted by Vinzcent on Stack Overflow See other posts from Stack Overflow or by Vinzcent
Published on 2010-05-13T10:10:52Z Indexed on 2010/05/13 10:14 UTC
Read the original article Hit count: 258

Filed under:
|
|

Hey,

I would like to import the Flex class ResultEvent in Flash.

This is how I did it:
1. In "Publish Settings/Flash/ActionScrip 3.0 Settings/Library Path" I selected the rpc.swf (from the flex sdk)
2. Then I wrote in my flash-file: import mx.rpc.ResultEvent;

But i still get the following error:

1046: Type was not found or was not a compile-time constant: ResultEvent.

Does anyone knows what I am doing wrong?

Thanks, Vincent.

© Stack Overflow or respective owner

Related posts about actionscript-3

Related posts about flash