PDA

View Full Version : ontoggle wont work playing flash movie



joaoricardo
08-08-2009, 12:15 PM
hello, im really not a coder but i've been having problems with javascript and flash......im using the ontoggle function i found on this site but it keeps giving me a error message. it says

document.getElementById('movie').Play()

is not a function

i've tried the other alternative to test if the movie id is the one being played but didnt work either.

could really use some help.
thx
j

ddadmin
08-08-2009, 07:58 PM
"ontoggle" function of which script? Warning: Please include a link to the DD script in question in your post. See this thread (http://www.dynamicdrive.com/forums/showthread.php?t=6) for the proper posting format when asking a question.