User Tag List

Results 1 to 5 of 5

Thread: Loading external file does not work

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleInstall CreatorUnicode Add-on

    Join Date
    Jul 2006
    Posts
    1,020
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Exclamation Loading external file does not work

    Hello everyone,

    the only way I accomplished to load a file is adding the file to the Binary Data tab.
    But I need to be able to load external files from the same server.

    As the Fusion HTML5 help states it should be possible:
    The Edit, List, Combo and Ini objects first try to load the data from a previous data section saved by the application.
    If they cannot find it, they will try to load it from the binary file section of the application.
    If the file cannot be loaded from there, they will try to load the file from the web server (the file should be located beside the html file).
    I tried everything but there is no way to load external files neither in local dev build nor on the final server.
    Even the solution in this thread does not work anymore.

    Is this Exporter broken? I would appreciate an answer from a Clickteam staff member.

    Regards
    Gustav

  2. #2
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,356
    Mentioned
    215 Post(s)
    Tagged
    4 Thread(s)
    Can you post an example of what you are doing?
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleInstall CreatorUnicode Add-on

    Join Date
    Jul 2006
    Posts
    1,020
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here is a very simple example which doesn't work:

    1. create a new application
    2. add an Edit Box object
    3. add an Event Start of Frame > Load text file "test.txt"

    This works only in Edit Mode, not on a local server, not on a webserver. It also works if the file was added to the Binary Data.
    But according to the Fusion help ["they will try to load the file from the web server (the file should be located beside the html file)"] it should also work with external files.
    I placed the file "test.txt" everywhere in all available folders (root, resources, src), it doesn't matter.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleInstall CreatorUnicode Add-on

    Join Date
    Jul 2006
    Posts
    1,020
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Talking

    I don't know what to say...


  5. #5
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCHTML5 Export ModuleiOS Export ModuleSWF Export Module
    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)

    Join Date
    Dec 2010
    Posts
    172
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Not sure how the load works on the edit box object but this file uses the get object to load a text file and then transfers that to a string and the edit box.
    works perfectly but only from the webserver.
    http://johnhenderson.com.au/getTest
    Attached files Attached files

Similar Threads

  1. String Parser 2 - External File Loading
    By UrbanMonk in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 7th August 2012, 08:17 PM
  2. TextBlitter doesn't work use external file
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 15th November 2011, 05:09 AM
  3. Flash Images Plus Internal File loading still doesn't work
    By Demi in forum SWF/Flash Export Module Version 2.0
    Replies: 10
    Last Post: 10th November 2011, 10:49 PM
  4. Loading an External Text in an Edit File
    By spiderjjr45 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 7th February 2010, 03:32 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
  •