Problem in setting and getting variable of flash file from java script
I am using flash file with my jsf application. I am setting and getting variables of flash file by JS. But unfortunately I am not able to do this.
I am using one variable to get flashMovie name like: var movieName = getFlashMovieObject("myFlashMovie");
and setting variables like:
movieName .SetVariable("_root.var1", "Value1");
movieName .SetVariable("_root.var2", "Value2"); and so on...
But I am not able to set the variables. I can't see the value in my flash movie.
If anyone can help then it will be great for me.
Thanks in advance,
How do you know it is possible to do this as you've coded it? Have you checked for error messages in your browser? Don't pretend nothing is wrong just because a message doesn't flash (no pun intended) before your eyes! If it isn't working, then hunt for error messages and/or get out your script debugger and step through it line-by-line.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)