|
Call parentDocument.tna.press() from the
second component. - Gordon From:
[email protected] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] How do you have an mxml file that has two .as files and one
.as file has a function in it that calls the method in the other .as file. Let
me show you what I want to do, here is the mxml file What I want to do is to
have someone press the testouttwo button then have it call the acivatetwo()
method in testouttwo which in turn calls the press method in testout one.
Is this possible to do? I know an mxml file with two .as files is not
neccessary I am just wanting to learn to handle it because I ran in to the 32k
error.: <?xml version="1.0"
encoding="utf-8"?> <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"
xmlns="*" width="550"> </mx:HBox> Here is the first .as file class testoutone { function testoutone() { public function activate(){
Now here is the second .as file class testouttwo { public var tview:Object; } }
|
- RE: [flexcoders] Communication betwen two .as files Gordon Smith

