Why does using TLF text in an fla for Air yield a security warning?

I'm trying to prepare an fla in Flash for an Air Application.  I included in the first frame a TLF text field.  when I run the TestMovie in Air Debug Launcher I get a warning:
          Warning: Ignoring 'secure' attribute in policy file from http://fpdownload.adobe.com/pub/swz/crossdomain.xml.  The 'secure' attribute is only permitted in HTTPS and socket policy files.  See http://www.adobe.com/go/strict_policy_files for details.
If I then proceed to compile the application, install it and run it, it crashes.  It seems to be the TLF text field because when I remove it works fine.

I ran the posted example.  Is it just a missing initialization or am I missing something?
I get an error here:
package com.test
    import flash.display.MovieClip;
    import flash.text.TextField;
    public class TLFText extends MovieClip
        public var tlf_txt        : TextField;
        public function TLFText()
            tlf_txt.text = "success";
TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at com.test::TLFText()[C:\textflow\testprojects\bug_tlf_embed\src\com\test\TLFText.as:12]
    at bug_tlf_embed/onLibraryLoaded()[C:\textflow\testprojects\bug_tlf_embed\src\bug_tlf_embed. as:33]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at com.zora.util::FlashLib/onLibraryLoaded()[C:\textflow\testprojects\bug_tlf_embed\src\com\ zora\util\FlashLib.as:40]
tlf_txt is indeed null.  Besides the variable being named "tlf_text" I don't see any TLF classes here.

