User Tag List

Results 1 to 6 of 6

Thread: State of global counter not updated in subapp

  1. #1
    RayMarble
    Guest

    State of global counter not updated in subapp

    When the subapp appears the global counter in it shows 1 no matter what. However if I go to the same frame through the "Next frame", it shows correctly.

    What am I doing wrong?
    example file here: http://www.clickteam.com/epicenter/ubbthreads.php?ubb=download&Number=4904&filename=q uick%20global%20counter%20test.mfa

  2. #2
    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: State of global counter not updated in subapp

    I can confirm it and I think it may be a bug. Thanks for making the nice... handwritten.. example.
    Working as fast as I can on Fusion 3

  3. #3
    RayMarble
    Guest

    Re: State of global counter not updated in subapp

    hihi ;-)

    Obviously there are workarounds (the value I want to carry across can be saved in a Global Value and grabbed from the subapp, just tested it and it works) but it'd still be nice if the counter just retrieved the value correctly.

    To make sure everything's set up correctly, I also checked whether the "globality" of the counter works - and it does (if I change it graphically, it changes in both frames).

    Update: Just checked it with global strings (change a global string in the first frame, call a subapp that has the same string and the subapp will show it in a non-changed version), doesn't work there either. So I guess it's a feature after all ^.^??

  4. #4
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: State of global counter not updated in subapp

    The "Global object" option only works in the current application. The values of global objects (active, strings, counters, etc) are not shared with sub-applications. Only global values, global strings, scores and lives are shared.

  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: State of global counter not updated in subapp

    Could we possibly have a check box option for sharing this?
    Working as fast as I can on Fusion 3

  6. #6
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: State of global counter not updated in subapp

    I fear the answer will be "MMF3" - it doesn't sound like an easy change

Similar Threads

  1. Global Counter Help!
    By Kolar_Games in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 2nd December 2013, 09:51 AM
  2. Subapp and global objects
    By RayMarble in forum The Games Factory 2 - Technical Support
    Replies: 5
    Last Post: 3rd November 2008, 08:29 PM
  3. Global counter
    By willy in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 27th September 2007, 07:18 PM
  4. Subapp and global counters?
    By Horn in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 27th March 2007, 08:09 PM
  5. global value equal to counter
    By rhoymand in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 23rd November 2006, 08:20 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
  •