0 Favourites

How do I release a filechooser image?

  • So, I have the following sequence:

    local variable current_file = 0
    Filechooser -> On changed
      - PhotoField -> Load image from filechooser.FileURLAt(current_file)
      - System -> Add 1 to current_file
    This way the user can load a new image to replace the previous one. But if I add 
    Filechooser -> release file(filechooser.FileURLAt(current_file-1))
    to release the previous file the image doesn't load at all. What should I do to be able to replace the previous image with another and release the previous one?
    Also I feel I shouldn't be adding urls to filechooser but replacing the url at (0). However, any attempt to do so results in the image not changing or not loading.
  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
308 38,078
damainman's avatar
Unread hot topic
122 19,359
hellwalker's avatar
Unread hot topic
111 14,378
Phoenixbowman's avatar