View Full Version : targeted frames in flash
thegoodchairman
December 29th, 2006, 01:40 AM
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
butlertotheb
December 29th, 2006, 03:07 PM
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!
scotty
December 30th, 2006, 03:21 AM
I'm not sure how it works for player 9 but it was allways:
onRelease = function () {
getURL("home.html", "mainFrame");
};
scotty(-:
Sinister Rouge
December 30th, 2006, 03:58 AM
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.
jjcorreia
December 30th, 2006, 04:45 AM
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");
Sinister Rouge
December 30th, 2006, 04:49 AM
Good call JJ, I completely missed the whole flash 9 aspect of it...
butlertotheb
January 2nd, 2007, 09:07 PM
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!
jjcorreia
January 2nd, 2007, 09:21 PM
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.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.