Three part question for all you geniouses out there.
Say I have an array and some pictures in my libriary.
[?] <–picture of banana
food=[banana, cookies, tofu];
and I make some general variables
weight=0
size=0
Carbs=0
for example, just to give an example.
How do I create a variable to go along with that.
[?] bananna weight= 0.09lbs
then attach a picture to go with that. Thus making my banana 0.09lbs or whatever and having a little picture. Thats just what i was pondering on and wondered if it was possible in flash.
Part three of my question:
Say I add an item to my array
Like this:
food*=“orange”;
How would I search for where that is indexed in the array to make changes or to change the variables assigned to it.