Issues With Javascript Properly Loading And Seeing Everything
Ok, so I have a form that loads from a request through a zip code widget from another page. THe widget populates two of the form fields immediately, on submit, on the new page. My
Solution 1:
Just a guess, but could it be that the script is executing and trying to communicate with Flash before the Flash object is loaded, and by putting the alert in there you're breaking the execution long enough for the Flash to load?
If so you have a few options:
- Delay the execution of the the script until the Flash element is loaded.
- Execute the script immediately and write any changes to the checkboxes to a flashvar that Flash can read on startup
- Execute the script immediately, but instead of calling to Flash, store the values and have Flash call back to the page using ExternalInterface when it is loaded and ready to display.
Post a Comment for "Issues With Javascript Properly Loading And Seeing Everything"