I'm working with the ExternalInterface Class right now,
It seems to be working ok, but I am having a particular problem. Can
anyone who's used both point out any differences between the
ExternalInterface Class and the Integration Kit? Or was it just a pre
Flash 8 solution?
My problem, in case you can also help with this (Should I be posting
this in a separate post?):
My first call from Flash to Javascript (using ExternalInterace)
initiates a Javascript Object, this works happily and returns it's
name to prove it's existence.
The second call tries to refer to a method within that Object, using
the same interface. This fails from Flash, but works when called
from a HTML link (which invokes a Javascript call).
Does ExternalInterface allow you to make method calls to an Object?
If not does the JS/Flash Kit?
basic calls made are:
(First Call -Working, creates a JS Object)
var javaObj:String = "jsHistory"
var attempt:Object = ExternalInterface.call("initSubscriber", javaObj);
(Second Call - Not working, attempts to call JS Object method)
var attempt:Object = ExternalInterface.call
("jsHistory.loadNextBookmark")
Thanks
On 12 Jun 2006, at 16:29, Mike Britton wrote:
I recommend going with ExternalInterface. No external files needed:
http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/
html/wwhelp.htm?context=LiveDocs_Parts&file=00002200.html
However the kit is good and definitely works!
Mike
Dan Efergan
[EMAIL PROTECTED]
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com