Quantcast
Channel: Adobe Community : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 238792

Making Javascript provide an ID# ?

$
0
0

Hi!

 

For a Flash navigation bar I need to provide a button ID# instead of linking my button directly to a URL. Other scripting on the page is referring to the button ID to make my page hide/show certain content on button release.

 

Earlier I was able to have Java script help open a popup window by using this code:

 

In Flash:

on (release) {

getURL ("Javascript:popup3():");

{

 

 

In HTML

          <script language="JavaScript">

function popup3() {

window.open('http://www.URL.html','','toolbar=no,location=no,directories=no,status= yes,menubar=no,scrollbars=no,resizable=yes,width=620,height=710,left=1 0,top=10');

}

</script>

 

Question:

Can I use this kind of code to make flash trigger a java script that provids an ID for a Button on release?

 

 

If so what would it look like?

 

Thank you on beforehand.

 

ggaarde


Viewing all articles
Browse latest Browse all 238792

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>