User Tag List

Results 1 to 5 of 5

Thread: Layer above sub app problem

  1. #1
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Layer above sub app problem

    In my game I'm using a sub app in the first frame as the game level. I created a new layer above the sub app, but all actives and events don't register at all or are visible. So then I decided to create another sub app to place on top of the first sub app. It's visible, but events still do not register at all.

    Is there any way to have a layer above a sub app that works?

  2. #2
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    Sep 2006
    Posts
    1,544
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Layer above sub app problem

    Generally, as subapps are in reality their own windows, you cannot layer things on top of them. Sometimes with "Display as Sprite" checked it can work- but this makes other things work.

    If you put another subapp on top of it, and for the newer subapp check the option "Popup Window", that should make it display and update in the proper order.

  3. #3
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Layer above sub app problem

    Hmm. Tried Popup Window on the new subapp and the events still don't work. It's not a big deal, I can work around it. It will just take some tinkering.

  4. #4
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    Sep 2006
    Posts
    1,544
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Layer above sub app problem

    What kind of events aren't working in that subapp?

    You won't be able to get "Player presses button" events to work in a subapp, because those events aren't triggered unless the window has focus (normal events should work fine).

    Generally speaking, you'd want to use the windows control object to make sure your 'main' window has focus whenever anyone clicks on the other subapps, and then use events in the main window to pass global values or strings to the subapps that tell it what to do when you press a button

    IE:

    (In main window):
    "Upon Pressing CTRL Key":
    "Set Global String H to 'Widget'"

    (In Subapp):
    "Global String H == 'Widget'"
    "Do Stuff"
    "Set Global String H to ''"

  5. #5
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Layer above sub app problem

    Just a note, if you don't share global values between the main app and the sub app, you can get and set the global values in the sub app from the main app. This is much more useful in some cases.
    Working as fast as I can on Fusion 3

Similar Threads

  1. Layer object problem
    By EdibleWare in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 31st January 2011, 01:59 PM
  2. MAJOR layer Problem!!!
    By Martin_Bodger in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 10th June 2008, 08:42 PM
  3. Layer problem
    By Dynamite in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 25th March 2007, 10:40 AM
  4. Simple Layer Problem
    By ace in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 13th July 2006, 10:16 PM
  5. Layer Problem
    By Spike in forum File Archive
    Replies: 3
    Last Post: 13th July 2006, 07:00 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
  •