Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  JavaScript    please help mr.admin

Moderators: e_phoenix13
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Junior Member
Posted
i want to ask mr. admin


how to do creat hyperview into my scene i try anyting but i cant do it please help
this my project

Zip/GZ archivezen.zip (359 KB, 4 downloads)
 
Posts: 3 | Registered: January 29, 2008Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of Admin
Posted Hide Post
Hello,

I replaced your MTS3Interface.js file with the most current one. You should always check at "http://developer.viewpoint.com" for the most current MTS3Interface.js. It resolves issues with different browsers and OS's for the VMP. The MTS3Inteface.js that Scene Builder and Enliven publish are no longer current.

I fixed your hyperview code to work. However I also included a tag to show you how to do Superview which is much better than Hyperview. Superview allows content to jump out of the browser like hyperview, but unlike hyperview, the desktop remains interactive while in Superview. You will see this when you launch the content I have revised for you. Open it in a browser and then notice that you can drag the browser window around and still click on desktop icons and interact with your windows!

Enjoy!

Regards

Zip/GZ archivezen_revised.zip (366 KB, 23 downloads)
 
Posts: 1188 | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
Junior Member
Posted Hide Post
thanks you very much mr.admin
but how ican creat buttom for open and close it thanks
 
Posts: 3 | Registered: January 29, 2008Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of Admin
Posted Hide Post
<!-- Create a 2d layer in the scene: -->

<MTSTextureMap Name="button_txtr" />

<MTSInstance Name="button_master" >
<MTSInstance Name="button_parent" >
<LayerData Name="button_layer" Texture="button_txtr" AlwaysVisible="1" WidgetLine="0" Shadow="0" AnchorWidget="1" DstPin="20 20" />
</MTSInstance>
</MTSInstance>

<MTSTimeElem Type="SWFView" Path="myButton.swf" >
<Target Name="MTSTexture.button_txtr" />
</MTSTimeElem>

<!-- Target the 2d layer with an interactor that has a state machine: -->

<MTSInteractor Name="my_int" StartState="off" >
<Target Name="button_parent" />
<MTSHandle Event="MouseLeftDown" StartState="off" EndState="on" Action="MTSAssignProperty" Target="MTSBaseComponent.Superview" Value="1" />
<MTSHandle Event="MouseLeftDown" StartState="on" EndState="off" Action="MTSAssignProperty" Target="MTSBaseComponent.Superview" Value="0" />
</MTSInteractor>



Regards
 
Posts: 1188 | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
Junior Member
Posted Hide Post
thanks again for halp. you are hope for me
 
Posts: 3 | Registered: January 29, 2008Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 

Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  JavaScript    please help mr.admin