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("");

Similar Messages

  • Help With TLF Text Fields and UI Scrollbar

    I've been trying to get one scrollbar to work with three TLF text fields. They are alligned from top to bottom like a column. It would seem better to just make one text field but because there are graphic symbols in the way that block the text, I made the middle text field smaller then the top, and the bottom smaller then the middle.
    Now I'm trying to figure out how to get the text from the bottom text field to scroll to the top while the text fills the empty space of each text field properly. Is there anyway to make the UI scrollbar work like this? I cant find any info.
    thanks,
    Daniel

    There is no way to do this directly from the authoring environment. You can change the code to another solid color using code.
    But you don't sound like you are a coder.
    So the best solution for you would be to turn off the back ground and just draw some artwork behind the textfields. Perhaps put it on a different layer so that it is easier to manage.

  • 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.

  • When using numericupdown to expand/collapse treeView nodes. Why the collapse part is not working ?

    I have a treeView in my form1 designer. The treeView variable name is: treeViewMS1
    When i'm running my program the treeView is automatic expanded to level 1:
    Now if i click on the numericUpDown and change the value to 2 then:
    So the expanded part is working fine when i change of the numericUpDown by one up the expanded is working fine.
    Now when it's on level 2 and i change the numericUpDown back to value 1 that's level 1 instead get back to my first screenshot Expanded level 1 it's getting back to the root level 0.
    and i want that the collapse part will move only one level back but it dosen't matter if i'm on expanded level 2 or 3 or 5 it will allways jump to 0 to the root.
    This is the numericUpDown value changed event:
    decimal oldValue;
    private void numericUpDown1_ValueChanged(object sender, EventArgs e)
    if (numericUpDown1.Value > oldValue)
    ExpandToLevel(treeViewMS1.Nodes, (int)numericUpDown1.Value);
    else
    CollapseToLevel(treeViewMS1.Nodes, (int)numericUpDown1.Value);
    oldValue = numericUpDown1.Value;
    ExpandToLevel method:
    void ExpandToLevel(TreeNodeCollection nodes, int level)
    if (level > 0)
    foreach (TreeNode node in nodes)
    node.Expand();
    ExpandToLevel(node.Nodes, level -1);
    And CollapseToLevel method:
    void CollapseToLevel(TreeNodeCollection nodes, int level)
    if (level > 0)
    foreach (TreeNode node in nodes)
    node.Collapse();
    CollapseToLevel(node.Nodes, level - 1);

    I solved it this way:
    I solved it like this: In the Form1_Load event i did:
    SetToLevel(treeViewMS1.Nodes, 1);
    In my case i wanted it to begin by default in level 1.
    Then in the numericupdown1 changed value event:
    private void numericUpDown1_ValueChanged(object sender, EventArgs e)
    SetToLevel(treeViewMS1.Nodes, (int)numericUpDown1.Value);
    Then the method SetToLevel:
    void SetToLevel(TreeNodeCollection nodes, int level)
    foreach (TreeNode node in nodes)
    node.Collapse(false);
    ExpandToLevel(nodes, level);
    And last the method EXpandToLevel:
    void ExpandToLevel(TreeNodeCollection nodes, int level)
    if (level > 0)
    foreach (TreeNode node in nodes)
    node.Expand();
    ExpandToLevel(node.Nodes, level -1);
    And now it's working perfect like i wanted it to work. When changing the numericupdown value it's changing the node tree expand/collapse levels.

  • Help using tagged text in document in exported filename

    Hello, I am using the following script to export my Indesign documents as single page PDFs, and naming in a specific way:
    var pdfPreset = "<PDF_preset>";
    var exportPath = "<filepath>";
    var jobNumber = "XXXXXX_"
    for (aPage=0; aPage < app.activeDocument.pages.length; aPage++)
    app.pdfExportPreferences.pageRange = app.activeDocument.pages[aPage].name;
    app.activeDocument.exportFile (ExportFormat.PDF_TYPE, File(exportPath+"/"+jobNumber+pad(app.activeDocument.pages[aPage].name)+".pdf"), false, pdfPreset);
    function pad (n) {
        return ("00000"+n).slice(-3);
    This will output the filenames as XXXXXX_002-003, etc, where XXXXXX is the customers ID number.
    Instead of typing in each customers ID number in the script, I want to tag a text box within the document that contains only the customer's job number, then use the contents of that text box as the jobNumber variable.
    How can I do that?

    There are many ways of "tagging" information in an InDesign document. For what you're doing, I'd suggest a unique paragraph style used only for this purpose, then you can search for text in it and use the contents.
    Dave

  • (Help) Using Input text in Flash CS4 AS3

    I am trying to take a user's input (His Name) and then greet the user on the next frame using the name he previously entered. I googled for 2days and was unable to find a way to do this on flash CS4 AS3, i guess because im very new to flash (only 2-3weeks )
    Any help would be greatly appreciated, and i am sorry if this was already answered in the forums.
    thanks for reading.

    If your interested... here's some general "rules of the road" that are basically courtesies...
    Don't post the same question in different forums (crossposting).  Folks that help don't like that because they can waste their time providing the same response someone else already offered elsewhere, or their helpful info gets no attention because the OP (original poster) got wrapped up in the discussion elsewhere and never went back to the other forums.  I saw one time where the OP suffered from doing this... the first person to respond in one forum said what they wanted couldn't be done, while my response in another forum showed them how to do it... but they accepted that it couldn't be done and never returned.
    Don't post in someone else's posting unless the exact same situation applies to you and it is a current posting.  It is a bit rude to step into someone else's posting just to get attention, which some people do... some with totally unrelated problems.  Or if your problem is even slightly different, it can end up confusing matters for all involved... trying to juggle helping two people where different solutions are needed.
    If you get one problem resolved and have another you want help with that does not involve the first, start a new posting.  People search these forums so it helps to have topics match the postings, which will not apply if mutliple topics get resolved under one title.  I recently saw one person tell someone to start a new posting even though they were following up to clarify something of the solution they received... that's wrong and is more likely someone with a case of points greed... as useless as points are, it happens.

  • How to calculate TLF Text Position for PHP

    Hi, we are using TLF Text for creating a simple application, to create PDF files from PHP.
    We tried with our TLF and Classic text difference for y Position. there we got 20% approx gap, from top, in TLF. Can anybody tell me? How to calculate Y position of TLF Text including line height for the new line text, for PHP?

    Holy cow... by the loop you just mentioned you're literally trying to make a TextField for every single character?! That's really unadvisable as an approach overall.
    I'm not sure how this suits your needs but finding a common medium is the best route here. Here's a couple route change suggestions and then at the end if you really still want to persue this method I'll let you know the method you want to use.
    One way is is to make a stylesheet that is re-usable between both TLFTextField and TextField. As long as the same classes are applied to both fields they will look "as close as possible" to identical as long as the same stylesheet is applied to both. Then it's just copying all the text from one field to another once.
    The other way which offers a bit less flexibility but still can work is to use HTML directly to style the text. Some attributes like line spacing and such are not supported directly in HTML without stylesheets but you can do a bit of common formtting (like color, font family, font size, bold, italic, etc). Then if you enable the classic TextField's .html property to true you can again just copy the text directly into it and it will format based on the HTML.
    If you can't persue either of these, the method you're looking for is this:
    http://help.adobe.com/en_US/FlashPlatform/beta/reference/actionscript/3/fl/text/TLFTextFie ld.html#getCharBoundaries()
    getCharBoundaries() returns a Rectangle which contains the x, y, width and height boundaries of the character index you supply. So in your loop you would do something like:
    txt.y = tlft.getCharBoundaries(i).y;
    The height and width would also be useful for you in certain cases where exotic formatting is used.

  • CS5 issue - Selecting TLF text sorta freezes flash

    When I use TLF text in CS5 flash seems to use to capacity / I cannot do any clicks for around 10 secs when selecting/deselecting textfield.
    What could be the reason for flash slowing down so extremely?
    Im using WinXP, SP3
    System: HP xw6600 Workstation @ 2.50GHz, 3,25 GB GB of RAM,

    It already happens whenever I place a textfield on stage and set its type to "TLF Text". No matter what action I perform with flash (menu, tool, timeline clicks) everything is really slow and flash freezes for several seconds when there is a TLF textfield instance on stage. Most of the time when clicking something the window title bar of flash changes its look to a window which seems to have crashed (see screenshot).
    Im not sure if this has something to do with it but I have used a Trial version of CS5 before which was updated to a full version of flash.
    My current flash CS5 version is 11.0.2.489.
    I saved a fla with one TLF Text on stage; please find it here:
    http://video.juwimm.net/test/tlf_text.fla
    Please let me know when you grabbed the file so I can delete it.

  • Flash displays no TLF text on publish after 1000 frames?

    Whenever I test or publish a CS5 movie that uses TLF text (no matter which font), the .swf displays all elements but the text. There's simply nothing there. I'm on a mac with Snow Leopard, 10.6.7. This only happens as soon as I pass the 1000 frame limit (before, everything displays fine). Reaching wit's end here. Anyone know what causes this, and more specifically, how to solve it?

    Thanks to all of you for the overwhelming response. I was able to track down the problem to text being displayed on one layer, on which some regular TLF text was displayed. No frills, no special characters, no strange font. Went for the simple solution and broke apart text on that particular layer. Flash has developed more and more of these derpy quirks over the year, to the point where it will just shut down because it's a thursday. I'm now having a coffee break whenever I want to import something, as this now takes up to three minutes just to load what used to be an instant function.

  • Recently my text won't visually show up when I use the text tool. Help!

    recently my text won't visually show up when I use the text tool. Help!

    Provide the name of the program you are using so a Moderator may move this message to the correct program forum
    This Cloud forum is not about help with program problems... a program would be Photoshop or Lighroom or Muse or ???

  • Photoshop wont let me use the text tool HELP

    Basically ive just got photoshop and it wont let me use my Text tool and i carnt figgure out how to fix it and it wont tell me either ?? help me please

    Hi there, would you be able to post a screencap of your workspace, including your layers panel? That may help us figure out what's going wrong.
    You may also try resetting your preferences by following the methods outlined in the video below. That will generally fix any buggy tools.

  • [Forum FAQ] How to use parameter to control the Expand/Collapse drill-down options in SSRS report?

    In SQL Server Reporting Services (SSRS), drill-down is an action we can apply to any report item to hide and show other report items. They all are ways that we can organize and display data to help our users understand our report better. In this article,
    we are talking about how to use parameter to control the Expand/Collapse drill-down options in SSRS report.
    Consider that the report has a dataset (dsSales) with following fields: SalesTerritoryGroup, SalesTerritoryCountry, CalendarYear, SalesAmount.
    1. The report has the following group settings:
    Parent Group: SalesTerritoryGroup
     Child Group: SalesTerritoryCountry
      Child Group: CalendarYear
       Details: SalesAmount
    2. Add three parameters in the report:
    GroupExpand:
    Available Values: “Specify values”
    Label: Yes           Value: Yes
    Label: No            Value: No
    Default Values: “Specify values”
    Value: Yes
    CountryExpand:
    Available Values: “Specify values”
    Label: Yes           Value: =IIF(Parameters!GroupExpand.Value="No",Nothing,"Yes")
    Label: No            Value: No
    Default Values: “Specify values”
    Value: =IIF(Parameters!GroupExpand.Value="No","No","Yes")
    YearExpand:
    Available Values: “Specify values”
    Label: Yes          
    Value: =IIF(Parameters!GroupExpand.Value="No" or Parameters!CountryExpand.Value="No",Nothing,"Yes")
    Label: No            Value: No
    Default Values: “Specify values”
    Value: =IIF(Parameters!GroupExpand.Value="No" or Parameters!CountryExpand.Value="No","No","Yes")
    3. Right click SalesTerritoryCountry icon in the Row Groups dialog box, select Group Properties.
    4. Click Visibility in the left pane. Select “Show or hide based on an expression” and type with following expression:
    =IIF(Parameters!GroupExpand.Value="Yes", False, True)
    Select “Display can be toggled by this report item” option, and select “SalesTerritoryGroup” in the drop down list.
    5. Use the same method setting CalendarYear, (Details) drill-down with following expression:
    =IIF(Parameters!CountryExpand.Value="Yes", False, True)
    =IIF(Parameters!YearExpand.Value="Yes", False, True)
    6. Click SalesTerritoryGroup text box in the tablix. Select InitialToggleState property in the Properties dialog box, and type following expression:
    =IIF(Parameters!GroupExpand.Value="Yes", True, False)
    7. Use the same method setting SalesTerritoryCountry, CalendarYear text box with following expression:
    =IIF(Parameters!CountryExpand.Value="Yes", True, False)
    =IIF(Parameters!YearExpand.Value="Yes", True, False)
    After that, when we preview the report, we can use these three parameters to expand/collapse drill-down.
    Note:
    In our test, we may meet following issue. We can check the expression of InitialToggleState property to troubleshooting the issue.
    Applies to
    Reporting Services 2008
    Reporting Services 2008 R2
    Reporting Services 2012

    In SQL Server Reporting Services (SSRS), drill-down is an action we can apply to any report item to hide and show other report items. They all are ways that we can organize and display data to help our users understand our report better. In this article,
    we are talking about how to use parameter to control the Expand/Collapse drill-down options in SSRS report.
    Consider that the report has a dataset (dsSales) with following fields: SalesTerritoryGroup, SalesTerritoryCountry, CalendarYear, SalesAmount.
    1. The report has the following group settings:
    Parent Group: SalesTerritoryGroup
     Child Group: SalesTerritoryCountry
      Child Group: CalendarYear
       Details: SalesAmount
    2. Add three parameters in the report:
    GroupExpand:
    Available Values: “Specify values”
    Label: Yes           Value: Yes
    Label: No            Value: No
    Default Values: “Specify values”
    Value: Yes
    CountryExpand:
    Available Values: “Specify values”
    Label: Yes           Value: =IIF(Parameters!GroupExpand.Value="No",Nothing,"Yes")
    Label: No            Value: No
    Default Values: “Specify values”
    Value: =IIF(Parameters!GroupExpand.Value="No","No","Yes")
    YearExpand:
    Available Values: “Specify values”
    Label: Yes          
    Value: =IIF(Parameters!GroupExpand.Value="No" or Parameters!CountryExpand.Value="No",Nothing,"Yes")
    Label: No            Value: No
    Default Values: “Specify values”
    Value: =IIF(Parameters!GroupExpand.Value="No" or Parameters!CountryExpand.Value="No","No","Yes")
    3. Right click SalesTerritoryCountry icon in the Row Groups dialog box, select Group Properties.
    4. Click Visibility in the left pane. Select “Show or hide based on an expression” and type with following expression:
    =IIF(Parameters!GroupExpand.Value="Yes", False, True)
    Select “Display can be toggled by this report item” option, and select “SalesTerritoryGroup” in the drop down list.
    5. Use the same method setting CalendarYear, (Details) drill-down with following expression:
    =IIF(Parameters!CountryExpand.Value="Yes", False, True)
    =IIF(Parameters!YearExpand.Value="Yes", False, True)
    6. Click SalesTerritoryGroup text box in the tablix. Select InitialToggleState property in the Properties dialog box, and type following expression:
    =IIF(Parameters!GroupExpand.Value="Yes", True, False)
    7. Use the same method setting SalesTerritoryCountry, CalendarYear text box with following expression:
    =IIF(Parameters!CountryExpand.Value="Yes", True, False)
    =IIF(Parameters!YearExpand.Value="Yes", True, False)
    After that, when we preview the report, we can use these three parameters to expand/collapse drill-down.
    Note:
    In our test, we may meet following issue. We can check the expression of InitialToggleState property to troubleshooting the issue.
    Applies to
    Reporting Services 2008
    Reporting Services 2008 R2
    Reporting Services 2012

  • Problem with getting word count in TLF text

    Hi,
    I want to get the word count from my TLF text, but the problem is that I am not being able to handle th case for space.
    I am using the findNextWordBoundary property of ParagraphElement as shown below:
    private function countWords( para : ParagraphElement ) : void
                var wordBoundary:int = 0;
                var prevBoundary:int = 0;
                while ( wordBoundary != para.findNextWordBoundary( wordBoundary ) )
                   // If the value is greater than 1, then it's a word, otherwise it's a space.
                    if ( para.findNextWordBoundary( wordBoundary ) - wordBoundary > 1)
                        wordCount += 1;                   
                    prevBoundary = wordBoundary;
                    wordBoundary = para.findNextWordBoundary( wordBoundary );                   
                    // If the value is greater than 1, then it's a word, otherwise it's a space.
                    if ( wordBoundary - prevBoundary > 1 )
                        var s:String = para.getText().substring( prevBoundary, wordBoundary );
                        lenTotal += s.length;
    Now I have 2 issues here:
    If my string is for eg: Hi, I am writing in "TLF". And I want to get its word count then
    1) Suppose I take the case of the string Hi,  . Then para.getText().substring( prevBoundary, wordBoundary ) gives the text as Hi i.e without the comma. Same case for the string "TLF forums" , It treats each " as a single word and not the whole "TLF" as a single word. Why doesn't it compute till spaces, that should be the ideal case. So until we don't give a space it should count the whole thing as a word.
    2) So now the problem is I have applied a condition   if ( wordBoundary - prevBoundary > 1 ) to check if it is a space i.e. if the diff is <= 1 it is a Space. But if I use this I miss out on single words. Like for eg if I have "Hi, This is a string" ,then 'a' is ignored too.
    Now I could have added a check here along with the space check that the string between prevBoundary and wordBoundary is " "(i.e a space), Then also it is a problem as then the single words like a,&,I will be ignored.
    So, now I am stuck with this issue and need some help from you guys.
    Thanks

    findNextWordBoundary is not going to serve your purpose.  I'd propose doing something like this:
    // didn't test this but something like this - whitespace matches any set of 1 or more white space characters
    static const whiteSpaceRegExp:RegExp = /[u0020|u000A|u000D]*/
    public static function countWords( para : ParagraphElement ) : void
         return para.getText().split(whiteSpaceRegExp).length;
    A good list of everything considered whitespace extracted from the unicode space can be found here:
    http://sourceforge.net/adobe/tlf/svn/449/tree/trunk/textLayout/src/flashx/textLayout/utils /CharacterUtil.as
    In function createWhiteSpaceObject
    Hope that helps,
    Richard

  • Flash CS5.5, SWF file doesn't load TLF text.

    Hiya,
    I just downloaded the trial version of Flash 5.5. I was trying to a tutorial from  Adobe Classroom in a Book: Flash Professional CS5. I was trying to do lesson 7 which is all about TLF text.
    In the tutorial, you insert text that is TLF text. Most of the text doesn't do anything (it's Read-Only). But there is one area that is supposed to be a Mortgage Calcualtor and functions with ActionScript.
    I inserted the ActionScript that makes the Mortgage Calculator text do the proper math. My problem happens when I try to test the movie: the SWF file doesn't display any of the TLF text, and the Output panel gives me the following:
    ReferenceError: Error #1065: Variable TLFTextField is not defined.
    ReferenceError: Error #1065: Variable TCMText is not defined.
    I am confused because there aren't any variables with those names in any of the files of the tutorial, or in the ActionScript I entered. Where is Flash getting those variable names from? O_o
    I even turned the text back into Classic text to see if that helped, but I still get the error. Could this be a glitch with Flash 5.5?
    Thanks for your time.
    Tara

    That file has all the menu items in it.
    A crossdomain file is use as a security measure. Perhaps I see it because I use a webpage on my own server to display your SWF file. Check to see if that's the case with you.
    But I gave it another try.
    I downloaded the menu.swf and the xml file and stored them in a folder. I use a custom webpage and stored that in the same folder.
    Instead of the full URL is simply use the filename.
    <object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/ flash/swflash.cab#version=6,0,40,0" border="0"
    width="870" height="800">
    <param name="movie" value="menu.swf">
    <param name="quality" value="High">
    <embed src="menu.swf"
    pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1"
    width="870" height="150"></object>
    That works.
    When I paste the <object> code in the HTML Snippet and use relative URLs to the menu in the folder mentioned above, I noticed that the XMLHorizontalMenu.xml is expected to be in the Pagename_files folder. That folder belongs to the iWeb pages it is embedded in. When I put the xml file there, the menu works.
    You have to check the design of the menu.swf file.
    Otherwise, store all files in a separate folder and use a <iframe> to embed it.

  • SQLite Database and TLF Text in Flash CS5

    I encountered the following problem when working with the built-in sqlite database and using TLF TextFields in Flash CS5
    When I tried to use TLF TextFields alone, I don't face any probelem,
    but when I start using a database connectivity code, the TLF TextFields placed on the stage are not shown, but instead, the SWF file is showing the built-in preloader with five dots looping.
    I tried changing the default Linkage in ActionScript 3 Settings to Merge Mode, but in this case nothing is shown, not the textfields, neither the preloader.
    I think the problem is related to loading the TLF Text Engine, but I couldn't figure out what to do.
    The following is my code placed in first frame:
    ==========================================
    import flash.data.SQLConnection;
    import flash.events.SQLErrorEvent;
    import flash.events.SQLEvent;
    import flash.filesystem.File;
    var conn:SQLConnection = new SQLConnection();
    conn.addEventListener(SQLEvent.OPEN, openHandler);
    conn.addEventListener(SQLErrorEvent.ERROR, errorHandler);
    // The database file is in the application directory
    var folder:File = File.applicationDirectory;
    var dbFile:File = folder.resolvePath("DBSample.db");
    conn.openAsync(dbFile);
    function openHandler(event:SQLEvent):void
        trace("the database was created successfully");
    function errorHandler(event:SQLErrorEvent):void
        trace("Error message:", event.error.message);
        trace("Details:", event.error.details);
    stop();
    ==========================================
    and I am using one TLF TextField on the stage for later use.
    Publish Settings>> Player: AIR 2.6
    and not to forget, when I test the file using Contol Panel >> Test in Air Debug Launcher (Desktop), the file is working correctly.
    but when I open the generated SWF file, the problem appears.
    I hope that I find some help
    Thanks.

    http://www.flashandmath.com/flashcs5/rsltip/

Maybe you are looking for