2 windows opening now from proj


OH dear…
Why would this be?

Putting this on the button:

on (release) {
address = “flash.html”;
target_winName = “flash”;
width = 650;
height = 350;
toolbar = 0;
location = 0;
directories = 0;
status = 0;
menubar = 0;
scrollbars = 0;
resizable = 0;
openWinCentre(address, target_winName, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable);

and then putting this on the action layer:

_global.openWinCentre = function(url, winName, w, h, toolbar, location, directories, status, menubar, scrollbars, resizable) {

The Pop UP works when I do this through the projector! BUT I get TWO windows opening - first the browser window (from geturl command ) and then the popup .

i think you’re over complicating things…

get rid of that code on your actions layer and try it again…

What is happening is there is no way of having a popup in flash unless html and java based

Javascript you mean. Java != Javascript. Stupid people who named them the same… And he IS using javascript- “javascript:” at the front of a url will execute the following code as javascript.

That being said… flash can execute javascript on the html page it is embedded in with fscommands, I think. I have never done it myself, I would suggest a look on google.