FMProjector/FMPlayer Tutorial > fscommand Fundamental
Back link
 

Home
FMProjetor
FMPlayer

Sample & Tutorial
 

Fundamental
- FSCommand Fundamental
- FMProjector Howto
- FMPlayer Howto
- Smartclips Howto
FSCommand Samples
- FSCommand Tutorial
- 1. Play video in Flash
- 2. Streaming&Overlap
- 3. Full screen video
- 4. Fast forward/backward
- 5. Synchronization
- 6. Embed PDF
- 7. Embed RealPlayer object
- 8. ASP interface
Smartclip Samples

- 9. Video w/ slider
-10. Read/write registry w/ sc
FSCommand Reference

- FAQ
- FSCommand Tutorial
- FSCommand fast track
Showcases
Support Forum
Submit yours
Anything done by you that can inspire and do help to others. It has better to be short, clear, and self-explained.

Contact
  Technical Support
  support@flashants.com
Marketing & Sales
  sales@flashants.com
Feedback & Suggestion
  feedback@flashants.com

fscommand Introduction

FLASHANTS has designed over 50 fscommands for designers to extend the power of Flash. By using these fscommands in Flash design, you can produce Flash movies with the following enhanced features :

  • Embeds native Video in Flash.
  • Fully controls Video using Actionscripts and fscommands.
  • Imports 3D object(cult3D), Real media, and PDF.
  • Access system registry information.
  • Launch external app and shell command from Flash.
  • Control application windows appearance and behavior.

FLASHANTS fscommands are divided into categories:

  • Video playback control
    Commands are starting with "fas.control", and used to control video playback such as Play, Stop, Pause, Forward, Backward, ...
  • Video clip control
    Starting with "fas.avclip", and used to import video in Flash and set the playback attributes such as video position , video size, playback loop numbers, buffering setting, .. etc.
  • Event control
    Starting with "fas.event", and used to set the frame label which contains the action scripts to be executed by the video events.
  • Clip information
    Starting with "fas.clipinfo", and used to get information about video clip.
  • Audio control
    Starting with "fas.sound", and used to control audio.
  • ActiveX object control
    Starting with "fas.axobj", and used to import other activeX control such as PDF or Real object. Supported by FMProjector only.
  • Projector windows appearance control
    Starting with "fas.win", and used to customize the application windows attributes such as win title, position, style, etc. Supported by FMProjector only.

     

Special Notes for fscommand

1. All commands are case-insensitive. For Example:

fscommand("fas.control.play","") is legal!
fscommand("fAs.COntrol.PLAy","") is also legal!

2. No SPACE or blank character allowed between arguments. For Example:

fscommand("fas.avclip.xy","10,20") is legal!
fscommand("fas.avclip.xy","10 , 20") is not allowed in this version!

3. Due to Flash limitation, using functions to get a property from FMPlayer won't return a value until next frame. For Example:

frame 10: 
CurPos = 5;
fscommand("fas.control.GetPosition","CurPos");
SliderPos = CurPos + 1;

frame 11: 
SliderPos2 = CurPos + 1;

If the return value from "fas.control.GetPosition" is 11, 
then the value in "SliderPos" is 6, and "SliderPos2" is 12.

 

What's next

  • Go to FMProjector Howto to learn how to create video-enabled Flash application
  • Go to FMPlayer Howto to learn how to add Flash and Video integration content to your webpages.
  • For a detailed description about fscommand and it's usage, please refer tofscommands Tutorial.