User Tag List

Results 1 to 5 of 5

Thread: [BUG] Array object can't load if the INI object exists in any frame before it

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    happygreenfrog's Avatar
    Join Date
    May 2011
    Location
    I.L.T.D.O.I.R (I.L.T.D.O.I.R's Location: The Dimension Of Infinite Recursion)
    Posts
    4,307
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    [BUG] Array object can't load if the INI object exists in any frame before it

    An MFA file is attached to show the problem. Running the second frame works, but if you run the application, then it doesn't, due to the existence of the INI object in the frame before. This means that, as of now, you can't use both the INI object and the array object in the same application.
    Attached files Attached files

  2. #2
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)
    Seems to be a "current directory" problem. I think it works if you replace "Array.test" by Apppath$+"Array.test" in the expression that loads the array.

  3. #3
    Clicker Fusion 2.5 DeveloperInstall Creator Pro

    Join Date
    Sep 2006
    Posts
    517
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi everyone,
    I have faced the same problem a few days ago. When Ini's property "save in App Data folder" is checked, original directory is changed to something in AppData. It would be great if this side effect is fixed.
    ouly

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    happygreenfrog's Avatar
    Join Date
    May 2011
    Location
    I.L.T.D.O.I.R (I.L.T.D.O.I.R's Location: The Dimension Of Infinite Recursion)
    Posts
    4,307
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Yves View Post
    Seems to be a "current directory" problem. I think it works if you replace "Array.test" by Apppath$+"Array.test" in the expression that loads the array.
    Well, if you'll look at the MFA file, the array is in the binary data, and AppPath$ isn't supported in flash, but binary data is. Do you think it will work without the fix in flash, or am I basically stuck here?

  5. #5
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)
    In the PC runtime you need to specify AppPath$ for the runtime to be able to find the file in the Binary Data, so that MMF2 can differenciate files with the same name in different directories. AFAIK SWF just ignores the pathname so it should work with AppPath$.

Similar Threads

  1. How to use the binary array object to load file?
    By RGBreality in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 8th October 2011, 05:09 PM
  2. Active Object - Load Frame
    By CBSection31 in forum iOS Export Module Version 2.0
    Replies: 0
    Last Post: 19th August 2011, 07:51 PM
  3. load frame in active object
    By Chokito in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 3rd April 2008, 11:00 AM
  4. Yves: Active Object > Load Frame bug!
    By Patrick in forum File Archive
    Replies: 7
    Last Post: 4th September 2007, 12:41 PM
  5. Active Object, Load Frame
    By Olivier in forum Multimedia Fusion 2 - Technical Support
    Replies: 16
    Last Post: 19th May 2007, 07:16 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
  •