This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > January 2007 > Help: Firefox not playing nice with swf and javascript





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Help: Firefox not playing nice with swf and javascript
PDidee

2007-01-30, 6:28 pm

Hi everyone. This is my first post. I have a question regarding a website I am
developing.

I had previously developed a navigation bar with rollover images in
Dreamweaver to link to a javascript command in a seperate folder. However to
reduce the download time and have a more uniform look I've redone the navbar in
Flash which I like alot. However if I use the getURL command in the
actionscript button to access the javascript it works in all browsers EXCEPT
Firefox for windows?!

The navbar exists on the same page as the html on a layer.

This is the site with the Flash navbar:
www.nibroctrilogy.com/WIP/

The javascript command is:
<a href="java script:;" onclick="dw_scrollObj.scrollTo('wn',0,0); return false"
onmouseout="MM_swapImgRestore()"
onmouseover="MM_swapImage('home','','images/nav/home2.gif',0)"><img
src="images/nav/home1.gif" name="home" width="67" height="26" border="0"
id="home" /></a>

The actionscript command is:
on (release) {
getURL("java script:dw_scrollObj.scrollTo('wn',0,0) ");
}

Any help on this would be much appciated. I am working in Flash 8.

Thanks!

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews