Container TLF text problem!

Hello,
I want to copy this text paragraph from notepad (img1) and paste into a TLF container with 2 columns (img2), but it seems that something is wrong. Please look at the second picture and if anyone has any idea how to solve this problem?

I figured it out, eventually.

Similar Messages

  • RSLPreloader error with TLF Text

    Got a working Windows Flash Projector that loads swf's identified in an xml file and plays them in sequence.
    The projector will NOT play any swf that contains TLF text, and throws this error:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at fl.rsl::RSLPreloader/loadContent()
        at a1_fla::MainTimeline__Preloader__/frame2()
    Error: Error #2099: The loading object is not sufficiently loaded to provide this information.
    The file "textLayout_1.030.595.swz" is in the same folder as the .exe   I've tried it also in the folder with the swf's without success.
    According to the article "How to Publish SWF files with TLF text" (http://www.flashconf.com/flash-cs5/how-to-publish-swf-files-with-tlf-text/) having the textLayout.... file available should do the trick... It Doesn't.
    I've also published the projector with the "Merged Into Code" option they offer and gotten no better results.
    Any ideas??
    Thanks

    If you've merged the code that was in the RSL into your SWF file, wouldn't you then also need to stop doing any RSLPreloading?
    Did you get anywhere with this in the end? Just run into this issue ourselves, going to try merging the code and see if that works. Let you know if we get anywhere with it!

  • 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

  • After Effects incompatible with TLF Text

    I do constant importing of SWF files through Flash to After Effects for compositing and other purposes.  The major problem in the new version is the fact that the new TLF text stuff either doesn't show up on AE or corrupts the file.
    I need help on this, how do I get it to stop using TLF by default?  In previous versions, I've never had a problem exporting the text.
    Importing something like an illustrator graphic that contains text automatically makes the text TLF.  What should I do to tell CS5 to stop making everything TLF?

    Nobody has an answer to this?  I've been trying to figure this out without having to go through all my text and vectorize it.
    I never had to deal with this since Flash version 8, it's odd now that the touted compatibility between Flash and AE has been nerfed due to this thing.

  • Acrobat Pro 8.1.2 crashes when displaying pdf made from Word doc containing url text

    Hello,
    I and a few others in my workplace have a similar issue.
    Acrobat crashes when they scroll through and view a pdf file that was created from Word.  The Word document contains url text in its header to the effect of "visit us at www.blah.com ." They're running Acrobat Pro 8.1.2 and Office 2K Pro SR-1 on XP Pro SP2.
    Even though the link is not an active link, (i.e. clicking on it does not open the web page), if I convert a document containing this header to PDF, Acrobat will not allow me to manipulate the file and will crash. When I take the same document and remove the web address, then convert from Word to PDF, I experience no problems with Acrobat (note that this is the identical file, but with the web address removed).This does not explain why Acrobat will work for awhile even with the web address in the header, then stop working. But it does appear to fix my problem with creating a PDF from Word, then manipulating it further.
    Does anyone know how to allow for this text to exist in the header and still have a stable pdf file/acrobat behavior?
    The pdf is attached.
    Thanks....

    To sum up, I've found that if a url beginning with www is in the Word document and then created to pdf Adobe will crash when viewing that pdf.  If it is deleted from the Word document before creating the pdf, Acrobat will not crash when viewing that pdf.

  • Trying to OCR pdf, pdf says it can't perform bc it already contains renderable text-but does not.

    I work for a large agency, and we receive PDF's all the time. 98% of the time I am able to OCR a document with no issues. Just recently I have come across this issue several times, and was wondering if anyone can solve this irritating problem!
    *Acrobat 8.1 - When going to OCR the document, I receive the following message " Acrobat could not perform recognition (OCR) on this page because this page already contains renderable text. However, it does not. When you go to select text or search for anything the whole page is selected (like it's still in a "picture" format, not a document format that you can search, ect.)
    I am not sure if it is how the document is uploaded originally by the other party that causes this, but the only thing I can do as a work-around - is to print out the entire document, scan and then I can OCR the document just fine! The problem is, if the document is 400 pages or so, this can be a huge waste of time, and money just to be able to search the PDF.
    *I have also checked the pdf properties to see if this is some sort of permissions issue, and there are not permissions/security settings in place.*
    PLEASE HELP! Any assistance in this matter would save me a lot of time, and of course (my sanity!).
    Thank you in advance!

    While the alert speaks to "renderable text" that is a simplification. The issue is that you've PDF page content consisting of at least one renderable "character".
    Look at font families - you will observe that there are many characters that are not "text" characters (i.e., linguistic characters).
    So, there's a "renderable character" present. It may be an alpha numeric that has a font color the same as the page background. It may be under the image and thus not visible to the eye.
    You might be able to determine just what is present.
    You could export the page of interest to a text file then view that file.
    You could deplay the page of interest in Acrobat Pro then select the "Content panel" to view the content tree.
    Locate and click on the page number for the page of interest.
    From the Content panel's Options menu select "Highlight Content".
    Walk down the tree. Select the content containers in turn and observe what is highlighted on the PDF page.
    Where might the renderable character come from ? Typically that'd be associated with something in the work flow.
    Not always easy to find so don't take anything in the work flow for granted.
    Be well...

  • Upscaled images look blurry, is there a way to sharpen them? In particular, zooming on pages with images that actually contain only text are hard to read.

    I am zooming in on my homework in mastering physics. I am using a large screen and sitting far away. It uses a lot of images containing the text I need to read, but when the images are upscaled, they become very blurry and hard to read. A simple sharpen effect after it is resized would fix the problem. Is there a way to do this in firefox? like a command line switch or maybe something in about:config? Thanks

    It may sound counter-intuitive, but could you try disabling graphics hardware acceleration? Since this feature was added to Firefox, it has gradually improved, but there still are a few glitches.
    You usually need to restart Firefox in order for this to take effect, so save all work first (e.g., mail you are composing, online documents you're editing, etc.).
    orange Firefox button ''or'' classic Tools menu > Options > Advanced
    On the "General" mini-tab, uncheck the box for "Use hardware acceleration when available"
    If you restart Firefox, is the issue resolved?

  • Chart View  text problem

    I have Pie Chart with legend text. This legend contains Unicode text.
    To display my uncode text,i have converted my font (SylfaenARM) via CordaFontConverter.exe file and then i edited
    OracleBI_HOME\web\config\chartfontmapping.xml and OracleBI_HOME\web\app\res\s_oracle10\popbin\ pie.pcxml files.
    The result is that i can see my legend text, but the problem is that text cuts off by some characters from the end. This problem occures only for the newly added font. For other fonts everything goes ok.
    I tried to increase value of TRUNCATE but it doesn't work.
    The same problem occures for line chart axis labels, BUT not for TITLE labels, if i specify Title Label manually, it works just fine.
    xan anyone help me ?
    May be I configured chartfontmapping.xml and pie.pcxml files incorrectly?
    here are the files:
    chartfontmapping.xml
    <?xml version="1.0" encoding="utf-8"?>
    <fontMappings xmlns="com.siebel.analytics.web/chart/v1">
    <fontMapping name="Sylfaen">
    <choose>
    <when locale="en*"><font name="Sylfaen"/></when>
    </choose>
    </fontMapping>
    <fontMapping name="Sylfaen">
    <choose>
    <when locale="ka*"><font name="Sylfaen"/></when>
    </choose>
    </fontMapping>
    <fontMapping name="*">
    <choose>
    <when locale="en*"><font name="Sylfaen"/></when>
    </choose>
    </fontMapping>
    <fontMapping name="*">
    <choose>
    <when locale="ka*"><font name="Sylfaen"/></when>
    </choose>
    </fontMapping>
    </fontMappings>
    Pie.pcxml
         <Textbox Name='title'>
              <Properties TransparentFill='True' BorderType='None' Font='Name:SylfaenARM; Size:11; Style:Bold;'/>
              <Text>Sample Text</Text>
         </Textbox>
         <Graph Name='graph' Type='Pie' SubType='Basic'>
              <Properties Effect='2D' EffectPercentX='10' EffectPercentY='60' OutlineType='Darker'/>
              <DataLabels Font='Name:SylfaenARM; Size:9;Style:Bold;' TransparentBackground='False' BGColor='#FFFFFFcd' Position='OutWithLeader' ShowSeriesTextType='NameBelowValueOnGraph' BorderType='None' />
              <PopupText Font='Name:SylfaenARM; Size:12;' FillColor='White'/>
              <PieLabel Visible='False'/>
              <Legend Name='legend'>
                   <Properties AutoSizeMarkers='True' BorderType='None' GrowVerticalMaxHeight='1000' GrowHorizontalMaxWidth='1000' MinimumFontSize='9' Font='Name:SylfaenARM; Size:9;'/>
              </Legend>
         </Graph>
    </Chart>

    Hi, Guram! Did you find solution? I have the same problem. :((
    Edited by: vkos on May 27, 2010 11:33 AM

  • ScrollPane + Dynamic text problem.

    Hi,
    I use the ScrollPane component to display a movieclip which contains some text. Until now I have entered just a few paragraphs, with the text field set to "Static text"...but as I have wrote some more I noticed that the text field displays only half of my text. So I have switched to "Dynamic text", which solves the display issue and I get 100% of my text but now I have it always on the scene displayed, even if it is only available in the library...strange!
    Could somone help me out please??
    Regards,
    vedtam

    Ok, I try to make my self clear.
    I have to display a really long text on this website. By default when I am typing anything the Text tool is set to "Static text" in that little drop down in the Text Properties window. So I have moved on whit this, but after more then 50-60 paragraph typed in I get only 30 displayed. Than I went to that little drop down and selected "Dynamic text" to see if this helps, and when I have tested the movie again the text was displayed with all its 60 paragraph, but it was overlapping all my other content without pressing its button (without calling it).
    The movieclip which contains the text, sits in the library, and the ScrollPane component (which loads it externally) is in the scene on the 1st frame. Again, as I test the movie I get the text showing up in the background, so as I click any menu item it is overlapping any other content.
    What I would like to achieve is to have the text displayed without an issue (not only a half of it). But this task is failed by the "Static text" option and setting it to "dynamic text" solves the first problem while rises a second (the sudden appearance of the text on the scene without calling it).
    I hope this second explanation helps,
    Vedtam

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

  • When I start firefox browser an erroe message appear that contain this text "the procedure entry point_except_handler4_common could not be located in the dynamic link library msvcrt.dll" I am using windows XP

    when I start firefox browser an erroe message appear that contain this text "the procedure entry point_except_handler4_common could not be located in the dynamic link library msvcrt.dll" I am using windows XP in English
    == This happened ==
    Every time Firefox opened
    == start mozila firefox

    This issue can be caused by a problem with the file c:\windows\system32\dwmapi.dll
    The file dwmapi.dll is a Vista file and should not be present in Windows XP.
    See also [tiki-view_forum_thread.php?forumId=1&comments_parentId=417674]

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

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

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

  • Acrobat could not perform recognition (OCR) on this page because this page contains renderable text

    I have a pdf file, which was OCRed by some other software, I am not satisfied with its accuracy, and would like to run adobe acrobat to OCR it again.
    But Adobe says "Acrobat could not perform recognition (OCR) on this page because this page contains renderable text" for each page of the file.
    How can I do to re-OCR the file? Thanks!

    CtDave,
    I am having a similar problem and tried your suggestion but I still get the same message. Any other thoughts or fixes? The difference in my file is I used to be able to edit the text in the PDF file. For the last few months I am no longer able to edit this file.

Maybe you are looking for