A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Window Position

  1. #1
    Junior Member
    Join Date
    Nov 2000
    Posts
    12

    resolved

    Another question... how can i determinate de position of a window in the screen, when i play a EXE.

    Thnks for your help!

    António Cunha - Portugal

  2. #2
    Senior Member
    Join Date
    Jul 2000
    Posts
    5,087
    I believe you need a 3'rd party tool like Swiff Canvas or Juglor to do this easily. I know that both programs allow this type of action.

  3. #3
    Senior Member
    Join Date
    Jun 2000
    Posts
    234
    fullscreen resolve o problema do posicionamento

  4. #4
    Lifetime Friend of Site Staff Northcode's Avatar
    Join Date
    Dec 2000
    Location
    Whitehorse YT
    Posts
    3,766
    If you use SWF Studio (www.northcode.com) you can use the WINPOS command to get the window position and WINMOVE to change the position at runtime.

    // put window position in variables "left" and "top"
    fscommand("WINPOS", "left, top");

    // move the playback window to 100,200 on the desktop
    fscommand("WINMOVE", "100,200");

    You can also resize the playback window, minimize or restore it and find out the size of the user's desktop. Very useful stuff if you want to create a Flash app that behaves like a toolbar or a dockable window.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center