all groups > macromedia flash sitedesign > december 2005 >
You're in the

macromedia flash sitedesign

group:

Using getURL to open New (Blank) HTML Window outside of Flash


Using getURL to open New (Blank) HTML Window outside of Flash ChuckRWD
12/28/2005 4:03:03 PM
macromedia flash sitedesign:
Ok, I made the mistake of buying a template with little experience doing Flash
sites. I tired to process the form inside Flash, but I had serius problems
doing that, so I had to recreate an HTML page for the contact page that looks
EXACTLY like the Flash page. I had NO images to use, only snapshots of the site
I made, however after an all day effort with Fireworks, CSS, and Layers, you
can barely tell the difference (I hope). The problem I now have is that I need
to open my new Coldfusion Contact page in a NEW (Blank) window. How can I
modify the actionscript to do this? Please let me know. I am pulling my hair
out and have been sitting here all day puzzling over this mess! Thanks in
advance, I really appreciate the help and support!

Here is the page: http://d12683837.R141.radiowebworks.com

Here is the code:

on (release) {
if (_root.page=="main") {unloadMovie(1); loadMovie("index-1.swf",1);}
if (_root.page=="products") {unloadMovie(1); loadMovie("index-2.swf",1);}
if (_root.page=="services") {unloadMovie(1); loadMovie("index-3.swf",1);}
if (_root.page=="support") {unloadMovie(1); loadMovie("index-4.swf",1);}
if (_root.page!="contacts") {
getURL("my_html_page.html");}
}

Sincerely,
Chuck Carter
Re: Using getURL to open New (Blank) HTML Window outside of Flash NetGeek911
12/28/2005 4:20:02 PM
Hello. First off I can not even access the page because it is not on your
server. (I use the same one.) Your page is
http://localhost/testing/HTML/contact.cfm. It should be
http://d12683837.r141.radiowebworks.com/testing/HTML/contact.cfm. Second of
all, your code says:

on (release) {
if (_root.page=="main") {unloadMovie(1); loadMovie("index-1.swf",1);}
if (_root.page=="products") {unloadMovie(1); loadMovie("index-2.swf",1);}
if (_root.page=="services") {unloadMovie(1); loadMovie("index-3.swf",1);}
if (_root.page=="support") {unloadMovie(1); loadMovie("index-4.swf",1);}
if (_root.page!="contacts") {
getURL("my_html_page.html");} <--------------------------- Look at this
line. If your contact page is contact.cfm, then
}
("my_html_page.html") should be ("contact.cfm"). Also, the code expects the
page to be in the same directory as your .swf file. 3rd of all, why don't you
just click on the button, go to Window | Development Panels | Behaviors and in
the behaviors window click the + button and select Web | Go to Web Page and
type: http://d12683837.r141.radiowebworks.com/contact.cfm. Then, put the
contact.cfm page in the same directory as your swf file. Then it should work.

Also, there is more. You could just tell the button to link to a page where
you can put some javascript code (I forgot what.) into the page. Then the
button will link to the page and the code in the page would open the contact
window. When you do that, make sure you instert your swf onto the page.

There, I think that should anwser all your questions. I hope :)
Re: Using getURL to open New (Blank) HTML Window outside of Flash NetGeek911
12/28/2005 4:23:33 PM
If you don't get that, I understand. I was an idioit when I first downloaded
the trial version. Then I learned its power and I now don't think I could live
without flash.

Also, I am in 4th grade so there is your proof that if you try really hard,
you can do anything with flash. I saw a copy of the MAc OS made in flash. (Its
really cool.) :)
Re: Using getURL to open New (Blank) HTML Window outside of Flash ChuckRWD
12/28/2005 4:27:47 PM
Re: Using getURL to open New (Blank) HTML Window outside of Flash NetGeek911
12/28/2005 4:34:52 PM
Re: Using getURL to open New (Blank) HTML Window outside of Flash ChuckRWD
12/28/2005 4:44:15 PM
http://d12683837.r141.radiowebworks.com/. I'm having no problem brining it up.
Why can't you access it? So you use Vortech solutions? Have you done any
flash sites? Shoot me an address! I'd love to see one! Why can't you bring
it up?
Re: Using getURL to open New (Blank) HTML Window outside of Flash NetGeek911
12/28/2005 4:46:29 PM
Re: Using getURL to open New (Blank) HTML Window outside of Flash NetGeek911
12/28/2005 4:47:23 PM
Re: Using getURL to open New (Blank) HTML Window outside of Flash ChuckRWD
12/28/2005 4:48:35 PM
Now my young friend, perhaps you can help me with this....from the contacts
..cfm page, can I send someone BACK into the Flash site to a particular page,
rather than starting the movie all over from the beginning?
Re: Using getURL to open New (Blank) HTML Window outside of Flash NetGeek911
12/28/2005 4:52:00 PM
Well. That would be hard lets see.......
Re: Using getURL to open New (Blank) HTML Window outside of Flash NetGeek911
12/28/2005 5:03:41 PM
Re: Using getURL to open New (Blank) HTML Window outside of Flash NetGeek911
12/28/2005 5:06:08 PM
I wanted to do something like that for my site, but I couldn't get it to work.
My contacts page has a flash graphic a the top that allows the user to go back
to my home page. After you are using a template, it makes it alot harder to
mess with things.
AddThis Social Bookmark Button