开发者

Import ResultEvent in Flash

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

This is how I did it:

  1. In "Publish Settings/Flash/Act开发者_高级运维ionScript 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 know what I am doing wrong?

Thanks, Vincent.


The ResultEvent class is part of mx.rpc.events

import mx.rpc.events.ResultEvent;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