|
“I see,” said the blind man…thanks
Erik! This whole technology, even after a few months of working with it,
is still something so completely new to what I’m used to and I guess I
was having trouble seeing the MXML file as an AS class in and of itself…thanks
for the concise yet extremely helpful answer! I get it now. J Robert L. Brueckmann Web Developer Merlin Securities,LLC p: 212.822.4821 From: Erik Westra
[mailto:[EMAIL PROTECTED] What i do is extending the mxml class
with an AS class. Then instead of using the mxml i use the AS subclass. If the
class is empty, things just work like they did before. But inside the AS class
u have the usual callBacks (createChildren, init, etc) and a constructor. Via code u can add listeners to the UI
components and manage everything from within the AS class. Greetz Erik From:Robert
Brueckmann [mailto:[EMAIL PROTECTED] Can I ask how you manage an MXML without
any ActionScript at all? How in a file that has components with clickor
change listeners would you not have any supporting ActionScript code…I
mean just about every single one of my MXML files has initialize or
creationComplete listeners in the parent container tag with dozens of other
components that are dependent on dataproviders changing and user interactions
like clicking or dragging and dropping and I can’t begin to imagine how I
could extract every bit of ActionScript from my MXML files into individual
ActionScript classes…maybe I’m not grasping the Cairgorm design
architecture fully…I thought I had a pretty good grasp on it but to hear
that you’re writing MXML files with no ActionScript in them whatsoever kind
of baffles me…can you give me an example?
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 ... Erik Westra
- RE: [flexcoders] Theory and Practice: Mixing AS2.... Robert Brueckmann
- RE: [flexcoders] Theory and Practice: Mixing AS2.... Erik Westra
- RE: [flexcoders] Theory and Practice: Mixing AS2.... Dimitrios Gianninas
- RE: [flexcoders] Theory and Practice: Mixing AS2.... Erik Westra
- RE: [flexcoders] Theory and Practice: Mixing AS2.... Robert Brueckmann
- RE: [flexcoders] Theory and Practice: Mixing AS2.... Matt Chotin
- RE: [flexcoders] Theory and Practice: Mixing AS2.... Erik Westra
- RE: [flexcoders] Theory and Practice: Mixing AS2.... Robert Brueckmann

