A simple problem that someone can surely solve

I'm doing something really simple and its does not work :)
The following works:

<? XML version = "1.0" encoding = "utf-8"? >
"" "" < mx:Application xmlns:mx = ' http://www.adobe.com/2006/mxml ' layout = "absolute" xmlns:local = "*".
applicationComplete = "startup (event)" >
< mx:Script >
<! [CDATA]
Import fl.controls.Label;
import com.greyhound.flashrealms.account.AccountPanel;
import com.greyhound.flashrealms.FlashContainer;
Import mx.events.FlexEvent;
private void startup(e:FlexEvent):void
{
var: label = new Sun;

Label.Text = "test";
Application.application.stage.addChild (label);
}
[]] >
< / mx:Script >

< / mx:Application >

But if I change to mx.controls.Label fl.controls.Label I don't see anything on the screen.
Does anyone know whats going on?

Try using this.addChild (label); rather than add to the scene. I'm not a person of flash, but it sounds like a problem of compatibility of data type? Not sure, but try and see if it adds and then work it from there.

Tags: Flex

Similar Questions

  • iTunes continues to crash on my iMac using OS 10.11.4 forcing me from quitting smoking. Someone else has this problem and how can I solve this problem?

    iTunes continues to crash on my iMac using OS 10.11.4 forcing me from quitting smoking. Someone else has this problem and how can I solve this problem? I use the latest version of iTunes. There seems to be a problem since I updated the system software.

    iTunes: solving problems with third party plug-ins iTunes - https://support.apple.com/HT203395 - press Option and command (on Mac OS X)

    Hold down the option/alt key and create a new test library. If iTunes start your old library file is corrupted and will need to be replaced from a backup or rebuilt from scratch.

    LINC Davis February 2016 - https://discussions.apple.com/message/29767369#29767369

    Reinstall iTunes:

    -Post of Niel April 2015: re - install iTunes app - https://discussions.apple.com/message/28055467#28055467 - delete the old application first, with instructions on how to do it.

    -April 2015 LincDavis post with some more details on the method outlines Niel - https://discussions.apple.com/message/28101611#28101611

  • Firefox 34.0.5 cannot print correctly. I checked all the pages on firefox problems and still can not solve the problem.

    I use 34.0.5 with Windows 7 and that you cannot print correctly. In print preview, it appears in a label size. I double checked all my settings in firefox and my preferences from the printer, I checked all the pages on firefox problems and still can not solve the problem.

    I was able to finally solve the problem, but I had to do a complete reset of firefox. Thank you for your time.

  • I am currently using Windows Vista. I face a problem that I can't remove all the files in the form of MPEG-4. Error with code 0x800704C8.

    I am currently using Windows vista. I face a problem that I can't remove all the files in the form of MPEG-4. And the error with code 0x800704C8. What should I do so that I can delete these files? Please kindly help me to solve this problem. Thank you.

    original title: Code 0x800704C8...

    Hello

    Did you change your computer?

    Method 1:

    Step 1:

    I suggest you follow the link and check.

    What are the permissions?

    http://Windows.Microsoft.com/en-us/Windows-Vista/what-are-permissions

    Step 2;

    Why can't I delete a file or a folder?

    http://Windows.Microsoft.com/en-us/Windows-Vista/why-cant-I-delete-a-file-or-folder

    Diagnose and repair Windows files and folders problems automatically

    http://support.Microsoft.com/mats/windows_file_and_folder_diag/

    Method 2:

    I suggest to download and install the Microsoft safety scanner and run the scan and check.

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    WARNING: There could be a loss of data while performing an analysis using the Microsoft safety scanner to eliminate viruses as appropriate

  • When I go Incognito, is it possible that someone can keep track of Web sites and pages that I enter?

    I wonder if: when I go Incognito, is it possible that someone can keep track of Web sites and pages that I enter?

    Hi master,
    The answer to your question is Yes and no.

    None: No one can keep track of your history on the side of your computer.
    Yes: Your ISP (Internet Service Provider) can keep track of your history.

    Anyway that you do not have to worry about anyone using your computer accessing these data.

    Here's the article for help in case you want to more information: https://support.mozilla.org/en-US/kb/private-browsing-use-firefox-without-history

    I hope this helps, have a nice day.

  • How can I select a web address so that someone can simply click on it to go directly to the designated address?

    When you compose an email, how do I highlight a web address and convert it to a link so that someone can just click on it to go to the designated address?

    According to the help article (hyperlinks in Messages does not work), Thunderbird needs to convert the URL a clickable link while it sends the message. Can you confirm this by composing a message to yourself and see if it works?

  • is there a way that we could create a unique link that someone can click on an email to bring them to a cart to fill their quote?

    is there a way that we could create a unique link that someone can click on an email to bring them to a cart to fill their quote?

    Hello

    Here is how the configuration would work - http://client2.worldsecuresystems.com/get-quote/java-in-a-nutshell - you can add some nice CSS to ensure that the screen does not Flash or anything like that. Here's how it was built:

    1. create a new model, paste this piece of code inside:

    {tag_pagecontent}
    

    2 create a new catalog, all the products of this catalogue will redirect users directly to the GET a quote form. Assign the model created in step 1

    3 change the presentation of the latge product and place the button buy now in a hidden div:

     
    

    4. change the shopping basket page layout and make sure the GET a quote button is present:

    {tag_getquotebutton}
    

    5. place this code at the end. You need to replace 606879 with the ID of the catalog created in step 2

    {% if globals.get.CatalogueID == 606879 %}
    
    {% endif %}
    

    What will happen, it is like this:

    1. whenever someone opens a product using the link to the custom catalog buy it button will now be clicked
    2. the site visitor is then redirected to shopping cart layout where the other script checks the catalog, the visitors came. If this is a "known" catalog redirect another arrives and load the GET a quote layout

    Make sure that you have loaded in your models of jQuery and liquid activated on your site.

    One more thing, you need to monitor is you will need hide this catalog custom catalog your site listing.

    Hope this helps,

    Mihai

  • my Asus PC is Windows 7 Build 7601 no real problem. How can I solve this problem?

    I bought my pc Asus 3 months spent in a shopping center here in the Philippines and 3 or 4 days ago, I encountered this problem. I tried to run a report of diagnosis as a basis, but I failed to create output in my pc files... pls help.

    Is there a COA sticker on this machine (possibly inside the battery compartment)? If so, what version and edition of WIndows?

    There are signs of Activation exploit a possible hacker to move a license.

    This usuall model comes with Starter Edition, rather than Home Premium - it is likely that someone installed an 'upgrade' not authentic. If this is the case, you should back up your data on an external and then use the manufacturer back to the original OS recovery media.

  • Tri - very simple problem, but I can't get it

    Hi, I have a little problem with a sort column.
    I think it's for you, a very simple problem, but for the moment, I can't find the solution.

    My topic:
    SCHLUESSEL
    -----------------
    15
    16
    17
    1501
    1502
    150101
    150103
    150202
    15010100
    15010301
    15020215
    ...

    Correct order is:

    15
    1501
    150101
    15010100

    150103
    15010301

    1502
    150202
    15020215

    16
    17

    have you tried

    order by to_char(SCHLUESSEL)
    

    Ravi Kumar

  • Get a syntax error that I can not solve... I can't see it because of the forest...

    I get a SyntaxError: syntax error 160: at line 161, I tried some things but I'm sure it's a simple thing that I do not see because of the forest... See text in red at the bottom of the code

    var = {} dialog box

    DueValue:

    WorkOrderValue:

    QuantityValue:

    IssueDateValue:

    IssueToValue:

    cb1Value:false,

    cb2Value:false,

    cb3Value:false,

    cb4Value:false,

    cb5Value:false,

    Initialize:function (Dialog)

    {

    var diginit =

    {

    "Chk1":this.cb1Value. "

    "Chk2":this.cb2Value. "

    "Chk3":this.cb3Value. "

    "Chk4":this.cb4Value. "

    "Chk5":this.cb5Value. "

    };

    Dialog.Load (diginit);

    },

    function: Commit (dialogue) / / called pressed OK

    {

    results var = dialog.store ();

    This. DueValue = results ["tx1"];

    This. WorkOrderValue = results ['txt2"];

    This. QuantityValue = results ['txt3"];

    This. IssueDateValue = results ['txt4"];

    This. IssueToValue = results ['txt5"];

    var oRslt = dialog.store ();

    This.cb1Value = oRslt ["CHK1'];

    This.cb2Value = oRslt ["Chk2"];

    This.cb3Value = oRslt ["Chk3"];

    This.cb4Value = oRslt ["Chk4"];

    This.cb5Value = oRslt ["Chk5"];

    },

    Description:

    {

    name: 'Information stamp control', / / title of the dialog box

    elements:

    [

    {

    type: "display."

    elements:

    [

    {

    name: "reason: «,»»

    type: 'static_text. "

    },

    {

    item_id: "txt1"

    type: 'edit_text. "

    Multiline: true,

    Width: 100,

    height: 30

    },

    {

    name: "w/o #: «,»»

    type: 'static_text. "

    },

    {

    item_id: "txt2."

    type: 'edit_text. "

    Multiline: true,

    Width: 100,

    height: 30

    },

    {

    name: ' Quantity ',:

    type: 'static_text. "

    },

    {

    item_id: "txt3."

    type: 'edit_text. "

    Multiline: true,

    Width: 100,

    height: 30

    },

    {

    name: "Date of issue: «,»»

    type: 'static_text. "

    },

    {

    item_id: "txt4."

    type: 'edit_text. "

    Multiline: true,

    Width: 100,

    height: 30

    },

    {

    name: "question to: ',"

    type: 'static_text. "

    },

    {

    item_id: "txt5."

    type: 'edit_text. "

    Multiline: true,

    Width: 100,

    height: 30

    },                                        [

    {

    type: "display."

    char_height: 10,.

    elements:

    [

    {

    type: 'static_text. "

    item_id: "stat."

    name: "check what applies."

    char_width: 15,.

    alignment: "align_fill",.

    Police: 'dialogue ',.

    },

    {

    type: "display."

    char_width: 8.

    char_height: 8.

    align_children: "align_top."

    elements:

    [

    {

    type: "display."

    char_width: 8.

    char_height: 8.

    elements:

    [

    {

    type: 'check_box. "

    item_id: "Chk1."

    name: "1st, 10th, last."

    },

    ]

    },

    ]

    },

    ]

    },

    {

    type: "ok_cancel."

    ok_name: "Ok."

    cancel_name: "Cancel".

    },

    [

    },

    [ ] I; ve tried "{,}, [' none of them worked SyntaxError here..."] "

    }

    };

    If (event.source.forReal & & (event.source.stampName == "#TabIjeb2ZLdGVyiRhzvfNA"))

    {

    If ('ok' is app.execDialog (dialog))

    {

    / / var CMSG = dialogue. DueValue;

    Event.Value = "\n" + CMSG;

    / / event.source.source.info.ControlStamp CMSG =;

    CMSG = "\n" + dialog box. DueValue;

    this.getField("Due").value = CMSG;

    CMSG = "\n" + dialog box. WorkOrderValue;

    this.getField("WorkOrder").value = CMSG;

    CMSG = "\n" + dialog box. QuantityValue;

    this.getField("Quantity").value = CMSG;

    CMSG = "\n" + dialog box. IssuesDateValue;

    this.getField("IssueDate").value = CMSG;

    CMSG = "\n" + dialog box. IssuesToValue;

    this.getField("IssueTo").value = CMSG;

    this.getField("cb1").checkThisBox (0, DiaBOx.cb1Value);

    / / this.getField("cb1").value = dialog.cb1Value? "Yes '." "" Stop ";

    }

    }

    This line:

    this.getField("cb1").value = dialog.cb1Value? "Yes '." "" OFF. "

    must be:

    this.getField("cb1").value = dialog.cb1Value? 'Yes': 'Off '.

  • When I tried to download Jobulator, I got an error message that I can't solve

    The message states: the application could not be installed because the Installer file is damaged. Try to get a new setup of the author of the application file.

    the installation requires Adobe AIR. I've uninstalled and reinstalled without success. I sent the company, and they were no help. They told me to do what I had done. I sent the three times, and they don't react. I called the company I work for and require this download, and they couldn't help, either. They only had an email (?) There, can someone give me an idea of what can be done?

    Hi Goldroof,

    ·         What version of the operating system is installed on the computer?

    ·         Did you do changes on the computer before the show?

    ·         You are able to install other programs successfully?

    Follow the steps in the article.

    How to solve problems when you install or uninstall programs on a Windows computer

  • On my photosmart printer 7515, I get the cartridge problem message and can not solve it

    Have photosmart printer of 7515, operating system windows 7 and I get a message that I have a problem of cartride for all colors, so I replaced all and always get the message and I can't find a way to solve this problem

    After putting new cartridges, have powered the printer off?

    Here is a link that might help with this problem

    http://support.HP.com/us-en/document/c03379185

    Let me know if this can help, thank you.

  • My photos download broken and saturated in Lightroom.  It is an expensive long road to understand that that was the problem.  It's a problem that I can not understand.

    For so long now, I've been download my photos in Lightroom and oversaturaturated they arise and broken.  I can't explain the flaws of the saturation but have a screenshot.  I thought for a long time it was a problem with my camera but recently noticed in the file of the photo outside of Lightroom, the photo looks very good.  I have a screenshot of a side by side.  Can someone help me?

    THE LEFT - ORIGINAL FILE LAW - LIGHTROOM DOWNLOAD

    WHAT IS GOING ON HERE?

    Screen Shot 2015-11-25 at 9.48.08 AM.png

    That's your problem. They should all be zero. These settings will cause that solarization effect you see.

  • What is the problem and how can I solve this problem?

    I can't update my laptop I did the microsoft fix and I was told that my firewall is not on site have seen firewall I windows vista security requesting for me to pay how to make my computer back to normal windows firewall? I meet a lot of problems because of this. ccccccalso with vista he security I get a dialogue of interactive services to say popup when I hit him a whole bunch of errors of the infection to find how I completely laughed my computer of this service?

    Hello

    Vista security is a fake security program and is also a malware

    Follow the EXACT below removal instructions

    There are many varients of the same family of malware

    what you have is one of them

    http://www.bleepingcomputer.com/virus-removal/remove-win-7-AntiSpyware-2011

  • I had this simple problem but I can't find the answer

    I know that MTP media transfer between the computer and device support but my computer belongs also to the other members of the family so all the songs are here, also msc does not allow me to delete music, I was wondering if there is nobody to stop or restrict the option to transfer music to the sansa e 200 e280 quite...

    You must set WMP to sync 'manual', rather than 'auto '. Put on in a mode (MSC or MTP) files are only visible & accessible when you are logged in that same mode.

    So, if you 'synchronized' in MTP mode with WMP; No, you cannot do anything with these files in MSC mode.

    Why do not format you your drive, erasing all then go in MSC mode and transfer (drag & drop) only your music or files you want. In this way there is no way, you will have someone of another music... never. Unless, of course you want.

Maybe you are looking for