Loading/Running the object vr movie on demand

Q&A about the latest versions
Post Reply
palosanto
Posts: 5
Joined: Sat Feb 13, 2010 11:05 pm

Hello,
I created an objectvr swf movie.
I want the movie to play in a table cell.
If I place the default JavaScript code inside the cell it works fine but self-loads when the page loads.
I would like to execute the JavaScript and run the swf movie by clicking on an image rather than self loading/playing.

To do that I created a function that I can call by clicking on the image:
<a href="javascript:runvr()" target="_self"><img src="vr-bgrd.jpg" border="0" width="700" height="400"></a>
where 'runvr' is simply the default code created in the html page by object2vr but treated enclosed as a function.

The problem is that when I call the function the movie plays outside the cell.
How can I make it play inside the cell?
Here is an example http://www.stxmarine.net/test/test.html

Your help would be very much appreciated
Palosanto
Post Reply