Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
bcmorgue #1
getURL window not working
Ok, I am still pretty new to Macromedia Flash MX. I have created a few flash
movies using an easier program, Coffee Cup Firestarter 6.5.
Anywho, I am writing a new website, and I use frames. I have the Macromedia
Flash on top, which is my menu bar, and the content on the bottom.
Here is my script:
on (release) {
getURL("content.htm", "_content");
}
I want to make it so when somebody clicks on something on the Flash menu, it
will open on the bottom frame, which is named content.
I've tried just about everything, and either it opens in the same window
(where the flash menu was), or it will open a new window.
Am I doing something wrong?
PS- I'm running Macromedia Flash MX 6.0
Thanks You!
bcmorgue Guest
-
How to close blank window after getURL
I am using flex 1.5 fulfilling download function. If use _blank in getURL() to download a file, a new window is created. Is there method to close... -
I need help please with the getURL() it is not working.
I was able to make this work in the earler ver. of Flash. But when the movie ends it will not goto the url that I am telling it to goto. Is there... -
getURL() not working as expected
Hello, We have a requirement where homepage of the site will be specific to a country. When a first time user navigates to the site(say,... -
getURL to load all links in same browser window
Hi all - I am attempting to launch website URL's from a self running cd-rom, and have no trouble doing it with a simple getURL action. What I... -
GetURL window sizes
Hey, i've been trying to create a pop-up window of a fixed size, to display photos but i didn't know how to do it. I looked through these forums, and... -
urami_ #2
Re: getURL window not working
bcmorgue wrote:
Just small mistake , let me elaborate .
First make sure you give your frames some names , than while setting up
get url type the name in "window" window .....
Sample of naming frames :
<frame name="main_frame_name" src="XX.html">
<frame name="top_frame_name" src="XXX.html">
Sample of calling up pages in predefine frames :
on (release) {
getURL ("page_1.html", "main_frame_name");
}
NOTE !
try to avoid names like window or main , DO NOT use underscore in your frame names, these are
reserved words which may cause some of the action to fail , use unique personal naming conventions
and it will assure across browser and cross OS compatibility.
--
Regards
urami_*
<hol>
http://flashfugitive.com/
</hol>
urami_ Guest
-
bcmorgue #3
Re: getURL window not working
Wow!
Sure enough, that did it!
Thank you very much!
I have one other question, if you don't mind.
I want to have a button on the flash menu, that when you press it, it will run
this code:
"javascript:window.external.addFavorite('http://www.bcmorgue.com/index.htm','The
BC Morgue - Were All Dead And This Is Hell');
It's a javascript to allow a user to quicky add the site as a favorite.
Is there a way to do this?
bcmorgue Guest
-
urami_ #4
Re: getURL window not working
no problem :)
sure there is
on(release){
getURL("javascript:window.external.AddFavorite('ht tp://www.bcmorgue.com/','FLASH');");
}
I put flash and short url because did not want the news reader to wrap it in multiple lines.
Just edit in whatever way you need :)
Regards
urami_*
<hol>
http://flashfugitive.com/
</hol>
urami_ Guest



Reply With Quote

