0 Replies Latest reply on Nov 3, 2009 8:38 AM by _gilado

    actions script equivalent for java's showDocument

    _gilado

      I am replacing a java applet with flash


      The current implementation has a page with two frames: the applet lives in one frame and controls the other frame.

       

      One java method looks like this

       

          public boolean showPage(String pageurl)
          {
              try {
                  getAppletContext().showDocument(new URL(getDocumentBase(),pageurl),"mainFrame");
              }
              catch (MalformedURLException e) {

                  return false;

              }
              return true;
          }

       

      How can I acomplish this in AS3