Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8119995
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T04:58:54+00:00 2026-06-06T04:58:54+00:00

I simply want to popup an Alertbox in AS3. I am using Flashdevelop and

  • 0

I simply want to popup an Alertbox in AS3. I am using Flashdevelop and I got the null reference error when I just run this simple code. I THINK that it has something to do with the stage, but I don’t know.

import mx.controls.Alert;
public class Main extends Sprite
{
  public function Main()
  {
     Alert.show("hello World","title",Alert.YES | Alert.NO);
  }
}

I would like to run this alert and depending what the Alert returns I would love to return a true or false. But I would be glad if we can start with the displaying of the alertdialog

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T04:58:56+00:00Added an answer on June 6, 2026 at 4:58 am

    The problem was, that I wrote all my text in the AS files. When I used an MXML file as view, the alert will pop up correctly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to create a simple multiline Alert popup Alert.show(Blah\\nBlah) shows Blah\nBlah when what
I want to do a 'pop up image' using javascript to display a simple
I simply want to open up the WPF Popup with a delay, sort of
I simply want to call a swing action from my own popup menu. But
This function is not working, the popup (div #pop_member) doesn't show. I'm using jQuery
I want a simple js script to show a popup when a specific option
I want to create a tab-enabled popup window in an AS3 Air project. Currently,
I just developed a simple asp.net mvc application project for English only. I want
i want to use facebook's fb:dialog tag to display a simple pop-up form for
I simply want to edit some commits with git rebase -i HEAD~2 inside the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.