Similar Messages

  • Why does my title text stay on screen for the duration of my iMovie?

    Adding a title text to my iMovie, can someone help me figure out why it stays on screen for the duration of the video? Can't seem to find a way to edit the duration of the text.

    The flashing globe icon means you are trying to start from a netboot server that doesn't exist or is offline.  This will fix it: http://docs.info.apple.com/article.html?artnum=31355

  • Why does data need to be turned on for group texting?

    Why does single person text msg only need cell service, but group texting requires data turned on?

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Why does not the text "Powered by Adobe Forms Central" fästän man has paid form

    Why does not the text "Powered by Adobe Forms Central" fästän man has paid form
    [email protected]

    These forms are not embedded correctly. I'm surprised they even work. You need to go to the distribute tab, click Embed button, copy the embed code provided and then paste that into your HTML. This FAQ explains in more detail and some of the issues you may encounter while embedding: http://forums.adobe.com/docs/DOC-1991
    Randy

  • Why does useful features are limited to few adapters?

    Why does useful features are limited to few adapters?
    For eg : File receiver CC has a option to stop Empty messages from being processed.
    This is not available in SOAP receiver.
    Is it possible to have a standard adapter module in SOAP receiver CC that will achieve this?
    Regards,
    Venkat.

    >
    Venkat A wrote:
    > Why does useful features are limited to few adapters?
    > For eg : File receiver CC has a option to stop Empty messages from being processed.
    > This is not available in SOAP receiver.
    Thats for SAP to answer i guess
    Well initially there was no option in the File adapter to handle empty messages but as requirement grew and more and more customers/consultants were in need to handle such a functionality, SAP brought it in through a SP release
    Maybe if this particular requirement of your finds popularity, then SAP might come up with a inbuilt solution
    >
    > Is it possible to have a standard adapter module in SOAP receiver CC that will achieve this?
    >
    > Regards,
    > Venkat.
    in you case why do you need to send the SOAP receiver a empty message??
    If you need to handle it then the best is to do some workaround in the mapping and have a field in your target structure indicate that it is a empty message (something like a flag) and then do the routing logic based on this flag.

  • With "Do Not Disturb" active, why does the iPhone beep when plug in for recharge?

    With "Do Not Disturb" active, why does the iPhone beep when plug in for recharge?
    I usually go to bed after my wife. I have the Do Not Disturb set for 11 pm to 7 am, and I can see the moon symbol.
    So why when I go to bed at midnight and plug in my iPhone to recharge do I get a LOUD BEEP?
    My wife is banning my phone from being next to my bed and an alarm clock.
    To me it seems that the "Do Not Disturb" should turn this beep into a vibrate.

    section2i:
    If that is true, then you should file that as a bug using the link above:
    If I am reading what you are saying correctly, you are saying that when vibrate is 'off', and you turn on the phone and plug it in that a vibration occurs, and that it is not respecting the vibrate 'off'.
    That would be a slightly different issue from what I am asking about (Do Not Disturb), and would probably need a separate bug report.

  • Why does the hdmi adapter(purchased from apple for $40) no longer mirror my iPad 2?

    Why does the hdmi adapter(purchased form Apple for $40) no longer mirror my ipad 2?  If ios6 prevents this, will they return my money?

    Does this involve iPhoto in any way? I believe you need to post in a different forum - and since these are strictly uuser to user forums answers about what Apple does or will do are not likely nor reliaible - you need to contact Apple for Apple answers
    LN

  • Why does Adobe believe Australians should pay more for software?

    Why does Adobe believe Australians should pay more for software?
    For Photoshop and premier elements bundle in the USA price is USD $119.99
    For Australia AUD $185.00 which at the current exchange rate of 1.067 is USD $173 or 44% more.
    Thanks Adobe.

    seeing its only a software download, then why should we have to pay $15 more for the same product? we already are charged extra for music now we're being slugged for software as well.... maybe an apple exec could give me a reason on this question...
    This is a peer-to-peer forum. If you want a response from Apple, you would have to contact them directly with such a question. A better question might be what are the direct and indirect duties and fees (Goods and Services Tax, Import Tax/Tariff, sales taxes, etc.) assessed by the Australian Customs and Border Protection Service and/or local tax agencies and/or municipalities for intellectual properties imported electronically. There may be quite a few agencies wanting a piece of your pie.

  • HT1338 Why does my credit union not recognize MacBook OS 10.6.8 security certificate?

    Why does my credit union not recognize MacBook OS 10.6.8 security certificate?
    No other secure site has a problem.
    Fix?
    Thanks,
    Bob T

    Hi troy0891,
    If I'm understanding your question correctly, when your MacBook Pro wakes from sleep, the internal keyboard and/or trackpad are slow to respond.   However, in your comments, you mention a bluetooth keyboard finder launches.  
    Since your internal keyboard and trackpad are not bluetooth devices, I think this may be the issue.  In the resource below, take a look at the section I have highlighted, and see if deselecting the option to allow Bluetooth devices to wake the computer" resolves your issue.
    OS X Yosemite: If your Mac won’t go to or stay in sleep
    https://support.apple.com/kb/PH18596?locale=en_US
    Check your system’s Bluetooth settings: 
    Bluetooth devices can wake your Mac. If you don’t want a Bluetooth keyboard or mouse to be able to wake the Mac, choose Apple menu > System Preferences, then click Bluetooth. 
    Click Advanced, then deselect “Allow Bluetooth devices to wake this computer.”
    If that option is already deselected, try turning your Bluetooth off if you are not working with a wireless keyboard and mouse.
    Let me know if that helps ...
    - Judy

  • Why does siri only have business and maps for U.S and not Ausstralia?

    why does siri only have business and maps for U.S and not Ausstralia?

    what does this mean ?
    Beta means it is unfinished, not fully featured and may have bugs.
    so is it not possible for siri to tell me the weather, and maps and businesses for Australia?
    That's correct. Nor will it do it for me in the UK. As it say's in the Siri FAQ I linked to:
    "Maps and local search support will be available in additional countries in 2012."

  • Why does the software update say that drivers for my printers are not available? I have the drivers installed from the CD but can't add the printer because it wants to go through software update.

    I have the latest operating system, but can't get my printers added. Why does the software update say that drivers for my printers are not available? I have the drivers installed from the CD but can't add the printer because it wants to go through software update.

    It's pretty difficult to offer suggestions when you say nothing about your Mac, the version of Mac OS it's running, or the models of printers you have. This forum, however, is intended for questions about old, pre-G3 hardware, so unless you are asking about an very old Mac, this is not the forum where you'll be most likely to get help with your problem. I'd suggest you ask this question in the forum for your model of Mac or version of Mac OS X it's running. You'll be more likely to get assistance there, assuming you provide sufficient detail for anyone to make a diagnosis of the problem.
    Regards.

  • Help using TLF text - expand/collapse text

    Using a large amount of formatted text, is it possible to make titles or headlines within the text clickable? Once clicked, the portion of text would expand and collapse accordingly. The text field would likely include around 80 headlines. I found code to show/hide a string of text, but not formatted tlf text. Any ideas?

    this will get you started:
    var tf:TextField = new TextField();
    tf.multiline=true;
    tf.background=true;
    tf.border = true;
    tf.width = 400;
    tf.autoSize=TextFieldAutoSize.LEFT;
    tf.htmlText = "text1 <u><a href='event:link1'>link1</a></u><br>"
                             +  "text2 <u><a href='event:link2'>link2</a></u><br>"
                             +  "text3 <u><a href='event:link3'>link3</a></u><br>";
    var extraTextA=["<br/><br/>extra text after link1<br/><br/>","<br/><br/>extra after link2<br/><br/>","<br/><br/>extra after link3<br/>"];
    var s:String = "</a></u>";
    var n:int = s.length;
    tf.addEventListener(TextEvent.LINK, tfF);
    this.addChild(tf);
    function tfF(e:TextEvent):void {
        var insertIndex = tf.htmlText.lastIndexOf(e.text)+e.text.length+n;
        var prefixS:String = tf.htmlText.substr(0,insertIndex);
        var suffixS:String = tf.htmlText.substr(insertIndex);
        var extraS:String = extraTextA[Number(e.text.substr(4))-1];
        if(tf.htmlText.indexOf(extraS)==-1 ){
            tf.htmlText = prefixS+extraS+suffixS;
        } else {
            tf.htmlText = tf.htmlText.split(extraS).join("");

  • TS4268 Why does ALL my text incoming or outgoing text showes up on all my IPod & Iphone

    I have an IPod and Iphone and all the text goes to both of the Device . Why ??? Also i can't send IMessaging on my Ipod

    Because you are using the same Apple ID as an iPhone which has iOS 6.
    One the iPod you can only send Messages to others uses who have Messages on their iPhone, iPod touch or iPad.
    You can
    Create a NEW account/ID for her using these instructions. Make sure you follow the instructions. Many do not and if you do not you will not get the None option. You must use an email address that you have not used with Apple before.
      Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
    Use the new ID on ther iPod but only for:
    Settings>Messages>Send and Receive
    Settings>FaceTime
    and Settings>iCloud if you want her to have separate Contacts Calendar and some other things.
    Continue to use the same/common Apple ID for Settings>iTunes and App stores so you can share purchases.

  • Why does apple refuse to support flash media? Is it a security issue or politics?

    Constantly I come accross websites that require a flash player and now that we are in an ios7 enviroment you'd think this issue would be resolved. I mean why does my OSX in my mac have no problems but my iphone/ipad forget it. Will Apple ever resolve this issue?

    hot_spur wrote:
    Phil, while there is some truth in what you say, it is a bit misleading.
    "Besides the fact that Flash is closed and proprietary, has major technical drawbacks, and doesn’t support touch based devices, there is an even more important reason we do not allow Flash on iPhones, iPods and iPads. We have discussed the downsides of using Flash to play video and interactive content from websites, but Adobe also wants developers to adopt Flash to create apps that run on our mobile devices." Emphasis mine.
    I guess I should have said "allow" not "support." My bad.
    Read the whole thing:
    http://www.apple.com/hotnews/thoughts-on-flash/
    And why is that bad?
    Yes Apple has said why Flash is not on their devices.  Its up to Adobe to create a version that meets Apple requiremements.  But since they've ceased all development for mobile Flash that is not going to happen.
    Its not that they did not want to allow it ever, its just that it never met their specifications to be on their devices.
    When you go to someone's house you adhere to their rules, you don't go stomping around in your muddy shoes on their couch do you?
    That's what Adobe was trying to do, stomp on their profits by injecting Flash Based Apps that apple cannot control which would be a serious security risk as well as a financial detriment to all the developers that produce high quality Apps for the App store.
    Again, Apple only wants to keep their devices secure, and profitable. Shock that a company is out to make profits

  • Why does the default install make a partition for boot?

    The installer, if one lets it prepare one's hard drive, makes a partition for boot, and formats it as a second extended filesystem. I know that people debate the need for/desirability of a partition for boot, and I do not mean to revive that debate. Rather, I am interested in knowing why the Arch developers, like the developers of some other distributions, such as Gentoo, but unlike some, such as Slackware, call for a boot partition, with ext2fs file system, on a default install. Should Arch users interpret this as a recommendation? Also, why is the partition quite a bit larger (although tiny compared to the available space on hard drives these days) than seems necessary?
    Thanks.

    I've looked at a couple of books and a fair number of internet posts on this, and I must say that these responses are a good deal more concise and clear than what I have come across. I did find it interesting that the Slackware on-line manual doesn't make any effort to encourage it. On the other hand, what you guys are saying sounds sensible enough.
    I have both Arch and Gentoo running, sharing a boot partition, which I set at 50MB. I'm using 25% of it, which is why I ask about size - obviously not in terms of overall capacity, but in terms of need.
    Why not a lot less - say, even if one is considering dual boot, 20MB? And where do numbers like 32MB come from (the Arch, and indeed Gentoo, default, also referred to by T-Dawg)? Why not use round numbers?
    Does 32MB have some rational/irrational/astrological/lucky 7 connection to 64MB RAM, sort of like designating 128MB as swap instead of using numbers like 120MB or 125MB or 130MB?
    As you probably know, in Gentoo this stuff is done on the command line in fdisk, and I found it quite odd to be told in their manual to tell fdisk that the boot partition should be 32MB (assuming a single operating system) and swap should be 256MB, especially since fdisk and my hard drive took these numbers with a grain of salt and conspired to adjust them to slightly different numbers complete with decimals. Arch, on default, does the same.
    Then I find out that with two operating systems, I'm using about 13MB out of 50MB (or rather 49.9MB, as fdisk and my hard drive decreed)
    To change the subject a bit, I think that it is a good idea that the current version of Arch .08 would create, on the default track, a /home partition. There are some nice ideas in the install dialogue, including in the section on setting up a hard drive.

Maybe you are looking for