Question
Calling Javascript (k)
I've done this(calling a Javascript function from Flash)
before, but
haven't done it in a while.
I want to get this HTML code:
<a href="JavaScript:void(0)" onclick="ChangeState('link1')">Link 1</a>
to work in Flash. Here is where I am with it. I attached this
ActionScript to a button in Flash. On the HTML page the flash file
resides is the Javascript.
on (release) {
getURL("javascript:void(0)" and "ChangeState('link2')");
}
Any ideas?
-Kirk
haven't done it in a while.
I want to get this HTML code:
<a href="JavaScript:void(0)" onclick="ChangeState('link1')">Link 1</a>
to work in Flash. Here is where I am with it. I attached this
ActionScript to a button in Flash. On the HTML page the flash file
resides is the Javascript.
on (release) {
getURL("javascript:void(0)" and "ChangeState('link2')");
}
Any ideas?
-Kirk