User Tag List

Results 1 to 3 of 3

Thread: Center window position

  1. #1
    Clicker Multimedia Fusion 2SWF Export Module
    Eagi's Avatar
    Join Date
    Feb 2012
    Location
    Eskilstuna, Sweden
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Center window position

    Hi I have been making a small birdeye-view-rpg for a while now, and it works fine in my normal .exe export builds, but when I try to export to flash, the "center window command" goes crazy... It looks as if the game has trouble deciding if the window is supposed centred around my active object or stay in its' original position, and the result is that it flashes back and forth between the two... any one who knows a work around?

    Thanks // Ed

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    redpandagames's Avatar
    Join Date
    Dec 2011
    Posts
    378
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Eagi View Post
    Hi I have been making a small birdeye-view-rpg for a while now, and it works fine in my normal .exe export builds, but when I try to export to flash, the "center window command" goes crazy... It looks as if the game has trouble deciding if the window is supposed centred around my active object or stay in its' original position, and the result is that it flashes back and forth between the two... any one who knows a work around?

    Thanks // Ed
    Just out of curiosity, did you set the condition to "Always" without any other condition? What are you using for your conditions? The only thing that I could think of is you could use a zelda nes screen movement, where the screen moves when the player touches the edge, but there really should be a way to get this to work...

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    This kind of problems appears on the Flash runtime is you center the frame position TWICE (or more) in your events.
    Please filter the storyboard events (by clicking on the storyboard object in the object bar), and find out if you have two different Center frame position actions in your code.
    If so, remove them, and only leave one.
    Flash display is a direct drawing list : it instantly reacts to the center frame position action. The C++ runtime buffers the action until the end of the frame, so only the last one has an effect.
    Please keep me posted on this.

Similar Threads

  1. Center window position
    By dnlhern in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 10th September 2013, 06:34 AM
  2. How to create Highscore Object at center of window
    By King_Cool in forum SWF/Flash Export Module Version 2.0
    Replies: 14
    Last Post: 19th March 2013, 11:06 PM
  3. Center position in frame not working
    By Dynamite in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 8th November 2007, 07:19 PM
  4. Getting Window Position
    By RaiFox in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 23rd September 2006, 08:32 AM

Posting Permissions

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