TLF Is Now OpenSource

In case you missed it: TLF is now OpenSource.  The sources are being delivered with Flex Gumbo Builds.
Some handy links for getting more information:
TLF OpenSource Home
http://opensource.adobe.com/wiki/display/tlf/Text+Layout+Framework
Announcments
http://blogs.adobe.com/tlf/2009/07/the_text_layout_framework_is_n.html
http://opensource.adobe.com/wiki/display/tlf/Text+Layout+Framework
http://eon.businesswire.com/portal/site/eon/permalink/?ndmViewId=news_view&newsId=20090720 006233
Forum
Moving forward please post questions, issues and bugs to the new TLF opensource forum:
http://forums.adobe.com/community/opensource/tlf
The Labs forum is deprecated but will remain open for the foreseeable future.
TLF team will be monitoring and responding to both forums.
Documentation
Most up to date posted public documentation is here:
http://livedocs.adobe.com/flex/gumbo/langref/
Downloads
http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4
The TLF code is in builds from 4.0.0.8702  forward.  Download the "Adobe Flex SDK" and look in frameworks/projects/textLayout for all those sources.

Kevin,
Welcome to Apple Discussions!
Did you read my FAQ:
http://discussions.apple.com/click.jspa?searchID=-1&messageID=7116662
I posted it earlier in the thread. It should answer most of your questions.
Will I be able to view copy protected/blu ray movies in the future once Apple includes support?
Apple does not yet have Bluray movie support. Copy protected movies are visible now on Mac Pros both through the iTunes Music Store, and through Netflix's public beta program, and through Boot Camp with Windows Media Video.
If HDCP does gain traction, watch for PCI or AGP HDCP cards. Currently I'm aware of none.
But that's just a standard for new displays Apple is adopting. Most PCs don't even have support for it.
Until it becomes a more widespread standard, I don't think you have to worry too much about HDCP.
DVI to HDMI cables are widely available to use most HD-TVs out there.

