Class ActionScript will not work?

Hi all
Probbally be stupid, but just started Flex, if I create an ActionScript class project works well and draw a red circle on the screen. If I try to create a MXML project, create a separate file for ActionScript code and then call from the main file, it does not draw the circle?
code for circle is: >
Quote:

package {}
import flash.display.Sprite;

public class animation2 extends Sprite
{
public void animation2()
{
graphics.beginFill (0xff0000);
graphics.drawEllipse (100, 100, 100, 100);
graphics.endFill ();
}
}
}

Tags: Flex

Similar Questions

  • I loaded windows 8 and have a dvd matshita bd - mlt uj23oas in a sony viao and it player will not work what I do

    I loaded windows 8 and have a dvd matshita bd - mlt uj23oas in a sony viao and it player will not work what I do

    Hello

    Check this location of registry for Upper and Lower filters...

    They will appear on the right after clicking on the location of Reg...

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\ {4d36e965-e325-11ce-bfc1-08002be10318}

    Remove all entries found perhaps restore your disk, but can also cause something to stop working...

    Maybe you can identify the program causing the problem with the name of the filter and update...

    An example of this is iTunes... It uses a "GEAR" driver that can cause problems...

    Install the most recent usually solves the problem...

  • Padding-bottom will not work in div (text)

    Here is the lower right div: http://www.peshmedia.no/test/

    Why is the text down here? I want to get a little... I tried also to margin. Padding-left to work, even if...

    Here is the CSS for the text:

    {.prosjekt}
    Police-family: Geneva, Arial, Helvetica, without serif.
    do-size: 16px;
    make-weight: normal;
    color: #FFFFFF;
    background-color: transparent;
    padding-left: 10px;
    padding-bottom: 10px;

    and then some html code:

    "" < div id = "Prosjektpunkt1" > < a href = " http://nettv.aftenposten.no" target = '_blank' > < img src = "aftenp.png" alt = "Aftenposten" width = "34" height = "35" / > < span class = "prosjekt" > Aftenposten.no / Golf.no: musikk </span > < /a > < / div > "

    Thanks for helping a newbie in need

    By Andr? R? nsen wrote:
    > Aftenposten.no / Golf.no: musikk
    >
    > .prosjekt {}
    > font - family: Geneva, Arial, Helvetica, without serif.
    > do-size: 16px;
    > make-weight: normal;
    > color: #FFFFFF;
    > background-color: transparent;
    > padding-left: 10px;
    > padding-bottom: 10px;

    padding-bottom will not work on a because it is an inline element.
    The height of inline elements is controlled by the line height of the
    block parent element.

    --
    David powers
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "Foundation PHP 5 for Flash" (friends of ED)
    http://foundationphp.com/

  • Hi, I bought a the United States iphone6, im now in South Africa and it will not work. It says sim not supported.how do I fix this?

    Hi, I bought a the United States iphone6, im now in South Africa and it will not work. It says sim not supported.how do I fix this?

    The SIM card is not support indicates that the iPhone is locked to the American carrier that it has been activated with. In order to obtain the released lock it is necessary that you talk to the carrier to find out what their requirements are to release the lock. They are the only ones who unlock it so that it can be used with another carrier.

  • My entertainment sainburys application will not work in AirPlay on iOS 9.3

    Entertainment sainburys app will not work in AirPlay I can watch a movie on my iPad, but can't listen to my TV through the air Apple TV device, I can see my iPad on screen and YouTube plays just this app is not working I am using iOS 9.3

    Some applications do not broadcast their content you are sure that your application won't, a lot of apps that provide movies or TV series you block using AirPlay.

  • How can I recover my old firefox after I replaced it, it told me a new will not work?

    I was on my AOL Homepage and was encouraged to be upgraded for increased security. Everything went well, but when I tried to open Firefox, I learned it wouldn't work. Usually, with this older system, I am notified when an upgrade will not work. I would have never taken the lead and replaced my old if I knew. Is it possible to recover my old Firefox?

    There are apps that I have on this old system that does not work on newer systems. (I have an Airbook updated but I like the big screen for some things). I found this on Google:
    https://support.Mozilla.org/questions/970943
    Mozilla
    September 11, 2013 - where can I find older versions of Firefox, which runs on OSX 10.5? ... because Firefox 16 is the latest version of Firefox that works with Mac...
    and downloaded Firefox 16 of their link. It seems to work. For security reasons, I use my Airbook for bill payment, etc.
    Thanks for your comments. Thank you very much for the quick responses.

  • I have the latest version of FF and the latest version of Roboform... everything has worked perfectly until an hour ago... now the Robofrom toolbar will not work... its

    I have the latest version of FF and the latest version of Roboform... everything has worked perfectly until an hour ago... now the Robofrom toolbar will not work... says not compatible... it is activated in Add ons... nothing has been put to day or changedf suddenly just no toolbar and it will not tie

    RoboForm will probably have an update for Firefox 30 when Firefox 30 is actually out, if not sooner. No need to turn off the automatic updates now.

  • IPad will not sync with iTunes on my laptop. Synchronization in iPpod settings will not work

    MY iPad will not sync with iTunes on my laptop, the sync on my iPad button will not work. I have the latest updates on both.

    I guess you mean that the sync button in iTunes, not on the iPad, will not work. If you are sure you have the latest version of iTunes and iOS (your profile shows 8.1) try quitting iTunes on the computer, restart the computer and force restart your iPad

    No data is lost during this procedure. Hold on the sleep and home buttons at the same time for about 10 seconds until the Apple logo appears on the screen.

  • Apple Software Update will NOT work after upgrading to Windows 7

    Apple Software Update will NOT work after upgrading to Windows 7

    flyboy340 wrote:

    Apple Software Update will NOT work after upgrading to Windows 7

    More information is needed.

    Which machine you use, OS X are you running?

    Windows 7 running in BootCamp?

    The OS X app store is not present at all?

    AppStore is present but the update tab does not?

  • How to import bookmarks multi-level IE 8 FireFox 17 if IE 8 is broken, cannot re - install and will not work?

    IE 8 is still installed, but will not work. I can not install any version of IE - I tried. I can import only first level bookmarks. Solutions in the forum assume IE 8 work.

    If you have problems with importing IE bookmarks in Firefox, then export favorites in Internet Explorer to a HTML file and import this file in the Firefox Bookmarks Manager.

    If you don't have the menu bar in Internet Explorer, and then right-click on the toolbar above to activate the menu bar.

    • Export Favorites in Internet Explorer to a file (bookmarks.html) HTML:
      File > import and export
    • Import HTML file in Firefox:
      Bookmarks > show all bookmarks > import and backup > import bookmarks HTML: file

    See "Import from another browser" and "import from file":

  • Telstra Australia tell me that I have to use Chrome, as their facilities will not work with Firefox. Why?

    After spending literally hours trying to pay an account on Telstra Australia (that I just joined them, so it's the first installment), I finally gave up and contacted directly. I was told that Telstra services will not work with Firefox and that their preferred system is Google Chrome but Internet Explorer will not work.
    I have used Firefox for a long time and I'm happy with the program. Specifically, I have everything set up to work with Firefox and do not want to change. At the same time, I want to have the convenience of paying bills online.
    Can I load up, Google say, just one thing, or the program will then try to "catch" other functions as well?

    Yes, you can install Chrome and use it for a website. "Recovery" Chrome as other functions on your PC, just don't let it not be defined as "browser default" If you are prompted during the installation procedure. In addition, I doubt if you'll have a problem.

  • New version will not work with the yahoo toolbar. How can I solve this problem?

    I downloaded the new version of Firefox, and it will not work with my yahoo toolbar more. It worked fine until I updated to the new version. I went back to the old version 16.0 and now he repeats to me my version is obsolete. How can I solve this problem and get the new version to work with my yahoo toolbar?

    To start, make sure you have the latest Yahoo toolbar.
    http://help.Yahoo.com/kb/index?page=content & y = PROD_TOOL & local = en_CA & ID = SLN5044 & print = false

  • Install OSX 10.11.4 I do cleaning but R command will not work. With the help of USB keyboard so not wifi issues to to worry. Help?

    Install OSX 10.11.4 I do cleaning but R command will not work. With the help of USB keyboard so not wifi issues to to worry. Help?

    Would you like to share why you must do a clean install?

    You can try the recovery of the internet (which will work if your older model has been updated to enable of): hold command + Option + R until you see a progress bar (take a while). It will connect you to the Apple servers. When you see the utility window, choose disk utility to erase your disk and when you're done, choose to reinstall OS X.

    Computers that can be upgraded to use OS X Internet Recovery - Apple Support

    PS: Correction: I think not yours can be updated; in this case, you will need the original installation disks to wipe the drive and reinstall.

  • have the latest version of Firefox and I like the new tab feature will not work with my version 13.0. 1

    I recently upgraded to Firefox 13.0.1 and received the email touting the new thumbnail feature of the tab, the only problem is when I try to download the new feature, I get an error message indicating that my version of Firefox is outdated and the thumbnail of the tab will not work with her and to upgrade.

    Each as indicated, but it only opened a new tab with no thumbnails again.
    So I'm puzzled as to why it does not work and my Firefox does not show Windows or Firefox 13 in the right sidebar below.

  • I updated Firefox on my Mac (10.6.8), and now the story is not known (that option is checked) and the back button will not work. Help?

    I updated Firefox on my Mac (10.6.8), and now the story is not known (that option is checked) and the back button will not work. Help?

    One possible cause is a problem with the places.sqlite file that stores the bookmarks and history.

    You can also try to repair the database of places with this extension:

Maybe you are looking for

  • deletion of old files which is somewhere in the mac

    Hi guys! So, I was at the 'Choose Application' window and tried to search the terminal. But I realized that there is a lot of files that I had in the past arise slot "of this Mac. (see screenshot) Some of these files are the files that I had way befo

  • Are windows 7 drivers available for the m4-1015dx?

    I swapped my HARD for one SSD drive and I installed WIndows 7. However, I see no Win 7 driver available on the support page for the LAN card. I tried to install the 8 win nothing doesn't. Are there drivers compatible with Win 7 for m4-1015dx LAN or a

  • need advice on SSDS 2nd for dv7-6c02er

    Hello everyone! In my one empty slot to HARD drive laptop(dv7-6c02er) and I want to add here (120 GB) SSD. I need 2 tips where to buy long cable to SSD and what SSD beter to use? (OCZ, intel, critical, etc.)

  • How to install a second drive?

    I just got my Media Hub with a 1 TB drive.  I also ordered a 2nd 1 TB drive that will happen tomorrow.  It is preferable to perform the initial installation with the new 2nd drive installed?   Or is it better to do the installation of intitial withou

  • How can I get a Vista recovery support?

    My son portable hard drive must be formatted due to the failure of start, I need to get a copy of Vista to recharge, I entered the license number of the product to the rear of the machine to get the CD, but the number is not recognized as valid.  I b