This content has been marked as final. Show 5 replies
> when I use "get URL" in my menubuttons it launches the
> browser to play the swf. So how can I get my button to
> open the swf standalone?
The purpose of the getURL() function, and its method cousin,
MovieClip.getURL(), is to open a browser, so the behavior you're seeing is
fully expected. Same goes for an HTML on your local machine: if it
contains an anchor tag, the linked-to document opens in a browser -- it's
just that you're usually already in a browser when reading an HTML document.
To load SWFs into the same Flash Player, whether that's a stand-alone
Projector of the browser plug-in, use either loadMovie(), loadMovieNum(),
MovieClip.loadMovie(), or the MovieClip loader class. The ActionScript 2.0
Language Reference gives you plenty of detail about the differences among
Adobe Community Expert
Dev blog, http://www.quip.net/blog/
"Luck is the residue of good design."
First of all.
If you want to load a SWF file inside a player. U have to use LoadMovie/LoadClip/LoadMovieNum...
getURL is used to open a HTML/SWF/any other supported file in a browser window.
Hi, thanks, works fine. How do I include a button that closes the player? In HTML I can close the browser, but here there is no window to close.
From flash to close the window , there are two ways.
2. You can use fscommand to close the flash window.
Close the player with an FScommand in a button, that's it! Thanks.