Crismo
02-12-2004, 09:23 AM
Having some trouble with flash / JavaScript / iframes
I have made tow files Test1.htm and Test2.htm
Test1.htm holds tow iframes both linking to Test2.htm, the difference is the location.
The first instance of Test2.htm is located on the same server as Test1.htm
The second instance is located at another server.
Test2.htm holds one html push button that triggers the JavaScript function TestFunction.
It also contains a flash movie with a button that triggers the same function.
And this is the weird part.
The flash movie and bush button in the first iframe both trigger the JavaScript function.
But in the second iframe (the one that links to a different server) only the push button works.
I have tried moving the JavaScript function to the Test1.htm. No effect.
I have tried hard coding the “address” to the script ( frames[0].window.TestFunction();) . No effect.
And lots of other combinations, nothing seams to get the second flash button to trigger.
Any ideas to a solution / workaround would be really appreciated
I have made tow files Test1.htm and Test2.htm
Test1.htm holds tow iframes both linking to Test2.htm, the difference is the location.
The first instance of Test2.htm is located on the same server as Test1.htm
The second instance is located at another server.
Test2.htm holds one html push button that triggers the JavaScript function TestFunction.
It also contains a flash movie with a button that triggers the same function.
And this is the weird part.
The flash movie and bush button in the first iframe both trigger the JavaScript function.
But in the second iframe (the one that links to a different server) only the push button works.
I have tried moving the JavaScript function to the Test1.htm. No effect.
I have tried hard coding the “address” to the script ( frames[0].window.TestFunction();) . No effect.
And lots of other combinations, nothing seams to get the second flash button to trigger.
Any ideas to a solution / workaround would be really appreciated