Hi,
first.mxml
public function init():void
{
userVO.nameVar = name.text;
userVO.genderVar = gender.text;
}
<mx:TextInput id="name />
<mx:TextInput id="gender" />
----------------------------------------------
second.mxml
public function init():void
{
userVO.gradVar = name.text;
userVO.univNameVar = gender.text;
}
<mx:TextInput id="graduation/>
<mx:TextInput id="univName" />
--------------------------------------------------
userVO.as
public class userVO
{
public function userVO()
{
}
public static var nameVar:String ="";
public static var genderVar:String="";
public static var gradVar:String ="";
public static var univNameVar:String="";
}
Thanks,
Anish Mohan
On Jun 7, 4:59 pm, athi <[email protected]> wrote:
> hi
>
> i have two mxml files.
>
> the first.mxml contains personal
> and the second.mxml contains family information
>
> the first.mxml contains the text input
>
> name and gender
>
> the second.mxml contains the text input
>
> graduation and universityname
>
> both 4 variables to tranfer into actionscript userVO
>
> i have create a actionscript class named userVO.as
>
> how it possible
>
> anybody help me
> advance thanks
>
> regards
> athi
--
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.