User Tag List

Results 1 to 4 of 4

Thread: MMF2 - Windows Resizing

  1. #1
    Clicker Fusion 2.5 DeveloperHTML5 Export Module

    Join Date
    Jun 2006
    Posts
    1,469
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)

    MMF2 - Windows Resizing

    How can I detect if a Window is being resized.

    For example I click and drag the corner of the window
    to make it larger or smaller.

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: MMF2 - Windows Resizing

    You can use Fusion Updater to download the Window Life Object, which has a On Window Resize condition.

    Alternatively, you can do this.

    Start of Frame:
    * Set OldW to Window Width()
    * Set OldH to Window Height()

    OldW <> Window Width()
    OR (logical)
    OldH <> Window Height()
    * Do stuff here
    * Set OldW to Window Width()
    * Set OldH to Window Height()

    To get the window width/height, use Window Control Object (in-built). OldW and OldH just are some vars, like global values or alterables.

    Make sure to check "Run while resizing" in the application properties no matter which way you choose.

  3. #3
    Clicker Fusion 2.5 Developer

    Join Date
    Jan 2007
    Location
    USA
    Posts
    691
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF2 - Windows Resizing

    I like the Window Life Object, because then you don't have to use Always to change the size of the window.

    I actually created a tutorial on resizing windows with this object awhile ago on TDC. Here it is if it can help:
    http://www.create-games.com/article.asp?id=1888

  4. #4
    Clicker Fusion 2.5 DeveloperHTML5 Export Module

    Join Date
    Jun 2006
    Posts
    1,469
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF2 - Windows Resizing

    Thanks everyone, with your help I finally got a working app.

Similar Threads

  1. Automatic Resizing only with MMF2 Dev?
    By EdibleWare in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 1st April 2013, 10:24 PM
  2. Graphics glitch when resizing with Windows Control
    By Shawn in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 27th December 2009, 03:39 PM
  3. Testing Resizing Objects as Windows Changes
    By droberson in forum File Archive
    Replies: 2
    Last Post: 28th August 2008, 11:37 PM
  4. MMF2 - Resizing a Window and Moving Scrollbar
    By droberson in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 10th March 2007, 09:58 PM

Posting Permissions

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