Thanks a lot for the time you spent doing that Erik!  Much appreciated!

 

Robert L. Brueckmann

Web Developer

Merlin Securities,LLC

595 Madison Avenue

New York, NY 10022

p: 212.822.4821
f: 212.822.4820


From: Erik Westra [mailto:[EMAIL PROTECTED]
Sent: Friday, March 04, 20054:59 AM
To: [EMAIL PROTECTED]
Subject: RE: [flexcoders] Theory and Practice: Mixing AS2.0 in MXML

 

Here's a small example :)

 

 

Greetz Erik

 


From:Robert Brueckmann [mailto:[EMAIL PROTECTED]
Sent: donderdag 3 maart 200517:14
To: [EMAIL PROTECTED]
Subject: RE: [flexcoders] Theory and Practice: Mixing AS2.0 in MXML

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

595 Madison Avenue

New York, NY 10022

p: 212.822.4821
f: 212.822.4820


From: Erik Westra [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 03, 2005 10:30 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Theory and Practice: Mixing AS2.0 in MXML

That was my initial approach too, but eventualy it was easier to track bugs and 'mis-references' since i extended the 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]
Sent: donderdag 3 maart 200516:22
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Theory and Practice: Mixing AS2.0 in MXML

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"
            vScrollPolicy="auto" change="inboxesHelper.doLoadInbox(inboxList.selectedItem.id)" />

     ...

</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, 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 orby 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.

 



 

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.

Reply via email to