Hello, I have a problem. I have this form:
<mx:Script>
<![CDATA[
import flash.events.*;
import mx.events.*;
import mx.controls.*;
import mx.controls.Alert;
public static const GET_ENTRIES_TVSERIE:String =
"getEntriesTvSerie";
public static const GET_ENTRIES_CONTAINER:String =
"getEntriesContainer";
public static const ADD_ENTRY:String = "AddEntry";
private function adde(event: MouseEvent):void
{
this.dispatchEvent( new Event(ADD_ENTRY) );
}
]]>
</mx:Script>
<mx:Form id="newentry" visible="false" hideEffect="{fadeout}"
showEffect="{fadein}" >
<mx:FormItem label="N. Stagione">
<mx:TextInput id="season" maxChars="2"
width="30" />
</mx:FormItem>
<mx:FormItem label="Episodi (Range)">
<mx:TextInput id="episodes" maxChars="5"
width="50" />
</mx:FormItem>
<mx:ComboBox id="container" labelField="name" />
<mx:Button id="nebutton" label="Aggiungi Entry" click="adde(event)"/>
</mx:Form>
<mx:NumberValidator source="{season}" property="text"
integerError="Enter Integer value"
minValue="1" domain="int"/>
I'm using puremvc so the ADD_ENTRY event acts like a trigger for the
mediator. The problem is that the TextInput "episodes" is autodeleting
itself so I have an empty value when I have process that data.
I really don't know why because the other textinput "season" is not
autodeleting itself.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---