开发者

Import ResultEvent in Flash

开发者 https://www.devze.com 2022-12-30 07:52 出处:网络
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 th

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

精彩评论

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

关注公众号