Skip to main content
Participant
April 28, 2009
Question

Regarding the Alerts getting displayed as 'null'

  • April 28, 2009
  • 1 reply
  • 766 views

hi,

I am facing a problem in the alerts.

I am just dragging a text from the linkbar (<mx:LinkBar>). That time I am just throwing an alert.' Do u want to remove the text? '

In the alert box for both OK and CANCEL its displaying as null null.

below is my posted code.

Alert.show("Dragged item '"+draggedLinkButton.label +"' will be removed from Favourite List.\n" +

               "Do you want want to continue?", "Alert", Alert.OK | Alert.CANCEL, this,favouritesRemoveHandler, null, Alert.OK);

Also Iam attaching the images.

Also Im using super panel opening as a pop up to display some contents.If Iam  opening the super panel and after that  if I drag any text from the linkbar, now the Ok and CANCEL button gets appear.

It would be greatful if any one can point where im wrong

Thanks a lot .

selva.

    This topic has been closed for replies.

    1 reply

    Mark_A__Boyd
    Inspiring
    April 28, 2009

    swallow_1 wrote:

    Alert.show("Dragged item '"+draggedLinkButton.label +"' will be removed from Favourite List.\n" +

                   "Do you want want to continue?", "Alert", Alert.OK | Alert.CANCEL, this,favouritesRemoveHandler, null, Alert.OK);

    I use several Adobe products, but I do not recognize that code. You have posted off topic in Adobe General Forums > Forum Comments - a place to comment on the forum system. I suggest you go back to Adobe Forums and choose the most appropriate forum for your question.