homepage Welcome to WebmasterWorld Guest from 54.166.113.249
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

    
Mac OS & passing variables w/ JavaScript
Problem with the Mac OS and passing variables to a SWF using JavaScript
RAGibson

10+ Year Member



 
Msg#: 244 posted 3:08 pm on Jul 21, 2004 (gmt 0)

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.

 

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved