Groups | Blog | Home
all groups > flash actionscript > may 2006 >

flash actionscript : opening in an iframe


David Stiller
5/3/2006 4:19:44 PM
deadlast007,

[quoted text, click to view]

This opens the specified HTML page in a frame named frame3. If you want
to open this HTML in the same document as the SWF, leave the second
parameter out, or ...

[quoted text, click to view]

.... make that getURL("vid_develop_text.html", "_self"); (note the quotation
marks). That second parameter needs to be a string, as mentioned in the
getURL() reference entry.


David
stiller (at) quip (dot) net
Dev essays: http://www.quip.net/blog/
"Luck is the residue of good design."

deadlast007
5/3/2006 8:11:42 PM
i know the script below will work, but how can i tell it to open within the
same document?

on (release) {
getURL("vid_develop_text.html", "frame3");
}

this wont work

on (release) {
getURL("vid_develop_text.html", "frame3", _self );
}
AddThis Social Bookmark Button