FLASHANTS
 
FMProjector/FMPlayer Tutorial > ASP Interface
Back link
 

Home
FMProjetor
FMPlayer

サンプル& チュートリアル
 

基本動作
- FSCommandの概説
- FMProjectorの手引き
- FMPlayerのの手引き
- スマート・クリップの手引き
FSCommandでのサンプル
- 1. Flashで videoを再生する
- 2. ストリミング&オーバーラップ
- 3. フル・スクリーン・ビデオ
- 4. 早送り/巻き戻し
- 5.
シンクロナイズ
- 6. PDF
を埋め込む
- 7. RealPlayer
オブジェクトを埋め込む
- 8. ASP
インタフェス
スマート・クリップでのサンプル
- 9. Video w/ slider
-10. Read/write registry w/ sc
FSCommand
のレファランス
- FAQ
- FSCommandチュートリアル
- FSCommandファスト・トラック
ショーケース
サポート・フォーラム
投稿作品をここまで
ユーザーからの投稿をお待ちしております。

問い合わせ
技術サポート
support@flashants.com
マーケティング&販売
sales@flashants.com
フィードバック&提案
feedback@flashants.com

 

Video on demand - Download this sample files


This sample shows you how Flash can interface with other server-side script languages like ASP, PHP, or Perl CGI etc. In this sample, we use Flash fscommand loadvariablesNum to read the text file generated by
the ASP program.

  1. At Frame 1, add the following fscommand to read the text file generated by ASP program. We append a random number parameter to the file name to force reloading the text file.
    randomNum = Math.round(Math.random()*9999999999);
    loadVariablesNum ("../tutor/aspInterface/info.txt?"+randomNum, 0);
  2. At frame 2, add the following code to wait until the file is completely loaded.
    Note: done is the last variable in the text file.
    if (done == "1") {
          done="0"
    	gotoAndPlay (5);
    } else {
    	gotoAndPlay (2);
    }
  3. At frame 5, load the video file to playback.
    Note: filename is the variable read from text file.

    fscommand ("fas.avclip.unload");
    fscommand ("fas.avclip.xy", "8,8");
    fscommand ("fas.avclip.Autosize", "TRUE");
    fscommand ("fas.avclip.load", filename);
    stop ();

  4. The server side script language response to get the input from users and save the variables to text file for Flash to retrieve.
著作権2001-2003年、FLASHANTS INC.による版権所有