Hi,

Change the dispatch event code in As.as.

public class As  extends EventDispatcher
{
.
.
.
.
                public function setA(ndx:int):void
                {
                        this.indx = ndx;
                        aDTO = new ADTO();
                        aDTO.id = 502;
                        aDTO.name = "Saved Item";
                        dataList[indx] = aDTO;
                        var thisDTO:ADTO = dataList[indx];
                        var eventObject:ChangeA = new ChangeA("aChanged", 
thisDTO.id, true);
                        /*var dispatch:EventDispatcher = new EventDispatcher();
                        dispatch.dispatchEvent(eventObject);*/
                        dispatchEvent(eventObject);
                        //Alert.show(updateSuccessMessage);
                                             //setAResult.token = 
service.storeA(aDTO);
                }
.
.
.

}

Thanks & Regards,
M.Prabhu

-----Original Message-----
From: CodeGirl [mailto:[email protected]] 
Sent: Monday, December 08, 2014 4:17 AM
To: [email protected]
Subject: Re: Bubbling to a Grandparent

example.zip
<http://apache-flex-users.2333346.n4.nabble.com/file/n9004/example.zip>  

Here is an example of what I am doing and the issue I am trying to solve with 
the latest of what I have.

When the app loads, hit the new button and then the update button.   Notice
that the Bs does not update to an empty Datagrid.   This shows the
GrandParent is not being called.   Any help getting this to work would be
appreciated.

I created the Actionscript files for reusability as displayed in the lookup 
names.



--
View this message in context: 
http://apache-flex-users.2333346.n4.nabble.com/Bubbling-to-a-Grandparent-tp8997p9004.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to