FLASHANTS
 
iceProjector / icePlayer > Sample 1. Window and text box
Sample & Tutorial
 

Fundamental
- iceProjector Help
FLA Samples
- 1. Window and Text box
- 2. Right mouse menu item
- 3. Sprite bound
- 4. System tray icon
- 5. Remote file download

Resources
- FAQ
- Support Forum
Submit yours
Submit your work. Chance to win free software from Flashants.

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

Text Rectangle - download this sample files

This sample shows how to get and set window rectangle coordinate information by using fscommands.

Although the window rectangle is invisible in iceProjector or in the exported projectors, you can use the following fscommands in fla to contol the whole flash movie's behaviors. Here are some fscommands descriptions

  1. fscommand("fas.win.ClickToMove","false");
    //When set to false, disable the flash window to be drag to move in a whole.

  2. x1=0; y1=0; x2=100; y2=100;
    parmStr=x1 add "," add y1 add "," add x2 add "," add y2;
    fscommand("fas.win.SetRect",parmStr);
    fscommand("fas.win.SetRect","300,200,600,400");
    // Set the window rectangle to specified values.

  3. fscommand("fas.win.hide","");
    //Hide the whole flash movie.

  4. fscommand("fas.win.OnTop","FALSE");
    //Make the whole flash movie can be overlapped by other desktop windows.

  5. fscommand("fas.win.pos","middle,middle");
    //Align the flash movie to the desktop region.

  6. fscommand("fas.win.GetRect","_root.x1,_root.y1,_root.x2,_root.y2");
    fscommand("fas.win.GetXY","_root.x,_root.y");
    fscommand("fas.win.GetWH","_root.w,_root.h");
    //Get the flash window's rectangle information and save to variables.
著作権2001-2003年、FLASHANTS INC.による版権所有