Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more

Go Back   Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more > Web Programming > Other Programming - Perl, C++, Java, ASP, .NET Development
User Name
Password

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 10-23-2007, 06:06 PM   #1 (permalink)
almgo00
Junior Member
 
Join Date: Oct 2007
Posts: 1
Default controling flash

Hi, I am web master I was asked to control a flash
based navigation menu Thur JavaScript for work.
we wanted to control the flash menu Thur JavaScript.
IE: to go to a certain frame when the html page loads.
I got it working using JavaScript but I am havening
problems one in IE7 it does not load on the first time
once I refresh it does, sometimes the links inside the
flash menu don't work, but what is driving me crazy is
in Firefox it loads fine but when I go back and forth it
does not work. Also its not working at all in safari.
can someone please help me. the code is at the bottom
thanks
Code:
<SCRIPT language=JavaScript> var movieName = "vdo_menu5"; function thisMovie(movieName) { // IE and Netscape refer to the movie object differently. // This function returns the appropriate syntax depending on the browser. if (navigator.appName.indexOf ("Microsoft") !=-1) { return window[movieName] } else { return document[movieName] } } function movieIsLoaded (theMovie) { if (typeof(theMovie) != "undefined") { return theMovie.PercentLoaded() == 100; } else { return false; } } function addLoadEvent(func) { var oldonload = window.onload; if (typeof window.onload != 'function') { window.onload = func; } else { window.onload = function() { if (oldonload) { oldonload(); } func(); } } } addLoadEvent(playgtr3); addLoadEvent(function() { }); function playgtr3() { if (movieIsLoaded(thisMovie(movieName))) { thisMovie(movieName).TGotoFrame("_level0/buttSet",15) } } </SCRIPT> <TBODY onload="playgtr3()">
almgo00 is offline   Reply With Quote
Sponsored Links
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Points Per Thread View: 1.00
Points Per Thread: 11.00
Points Per Reply: 5.00



» Sponsors

» Links

» Affiliates
Web Hosting
Marketing Find
Merchant Select
SiteMap Builder
Host Compare
Dedicated Servers

» Links

» Sports Network
Paintball Forum
Football Forum
Hockey Forum
Golf Forum
Boxing Forum
Lacrosse Forum
Baseball Forum
SnowBoarding Forum
Soccer Forum
MMA Forum


All times are GMT -4. The time now is 01:07 PM.



LinkBacks Enabled by vBSEO 3.0.0 RC8
Webmaster Forums