It’s probably because of the way
they are instantiated. dispatchEvent() is a mix-in from UIEventDispatcher. You might try adding ChangeEvent to the
component once it is created. Just a thought. Hey, I’m at Regards, Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e: From: Quick question...why are these different: <merlin:ReportingDatesPanel width="100%"
height="100%" portfolio="{selectedPortfolio}" /> Versus: mainContent.createChild(ReportingDatesPanel, "", {width:
"100%", height: "100%", portfolio: selectedPortfolio}); When the selectedPortfolio object changes in the main app with the MXML
in first example above, the custom component recognizes the change in the
selectedPortfolio object and performs the correct action. If I have the main application dynamically create the custom component
with the code in the 2nd example above, if the selectedPortfolio
object changes, the dynamically created custom component does not see that
change and none of the actions that I want to take place, actually take
place. I’m guessing this is a databinding issue…am I supposed
to set the portfolio attribute differently to catch changes in this object when
dynamically creating the custom component? Any help is greatly appreciated. Thanks, Rob robert l. brueckmann senior web developer merlin securities p: 212.822.4821 f: 212.822.4820 This message contains information
from Merlin Securities, LLC, or from one of its affiliates, that may be
confidential and privileged. If you are not an intended recipient, please
refrain from any disclosure, copying, distribution or use of this information
and note that such actions are prohibited. If you have received this
transmission in error, please notify the sender immediately by telephone or by
replying to this transmission.
Merlin Securities, LLC is a registered
broker-dealer. Services offered through Merlin Securities, LLC are not insured
by the FDIC or any other Federal Government Agency, are not deposits of or
guaranteed by Merlin Securities, LLC and may lose value. Nothing in
this communication shall constitute a solicitation or recommendation to buy or
sell a particular security.
|
- RE: [flexcoders] databinding question Rob Rusher
- Re: [flexcoders] databinding question Aldo Bucchi
- RE: [flexcoders] databinding question Robert Brueckmann