okay....can u please tell me wen ur calling editActionButton() or try adding
btnEdit.addEventListener(MouseEvent.CLICK,outerDocument.showPopUp); in
creationcomplete of button component or application.

On Wed, Oct 15, 2008 at 11:30 AM, Arun <[EMAIL PROTECTED]> wrote:

>
> Here is the function where I am calling that piece of code
>
> private function editActionButton(){
>
> btnEdit.addEventListener(MouseEvent.CLICK,outerDocument.showPopUp);
> outerDocument.formActionValue = btnEdit.uid;
>                                                        }
>
> Regards
>
> On Oct 15, 1:47 pm, DineshKumar.T <[EMAIL PROTECTED]> wrote:
> > Hi Arun,
> >
> >     i tried an sample app its working for me...ok where u are putting
> our:
> >    btnEdit.addEventListener(MouseEvent.CLICK,outerDocument.showPopUp);
> code.
> >
> >   can u attach a small app how ur doing,let me try it for u:-)
> >
> > Regards,
> > DineshKumar.T
> >
>  > On Wed, Oct 15, 2008 at 8:12 AM, Arun <[EMAIL PROTECTED]> wrote:
> >
> > > Could someone kindly suggest as why click event I need to click twice
> > > to invoke the popup and for mouseDown I need to click only once!
> >
> > > Thanks and regards
> >
> > > Arun
> >
> > > On Oct 14, 9:14 am, Arun <[EMAIL PROTECTED]> wrote:
> > > > Using the same code, when I used mouseDown event, it works fine with
> > > > one click. However with click event, I need to double click.
> >
> > > > Regards
> >
> > > > On Oct 14, 9:01 am, Arun <[EMAIL PROTECTED]> wrote:
> >
> > > > > Here is my popup listener code
> >
> > > > > var testPop:AddPopup =
> > > > > AddPopup(PopUpManager.createPopUp(this,AddPopup,true));
> >
> > > > > PopUpManager.centerPopUp(testPop);
> >
> > > > > Thanks
> >
> > > > > On Oct 13, 9:21 pm, "GAGAN anand" <[EMAIL PROTECTED]> wrote:
> >
> > > > > > Hi
> >
> > > > > > Could u please send the listener functionality?
> >
> > > > > > what does this showPopUp listener do?
> >
> > > > > > 2008/10/13 Arun <[EMAIL PROTECTED]>
> >
> > > > > > > Hello,
> >
> > > > > > > I have a button and I am calling a method that will invoke a
> popup.
> > > > > > > The issue I am facing here is I need to click the button twice
> to
> > > > > > > invoke the popup, even though I am calling the method in the
> click
> > > > > > > event of the button.
> >
> > > > > > > My button click function got this statement to invoke the popup
> >
> > > > > > >
> btnEdit.addEventListener(MouseEvent.CLICK,outerDocument.showPopUp);
> >
> > > > > > > How can I resolve this issue?
> >
>

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