Can tha assets be put into lists?

Hi!
I have lots of assets as backgrounds and i want to change them on button events.
Can i put them into list somehow, or is there an easy way to avoid manipulating them one by one?
I want something like put the buttons in a list and the assets in an ather list and relate it to the buttons list.

Yes

image

1 Like

If you are on linux and you have a folder with all your assets in it:

~/assets$ ls -m > assets.txt

Using a file extension, you could also fetch a list of the assets from the assets folder - where ever that is these days :wink:

1 Like

On Android ≥ 10 here:

/storage/emulated/0/Android/data/edu.mit.appinventor.aicompanion3/files/assets/

So list (specific) files from the assets, see here:

Thank you TIM, i try it.
And the file extension is a good idea.
Thank you Anke.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.