hi,
can we use javascript to control the imagevue / slideshow from outside of the flash object ?
let's say my flash object is:
<OBJECT id="test" classid="....
this script:
<script>
<function>
</script>
will go to picture 1.
X3 Photo Gallery Support Forums
<SCRIPT>
function getFlashMovieObject(movieName) {
if (window.document[movieName]) {
return window.document[movieName];
}
if (navigator.appName.indexOf("Microsoft Internet")==-1) {
if (document.embeds && document.embeds[movieName]) return document.embeds[movieName];
} else {
return document.getElementById(movieName);
}
}
function setcontrol(func){
var flashMovie=getFlashMovieObject("slideshow");
flashMovie.TCallLabel("js_remote", func);
}
</SCRIPT> <a href="javascript:setcontrol('previous');">previous</a>
<a href="javascript:setcontrol('next');">next</a>
<a href="javascript:setcontrol('toggleplay');">toggleplay</a>var flashMovie=getFlashMovieObject("slideshow");
..
var so = new SWFObject("slideshow.swf", "slideshow", "800", "600", "7", "#103152");