User Tag List

Results 1 to 6 of 6

Thread: Can't Run SubApp "This is not an application file"

  1. #1
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    JimJam's Avatar
    Join Date
    Jun 2006
    Location
    USA
    Posts
    353
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Can't Run SubApp "This is not an application file"

    I created a test to run Sub-Apps that run from other applications. When I try to run it, it says "This is not an application file!" I don't understand what I'm doing wrong. Here is what I did:

    • I created 2 MFA files. One called "Parent.mfa" the other "Child.mfa"
    • "Parent.mfa" has one Frame. It only contains a Sub-App, with source set to "Other Application." Filename set to "Child.ccn"
    • "Child.mfa" has one Frame. It contains one String object, which reads "This is a Sub-App. Loading Externally."
    • I build the "Child.ccn" file. I build the "Parent.exe" file.
    • If I run the EXE:
      ="This is not an application file!"
    • If I run the application in MMF2:
      ="This is not an application file!"
    • I change the Sub-App's File Name Property from "Child.ccn" to its full path name "C:/Test/Child.ccn":
      ="This is not an application file!"
    • I clear Sub-App File Name to blank. I create Start of Frame event.
      Action: New Application: "Child.ccn"
      ="This is not an application file!"
    • I change Start of Frame event.
      Action: New Application: Apppath$ + "Child.ccn"
      ="This is not an application file!"

    What am I doing wrong? I just don't get it.

  2. #2
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Can't Run SubApp "This is not an application file"

    Hi JimJam. Did you try clicking "include external files" in the properties.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  3. #3
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    JimJam's Avatar
    Join Date
    Jun 2006
    Location
    USA
    Posts
    353
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Can't Run SubApp "This is not an application file"

    Yep, it didn't work.

    Ok, so I've redone this program 4 times. I mean completely rebuilt from scratch. New File, new objects, new everything.

    After re-doing it the 4th time, it worked. So I've got 4 copies of nearly the same program, and only one of them works...

    The other 3 attempts also gave errors. BUT, this doesn't solve my problem. I need to incorporate external sub apps into my current project, which is having the same problem. And I cannot recode it 4 times.

  4. #4
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Can't Run SubApp "This is not an application file"

    Sorry, I have too much brain leakage for this problem.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  5. #5
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Can't Run SubApp "This is not an application file"

    What build are you using? Try choosing an .mfa file for the subapp, and then build your application like normal. It should ask you to build the .ccn file. Click yes, and it should work.

    Stephen1980
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  6. #6
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    JimJam's Avatar
    Join Date
    Jun 2006
    Location
    USA
    Posts
    353
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Can't Run SubApp "This is not an application file"

    I was using 248, but then I installed 249 to see if it would fix the issue.

    I haven't had the problem after installing 249, but MFA files that were saved in 248 were still having this bug even though I was running the new build.

    The bug didn't effect the frames of the application, so I was able to create a new MFA, and then copy all of the frames into it. Then build with 249, and the bug was gone.

    But this means that something in the original MFA file was corrupted, because updating the MMF runtime build didn't fix the issue with files created BEFORE the update...

    I have isolated the bug and can upload a ZIP file of it all for further investigation if needed.

Similar Threads

  1. Difference Between "IOS Application" and "IOS final Xcode Project"
    By Decoamorim in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 31st May 2013, 09:36 PM
  2. "Set application" of the subapp doesn't work
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 18th December 2012, 09:31 AM
  3. Pressing the "F2" key and Choosing "New" From the File Menu Aren't the Same (bug)
    By redpandagames in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 10th October 2012, 06:42 AM
  4. INI Problem > Works only if "Create INI file in Application Data folder" is checked.
    By Hawanna in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 5th June 2012, 05:47 PM
  5. Subapp and "End the application"
    By RayMarble in forum The Games Factory 2 - Technical Support
    Replies: 7
    Last Post: 21st March 2010, 09:53 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
  •