The way I see it the following is just bad OOP:

var text:TextArea = myflashmovie.myClass.getText();

regards,
Muzak

----- Original Message ----- 
From: "Austin Kottke" <[EMAIL PROTECTED]>
To: <flashcoders@chattyfig.figleaf.com>
Sent: Thursday, April 05, 2007 4:23 AM
Subject: Re: [Flashcoders] Flash 9 CS 3 and Flex framework


> The main thing on this is if I load in a flash 9 cs3 swf with a textarea 
> created.
>
> var t:TextArea;
>
> I then try and reference this same text area from flex
>
> var text:TextArea = myflashmovie.myClass.getText();
>
> This would create a compiler error as the textarea would be the flex 
> framework and the flash textarea would be the flash 
> components. Not the same object. (This is an assumption as I dont have flash 
> 9 cs3).
>
> Of course you can make a wrapper around the textarea object to return only 
> the data you want such as a string, etc. But this is 
> just an extra pain.
>
> As an example something in the flex framework's text area has methods that 
> are not in the flash text area. Now you have to write 
> code to accomodate for this.
>
> Does this make sense?
>
> Best, Austin


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to