User Tag List

Results 1 to 8 of 8

Thread: Fastloops in subapps

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

    Join Date
    Dec 2006
    Location
    England
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Fastloops in subapps

    I've been trying to make a game using subapps in MMF2, and I was wondering (because its pretty annoying) - is there any way to make a fastloop communicate with a subapp.

    This is the first time I've ever tried to use subapps propperly and so as far as I know the only way you can get things in the subapp to respond to something you do in the parent frame is to set a global value and retreive it in the subapp. (Is there any other way?)

    What I want to do is something along the lines of:

    On loop x -> set global value A to Listline$(some list,loopindex(x))

    and then in the sub app

    value A (item) = global value A -> set x position of item to global value A

    basically for storing a list of positions in a list file.

    I dont suppose this is possible but any help would be much appreciated.

  2. #2
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS 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
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Fastloops in subapps

    That is what objects such as the Global Function Object are for.
    .:::.Joshtek.:::.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

    Join Date
    Dec 2006
    Location
    England
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fastloops in subapps

    thanks alot and sorry for posting before reading and all that

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

    Join Date
    Jul 2006
    Location
    USA
    Posts
    658
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fastloops in subapps

    I don't know if this is a "wrong way" to do it, but I've put loops in an app's Global Event editor. It triggered loops in my main app and the sub-app... The sub-app was a "frame from application".

  5. #5
    No Products Registered

    Join Date
    Aug 2006
    Location
    Westcountry, UK
    Posts
    862
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fastloops in subapps

    That sounds quite a good way to do ite

  6. #6
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

    Join Date
    Dec 2006
    Location
    England
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fastloops in subapps

    I've been playing around with the global function object and I dont know how to make it do loops (if this is possible??).

    The subapp I am using is also a frame from application one. Aidmm, when you do that do you want both the parent and the subapp do the same thing in their loops or do you want the subapp to get values as the loop in the parent sends them?

    I understand how you could get them both to do the same loop that way, but I need one to send values and one to recieve in a loop if this is what you mean please tell me how to make it work..

    so.. you make a global loop that triggers different loops in both the parent and the subapp?

  7. #7
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

    Join Date
    Jul 2006
    Location
    USA
    Posts
    658
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fastloops in subapps

    When I use Loops in the Global Event editor, I do this so that I can call those functions from any frame.

    To trigger the loops from another frame, I use the Global Function Object.

    I just made a very simple example and uploaded it here.


  8. #8
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

    Join Date
    Dec 2006
    Location
    England
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fastloops in subapps

    helpful, thank you

Similar Threads

  1. [BUG RC1] SubApps
    By Danny in forum Android Export Module Version 2.0
    Replies: 1
    Last Post: 8th November 2012, 06:38 PM
  2. SubApps
    By RickyRombo in forum SWF/Flash Export Module Version 2.0
    Replies: 5
    Last Post: 28th September 2010, 11:55 AM
  3. Subapps
    By Fanotherpg in forum SWF/Flash Export Module Version 2.0
    Replies: 4
    Last Post: 7th March 2010, 01:58 PM
  4. Threading in Subapps
    By Dines in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 9th July 2008, 02:08 PM
  5. re: are SubApps 'vitalized'?
    By ClickerGuy in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 27th March 2008, 08:45 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
  •