bookmark - Flash Buttons.. Please Help! getting flash buttons to open in frame

Flash Buttons.. Please Help! - getting flash buttons to open in frame

 
 Discussion by Serendipitous with 3 Replies.
 Last Update: January 5, 2005, 5:26 pm
 
bookmark - Flash Buttons.. Please Help! getting flash buttons to open in frame  
    
free web hosting
 
Hello,

I am looking for some help with some flash buttons I made in flash mx 2004. I had made these link buttons for a livegate.net site I had going, until they shut down, and now I can not get the buttons to open in the desired main frame.

I reopened the flash file and redirected the urls to an angeltowns.com and a freewebs.com site, and neither of them would open up in the main frame, they popped up in new windows. Is it possible that these sites won't allow it open, or is it something I am doing wrong? I am allowed to open it _self, _parent, _blank and _top, but I have it set on _blank. I believe that is what I had it set for in my previous livegate site. I hope I have given enough of a description for you guys.. if not let me know..

here is a link so you can check it out and let me know if you see anything that may help..

My Webpage

Thanks

Tue Nov 30, 2004    Reply    New Discussion   


I think you need to change the target from _blank (which opens the linked page in a new window) with _self.

Is there any possibility to leave the target value empty? If so, do so!

I believe that problem wont happen again.

Wed Dec 15, 2004    Reply    New Discussion   

The problem isn't a flash problem, I believe it is a frame direct issue. This can be easily solve with a simple javascript.


Place this code in the head tag of your documet, or just above the link itself:

<script><!--
function linkName(){
parent.target frame here.location.href='Desired URL Here'
}
//-->
</script>

The anchor tag in the calling link would be:

<a href="java script: linkName()" onclick="window.focus()">Whatever</a>

Do this for each link changing the link name and desired URL accordingly.

Below is an example of a roll over image script calling the above java script from the head tag:

<script language="JavaScript">SecondImage00='image1.gif0';</script>
<a href="java script: linkName()" on click="window.focus" onMouseOver="{OrigImage00=img00.src; img00.src=SecondImage00} " onMouseOut="img00.src=OrigImage00">
<img alt="" name="img00" border="0" src="image2.gif0" onLoad="TempImage00=new Image(0,0); TempImage00.src=SecondImage00"></a>

Hope this helps. ^_^

Wed Dec 15, 2004    Reply    New Discussion   

Thank you both for your time and input on this subject, however I have decided to give up on the whole frame crap. I have saved the information you have shared and perhaps I will try again someday. It was just soooo frustrating because I had it working on a previous website and now with my new one I can not get it to work. Oh well, not everyone likes frames anyway. :) Again thanks for your time..

Wed Jan 5, 2005    Reply    New Discussion   


Quickly Post to Flash Buttons.. Please Help! getting flash buttons to open in frame w/o signup Share Info about Flash Buttons.. Please Help! getting flash buttons to open in frame using Facebook, Twitter etc. email your friend about Flash Buttons.. Please Help! getting flash buttons to open in frame Print
Reply / Comment Ask a Question? Share / Bookmark E-Mail a Friend Print

Site Designing   Site Designing (21) (4) Designing Web Applications How do you design?  Designing Web Applications How do you design?