Could you set a watch on the variable?  I haven't done it, but my
understanding is that you can set a function to be called any time a
particular variable is changed.  In theory this would let you know
when the value was changed by javascript and then you can handle it.

http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00002592.html

  -Andy

On 4/25/07, John Dowdell <[EMAIL PROTECTED]> wrote:
The browser is a big variable in latency of message-passing. You can confirm 
that many SWF will run at different rates in different browsers. The NPRuntime 
API is now implemented pretty well in today's popular browsers, but the size 
and timing of permissible messages may vary among implementations.
http://www.mozilla.org/projects/plugins/npruntime.html

In this case, though, it looks like you're using the old "javascript:" 
pseudo-URL, and then polling immediately for a result. It may be better to wait a frame 
or two, or an interval, before checking whether the plugin-to-browser and 
browser-to-plugin communication cycles have finished. I don't know how many browsers 
would stop the plugin's execution during the attempted cross-app communication.

jd/adobe
_______________________________________________
[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

_______________________________________________
[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

Reply via email to