F-IN-BOX .NET Help >> Classes >> f_in_box__control and f_in_box__form >> Events >> Native events

OnFSCommand

Syntax

[ C# ]
  1. public delegate void OnFSCommandEventHandler(object sender, String command, String args);  
  2. public event OnFSCommandEventHandler OnFSCommand;  

Description

This event is generated when a GetURL action is performed in the movie with a URL and the URL starts with "FSCommand:". The portion of the URL after the : is provided in command and the target is provided in args. This can be used to create a response to a frame or button action in the Shockwave Flash movie.

Example:
[ C# ]
  1. private void FlashPlayerControl1_OnFSCommand(object sender As Object, string command, string args)  
  2. {  
  3.     if (command == "Show") { ... }   
  4. }  

[ VB.Net ]
  1. Private Sub FlashPlayerControl1_OnFSCommand(ByVal sender As ObjectByVal command As StringByVal args As StringHandles FlashPlayerControl1.OnFSCommand   
  2.     If command = "Show" Then ...   
  3. End Sub  

Flash versions

3: supported
4: supported
5: supported
6: supported
7: supported
8: supported
9: supported



Copyright © Softanics. All rights reserved.
F-IN-BOX is a trademark of Softanics.
Macromedia and Shockwave Flash are trademarks of Adobe