[osflash] Calling Javascript from Actionscript - Multiple identical instances = Duplicate calls?

Paul Tongyoo paultongyoo at comcast.net
Mon Jun 4 00:29:14 EDT 2007


Hi all-

 

I am embedding multiple instances of the same SWF button on one page and am
calling a Javascript function in certain cases when that button is clicked.
I don't have any problems getting the Javascript func called, but the odd
part is that the function is called once for every instance of that SWF
button - even though I only clicked on one of the buttons.  Does anyone know
why this might be happening?

 

(I used this following tutorial:
http://osflash.org/projects/flashjs/tutorials/jstoas)

 

Thanks in advance!

 

Paul

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/osflash_osflash.org/attachments/20070603/2f70e52f/attachment.htm


More information about the osflash mailing list