jiangtiandao / flexlib

Automatically exported from code.google.com/p/flexlib
0 stars 0 forks source link

Can't add areas via actionscript #240

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The documentation says that the map property of the imagemap can be
assigned via actionscript:

> The <map /> HTML block that is normally used for the image map in an HTML
file. This should be wrapped as an XMLList and can either be cuopy/pasted
straight into the MXML file, or set via Actionscript.  

Since the map type is an array, I tried to create an array of objects with
area properties but error ed saying can't convert to flexlib.controls.area 

Then I commented out the [ExcludeClass] under flexlib.controls.area so I
could actually create objects and put them in the array. That part worked
however after putting the assigning the array to the imagemap.map property,
they are not showing up properly.

Mouse over will not show the alt tags, clicking on the imagemap will not
target the areaHolder like it should.

Original issue reported on code.google.com by synergyp...@gmail.com on 13 Aug 2009 at 3:22