Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  Viewpoint ZoomView & Flash Authoring    Command from VET to embed Flash

Moderators: e_phoenix13
Go
New
Find
Notify
Tools
Reply
  
4-star Rating (1 Vote) Rate It!  Login/Join 
<IceWiz>
Posted
Hi! I have a question: how to send commands to flash movie, embed in viewpoint scene? Or how to start this movie from definite frame or segment? Is it possible?
I`ll very grateful if you answer.
IceWiz
 
Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of duncan
Posted Hide Post
Hi,

You can send commands to an embeded flash movie by targeting the name of the SFWView loader. So, for example if you have an embeded flash movie like this:


	<MTSTimeElem Name="flashMovie" Type="SWFView" Path="vmp_to_flash.swf" PreAnimator="1"/>



You could then tell send a command to that movie to play from a ceratin frame like so:

	<MTSAction Name="myAction">
		<MTSSetProperty Target="flashMovie.SWF._root.gotoAndPlay(3)" Value=""/>
	</MTSAction>



Here's an example:

http://3w3d.com/vet/flash_scripting_v2/

and the source:

http://3w3d.com/vet/flash_scripting_v2.zip
 
Posts: 381 | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
<IceWiz>
Posted
SmileThank you very much!
But I understood this already.
IceWiz
 
Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 

Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  Viewpoint ZoomView & Flash Authoring    Command from VET to embed Flash