How do I upload images 1 by 1

0 favourites
  • 5 posts
From the Asset Store
You can upload screenshots and photos to your server very easily.
  • Greetings there! ^_^

    So i newely bought the C2 and have looked up on the tutorials, but however there is 1 thing i need help with!

    The file chooser! What i want to do is simply;

    Allow to upload an image 1 by 1, that is let's say you run the program. You upload an image, and 5 minutes later you upload another image -

    without replacing the first one. So far i have set

    Sprite 1 to load FileChooser.FileURLAt(0)

    Sprite 2 to load FileChooser.FileURLAt(1)

    And etc. It does not work. It only works if you set file chooser to multiple files, ONCE though.

    But i want to be able to load up single files now and then WITHOUT replacing the existing one.

    Any help or capx? >.<

  • No one seems to know this >.<

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • it's also the same question i want to ask

  • it's also the same question i want to ask

    [quote:21xqr5aq]Allow to upload an image 1 by 1, that is let's say you run the program. You upload an image, and 5 minutes later you upload another image -

    without replacing the first one. So far i have set

    Sprite 1 to load FileChooser.FileURLAt(0)

    Sprite 2 to load FileChooser.FileURLAt(1)

    if you upload just one file (1 by 1)..you always load FileChooser.FileURLAt(0)

    if you use just one sprite ..and if you want to load next image WITHOUT replacing the existing one

    you need new frame...

    oneSpriteExample.capx

  • > it's also the same question i want to ask

    >

    [quote:3oytwhlp]Allow to upload an image 1 by 1, that is let's say you run the program. You upload an image, and 5 minutes later you upload another image -

    without replacing the first one. So far i have set

    Sprite 1 to load FileChooser.FileURLAt(0)

    Sprite 2 to load FileChooser.FileURLAt(1)

    if you upload just one file (1 by 1)..you always load FileChooser.FileURLAt(0)

    if you use just one sprite ..and if you want to load next image WITHOUT replacing the existing one

    you need new frame...

    oneSpriteExample.capx

    korbaach thanks for your kindly helping! i will go to try it.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)