User Tag List

Results 1 to 4 of 4

Thread: Sub Application can't use global arrays?

  1. #1
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export Module
    Konidias's Avatar
    Join Date
    Aug 2009
    Posts
    1,546
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Sub Application can't use global arrays?

    Does a sub app not have the ability to use arrays marked as global? I've done a few tests and I can get global variables to work just fine in sub apps, along with a few different global extensions... but when I make an array in one frame and turn it to global, and then copy that same array to the frame that is going to be my sub app... the sub app frame doesn't seem to recognize the array.

    For example, if you add an array object named "Array" to frame 1, and you copy that same object to frame 2, and set them to be global, then set a value in the array during frame 1 and jump to frame 2, that value doesn't carry over.

    But if you do this with a global variable it carries over. Why is this?

  2. #2
    Clickteam Clickteam

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

    Re: Sub Application can't use global arrays?

    Global arrays are global to the current application only, they aren't shared by the parent application and its sub-apps.

  3. #3
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export Module
    Konidias's Avatar
    Join Date
    Aug 2009
    Posts
    1,546
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Sub Application can't use global arrays?

    Okay thanks for the info. I've found a workaround for it so all is good!

  4. #4
    Clicker Multimedia Fusion 2 Developer
    Jax's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    702
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Sub Application can't use global arrays?

    Ini++ in global mode is though.

Similar Threads

  1. 'Global to this application'
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 13
    Last Post: 27th April 2012, 09:53 PM
  2. Global arrays and sub apps
    By MJK in forum SWF/Flash Export Module Version 2.0
    Replies: 5
    Last Post: 17th April 2011, 08:10 PM
  3. Sub-Application - Global values ?
    By DJ_Wild in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 26th April 2009, 02:13 PM
  4. no global arrays *in sub-apps*! double panic!
    By integrality in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 6th January 2007, 02:16 AM
  5. 241_MMF2dev -Global strings refusing being global
    By Tiny in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 19th July 2006, 07:00 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
  •