Themes

Categories

Archives

Meta

targeted frames in flash

Posted January 8th, 2009 by
Categories: straightguysca.com
  • Hola!
    Just been tru flash player 9 and the targeted frames do not work

    onRelease = function() {
    getURL("home.html",target="mainFrame");

    It just pops up another window.
    Is there some new code for it?

    Thanks!

    Mao Lee


  • getURL() is deprecated in Flash 9. you need to use navigateToURL:

    import flash.net.navigateToURL;
    import flash.net.URLRequest;

    var myRequest:URLRequest = new URLRequest("http://www.saydesign.com");
    navigateToURL(myRequest, "_top");


  • I'm not sure how it works for player 9 but it was allways:

    onRelease = function () {
    getURL("home.html", "mainFrame");
    };


    scotty(-:


  • Did you try changing the window parameter? The options are:
    "_self" specifies the current frame in the current window.
    "_blank" specifies a new window.
    "_parent" specifies the parent of the current frame.
    "_top" specifies the top-level frame in the current window.


  • Hola!
    Just been tru flash player 9 and the targeted frames do not work

    onRelease = function() {
    getURL("home.html",target="mainFrame");

    It just pops up another window.
    Is there some new code for it?

    Thanks!

    Mao Lee



    im having the same exact problem!


  • Good call JJ, I completely missed the whole flash 9 aspect of it...


  • can someone post a fla and html document on how your doing this because i still have it poping up in a new window after trying for hours ARG!


  • Hola!
    Just been tru flash player 9 and the targeted frames do not work

    onRelease = function() {
    getURL("home.html",target="mainFrame");

    It just pops up another window.
    Is there some new code for it?

    Thanks!

    Mao Lee

    I don't see a closing curly bracket } in the code you posted.







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about targeted frames in flash , Please add it free.