[flashpro] communication between JavaScript and Macromedia Flash
eric choisy
bbp at bbp-online.com
Tue Jan 18 12:23:22 EST 2005
Hi Matt
The only solution (i've found) to communicate with javascript and
flash (on Mac and PC) is to use an invisible frame, with a smal flash
and a localConnection() object, that reload each time you have to
communicate with the flash.
you transfert your var to flash in the flashvars
(in the html code : <PARAM NAME=FlashVars
VALUE=var1=valeur1&var2=valeur2>) in the hidden flash/frame
i've used it to know the innerheight and innerwidth of the browser
window...
it's not really good enougth , some init prob on IE PC (first load)...
perhaps others have better ideas and results
regards
eric
Le 5 janv. 05, à 17:02, Matthew Zoern a écrit :
> Happy New Year Everyone!
>
> Trying to get some communication between javascript and my flash
> movies. When I try the page, it works on all browsers on the PC, but
> none on the mac. This article mentions that it should work on Mac.
>
> http://www.macromedia.com/cfusion/knowledgebase/index.cfm?
> id=tn_15683#jtfc
>
> Anyone encounter this or know of a way I can get this to work.
>
>
> matt
>
> ------------------------------------------------------------------
> send message to the list: mailto:flashpro at muinar.org
> [FlashPro] list info, subscribe, archive: http://flash-list.com/
> There's also a WebPro mailing list: http://webdesign-list.com/
> cutting-edge sounds for flash: http://flash-sounds.com/
>
More information about the FlashPro
mailing list