dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: Problem in setting and getting variable of flash file from java script

  1. #1
    Join Date
    Nov 2008
    Posts
    7

    Problem in setting and getting variable of flash file from java script

    Hi all,

    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,
    JSF GEEKS

  2. #2
    Join Date
    Feb 2008
    Posts
    1,666
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles