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!

what's wrong with this?

Status
Not open for further replies.

katiekat

Technical User
Jun 6, 2000
300
US
I must be the densest person ever. Doing the pop up thing in the FAQ. Here's what I have in my html, in the page that has my movie in it.

<HEAD>
<TITLE>secretkathome</TITLE>
<script language=&quot;javascript&quot;>
<!--
function:linkylinky()
{
window.open(&quot;scrollbars=0,toolbars=0,location=0,width=525,height=650,left=25,top=25&quot;);
}
//-->
</script>
</HEAD>

What's the deal? Shouldn't this work? Also, the &quot;javscript:linkylinky&quot; that I have in the flash file. I must be putting it in the wrong place, becasue when I put it in the box at the bottom marked &quot;URL&quot; it's looking for it as a url. There aren't any other boxes to enter info into.

So I don't understand what I'm dong wrong here. Holy tek-tips batman!:-0
 
I'm not an expert in javascript, but I think you need to use FSCommand to call a javascript function from within Flash.
You could probably make it work (guess you'll have to test this) the way you're doing it by calling your linkylinky function with an onload statement in the body tag of your html:
;-)
 
Hi Katiekat...pull up the site I used this on and view the source. You will see what I did as far as HTML goes. In the Flash side of it make sure it is as follows:

right click on your button in flash, select actions and then double click on getURL

javascript:linkylinky()

leave the target blank

don't send

Let me know if you need more help. This is fairly new to me also but I have proven that it does work in IE as well as netscape. Ya' Gotta Love It!
sleepyangelsBW.jpg
 
I will have to have a look at the fla tomorrow, I can't get this to work for me at all. Thanks so much for your help though! :) Holy tek-tips batman!:-0
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top