Hi,
I think this is a very very dumb question but i am nto being able to gigure this out i am a total newbie to flex.
i have a mxml file e.g. aaa.mxml which has the following declaration
........ //some lines of code
<mx:XMLListCollection
id="listCollectionData" source="{srv_new.lastResult.data.result}" />
Now if i have some external file e.g. myActionScript.as - how do i access the listCollectionData value defined in aaa.mxml file?
Thank you so much ...
Rohit
Views
Replies
Total Likes
Hi,
me not clear wether it is an AS file or AS Class
if you are using ActionScript File then include your ASFile in aaa.mxml
<mx:Script source="myActionScript.as" />
If you are using ActionScript Class then create and object for aaa.mxml then you can use all the Properties of aaa.mxml in myActionScript.as
Views
Replies
Total Likes
Hi Harsha,
Thanks for the reply. Yes I am using an ActionScript class - Hrasha I am really new to all this stuff and this question will surely irritate you . But how do you create an object for zzz.mxml
Thanks,
Rohit
Views
Replies
Total Likes