States problem
hi everybody,
i'm kinda new flex , have problem states. hope can me.
i'm working on app users can select name of location , see details of location. have 2 view states: "startstate" , "detailstate". on "startstate" have 1 button start app. on "detailstate" have list information of location. i'm trying after while, app returns startstate. may sound silly, once know how exactly, can expand application. here important piece of code:
private function viewstartstate():void {
currentstate="startstate";
}
private function timerdetail():void {
if (currentstate == "detailstate")
settimeout(viewstartstate, 100);
}
i have 2 functions: function timerdetail says if currentstate "detailstate" it'll return viewstartstate function in amount of time. code, isn't doing anything. wrong? can me please?
thanx :-).
bandai
More discussions in Flex (Read Only)
adobe
Comments
Post a Comment