Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  General Topics    about 'setTimeout'

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

I can use 'setTimeout' to turn off the hyperview/SuperView automatically via javascript in HTML.

function hyperview_on()
{
vmp.SetProperty('MTSBaseComponent','SuperView','1','mts_int');
setTimeout("hyperview_off()",500000);
}

How could I integrate this function in Flash?
Normally, I apply these codes shown below to a
button in order to active hyperview/SuperView.

on (release) {
fscommand("MTSAssignProperty", "Target=MTSBaseComponent::SuperView;Value=1");

}

===========================
question 2;

SuperView is great, users can see the live desktop. How can I keep the SuperView mode while I click the desktop ?

Thanks a lot
 
Posts: 181 | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of Admin
Posted Hide Post
question 1:

- place that command in the timeline of a movieclip instance instead of on a button. Then play the movieclip when you want the command to be called.


question 2:

- This is a basic tag for superview. Please refer to the VMP 340 release notes available on developer central for more information on the tag and its properties:

<MTSBaseComponent
Reference="Plugin"
Rect="-170 120 480 600"
RelRect="0 0 0 0"
ForceHyperview="2"
EnableClickThrough="1"
GrabFocus="0"
ZOrder="Topmost"
PreserveCamera="1"
SuperView="1" />
 
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    about 'setTimeout'