[osflash] Problems using Flash JavaScript Integration Kit with Flex2 and ActionScript3
Allen Young
allenmacyoung at gmail.com
Sun Aug 27 22:06:03 EDT 2006
Hi all,
I'm using Flash JavaScript Integration Kit(FJIK) with Flex2 and
ActionScript3 now. It seems that the source code of FJIK is written in
ActionScript2, so there are some erros when I compile it with ActionScript3.
I have done almost all the fixes according to ActionScript 2.0 Migration
Guide, but there is still one problem that I cannot solve myself.
In JavaScriptProxy.as, function JavaScriptProxy(lcId:String,
instance:Object), the following code does not compile:
receiving_lc = new LocalConnection();
receiving_lc.controller = this;
receiving_lc.callFlash = callFlash;
In ActionScript3, LocalConnection class has been moved to package flash.net,
which I've fixed already. But the controller and callFlash thing is not in
the LocalConnection class and there is no migration informaction about this.
What should I do about this? Does anybody have the same problem? Thanks.
Best regard.
Allen.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/osflash_osflash.org/attachments/20060828/70c0986c/attachment-0001.htm
More information about the osflash
mailing list