-
Als letztes aktiv
i have a string of mixed text with hebrew and english, usually the english is only the last word in the string.when trying to show on a limited space (110px more or less) the line break looks like it performs incorrectly since the string is all mixed and it shows the english word in between the hebrew words.I'm using the following, in a *pure* as3 project in the flex ide using sdk 3.5 and last version textframework swc.private function addText():void{ //title is a string brought from xml. title = "Canazei סקי איטלקי במיטבו בעיירה"; var titleLine:StringTextLineFactory = new StringTextLineFactory(); titleLine.text = title; titleLine.paragraphFormat titleLine.compositionBounds = new Rectangle(0,0,120,120); titleLine.spanFormat = formatMe(blue, 12, "bold"); titleLine.createTextLines(callbackTitle);&nb
Revision: 13486Revision: 13486Author: klin@adobe.comDate: 2010-01-13 16:21:05 -0800 (Wed, 13 Jan 2010)Log Message:***********Fix null mask RTE in RichText. Need a null check in commitProperties when the mask changes.QE notes: NoDoc notes: NoBugs: SDK-25038Reviewer: JasonTests run: checkintestsIs noteworthy for integration: yesTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-25038Modified Paths:************** flex/sdk/branches/4.0.0/frameworks/projects/spark/src/spark/components/RichText.as
Revision: 13483Revision: 13483Author: aharui@adobe.comDate: 2010-01-13 12:54:59 -0800 (Wed, 13 Jan 2010)Log Message:***********Update ASDoc for ButtonBarQE Notes: noneDoc Notes: Please review changeBugs: SDK-24981Reviewer: EvtimTests run: CheckintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-24981Modified Paths:************** flex/sdk/branches/4.0.0/frameworks/projects/spark/src/spark/components/ButtonBar.as
Revision: 13479Revision: 13479Author: gauravj@adobe.comDate: 2010-01-13 07:10:30 -0800 (Wed, 13 Jan 2010)Log Message:***********Fix for Excluded styles still appearing in LangRef.QE notes: None.Doc notes: NoneBugs: SDK-25024Reviewed By: PaulTests run: checkintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-25024Modified Paths:************** flex/sdk/branches/4.0.0/modules/compiler/src/java/flex2/compiler/asdoc/AsDocUtil.java flex/sdk/branches/4.0.0/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.java
Revision: 13472Revision: 13472Author: sameer@adobe.comDate: 2010-01-12 22:07:21 -0800 (Tue, 12 Jan 2010)Log Message:***********As, there is no advancedDataGridListData property, the Exclude metadata for listData needs to be removed. Also, fixed some wrong usage of listData.QE notes: NoneDoc notes: NoneBugs: NoneReviewer: SreeniTests run: checkintestsIs noteworthy for integration: NoModified Paths:************** flex/sdk/branches/4.0.0/frameworks/projects/spark/src/mx/controls/advancedDataGridClasses/MXAdvancedDataGridItemRenderer.as
Revision: 13457Revision: 13457Author: klin@adobe.comDate: 2010-01-12 11:47:30 -0800 (Tue, 12 Jan 2010)Log Message:***********Fix to MXFTEText stylesheet to get rid of compiler warnings. The warnings were caused by three components not being in the manifest and thus, not in the library namespace. I added two specific component namespaces for the three components.QE notes: NoDoc notes: NoBugs: SDK-24986Reviewer: PeteTests run: checkintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-24986Modified Paths:************** flex/sdk/branches/4.0.0/frameworks/projects/spark/MXFTEText.css
Hello All,I am curios how others are writing Async tests on a service layer where events are not used?Ex: calling into a service object - sending a callback method (closure)####private function buyItem(id:String, callback:Function{DataManager.getInstance().purchaseItem(id, callback);}private function callback(success:Boolean, data:Object):void{ // Do stuff}####TestBuyItem.as[Test (order=1, async, timeout="60000")]public function testBuyItem():void{ Async.asyncHandler(this, callback, 20000, null, null); DataManager.getInstance().purchaseItem("myitemid", callback);}private function callback(success:Boolean, data:Object{ // This method gets called and success does equal true - however my test fails Assert.assertTrue(success);}What am I doing wrong? What type of method does the 'callback' need to be? Is there an Async.waitForCallbackFunctionCall() I am sure I am doi
Revision: 13452Revision: 13452Author: aharui@adobe.comDate: 2010-01-12 09:50:37 -0800 (Tue, 12 Jan 2010)Log Message:***********RichEditableText wasn't using the SWFContext for baseline and other metrics.QE Notes: I got two baseline property differencesDoc Notes: NoneBugs: SDK-24983Reviewer: DarrellAPI Change: NoIs noteworthy for integration: Notests: checkintests mustella/gumbo/components/TextArea, TextInputTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-24983Modified Paths:************** flex/sdk/branches/4.0.0/frameworks/projects/spark/src/spark/components/RichEditableText.as
We just came to know of the TLF; we have a Flex 3.2 application with many reports that are comprised of numerous Text components; the performance we are experience with rendering all these Text components is subpar for our users as they are accustomed to HTML...does TLF offer a lighter weight/higher performance option, e.g., TextField, for rendering text?
Hey, first time playing around with flex i stumbled over a hickup in the mxmlc shell script undex linux.I could not symlink to the mxmlc script to simplify setting up multiple versions/environment.The flex SDK I am using is 3.4.1 build 10084.I modified the shell script to lookup the java binary using JAVA_HOME instead of relying on PATH, and setup the automatic path resolution to resolve absolute url's using readlink.I also decided to use exec to make sure that file descriptors and signals where directly passed to the executed java process.I am sure that it isn't perfect, there might be some issues about finding JAVA_BIN under cygwin, but I sure would like to se symlinks resolved properly upstream.Hope this is useful!
Anyone know if the source code will be made available for the online demo (http://labs.adobe.com/technologies/textlayout/demos/)? It would great to be able to see how it is being done.
Hi,I am working on a Flash CS4 AS3 only project (no Flex involved) and I need to embed a font.I am linking to the 'TextLayout.swc' to have access to all the TLF classes.To use embeded fonts I understand I need to set the TextFlow fontLookup property.E.g.myTextFlow.fontLookup = FontLookup.EMBEDDED_CFF;However, the FontLookup class that has the Public Constant EMBEDDED_CFF is in the package flash.text.engineWhere do I get this package from? Do I need to link to another SWC from the Flex 4 SDK like I did with the 'TextLayout.swc'?If so, which SWC has this class in it?Cheers,Adrian
Hi there,after installing the Text Layout Framework (using: Flash CS4 on Mac Os 10.4.11) it says this text:This extension installs TextLayout Flash Component Beta which is an ActionScript 3.0 based text component for Flash. Also installed is the Text Layout Flash Panel that can be used to set the text and text attributes of the TextLayout Flash Component. To use the TextLayout Flash Component select the TextLayout component from the Standard Components in the Components Panel (Window>Components). The Text Layout Flash Panel can be accessed from the Window>Other Panels menu. but I can't find the Text Layout Flash Panel there and neither can I find it under components.But I can find this in the actions window: flash.text.engine//ligatureLevel//properties// which I think should belong to the TextLayoutFramework. I can choose options like "common, uncommon, exotic", ... just like it should be. But when I want to add this feature to a text frame it says that "current selection cannot
I'm trying to fit this all together, and the various pieces seem to be described either in highly fragmented text, or the overwhelming LiveDocs. And I don't typically find the fragments in LiveDocs.Right now I'm trying to figure out how to get from a Spark TextArea to a collection of TextLines. I imagine there are a bunch of abstraction layers between. How best do I figure out what they are?
Revision: 13393Revision: 13393Author: sameer@adobe.comDate: 2010-01-08 22:50:29 -0800 (Fri, 08 Jan 2010)Log Message:***********Removing spark.swc's dependency on datavisualization.swcQE notes: verify FTE and MX Item Renderer in AdvancedDataGridDoc notes: NoneBugs: FLEXDMV-2293 - Remove spark.swc's dependency on datavisualization.swcReviewer: Sreeni, Proposed by: ElyTests run: NoneIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/FLEXDMV-2293Modified Paths:************** flex/sdk/branches/4.0.0/frameworks/projects/spark/src/mx/controls/advancedDataGridClasses/FTEAdvancedDataGridItemRenderer.as flex/sdk/branches/4.0.0/frameworks/projects/spark/src/mx/controls/advancedDataGridClasses/MXAdvancedDataGridItemRenderer.as
Revision: 13390Revision: 13390Author: gruehle@adobe.comDate: 2010-01-08 14:58:36 -0800 (Fri, 08 Jan 2010)Log Message:***********TabBar component icon updates:Added IconFile metadata to Spark TabBarReverted mx TabBar icon to the previous file (it should not have been updated)QE notes: -Doc notes: -Bugs: SDK-24331Reviewer: -Tests run: checkintestsIs noteworthy for integration: noTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-24331Modified Paths:************** flex/sdk/branches/4.0.0/frameworks/projects/framework/src/mx/controls/TabBar.png flex/sdk/branches/4.0.0/frameworks/projects/spark/src/spark/components/TabBar.as
Revision: 13389Revision: 13389Author: gruehle@adobe.comDate: 2010-01-08 14:39:49 -0800 (Fri, 08 Jan 2010)Log Message:***********Deprecate (mostly) creationPolicy="queued". This feature hasn't worked correctly since Flex 1.5. The ContainerCreationPolicy.QUEUED property could not be deprecated due to a bug, but the Container.creationIndex property is deprecated, and the "queued" option is removed from the inspectable metadata enumeration.QE notes: NoneDoc notes: Documentation that mentions creationPolicy="queued" should be removedBugs: SDK-24479Reviewer: CoreyTests run: CheckinIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-24479Modified Paths:************** flex/sdk/branches/4.0.0/frameworks/projects/framework/src/mx/core/Container.as flex/sdk/branches/4.0.0/frameworks/projects/framework/src/mx/core/ContainerCreationPolicy.as
Revision: 13383Revision: 13383Author: gauravj@adobe.comDate: 2010-01-08 12:04:00 -0800 (Fri, 08 Jan 2010)Log Message:***********Modify to include the xml header (with encoding) in the DITA xml files. QE notes: None.Doc notes: NoneReviewed By: PeteTests run: checkintestsIs noteworthy for integration: NoModified Paths:************** flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.java
i´m trying to do string.substr(0, n) on a mixed/bidi string of text, looks like it gets confused on where to start from, any ideas about that?
We are running into an issue where undo isn't working after inserting an InlineGraphicElement. It appears that updateAllControllers gets called in finalizeDo() which in turn kicks off preCompose on StandardFlowComposer. PreCompose() calls the normalize function on a TextFlow. Then on the span thats after our the InlineGraphicElement the userStyles property is set to the userStyle specified on the InlineGraphicElement which causes a resetting of the generation number and screws up the undo stack.I noticed in doInternal() in EditManager there is this comment: // This has to be done after the normalize, because normalize increments the generation numberFirst of all it doesn't seem quite right to do a normalize() inside of preCompose() of TextFlow since normalize() changes the model and it doesn't seem quite right to call a function to update the model inside of composition.If that is still the desired functionality then could we get the setting of the generation during a
Revision: 13367Revision: 13367Author: klin@adobe.comDate: 2010-01-07 23:11:42 -0800 (Thu, 07 Jan 2010)Log Message:***********Fix for two issues in spark skins for mx Buttons. Changed the alpha for the disabled state to include the disabledselected state too for a button that can toggle. The other change is for DefaultButtonSkin where it needs to be a SparkSkinForHalo in order to show the error border color.QE notes: NoDoc notes: NoBugs: SDK-24890, SDK-24926Reviewer: JasonTests run: checkintests, ButtonIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-24890 http://bugs.adobe.com/jira/browse/SDK-24926Modified Paths:************** flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ButtonSkin.mxml flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DefaultButtonSkin.mxml flex/sdk/trunk/frameworks/projects/wireframe/src/mx/skins/wireframe/ButtonBarFirstButtonSkin.mxml flex/sdk/trunk/frameworks/p
Revision: 13347Revision: 13347Author: gruehle@adobe.comDate: 2010-01-07 14:09:20 -0800 (Thu, 07 Jan 2010)Log Message:***********Change FIXME to TODO. QE notes: NoDoc notes: NoBugs: N/AReviewer: Me - only comment changes, no code changes.Tests run: CheckintestsIs noteworthy for integration: NoModified Paths:************** flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ProgressBar.as
Hello,I have a problem to use correctly the framework. I have a fla file which is work perfectly and my classes does not not refer to the framework for the moment.Then I paste the textLayout.swc in the same folder of my fla. I try to export but then, nothing happen and i have these errors in the ouput panel :ReferenceError: Error #1065: Variable xxxxis not defined....ReferenceError: Error #1065: Variable xxxxxxx_link is not defined.The "xxxx" things are the name of all my linked names in the library.I do not undestand why... Could you help me ?Thanks by advance
Is there an event that gets fired when the user types in to an editable TLF field?For example, using an regular old TextField you could use ...var tf:TextField = new TextField();tf.border = true;tf.width = 100;tf.height = 20;tf.type = TextFieldType.INPUT;tf.border = true;tf.multiline = false;addChild(tf);tf.addEventListener(Event.CHANGE, onTf_CHANGE);function onTf_CHANGE(event:Event) :void { trace("onTf_CHANGE()");}How would I do this with TextFlow instance?I've had a play with UpdateCompleteEvent.UPDATE_COMPLETE but that doesn't seem to be what I am looking for.Thanks in advance.Adrian
How do I actually access the textual content of a TextFlow object?When there is a single SpanElement in the TextFlow then I am able to use ...mySpan.textBut if I have added multiple SpanElements to the ParagraphElement then how do I get the entire textual content so that I can store it in a String variable.I am also having problems accessing the entire text when the user has pasted in to an editable field, I presume this is because of multiple SpanElements being created.Is there anything that is the equivalent to the old ...myTextField.textThanks in advance,Adrian
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Sie haben bereits einen Account? Anmelden
Noch kein Konto? Konto erstellen
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.