Quantcast
Channel: Forums - ArcGIS Viewer for Flex
Viewing all articles
Browse latest Browse all 2097

pass on layers collection from one widget to another

$
0
0
I tried to pass a layer collection in an arraycollection by using the process as described in "Widget Communication" at the
http://forums.arcgis.com/threads/388...tion-Explained,

however I get the error at widget B that the "Property msArr not found on widgets". msArr is the arraycollection in widget A. I checked and verified that the msArr is not null.

I have this widget B

if (bWidget1){
var vSW1:* = bWidget1;
layercollection = vSW1.msArr;
}

Suggestions?

Thanks.

Viewing all articles
Browse latest Browse all 2097

Trending Articles