Just wondering, i have a flash presentation which will run from a CD, not online.
Some of the buttons open up a selected URL. The problem is when i click on them, the browser stays minimised or behind the flash movie.
Sooo, i know i can make a popup window using javascript, what im wondering is since its loading from the flash movie will i still have the following problems.
The Link wont open at all if someone has JS disabled
If they have popups turned off on their browser im guess it will likely be blocked and again not open.
So… is there any safe way to open a popup window? or is there a way to open a normal link without javascript and make sure it opens in front of the flash movie?
Doh… i dont want to open it with javascript at all, and I cant find a way for the window to open in front of the standalone player :(. Im stumped with the options now, maybe there is a way to send the standalone player behind all windows?
Usually the newly open window gets focus if we’re using the getURL() method. Some thing like this…
/:b1.onRelease = function (){ //This is the button you want to click
getURL("[http://www.yourdoma](http://www.yourdoman)in.com", "_blank");
}
However when are creating the projector files that .Exe file comes in the full screen if you’ve added an FS command … So the resulting factor is the window comes behind that. Othewise it works fine. Just try our this. :ro:
@Byron2: The dude didn’t want to use javascript… dude @abhilashkk: It’s a nice thought, but what if it’s a tabbed browser that’s already opened.
I think the best solution is to use a 3rd party software like SWF studio pro that has extended fscommands… I think there was a focus true/false command somewhere in there…
Ok well, i tried the getURL many times, even when the projector wasnt full screen the browser always opened in the background.
What i have done is created .exe files which open the URL instead, and clicking the buttons runs these files with fscommands. This makes the browser open in front so it works fine. Bit of a pain work arround but it works and its not javascript. Of course you still cant control what the window looks like without javascript.
I wouldnt have had any problem if flash could display html tables but oh well :(.
One question i do have, is there any limitation on using .exe files? Is there any situation where they dont work. I have put them in the fscommand directory, and on my pc it doesnt ask the user before hand to open it which is good.