PDA

View Full Version : access flash function with javascript


fmx
03-03-2005, 05:31 PM
is this possiable?
i have searched for a way but, found nothing upto date.

Xeef
03-03-2005, 06:09 PM
not realy but you can make a work around

"flashvars" "watch"

first you create a "Flashvar" in the html (flash can read this) in flash you "watch" for a change in the var
if it's change react acording to it eg start a function (so flash start the function acording to a variable wich is set truh javascript)

fmx
03-03-2005, 07:52 PM
thanks, i'll give it a try.

Xeef
03-03-2005, 08:22 PM
take a look at
http://www.kirupa.com/forum/showthread.php?p=766816#post766816

is a bit more info