Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  General Topics    set opacity in function

Moderators: e_phoenix13
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Member
Posted
Hi Admin,

How to use function via javascript in HTML to set a value to a object's opacity? Can you help me fix the code?

function nameFunction(){
vmp.SetProperty("MTSInstance.objectname,opac,0.5);
}

thx
 
Posts: 181 | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of Admin
Posted Hide Post
Your MTS3Interface.js function has syntax errors.

More info on the functions available through MTS3Interface.js and their proper syntax can be found on pages 161 and 162 of the Viewpoint Rich Media Authoring Guide

Regards
 
Posts: 1188 | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 

Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  General Topics    set opacity in function