1
votes

in flash when i click on button this open a new window. but i need this in self window.

my action script is that

on (press) { getURL("index.html", _self); }

2

2 Answers

1
votes

The second argument for "window" should be enclosed in quotes:

on (press) { getURL("index.html", "_self"); }
1
votes

Have you tried using quotes around the second argument?

on (press) {
  getURL("index.html", "self");
}