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

OnFSCommand

Syntax

[ C# ]
public delegate void OnFSCommandEventHandler(object sender, String command, String args);
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# ]
private void FlashPlayerControl1_OnFSCommand(object sender As Object, string command, string args)
{
    if (command == "Show") { ... } 
}

[ VB.Net ]
Private Sub FlashPlayerControl1_OnFSCommand(ByVal sender As Object, ByVal command As String, ByVal args As String) Handles FlashPlayerControl1.OnFSCommand 
    If command = "Show" Then ... 
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