Select to view content in your preferred language

adding more attributes dynamically to graphic object

1899
1
02-16-2011 11:04 AM
abukhan
Occasional Contributor
say you have a graphiclayer where you populate graphic..

In the graphic add event can we add say attributes:

var objc:Object = {MIN_P_ALL: myGraphic.attributes.MIN_P_ALL,  MIN_P_DEF: myGraphic.attributes.MIN_P_ALL, MIN_P_CUSTOM:myGraphic.attributes.MIN_P_ALL};

graphic.attributes = objc;

Is graphic attributes writable?
Tags (2)
0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus
Abu,

   Yes this does work.
0 Kudos