User Tag List

Results 1 to 4 of 4

Thread: Download Object

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    CBSection31's Avatar
    Join Date
    Apr 2007
    Location
    Aurora, IL, USA
    Posts
    108
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Download Object

    Hi all,

    I might be missing something obvious here, so please don't hesitate to tell me if that's the case...but it seems to me as though the Download Object doesn't allow variable strings in the URL.

    I have a server set up on my hard drive, with a file called "test.ini". When I attempt to download the file using the Download Object, putting in the actual link "http://localhost/test.ini", it works perfectly.

    However, when I set a global string to "localhost" (to make it easier to change the domain for my game once it goes live) and try to download "http://" + string + "/test.ini", the download fails.

    Is the Download Object incapable of handling variable strings as opposed to an exact URL? Or am I missing something obvious?

    Thanks in advance for your time and help!

  2. #2
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: Download Object

    Should work.

    As a debugging test did you happen to put the results of "http://" + string + "/test.ini" into an object so you can see it has generated the right path?

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

    Join Date
    Jun 2006
    Posts
    375
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Download Object

    I just tried to replicate the problem. But ehh... seems to work for me.

    You've either made an error in the expression, or you gave the global string an invalid input...

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    CBSection31's Avatar
    Join Date
    Apr 2007
    Location
    Aurora, IL, USA
    Posts
    108
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Download Object

    ...And now I feel like a complete idiot. I had an extra l between the l and h in localhost. I must have checked it twenty times, too. Fixed it and it now works fine. Sorry to trouble you guys!

Similar Threads

  1. Download Object won't download...
    By Evoxe in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 26th June 2009, 07:41 AM
  2. Download Object
    By Game_Master in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 7th April 2009, 06:18 PM
  3. Download Object?
    By MrBobert in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 19th March 2009, 11:16 AM
  4. Where can I get the download object?
    By Arnax in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 22nd August 2007, 05:59 PM
  5. download object BUG
    By Wilk in forum Extension Development
    Replies: 2
    Last Post: 17th June 2007, 06:50 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
  •