[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 186
  • Last Modified:

Can I use ExternalInterface.call() to send variables to a javascript function?

I am using the following to call the javascript function 'js_set_cookie' from my Actionscript 3.0 file:

ExternalInterface.call("js_set_cookie");

I would like to send a variable to the function when it is called.  Is there a way to do this?
0
tprofits
Asked:
tprofits
1 Solution
 
CyanBlueCommented:
Just throw in the value you'd like to send like this...
(You could have just asked this on the previous topic...)

CyanBlue
ExternalInterface.call("js_set_cookie", "Hello");

Open in new window

0
 
tprofitsAuthor Commented:
I think that will get me through the rest of the day!  Thanks.
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now