This content has been marked as final. Show 3 replies
One possible solution is to use a mask for the overlay that is dynamically drawn to contain rectangles of the same placement and the same size as the images, which is moved with the images.
I thought about that a bit. I would need to do these 5 operations:
1 scan and find all image tags listed in the xml document
2 get image sizes (via width and height tags in xml doc)
4 create rectangle of those sizes (automatically, as needed) on a layer mask
5 dynamically link the mask layer to the images layer
- I'm new to AS3
- the number of photos will change constantly so the swf would have to analyze and interpret the the data. This includes: counting the total number of image tags, and calculating the sizes.
- I have no idea on how to link a masked layer to the motion of the layer underneath. Also don't know how to make the mask shapes appear automatically and as needed.
is there no simpler way to do it?
P.S. I'd like to take this opportunity to say that "ignore stage background" in the blending options should be a feature for the next version version or update of flash. I'm sure this would come in handy in a lot of cases...