Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Flash Buttons.. Please Help!, getting flash buttons to open in frame
Serendipitous
post Nov 30 2004, 07:02 AM
Post #1


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 7
Joined: 30-November 04
From: North Central Arkansas
Member No.: 1,566



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
Go to the top of the page
 
+Quote Post
kokushta
post Dec 15 2004, 04:55 PM
Post #2


Member [ Level 1 ]
Group Icon

Group: Members
Posts: 39
Joined: 11-September 04
From: Tirana/ALBANIA
Member No.: 490



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.
Go to the top of the page
 
+Quote Post
pbolduc
post Dec 15 2004, 08:18 PM
Post #3


Member - Active Contributor
Group Icon

Group: Members
Posts: 92
Joined: 15-December 04
From: New Mexico
Member No.: 1,759



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="javascript: 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="javascript: 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. wink.gif

Go to the top of the page
 
+Quote Post
Serendipitous
post Jan 5 2005, 05:26 PM
Post #4


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 7
Joined: 30-November 04
From: North Central Arkansas
Member No.: 1,566



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. smile.gif Again thanks for your time..
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. full flash sites(60)
  2. Converting Flash Files To Gif(7)
  3. Help! Problem With My Flash-Drive(1)
  4. How Can I Open A *.sit File(10)
  5. Open Source Software(4)
  6. How Do I Create A Good Fire Animation Using Flash ?(13)
  7. Flash Site Software(12)
  8. How To Connect MySQL With Flash?(8)
  9. Free Shoutbox? HTML, Flash or PHP Code(24)
  10. Help On Swishmax - Linking Buttons...(6)
  11. Free Flash Authoring Programs(2)
  12. Free Flash Authoring Programs(7)
  13. Firefox Update(7)
  14. Free Flash Type Programs(4)
  15. Pre Loader Tutorial For Flash(6)
  1. Flash 8 - Game Tutorials?(8)
  2. Tutorial: Dreamweaver, 3ds Max, Flash, Html, Css(8)
  3. Keyboard Shortcut To Open Task Manager Directly(5)
  4. Flash 8/actionscript 2, Platform Game (little Help).(7)
  5. Cruzer Flash Drive (usb)(11)
  6. Creating Flash Image/slideshow(2)
  7. Help! Usb Flash Drive(12)
  8. Website Navigation Hover Buttons Stick So Made Css Today(7)
  9. Flash Flash Revolution(0)
  10. Type Checking Not Work On For .. In Loop(2)
  11. Flash Cs3(2)
  12. Why Turkey Could Not Open The Website From China?(5)
  13. Great Software For Building Flash Web Sites(1)


 



- Lo-Fi Version Time is now: 13th October 2008 - 09:36 PM