Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  VMP for Macintosh    javascript calls not working on mac

Moderators: e_phoenix13
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Member
Picture of hebdemnobad
Posted
Hello Support:


I'm trying to get a vet-content business to a start with some clients involved with the arts and education, and, to do so, I need to implement vet on the mac. I'm having problems getting javascript to send function calls to the vmp. I have posted a page which has javascript buttons (image maps actually) which work fine on the pc but not on the mac. I tried alternative methods of calling the javascript functinos ie through an href tag but I had no luck there either. The mac/and posted page that I am running the vmp on have the following stats:
vmp version 3.0.10.64
mts3.js version 04.00.05.04
power pc 9600
300 mhz
193 megs ram
93 megs ram allocated to ie
proceessor 604ev
ie version 5.1.4
scripting, plugins, and activex enabled in ie


here it the page at issue:
http://www.ifam.net/collective_calendar/september_avatar/september_avatar.html

the buttons "frontal", "lateral", and "reset" each load mtx files that reset the camera tags in the mtx scene via the lodamtx function.

thanks for your help
Dan
 
Posts: 108 | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of viewpoint d-d
Posted Hide Post
Hi Dan,

The problem lies with your constructor call. You have 7 parameters, there should only be 6. You need to combine parameters 6 and 7 together like this: "ContentType=1; layer=Layer1");

The result of having 7 parameters, means that the plugin is not getting told that you're using layers, thus resulting in the scripting problem.

Everything else seems correct, you have the correct VMP and MTS3Interface versions and the rest of the JavaScript looks good.

-Derek
 
Posts: 793 | Location: Viewpoint, New York, New York | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
1633947735151
Member
Picture of vpjeremy
Posted Hide Post
You shouldn't have 93 megs allocated to IE. The VMP allocates it's own memory and the more you use for simple page loading in IE, the less you have for the intensive work that VMP does. Try something like 25 megs to IE. It's not the source of your problems, but you should see a performance boost and higher reliability while running VMP.
 
Posts: 19 | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 

Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  VMP for Macintosh    javascript calls not working on mac