Hi there,
I have only started working with Flex 3 only couple of days
ago. I am a Delphi experienced programmer if that helps.
I have created a small Flex Project which contains 3 Flex
modules. The modules are not loaded as SWF files but with the
<local:......>.
My modules are data-aware and they work fine on the first
change state. I am also able to update my data by pressing a
button.
I have two big problems I hope you gurus could help me.
1. Is it possible to access a public function written in a
different module ? (Once again I state that I load the modules
using the <local:formname/>
2. Is it possible to execute an action when I change the
currentState because my script only fires only with the
creationComplete which triggers the first time.
my module code looks like
<mx:Module xmlns:mx="
http://www.adobe.com/2006/mxml"layout="absolute" width="780" height="560"
creationComplete="doInit()" >
public function doInit():void
{
Alert.show('hi');
rs = new HTTPService;
rs.url=myurl;
rs.method="POST";
rs.addEventListener("result",resultHandler);
rs.addEventListener("fault",faultHandler);
rs.send();
}
...
..
..
..
</mx:Module>
Thank you all guys and really really sry for being such a
n00b :( :( :( :) :(:(:(
Sotiris/Greece