|
Erik…if at all possible, could you
give an example, like attach a sample MXML file and the accompanying AS file
you created that extends that MXML file? Just want to get a feel for this…and
how you reference things and what have you. Thanks! Robert L. Brueckmann Web Developer Merlin Securities,LLC p: 212.822.4821 From: Erik Westra
[mailto:[EMAIL PROTECTED] That was my initial approach too, but
eventualy it was easier to track bugs and 'mis-references' since i extendedthe
component i was accessing. Now i get an error when i try to reference a
textfield that isnt there. Another thing that is a pro for this kind of
approach, is that the mxml file doesnt have to know wich method to call in the
helper class. Greetz Erik From:Dimitrios
Gianninas [mailto:[EMAIL PROTECTED] I tend
to put such code in the corresponding ViewHelper class, so every view (MXML
file) has a corresponding ViewHelper class. See sample below: Inboxes.mxml <mx:Box> ... <vw:InboxesViewHelper id="inboxesHelper"
view="{this}"/>
... <mx:List id="inboxList" width="165"
height="100%" labelField="name" ... </mx:Box> Jimmy
Gianninas Software
Developer - Optimal Payments Inc.
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, pleaserefrain 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] Theory and Practice: Mixing AS2.0 in MX... Robert Brueckmann
- RE: [flexcoders] Theory and Practice: Mixing AS2.0 ... Matt Chotin
- RE: [flexcoders] Theory and Practice: Mixing AS2.0 ... Erik Westra
- RE: [flexcoders] Theory and Practice: Mixing AS2.0 ... Robert Brueckmann

