1 Reply Latest reply on Jun 7, 2007 10:02 AM by NogginAnimations

    getURL opening in new window instead of frame

      Using Flash for a website for the first (always been just a backend php, asp, java programmer) and having the most frustrating time with what should be the simplest thing. I have a button that on the mouse down is supposed to load a link into another frame, but instead it opens a new window with the link. In the html file I have an iframe defined with the proper name, that matches the name placed in the actionscript. What am I missing?

      Here is the HTML Code:

      <iframe src="home.html" width="766" name="mainFrame" frameborder="0"><iframe>

      Here is the Actionscript Code:

      on (release) {
      getURL("new.html", "mainFrame");

      Thanks a lot for your help!