Similar Messages

  • TLF and arabic text

    Hello,
    I'm using AS3 with CS3 to do some design involving working with dynamic text field for arabic text.
    This staetemnt works just fine:
    var strValidate_txt.text = "خُرُوجْ"; // a dynamic text field - result  OK
    however when I try to build the string characyter by character:
    var strValidate_txt.text = "";
    strValidate_txt.appendText("خ");
    strValidate_txt.appendText("ر");
    strValidate_txt.appendText("و");
    strValidate_txt.appendText("ج");
    the resuslt is a string with dissjointed characters وجرخ
    I couldn't find a way to fix this in Flash CS3.  I'm wondering if upgrading the Flash CS4 with the new TFL will solve me this issue?
    still need to convince my boss to pay for the upgrade!
    Thanks for help

    Hi,
    I'm working on Flash with Arabic language since 2 years in FAO (http://www.imarkgroup.com) to develop eLearning apps in Flash/Actionscript...before the TLF also.
    The new TLF is the best choice, you can test your arabic text using the demo app http://labs.adobe.com/technologies/textlayout/demos/
    I suggest you to wait for the release of new Flash Builder 4 with the official version of TLF. Now the TLF is a BetaVersion.

  • Text selection problem in linked containers

    Hi,
    I get a strange behavior on the selection of text in a textFlow with several linked containers (from the latest SVN version it seems).
    The problem occurs on the following case: http://lafabrick.com/labz/tlfTest/ (source code enabled)
    If I select some text in container D to A (or vice versa): display of text selection is correct.
    The problems are:
    - If I select some text in the containers B or C, and that I move the selection to the right or left: the container is moving ...
    - If I select some text in the containers B or C, and that I move the selection to the up or down: the display of the selection is not normal (I have a "blinking selection")
    TLF version : 502 (715519)
    Regards
    fabien

    Hi Richard,
    Would you like to said that this fixe is not present on the SVN (/trunk) ?
    In this case it's of course a bad news for me: my app can't takes all benefits of TLF for now (and for MAX...).
    But a good news for all ! It means that TLF is perhaps soon to release !
    Thanks a lot.
    Fabien

  • Meta tag on text

    Hi,
    Well, I'm using the simple example that comes with the tlf and now I'm making some customizations. Something that I'm need to do is to put some metatags on my text. For example, when the user type [sound:asdfas.mp3] i would like to mark  this text with diferent style. Or, in some cases, the user can use variables on my text, for example [var;income] so, when the user choice to print the text, i replace this variable for a current value.
    Anyone has any ideia of how can I do it?
    Thanks.

    Use the setStyle API.
    RIchard

  • [svn:fx-trunk] 12912: With TLF 571 checked in we can now revert the MXML 2009 changes for how the id language attribute is processed .

    Revision: 12912
    Revision: 12912
    Author:   [email protected]
    Date:     2009-12-14 12:08:35 -0800 (Mon, 14 Dec 2009)
    Log Message:
    With TLF 571 checked in we can now revert the MXML 2009 changes for how the id language attribute is processed.
    An unqualified id property will no longer be seen as a setter for a normal public, writable, non-static "id" property - which matches Flex 3 behavior.
    As in earlier versions of Flex, the mechanism to retain MXML id attribute information at runtime is to implement mx.core.IMXMLObject. The compiler will generate a call to the intialized() method and pass in the id information.
    Note: One exception to this rule seems to be UIComponent which instead get id attribute information via mx.core.IDeferredInstantiationUIComponent (although there seems to be a TODO in the codebase to remove this mechanism and thus should not be relied on by third parties).
    QE notes: Please add tests for the TLF id property on flow elements (div, span, p, etc).
    Doc notes: Please check that we have not documented
    Bugs: N/A
    Reviewer: Paul
    Tests run: Checkintests, local test cases.
    Is noteworthy for integration: Yes
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicEleme nt.as
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.jav a
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/Type.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/TypeTable.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/ValueInitializer.ja va
    Removed Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IID.as

    This is a duplicate post.  This should be locked to avoid further confusion.
    My CSS wont change
    Nancy O.

  • [svn:fx-trunk] 12673: Integrating latest FXGUtils now that TLF 566 is in trunk ( which includes a fix for TLF 2497992).

    Revision: 12673
    Revision: 12673
    Author:   [email protected]
    Date:     2009-12-08 14:41:28 -0800 (Tue, 08 Dec 2009)
    Log Message:
    Integrating latest FXGUtils now that TLF 566 is in trunk (which includes a fix for TLF 2497992).
    Changelist: 646928
    Implementation-Title: FXG Compiler
    Implementation-Version: 1.414471
    BuildDate: 2009/12/04:03:06:24
    Notes:
    Made bitmap clipping implementation more efficient.
    Bug(s) Fixed:
    - #2491501 (Inconsistent word spacing results between MXMLC static and runtime compilation)
    - #2492932 (MXMLC gets null pointer exception on this FXG)
    - #2489341(FXG with a large BitmapImage results in a malformed SWF)
        - Added code to break down straight edges whose dx or dy exceeds 65535 twips into smaller segments.
    - #2495874 (many objects are missing in Opacity.fxg renders via MXMLC static compiler)
        - FXGUtils now ignores gradient entries of more than 15 gradient entries.
        - It logs warnings for such violations and continues processing.
    QE notes: Yes, please remove whiteSpaceCollapse="preserve" from static FXG mustella test cases or please regenerate bitmaps.
    Doc notes: N/A
    Localization: No, there are just resource strings removed in this changelist, no new strings.
    Bugs: N/A
    Reviewer: Sujata
    Tests run: Checkintests, mustella spark/core/fxg (25 failures all relating to tests that have whiteSpaceCollapse="preserve" but the reference bitmap do not expect this behavior and should be regenerated or tests modified).
    Is noteworthy for integration: Yes
    Modified Paths:
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/fxg/FXGException_en.properties
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/fxg/swf/FXG2SWFTranscoder.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/AbstractFXGNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/ContentPropertyNode.j ava
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/TextNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/fills/LinearGradientF illNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/fills/RadialGradientF illNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/filters/GradientBevel FilterNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/filters/GradientGlowF ilterNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/strokes/LinearGradien tStrokeNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/strokes/RadialGradien tStrokeNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/sax/FXGSAXScanner.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/swf/ShapeHelper.java
    Added Paths:
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/PreserveWhiteSpaceNod e.java

  • [svn:fx-trunk] 7747: Remove override of focusInHandler since TLF now calls preventDefault on any nav keys it processes .

    Revision: 7747
    Author:   [email protected]
    Date:     2009-06-11 07:28:32 -0700 (Thu, 11 Jun 2009)
    Log Message:
    Remove override of focusInHandler since TLF now calls preventDefault on any nav keys it processes.
    QA Notes: we need to be sure to test RET keyboard input and navigation on AIR since the keyboard events are slightly different than for the player
    Doc Notes:
    Bugs: SDK-21552
    Reviewers: Gordon
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21552
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/RichEditable TextContainerManager.as

    Dropping down to the next line is normal behavior because Menus don't resize.  For what you want, you should probably find a good Responsive Menu system.
    http://responsive-nav.com/
    http://jasonweaver.name/lab/flexiblenavigation/
    http://www.projectseven.com/products/templates/pagepacks/dmm/affinity/menu-modes/index.htm
    Nancy O.

  • Squiggly 0.5 now available with native support for TLF TextFlow objects!

    I am happy to announce the release of Squiggly 0.5 on Adobe Labs!
    The two new enhancements to this version of Squiggly are:
    1. Native support for TLF TextFlow objects
         Now you can add spell checking to native ActionScript applications without any dependency on Flex
    2. Modularization of code for greater customizability
         One of the cool things about Squiggly was the SpellUI class, which gave you a single line integration of spell checking to your Flex apps.  With this release of Squiggly, we have exposed some of the sub-classes that make up SpellUI, which will allow you to further customize Squiggly's behavior.  It is now much easier to write your own Squiggly UI or control how the spelling engine behaves.
    Please let us know how this suites your needs, and what direction you would like to see us take this technology.  Now that we have completed some critical refactoring work in the underlying technology, our next focus will be in adding support for additional languages, such as German and French.
    Happy Spell Checking!
    - Bruce, Adobe

    HI,
    I need to add Squiggly to my TLF 2 editor.
    Could you please tell me where I can find some samples or guidelines on how to add Squiggly 0.5 with TLF TextFlow.
    Thanks

  • TLF 2.0 Sources Now Available on SourceForge

    See Alan's blog post:  http://blogs.adobe.com/tlf/2010/07/tlf-now-on-sourceforge.html

    Hi, thanks for the tip.
    I was using 4.1, so I switched to 4.0 instead. But I'm getting the same error!?
    This is what I did (I really appreciate your help by the way!):
    Made a copy of the sdk 4.0.0 folder, and replaced textLayout.swc in frameworks/libs/ with the latest build.
    Added this to the Flex sdk list, calling it "4.0.0 with TLF 2.0" and set this as the sdk for my project.
    Now, when I put this code into my project
                   <s:Scroller width="100%" height="100%">
                        <s:RichEditableText width="100%" height="100%"
                                                 editable="false" selectable="false"
                                                 fontSize="12.5" color="#333333">
                             <s:textFlow>
                                  <s:TextFlow>
                                       <s:p>Paragraph test</s:p>
                                  </s:TextFlow>
                             </s:textFlow>
                        </s:RichEditableText>
                   </s:Scroller>
    I get the runtime error "VerifyError: Error #1053: Illegal override of CSSTextLayoutFormat in spark.core.CSSTextLayoutFormat."

  • [svn] 669: opensource: merged 667:668 from 3.0.x; ant package now works on Mac.

    Revision: 669
    Author: [email protected]
    Date: 2008-02-26 16:37:06 -0800 (Tue, 26 Feb 2008)
    Log Message:
    opensource: merged 667:668 from 3.0.x; ant package now works on Mac.
    Modified Paths:
    flex/sdk/trunk/build.xml
    flex/sdk/trunk/frameworks/tests/checkinapp/build.xml
    flex/sdk/trunk/modules/asc/build/java/build.xml

    Revision: 669
    Author: [email protected]
    Date: 2008-02-26 16:37:06 -0800 (Tue, 26 Feb 2008)
    Log Message:
    opensource: merged 667:668 from 3.0.x; ant package now works on Mac.
    Modified Paths:
    flex/sdk/trunk/build.xml
    flex/sdk/trunk/frameworks/tests/checkinapp/build.xml
    flex/sdk/trunk/modules/asc/build/java/build.xml

  • [svn] 668: opensource: ant package now works on a Mac; Darrell pointed out some Windows-centric backslashes that were holding up the show (fixed others that I found too).

    Revision: 668
    Author: [email protected]
    Date: 2008-02-26 16:26:38 -0800 (Tue, 26 Feb 2008)
    Log Message:
    opensource: ant package now works on a Mac; Darrell pointed out some Windows-centric backslashes that were holding up the show (fixed others that I found too).
    Modified Paths:
    flex/sdk/branches/3.0.x/build.xml
    flex/sdk/branches/3.0.x/frameworks/tests/checkinapp/build.xml
    flex/sdk/branches/3.0.x/modules/asc/build/java/build.xml

    It sounds to me like Final Cut Express is what you really need to learn. I learned it by buying a book that included a DVD of examples to use as you go through the book. It will only take a couple of hours to figure out how to do most of what you need to know. Its the last 20% that will take the longest to learn, mostly because its the stuff you'll use the least.
    The book I used was written by Tom Wolsky. It was for version 2 of the program. I don't know if its been updated. Take a look in the Final Cut Express forum. Ask the forum for recommendations. You'll probably get a response from Tom Wolsky himself since he's a regular on that forum.
    I've since upgraded to Final Cut Studio. I occasionally still use iMovieHD because its easier for some tasks but not very flexible. For example, the themes in iMovie are easy to use but it would be near impossible to recreate them in Final Cut Express. So I sometimes just populate the themes in iMovie and export them to Final Cut to add to a larger project.
    There are a couple of potential stumbling blocks in learning Final Cut, one of them being media handles. Once you figure out those, you'll be on your way...

  • Squiggly TLF and RichEditableText

    I am trying to apply SpellUIForTLF to the TLF object contained within a RichEditableText spark object.
    My mark up looks like this:
    <s:RichEditableText id="myTextArea" bottom="50" top="0" left="0" right="200" />
    Then in my creationcomplete handler:
    protected function init(event:FlexEvent):void
        SpellUIForTLF.enableSpelling(myTextArea.textFlow,"en_US");
    The problem is that when I start up the application, I get this error:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at flashx.textLayout.container::TextContainerManager/getContentBounds()[C:\Vellum\branches\v 2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\container\TextContainerManage r.as:680]
    at spark.components::RichEditableText/textContainerManager_compositionCompleteHandler()[E:\d ev\4.5.1\frameworks\projects\spark\src\spark\components\RichEditableText.as:4448]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flashx.textLayout.container::TextContainerManager/dispatchEvent()[C:\Vellum\branches\v2\2 .0\dev\output\openSource\textLayout\src\flashx\textLayout\container\TextContainerManager.a s:1553]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flashx.textLayout.elements::TextFlow/dispatchEvent()[C:\Vellum\branches\v2\2.0\dev\output \openSource\textLayout\src\flashx\textLayout\elements\TextFlow.as:859]
    at flashx.textLayout.compose::StandardFlowComposer/http://ns.adobe.com/textLayout/internal/2008::callTheComposer()[C:\Vellum\branches\v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\compos e\StandardFlowComposer.as:688]
    at flashx.textLayout.compose::StandardFlowComposer/internalCompose()[C:\Vellum\branches\v2\2 .0\dev\output\openSource\textLayout\src\flashx\textLayout\compose\StandardFlowComposer.as: 760]
    at flashx.textLayout.compose::StandardFlowComposer/updateToController()[C:\Vellum\branches\v 2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\compose\StandardFlowComposer. as:556]
    at flashx.textLayout.compose::StandardFlowComposer/updateAllControllers()[C:\Vellum\branches \v2\2.0\dev\output\openSource\textLayout\src\flashx\textLayout\compose\StandardFlowCompose r.as:517]
    at com.adobe.linguistics.spelling::SpellingContextMenuForTLF()[C:\p4_garuda1890_ugoyal-xp\es g\squiggly\main\AdobeSpellingUITLF\src\com\adobe\linguistics\spelling\SpellingContextMenuF orTLF.as:95]
    at com.adobe.linguistics.spelling::SpellUIForTLF/addContextMenu()[C:\p4_garuda1890_ugoyal-xp \esg\squiggly\main\AdobeSpellingUITLF\src\com\adobe\linguistics\spelling\SpellUIForTLF.as: 481]
    at com.adobe.linguistics.spelling::SpellUIForTLF/loadDictComplete()[C:\p4_garuda1890_ugoyal- xp\esg\squiggly\main\AdobeSpellingUITLF\src\com\adobe\linguistics\spelling\SpellUIForTLF.a s:464]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at com.adobe.linguistics.spelling.framework::SpellingService/loadDictComplete()[C:\p4_garuda 1890_ugoyal-xp\esg\squiggly\main\AdobeSpellingFramework\src\com\adobe\linguistics\spelling \framework\SpellingService.as:117]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at com.adobe.linguistics.spelling::HunspellDictionary/loadDictionaryComplete()[C:\p4_garuda1 890_ugoyal-xp\esg\squiggly\main\AdobeSpellingEngine\src\com\adobe\linguistics\spelling\Hun spellDictionary.as:157]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at com.adobe.linguistics.spelling.core.utils::SquigglyDictionaryLoader/loadWithoutTimeouts() [C:\p4_garuda1890_ugoyal-xp\esg\squiggly\main\AdobeSpellingEngine\src\com\adobe\linguistic s\spelling\core\utils\SquigglyDictionaryLoader.as:327]
    at Function/http://adobe.com/AS3/2006/builtin::apply()
    at SetIntervalTimer/onTimer()
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()
    Can someone point out why this is happening?

    Hi Godly,
    Please use SpellUI.enableSpelling from AdobeSpellingUIEx.swc.
    You will need to use AdobeSpellingUIEx.swc from the Squiggly package instead of AdobeSpellingUITLF.swc which must be using right now.
    Your code will look something like this:
    import com.adobe.linguistics.spelling.SpellUI;
    protected function init(event:FlexEvent):void
       SpellUI.enableSpelling(myTextArea,"en_US");
    <s:RichEditableText id="myTextArea" bottom="50" top="0" left="0" right="200" />
    Please let me know if this solves the issue.
    Thanks,
    Utsav

  • ProLoader and TLF TextFields do not work together!

    I'm using ProLoader to load a .swf that uses TLF.  The master .swf loads the target .swf and all code executes as expected with one minor glitch: the content of the loader is white/blank.  Has anyone else seen this!?
    ~~~~~~~~~~~~~~~~~~~~~~~~
    Here is the full bug report that I tried to send Adobe, but they cap reports at 2000 characters and provide no option for uploading a source .zip. (Seriously, Adobe?)  If you have time, and follow my instructions you will see how ProLoader won't even load a .swf with TLF on its stage.  (Yes, I realize this different from my problem, but I'd like to demonostrate how buggy and inconsistent ProLoader is.  The simple solution would be not to use TLF, and mostly likely, I will end up doing that.)
    ******BUG******
    ProLoader loads .swf with TLF, but ProLoader is blank.
    Steps to reproduce bug:
    1.  Download sample files (http://helpx.adobe.com/content/dam/kb/en/141/tn_14190/attachments/Load_External_SWF.zip) from the Tech Note, Load external SWF into another SWF (http://helpx.adobe.com/flash/kb/load-external-swf-swf.html).
    2.  Open ExternalSWF.fla and assign it a document class.
    Here is mine:
    package  {
              import flash.display.MovieClip;
               import flash.events.Event;
              public class ExternalSWF extends MovieClip {
                        public static var DATA_LOAD_COMPLETE:String = "ExternalSWF_DataLoadComplete";
                        private var data_:String;
                        public function ExternalSWF() {}
                        //This function will be called from the .swf that loaded me.
                        public function loadData(data:String):void
                                  data_ = data;
                                  dispatchEvent(new Event(DATA_LOAD_COMPLETE));
                        public function get data():String { return data_; }
    3.  On ExternalSWF.fla's stage, change a classic TextFields into a TLF TextField.
    4.  In Loader_Movie.fla, change all flash.display.Loader instances to fl.display.ProLoader in order to load TLF TextFields.  Also, add an event listener to myLoader for Event.COMPLETE.  Here are my Loader_Movie.fla's Actions:
    import flash.events.Event;
    import fl.display.ProLoader;
    var myLoader:ProLoader = new ProLoader();                     // create a new instance of the ProLoader class
    var url:URLRequest = new URLRequest("ExternalSWF.swf"); // in this case both SWFs are in the same folder
    myLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, myLoaderIsLoaded);
    myLoader.load(url);                                     // load the SWF file
    addChild(myLoader);                                     // add that instance to the display list, adding it to the Stage at 0,0
    myLoader.x = 10;                                        // move the loaded SWF 10 pixels to the right (from the left edge)  
    myLoader.y = 175;                                       // move the loaded SWF 175 pixels down from the top
    // (optional) load a second external SWF file
    var my2ndLoader:ProLoader = new ProLoader();
    var url2:URLRequest = new URLRequest("ExternalSWF2.swf");
    my2ndLoader.load(url2);
    addChild(my2ndLoader);                                  // optionally, you could put the 2nd SWF beneath
                                                            // the 1st by using addChildAt(my2ndLoader, 1);
    // (optional) scaling of the 2nd SWF file
    my2ndLoader.scaleX = 2;                                 // scale the SWF horizontally by 200%
    my2ndLoader.scaleY = 2;                                 // scale the SWF vertically by 200%
    function myLoaderIsLoaded(event:Event):void
              trace("The first .swf has loaded so add event listeners");
              var swf:ExternalSWF = ExternalSWF(myLoader.content);
              swf.addEventListener(ExternalSWF.DATA_LOAD_COMPLETE, allFinished);
              swf.loadData("foobar");
    function allFinished(event:Event):void
              trace("Here is the data we loaded: " + ExternalSWF(myLoader.content).data);
    Results:
    [Trace] Output
    ReferenceError: Error #1056: Cannot create property __id0_ on ExternalSWF.
              at flash.display::Sprite/constructChildren()
              at flash.display::Sprite()
              at flash.display::MovieClip()
              at ExternalSWF()
    ExternalSWF is invisible; 4 loading dots appear instead.
    Expected results:
    Both .swfs load without incident.
    Trace output:
    The first .swf has loaded so add event listeners
    Here is the data we loaded: foobar
    Additional notes:
    I discovered this bug when my main/master .swf used ProLoader to load another .swf (with TLF on a symbol in the libary).  In this case, the ProLoader appeared blank/white, not even the 4 loading dots.  However, all the code in both .swfs still ran as expected (shown via the Output panel dumping all expected trace statements until execution finished).
    Environment:
    Adobe FLash Professional CS5.5, Version 11.5.1.349
    (bug discovered while running "Test Movie" in IDE)
    Windows 7 Professional Service Pack 1
    Intel(R) Core(TM)2 Duo CPU  E4600 @ 2.40GHz  2.39 GHz
    RAM: 6.00 GB
    64-bit Operating System

    Do you have anything that uses TLF in your preloader? It's possible that the TLF framework has made your preloader so heavy that it merely appears to not be doing anything, but the actual case is that all that stuff has to load before it can show you anything.
    You may find this helpful http://jeffkamerer.com/blog/2010/08/12/using-a-custom-preloader-loop-with-tlf-text/
    However, I don't really understand why you feel you have to use TLF to bring in the text from Photoshop. I think you must mean PhotoShop PSD's, because PhotoShop PNG's will not contain editable text (though Fireworks ones can). I get Photoshop comps all the time and bring the text in as Classic Text. While it's not an exact match 100% of the time, it's as close a match as you're going to get based on the limitations of Classic text. I think there's no reason for your designers to be redoing the designs--you just need to play around with the import settings and figure out what gets you close and then what tweaks you need to do to get closer.
    And, to answer your question, nearly everyone creates graphics for Flash files in Photoshop, despite Fireworks being the better tool. For whatever reason, designers often aren't very adventurous when it comes to learning new tools, and nearly all art schools teach PhotoShop.
    I also don't have any trouble loading CS5.5 AS3 swfs (no TLF--I just don't need the hassle) with Document Classes using an ordinary Loader. So I think there's something not right about what you're doing if you've come to the conclusion that you can't load a swf with a Document Class. Try scaling back to the bare minimum, then working up.
    Finally, I just don't "get" why people do two things that you're doing (or, I do, but I think it's unnecessary and a colossal failure on Adobe's part)
    Instantiating everything through code. Not only are you wasting an inordinate amount of time/code in specifying layout, you also completely lose the natural capability of Flash to compile assets throughout the whole of the swf. This means you have to have a preloader, because literally everything you ever use is embedded before the first visual frame. Contrast to using the timeline, where all you need to load the visuals for the first frame is the Document Class (which you can keep light by coding to Interfaces) and the visuals for the first frame. Anything else you need to load, you can defer to the frame that you've selected for embedding your AS Classes on.
    Using a preloader at all.
    My preloading strategy is very simple. I put a spinner graphic in the first frame, with the word "Loading." The playhead will stop at the frame that I've specified to use for exporting my ActionScript Classes (10--this provides enough space for the label "Loading" to be readable). When the embedded Classes and whatever is needed to display frame 11 is loaded, the playhead will continue to frame 11 by itself, with no code. On Frame 11, I have a MC that is a named instance, and I have a getter/setter pair to catch it. When the setter triggers, I know I'm ready to start the logic.
    However, you could do all sorts of things, like just putting a MC there that "is" the entirety of your other logic (has what is now the Document Class of the swf you're preloading as its BaseClass).
    Anyway, maybe something in my ramble will help you.

  • [svn:fx-trunk] 7700: Integrated TLF build 450.

    Revision: 7700
    Author:   [email protected]
    Date:     2009-06-09 21:31:13 -0700 (Tue, 09 Jun 2009)
    Log Message:
    Integrated TLF build 450. This integration required no changes to framework code.
    From TLF's ReleaseNotes.txt:
    Build 450
    Fix bug 330941 BackgroundColor and Color export differently
    - backgroundColor now exports in 0x hex format
    Build 449
    Eliminate IInternalFlowComposer interface
    Fix 2328573 - remove textLine from BackgroundManager's cache when calling recreateTextLine() with recycled line.
    Fix 2347701 SelectionManager and EditManager keyDownHandlers should call event.preventDefault() if they handle the key
    Build 448
    Changing behavior of vertical alignment of bottom or middle when content height exceeds container height with scrolling on. Now it will act as top aligned.
    Build 447
    Rename TextFlow.getElementById to getElementByID
    Build 446
    Review changes - TextContainerManager
    1) setText parameter named text
    2) setTextFlow parameter named textFlow
    3) hasScrollRect should be private
    Build 445
    Fix 2340553 Insert of "auto" sized InlineGraphics don't undo
    Fix 2331720 TextContainerManager.getText - the parameter is a separator and is not added after the last paragraph
    Fix the width of the paragraph terminator should not be included as part of the content width in lineBreak=explicit mode.
    Fix cursor blinks in read-select mode, it should not blink. Now check the interactionManager's editingMode before setting the blinkRate.
    Fix links at the end of the TextFlow don't cause the cursor to change to a hand cursor when the mouse passes over the link.Build 443
    Fix 2297125 Vertical adjustment now adds height proportional to existing line spacing, even when lines are created using the text line factory
    Fix 2305477 Added support for compilation of linkNormalFormat, linkActiveFormat and linkHoverFormat in mxml
    Added an sdk example for context menu
    QE Notes: None
    Doc Notes: None
    Bugs: None
    Reviewer: None
    Modified Paths:
        flex/sdk/trunk/frameworks/libs/textLayout.swc
        flex/sdk/trunk/in/tlf/textLayout.swf
        flex/sdk/trunk/in/tlf/textLayout.swz
        flex/sdk/trunk/in/tlf/tlf.properties

  • TLF in Flash CS4 showing ??? with Arabic fonts

    I got TLF to function on my work computer (XP-32) with no trouble.
    However, at home (XP-64), when I type in the TLF box in CS4, I only get ????? showing.If I copy and paste Arabic from Notepad into the text box, the arabic text shows up with no problem. I've tried using Adobe Arabic, Transparent Arabic, and Standard Arabic font with the same results.
    I don't know if this has anything to do with it but when I first installed the TLF component, it set it up in my Flash CS3 extension manager. After deleting it from there, I installed it again to the CS4 extension manager.
    Has anyone else had this situation? I can't figure out why my work computer and home computer are behaving differently.
    Thanks for any help.

    Hi azeem
    I have been learning how to deal with arabic fonts now in flash10 and from what i have read up so far adobe has stopped updating the TLF component and it is been said it will only reappear with flash11 again. So if there is a bug with 64 bit os , then it is stuck like that for now. Another point to mention while using the forums and from personal testing is that the adobe arabic font will not handle diacritics correctly. You should try use Arial version 4 (the arial that ships with vista , the arial that shipped with xp is also faulty).
    Ian Pretorius

Maybe you are looking for

  • Rendering diagnostics not working in AIR 2.6

    I'm trying to move my pfi application over to AIR 2.6 and am experiencing a huge drop in frame rate.  I worked quite hard to make sure everything was cached with the GPU when working with pfi and found the rendering diagnostics to be invaluable in he

  • Link to download java api?

    Hi, I've needed to download the java api a couple of times in the past, and I remember the download was impossible to find on sun's website. Once again I can't figure out where it is. Can anyone help me? I wonder why sun doesn't put a link to where y

  • 3rd gen nano shuts off automatically

    When I dock my 3rd gen nano into my Bose portable it randomly shuts off and displays the battery charging screen on the nano. When I press the start button the Bose remote the nano will play again for a few songs then shut off again. This doesn't hap

  • Blocking Ads in IE11

    Hi, I am a Google chrome user and I want to switch into IE11 on Windows 8.1. But the problem is that I did not found anyway to block advertissements in IE. Please, is there any extension or way to do so ? Thank you.

  • ICloud Family Sharing - no iTunes shown?

    Why can't I view or share with my family my music from iTunes? Photos, movies are sharing. The iTunes icon does not show on my iCloud settings on my phone.I