A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: load javascript variable into flash field

  1. #1
    Junior Member
    Join Date
    Mar 2000
    Posts
    1

    Question

    i am trying to load javascript variables into flash fields through SetVariable() method as the page is being loaded(on the fly). i tried calling a function from a onload handler to load the varibles into the flash fields to give the movie the time to finishing loading, but i still get an error. even when i have the last frame of flash movie send a call to the variable loading function(hope that this guarantees that the movie is fully loaded and functional), same outcome results. only when i call the function through an event, like onclick which guarantees that the movie has been loaded fully, the variables gets loaded.

    say i have saved the user's name through a form into a javascript object's property or variable(on client side), and at the end, i would like to say goodbye with an confirmation which reloads the user's name in it. Obviously i cannot have a button which ask the user to press to see his/her name on the screen. This should be done on the fly and i am having some problems.

    does anyone can shed a light on a workaround?

  2. #2
    FK founder & general loiterer Flashkit's Avatar
    Join Date
    Feb 2000
    Location
    Sydney
    Posts
    1,149

    Post

    This is the WRONG forum to post this message in. Please post in Help or scripting.

    Your post will be deleted from this forum in a days time.



    ------------------
    Regards Mark Fennell
    ---------------------
    Flash Kit Webmaster

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center