tags:

views:

31

answers:

2

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); }

+1  A: 

Have you tried using quotes around the second argument?

on (press) {
  getURL("index.html", "self");
} 
jdecuyper
+1  A: 

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

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