View Single Post
  #10 (permalink)  
Old February 21st, 2005, 05:48 AM
joefawcett's Avatar
joefawcett joefawcett is offline
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Your code runs before the page has finished rendering so the iframe is not available, it needs to be run after the window.onload fires. Put the code into a function called "changeFlashFrame" and add onload="changeFlashFrame();" to the body tag. Don't forget to remove the debugger statement after testing.

--

Joe (Microsoft MVP - XML)
Reply With Quote