Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Targeting Flash, Different Frameset

Status
Not open for further replies.

RobinDeanDotCom

Programmer
Jun 25, 2006
3
US
Hello and thanks in advance.

I've been attempting to create (with big help from better coders than I) a javascript / flash-actionscript which involves a flash document in one frameset and the javascript in another.

At first, it only worked in Safari (Mac). A friend helped me to get it working for Safari (Mac), IE (Windows) and Netscape/Firefox (Windows).

It does NOT, however, work in IE (Mac) or Netscape/Firefox (Mac).

I'd very much like to have it working in as many browsers as possible, if not universally in all of them (smirk).

One user suggested that I use the "Flash/JavaScript Integration Kit" and I'd be happy to if I could just get someone to show me HOW.

I understand the installation well enough, no prob. So, now for my question ...

Based on the following code, is there an easier or more streamlined way to get the same output in all current browsers, without errors? If not, how would I get the "Flash/JavaScript Integration Kit" to do this?

My concept is simple but getting to work reliably is troubling :rolleyes:

The code ...

NOTE: "upper" is the frameset and "navigation" is the flash doc.

<html>
<head>
<script language="JavaScript">
<!--
function reSet(target, frameNumber)
{
parent.upper.document.navigation.TCallFrame(target, frameNumber);
}
//-->
</script>        
</head>
<body bgcolor="#FFFFFF"> 
<form><input type="BUTTON" value="Reset" onclick="reSet('/', 3)"></form>
</body>
</html>
 
You say you want to get that code working in all browsers without error... but don't say what browsers are erroring, or what the error is.

Can you give any more detail?

Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
It does NOT work in IE for Mac or Netscape/Firefox for Mac.

It doesn't give an error message for those browsers, as far as I can tell.

I don't know how well it performs in other browsers either.

I've only tested it in IE, Netscape and Safari.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top