megacoders
07-03-2007, 04:12 AM
Hi everyone,
I don't really know if this is an fscommand problem or javascript problem
but I think it is a javascript problem.
javacsript code is
<script type="text/javascript">
function tour_loader_DoFSCommand(command, args) {
document.getElementById('tour_loader').style.displ ay = 'none';
}
</script>
the id tour_loader is id of flash swf
when a button is clicked in flash it sends an fscommand which triggers this javascript function.
this works perfectly in firefox and opera but does not work in IE
it can be seen in action here (http://www.dreamrecords.info/flash/tour_loader.html)
clicking on close movie (or after 30 seconds) the flash should close (or be set to invisible).
I don't really know if this is an fscommand problem or javascript problem
but I think it is a javascript problem.
javacsript code is
<script type="text/javascript">
function tour_loader_DoFSCommand(command, args) {
document.getElementById('tour_loader').style.displ ay = 'none';
}
</script>
the id tour_loader is id of flash swf
when a button is clicked in flash it sends an fscommand which triggers this javascript function.
this works perfectly in firefox and opera but does not work in IE
it can be seen in action here (http://www.dreamrecords.info/flash/tour_loader.html)
clicking on close movie (or after 30 seconds) the flash should close (or be set to invisible).