Can you tell me how you are going to home page on button click ? When do you
want to call this function ..i meant what you are doing in this function ?


On Mon, Dec 1, 2008 at 3:10 PM, divya <[EMAIL PROTECTED]> wrote:

>
>
> thank for  reply
>
>  i want to  use this  method  again . when  i restart by going home
> page thorugh a button .
> now u got.
>
>
> here is code
>
>
>
>  private  function  addOptionsTab():void
>                            {
>                                if(chkPlus.selected==true)
>                                          {
>                                             var optBox:OptionsBox = new
> OptionsBox();
>                                             optBox.label = "Addition" ;
>
> tabOptions.addChildAt(optBox,optIndex);
>                                             optIndex++;
>                                             optBox.operator= "+" ;
>                                           }
>
>                                        if(chkMinus.selected==true)
>                                          {
>                                             var optBox1:OptionsBox = new
> OptionsBox();
>                                             optBox1.label = "Substraction";
>
> tabOptions.addChildAt(optBox1,optIndex);
>                                             optIndex++;
>                                             optBox1.operator= "-";
>
>                                       }
>                                     if(chkMultiplication.selected==true)
>                                           {
>                                             var optBox2:OptionsBox = new
> OptionsBox();
>                                             optBox2.label =
> "Multiplication";
>
> tabOptions.addChildAt(optBox2,optIndex);
>                                             optIndex++;
>                                             optBox2.operator="*";
>                                        }
>                                     if(chkDivision.selected==true)
>                                           {
>                                             var optBox3:OptionsBox = new
> OptionsBox();
>                                             optBox3.label = "Division";
>
> tabOptions.addChildAt(optBox3,optIndex);
>                                             optIndex++;
>                                             optBox3. operator= "/";
>                                       }
>
>                                   btnGenrate.x= step2Canvas.x +
> step2Canvas.width-130;
>                                       btnGenrate.y= step2Canvas.y + 10;
>                                       btnGenrate.label= "Go!";
>                                       btnGenrate.buttonMode=true;
>                                       btnGenrate.addEventListener
> (MouseEvent.CLICK,showProblemSet);
>                            }
>
>
>
>
>  <mx:TabNavigator id="tabOptions"  color="0x323232" top="20" left="10"
> right="10" bottom="10"
>                                 fontFamily="Arial"
> creationComplete="addOptionsTab()" fontSize="14"        >
>                          </mx:TabNavigator>
>
> On Dec 1, 2:33 pm, "Vinod M. Jacob" <[EMAIL PROTECTED]> wrote:
> > Sorry ..i couldn`t understand your problem.Can you be little more
> specific?
> >
> >
> >
> > On Mon, Dec 1, 2008 at 2:47 PM, divya <[EMAIL PROTECTED]> wrote:
> >
> > >  hi
> > >    i  am   using tabnavigator. when it reload  i am calling a method
> > > which is  working . but i want to application  restart by using home
> > > button . and then use to  this method. how  can i reload tabnavigator
> > > again.
> >
> > > can anyone help to solve this problem.- Hide quoted text -
> >
> > - Show quoted text -
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to