Import ResultEvent in Flash
I would like to import the Flex class ResultEvent in Flash.
This is how I did it:
- In "Publish Settings/Flash/Act开发者_高级运维ionScript 3.0 Settings/Library Path" I selected the rpc.swf (from the flex sdk)
- 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 know what I am doing wrong?
Thanks, Vincent.
The ResultEvent class is part of mx.rpc.events
import mx.rpc.events.ResultEvent;
精彩评论