Questions
Actividad reciente
I've installed the v1.2 all in one .zip and configured it as per http://opensource.adobe.com/wiki/display/flexpmd/FlexPMD+Eclipse+plugin after installing the plugin itself some time ago (back in v1.1 days). No updates are show right now as pending and the update site is enabled.Although the CPD detector runs OK, when I right click a source folder and choose 'Run FlexPMD', the Flex PMD view remains empty. The PMD builder is enabled for the project too, no joy.The eror log doesn't have anthing relevent, just :eclipse.buildId=M20110210-1200java.version=1.6.0_26java.vendor=Oracle CorporationBootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GBCommand-line arguments: -os win32 -ws win32 -arch x86ErrorWed Jan 04 14:20:20 GMT 2012Unable to create menu item "com.adobe.ac.pmd.eclipse.toolbar.runCommand", command "com.adobe.ac.pmd.eclipse.flexpmd.runCommand.category" not definedAny hints ?
How do I draw a line (Stroke) under each line? BackgroundI'm trying to get the appearance of notebook paper. I'm using the Spark TextArea. I've tried a number of different approaches and all of them have drawbacks.
Hi,I'm trying to solve this behaviour:I copy an image in my desktop with CTRL+C/CMD+C.Then in my application I paste the image in the textflow with CTRL+V/CMD+V... but it adds the image and the image name (as text), instead I want it adds only the image!So, I'm listening the Event.PASTE event and get image from Clipboard.I save the file in the FILE_LIST_FORMAT in an object and I try reset other formats, like TEXT_FORMAT, where Clipboard store my image name... but nothing change.Do you have any suggestion please?Thanks!
Dear All, In our project we are using BulltedList in TLF. We have requirement to change the bullet style. Is there any way to change the bullet style by using an fxg . I am trying to create the List amrker formet by using the following code sniplet var lnkelement:ListElement = childElement as ListElement; var lstMarkerFormat:ListMarkerFormat = ListMarkerFormat.createListMarkerFormat(new bulletblue()); &nbs
Long word are spit and wrapped to next line if word length exceeds width of container. But if a long word occurs next to a float, it's not spit, instead it's moved down beneath float. It looks weird. Happens with TLF 2.0, 2.1 and 3.0. I'm currently extending the composer to create text wrapping around static objects, so if I could get a pointer to where in the code this is handled, I'd be thankful. I'm assuming it's in BaseCompose.
I want to handle deletion of inlineGraphicElement only not the text of tlf. Can any one give suggession on this?
Hi all,I'm new to TLF and have managed to put together a small test project to try out right-to-left support. Maybe due to the overwhelming number of classes and APIs I am struggling a bit to create the equivalent of an autoresizing text field which grows as the user adds new text to it.I have a container (a canvas) to which I add my TextFlow. Example: textFlow = new TextFlow(); textFlow.direction = Direction.RTL; var p:ParagraphElement = new ParagraphElement(); &nbs
HI,We are facing the problem in auto resize width height in TextFlow controller. Content is overlaping withing the controller or sometimes it's seems like not full containt displaying on the control.We are writing the below code in the flashx.textLayout.events.CompositionCompleteEvent listiner to orgnize the above step: var controller:ContainerController = new ContainerController(); textFlow.flowComposer.composeToPosition(); var contentBounds:Rectangle = _controller.getContentBounds(); _controller.setCompositionSize(_controller.compositionWidth, contentBounds.height); textFlow.flowComposer.addController(_controller); textFlow.flowComposer.updateAllControllers();Please correct if are missing any steps above.Regards,R.BS
How to add a background image to SpanElement
Hii've inserted a linkElement with a code such as this: var edit:IEditManager = textFlow.interactionManager as IEditManager; edit.selectRange(from,to); edit.applyLink(url,'_blank'); textFlow.flowComposer.updateAllControllers();and up to here all ok!Now I must remove this linkElement, but I have not found functions to do this.any help is welcome.thank in advance JeanPaul
Hii've installed flash cs5.5 and I think there is some bugs in the native version of TLF, for example if I try the file 'EditText.as' compiling it in flash, and i open the contextMenu and close it without performing operations, some operations of keyboard, such as 'cancel' - 'backspace' - 'enter', don't work anymore, then if i reopen contextMenu and apply any word, such as 'copy', everything returns correct.If I try the 'EditText.swf' from textLayout samples vers 3, it works correctly.Now I would like to install the version 3, but i don't know as to do.I need help!thank in advanceJeanPaulPardon!! I've verified that the bug is present only with the debug of Flash; the .swf produced from compiler correctly works.I think whether to install the version 3 of TLF are enough to insert the textLayout.swc in the directory $(AppConfig)/ActionScript 3.0/libs/11.0 /is correct?
Hello,It seems there is a bug in TLF text in CS5.5 in "editable" mode.to reproduce:1.put a TLF on stage and set it to "editable".2. Set in 'Paragrph' section to 'Right To Left'.It remainsleft to right.3. set in 'Container and flow' to 'Right To Left' it does change direction, but if you try to put a cursor you can't. The only way to put a cursor is on the right of the TLF.Ideas anyone ?
Hi !Does anyone here know how to wrap text around an image in TLF ?Thanks,Aurélien (France)
public static function linkShowPrivate(e:FlowElementMouseEvent):void{ e.originalEvent.stopPropagation();But still bubbling to the STAGE, I am extremely anxious, ask how to do
__p.verticalAlign=VerticalAlign.MIDDLE;Useless
By setting fontfamily directly to textarea in mxml fonts get applied to special characters. But using tlf and setting fontfamily it does not apply. style.css ::@11220649-face{ src: URL("/Assets/Fonts/GandhariUnicode-Bold.otf"); fontFamily: "GandhariUnicode-Bold"; embedAsCFF: true;}snippet of source code ::textArea.textFlow.interactionManager.selectRange(beginIndex, endIndex);var textLayoutFormat:TextLayoutFormat = getTextLayoutFormat();textLayoutFormat.fontLookup = FontLookup.EMBEDDED_CFF;textLayoutFormat.fontFamily ="GandhariUnicode-Bold"; textLayoutFormat.renderingMode = RenderingMode.CFF;
Why FLEX s: textArea and s: RichEditableText default a P element, but can not afford to remove。in if(textArea.textFlow.mxmlChildren.length==1) { textArea.textFlow.removeChildAt(0); }*/BUT When another visit to this element of TEXTFLOW, that P had been born
Hi,I've been checking out the TLF for a project in hebrew and it has great features but I have a small but very annoying problem :When I create (even in the Flash IDE) an editable TLFTextField and I set the align to right (or center), the clickable area to set the focus on this text is not where it should be : it's on the right of the textfield.Has anyone ever had this problem ?Is there a known solution to get rid of this problem ?Here's a simple example so you can reproduce the issue.In this case, if you click on the left part of the textfield, it does not get the focus. If you drag your mouse to the right part of the textfield, the mouse cursor changes and if you click the field gets the focus. The clickable area also extends to the right of the textfield.package { import flash.display.MovieClip; import fl.text.TLFTextField; import flashx.textLayout.formats.TextLayoutFormat; import flashx.textLayout.element
Can some tell me why since upgrading to the Flex SDK 4.6 a TextArea does not return the correct size using getBounds? It seems to have an extra 18pixels added to the top and left. I have written a test script to prove the point. Any help would be appreciated as this is now causing me problems in a live application.<?xml version="1.0" encoding="utf-8"?><s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" creationComplete="onCreation()"> <fx:Script> <![CDATA[ import spark.components.Rich
<?xml version="1.0" encoding="utf-8"?><s:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" title="demo2"> <fx:Declarations> <!-- Place non-visual elements (e.g., services, value objects) here --> </fx:Declarations> <fx:Script>
Hi,I'm trying to make a component that "format as you type" based on spark TextInput.I'm using TextOperationEvent.CHANGING and the available operations (InsertOperation, DeleteOperation, and so on...)My problem is that I can manipulate the inserted or delted text but *not* the text already set in the control. And more important, I want to avoid a textChange eventor valueCommit since I don't want validation occurs until I finish the editing.I'm looking for a way to manipulate all text and I think the event is right (CHANGING), but I would need some example tp see how I can manipulate more text that the one inserted or deletein the that operation. Instructions in the class says I can manipulate and delete more text, but I was trying and digging in TLF and I can't see the way.Hope some one could help me and let me know where I can look or some sample to try.Thanks in advance!Carlos
Can anyone tell me how to integrate the TLF 3.0 into flash Builder 4.6 ? Any information will be appreciated.Thanks.
It would be great if somebody could tell how design.xml should look like so that the design mode wouldn't break on FB4.5? The old format workds fine with FLex 3, FB4, but not with FB4.5. After I add the component I created to the application and swithc to design mode I get this warning: The XML version of design.xml and the expected XML version do not match. Some Design Mode features will not be available for components defined within the SWC Expected XML version : 2 Actual XML version: Unknown I know this topic was discussed here: http://forums.adobe.com/message/3842212 However there is no answer to it. Changing XML version from 1 to 2 didn't actually solved the problem - this error was gone, bet all the components appeared in "custom" folder and namespaces were not working at all. So I guess design.xml was simply ignored. In case there are ways to solve this in some different way, I would appreciate some tips. Thanks a lot!
What is the tlf 3.0 limitations for android and ios ? Especially the RTL mode.
Hi all,I've got a Flex 3 project that needs to have support for right-to-left text added to it. Before I embark on what may be an impossible task I wanted to check if this is a) at all possible andb) which release(s) of the Text Layout Framework I should considerI cannot work out if TLF has some incompatibilities with older Flex SDKs or what the relationship between Flex SDKs and TLF is. I know Flex 4 offers better support for all this, but my easiest option at this stage is to see if the flex 3 project can be retrofitted.Any pointers that help me get started (maybe: remove this swc, add that swc, don't even try x, y and z etc) would be most helpful.Many thanks. Stefan
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
¿Ya tiene cuenta? Iniciar sesión
¿Aún no tienes una cuenta? Crea una cuenta
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.