-
Custom List
Hi,
How would I go about creating a custom list (with text and images) from other list objects. I want to create a list like the one below.
http://i42.tinypic.com/351xz48.png
The borders around the image and the list items would be images, and the text would be set from various list objects.
Thank you in advance,
Henry
-
Anyone know how to do this (preferably with Flash/iOS compatible extensions, if any are required)?
-
- Store the headlines in a LIST object. Use other list objects for the other text, or put them all in the same list, separated by a special character:
Item title;Line 1;Line 2
Item title;Line 2;Line 3
- Then simply run a fastloop through the list.
- On each loop, create all the objects needed for the current custom list-row: Border gfx, image and 3 string objects. Get the text from the list-object by using the loopindex. If you put all in the same list, use the string tokenizer to split the text so you can put it in several string objects.
- Place the objects relative to each other, and then multiply the height of the row with the loopindex of the loop to get the y-position.
- Voila, you have fancy custom-made list!
-
Thank you, Popcorn, I'll give that a go. Because of the way I want to users to be able to choose an image from their computers, would I just create an active object when the loop occurred, and then use the load frame action? Would that change the other active objects created with the loop? If it did change the other ones, how would I avoid that?
Thanks!
-
I think load frame affects all objects of the type, but I never used that so I am not 100% sure. But does 'load frame' work on other runtimes at all?
Maybe it is better to use the Active Picture object? Though I don't know if that is supported either.. :)
-
Thanks, I'll experiment, and see what happens :)
Edit: As you said, the load frame doesn't work. Does anyone know a way of being able to have unique images in different instances of a single, created object?
-
Does anyone know how to do the image lists (see above)?