The only way it works is if I add an alert when the pop up opens. It seems to pause just enough time to allow the window to open and the player to open then calls the function, but I don't want to open an alert all the time for no reason.
Another way I thought it could work is to open another pop up window outside of the view of the screen and then close it right away. But is there anything else I could do?
You could possibly try having the onload function call the original function after a set time and experiment with the delay time
Hey, that is a good idea. The only problem is that my function takes an argument and i cannot succeed in placing it inside the timeout function.
var isIE = navigator.appName.indexOf("Microsoft") != -1;
flashMovie = player.window["add-player-as3"]
flashMovie = player.document["add-player-as3"];
The trackId variable is not recognized. Is it possible to pass an argument like this inside the setTimeout() function?
I got it
just in case there are others who would like to know.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)