Hi,
I can't find any working simple solution for this in flex, so I would
like to create it myself.

What I want is to dynamically load an image and (for example) an xml
file with the coördinates of the clickable regions in the image.
It should be resizable: when the image resizes, the clickable regions
must stay on their correct places

For now, I can load an image and add a shape into the image control, it
should be clickable, that works fine. But the resizing doesn't work...
The image control doesn't resize its children automatically (I don't
expect that also...)
Using something like constraints isn't available.
Is there any way to fix this? Without going over all the children
elements on a resize event manually?

I also tried to place the image in a canvas (backgroundImage), so I
could use the constraint options, but the canvas doesn't care about the
aspect ratio. There isn't an 'maintainAspectRatio' like the Image
control.

Any help/advice on this?
Thanks



Reply via email to