Welcome to WebmasterWorld Guest from 54.166.220.138

Forum Moderators: open

Message Too Old, No Replies

Mac OS & passing variables w/ JavaScript

Problem with the Mac OS and passing variables to a SWF using JavaScript

     
3:08 pm on Jul 21, 2004 (gmt 0)

10+ Year Member



I have received from another developer a web page that passes a variable to a .SWF to play a movie, the link looks like this:

<a class="step" href="javaScript:playFlash1(1)" onMouseOver="window.status = 'View step'; return true" onMouseOut="window.status = ''; return true">[Show
Me]</a><br>

The JavaScript looks like this:

function playFlash1(stepID)
{
label = "step" + stepID
document.medMovie1.TGotoLabel("/", label)
}

function playFlash2(stepID)
{
label = "step" + stepID
document.medMovie2.TGotoLabel("/", label)
}

This functionality does not work on a Mac in any browser. I believe the Mac may be interpreting the JavaScript has Active X. Has anyone run into this problem before? Any solutions? There are (of course) some 31 .swfs and 50 HTML pages using this logic, and the developer is long gone, leaving it up to me to make it work. Any help would be greatly appreciated.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month