|
|
 |
|
|
|
|
|
[swf=300x200]http://www.swish-db.com/soundtutorials/fscommand.swf[/swf]
FSCommand is used to send message to the parent/host application. Parent or host application can be your Browser, Standalone-Flahs-Projector, or any other application enbeding the flash player control in it..
(Exec can execute any external .EXE file with argument)
Some of the FS Command actions are predefined in the swish menue for FS Command, but you can send your self-created FS Commands...
Suppose you have created a swish movie and it releases an FS Command on click of a button, and that command is not used in flash projector (.EXE) nor the browser can understand it, then how to use it?
IN VB
Open new project select components from the toolbox containing several controls (such as command button, listbox, textbox , etc). it will display you all the insertable objects in the list, you will select Macromedia Flash ocx file named almost SWFlash.ocx and press ok..
It will display a new icon of flash movie on the toolbox..
Drag that control and place it on the form (Form1)..
Select its properties and sent property "Movie" as the name and the path of the swish movie created to release fs command..ok..
it will immediatly show the movie..
now Double-Click on the Movie playing, a window will be opened for coding and a procedure predefined will be appeared...in that procedure you will trap the FS Command you have released on press of button, you will trap is just as the argument of proceure specified as String...
if FSCommand = "Ali" then
end 'exit the program
endif
anything else can be asked but for now i am tired....
(rightclick and save target as)download char.txt
|
|
|
|