Pointing to the window in the target window, we can turn the page in any of the frames that make up a frameset. Just a note:
Code:
getURL ("page.html", "FrameName");
Wherever this frame is nestled in the frameset, however complex, Flash gets there. But that as long as there is only one frame of that name. Where there is more than one (something possible) Flash Incarter, and will choose one at its discretion. For this reason, it is better to always use the method that we will see now, that by going to allow us to achieve the right frame. Just like a movie clip in Flash has properties that refer to the timeline (this), that which contains it (_parent), and the main (_root), so the html page refers to itself (self), on page that contains (parent), the main page of the frameset (top). Using these references, change the content of pages:
Code:
_selfgetURL("javascript:self.location.href='pag.html'");
_top; getURL("javascript:top.location.href='pag.html';void(0)");
_parent; getURL("javascript:parent.location.href='pag.html';void(0)");
mainFrame; getURL("javascript:parent.mainFrame.location.href='pag.html';void(0)");
Bookmarks