Questions
Actividad reciente
I have a LinkElement in a RichEditableText's textflow. The link's href has encoded spaces in it (%20). If I catch a click event and debug down to the LinkElement level the href still appears correct, however when it opens in new browser tab the url has been re-encodedie %20 is now %2520 - as the % sign has itself been encoded. Is there a way that I can stop this behavior? Thanks
Hi all,I have a project that has to support both an external stylesheet, and chinese and arabic character sets. I have made it as far as integrating the CSSFormatResolver class, and using the basic examples that come along with it to get up and running. Basically, new textfields are generated like this:tlf = TextConverter.importToFlow(txt, TextConverter.TEXT_FIELD_HTML_FORMAT);tlf.format = null;// A CSSFormatResolvertlf.formatResolver = styleservice.formatResolver;// Choosing 500 as an arbitrary initial height, since I cannot use autoSize? controller = new ContainerController(this, textwidth, 500); tlf.flowComposer.addController(controller); tlf.flowComposer.composeToPosition(); contentBounds = controller.getContentBounds(); controller.setCompositionSize(controller.compositionWidth, contentBounds.height); tlf.flowComposer.updateAllControllers();The above almost works entirely - everything except center aligning text. In the stylesheet, I'm writing that property like t
I've found the Flex 3 style explorer to be a fantastic learning tool. http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer.html#But so many of the style properties are gone in Flex 4. Apparently you have to create a skin and do your work in there. It would be great if it would generate the skin in addition to the css! Anyone know of one?
Hi All,I tried a sample app to know what character TLF use for next line in plain text mode.However it use "\n" instead of "\r\n".Can any one tell me which one is correct .Thanks in advance
How can I implement this simple thing without getting list of all gaphic elements and adding listner to each? I can listen for mouse click event and get target as Loader which has parent.parent property as TextLine but I can't get InlineGraphicElement reference from it. Is there any functionality to determine which float element is under mouse pointer? Best Regards, Aleksey
After I set float property to left or right and then select a portion of text with anchor point of graphic element - then it becomes completely hidden by selection color. Is there any way to avoid/disable this bahaviour? Best Regards, Aleksey
So this is the error im getting:Error: Error #1502: A script has executed for longer than the default timeout period of 15 seconds. at flashx.textLayout.elements::FlowElement/getAbsoluteStart() at flashx.textLayout.compose::TextFlowLine/get location() at flashx.textLayout.compose::ComposeState/createTextLine() at flashx.textLayout.compose::ComposeState/composeNextLine() at flashx.textLayout.compose::BaseCompose/composeParagraphElementIntoLines() at flashx.textLayout.compose::ComposeState/composeParagraphElement() at flashx.textLayout.compose::BaseCompose/composeBlockElement() &nb
I need to add nested bullets and can able to remove the selected bullets at runtime. I need to add both bulleted and non bulleted text in the tlf at the same time.I tried to remove like this- tlf.listStyleType = ListStyleType.NONE;But it is not working as required. I want to remove only the bullets of the selected line.Can any one reply with some suggestions or code to achieve this.
I am apply boder .. it is working but i am not able to specifies the border sides like left and right only.Thanx in advanced...
Hi!I'm currently working on an upgrade of the Grails BlazeDS 4 Integration Plugin from Sebastien Arbogast and Burt Beckwith. I'm going to upgrade it to Spring BlazeDS Integration 1.5.0.RELEASE and Grails 1.3.7.When using the latest flex-rds-server.jar from the BlazeDS release, the Java Introspector doesn't work because it is unaware of groovy.lang.MetaClass used for the Grails Domain Objects.I would like to "patch" the classes in the flex-rds-server.jar but I can't find the sources. Aren't they available? Could you provide me with the sources?Best regards,Christian
Hi all,I'm trying to use TLF 3.0 in my Flex 4.5.1 project. I add the textLayout.swc as a library and remove the textLayout.swc from the SDK in the "Library Path" of Flash Builder.The link type is "Merged into code".But when I run my Spark Application, I got the following message :"VerifyError: Error #1014: La classe flashx.textLayout.container::TextContainerManager est introuvable."I have no preloader, my project is compiled against Flash 10.2 (required by the Flex SDK 4.5.1).What am I doing wrong ?Thank you in advance for your help
01. I have a test case with three ContainerControllers. They have the same width, but slightly variant lengths.02. I am using the Alice Chapter 1 as the test input.03. All four padding properties are set to 10. in a TextLayoutFormat object.04. The padding properties appear to be properly applied in all but one single case -- the last visible line in the final container is not properly padded.04. Assigning the TLF object to the format property of the TextFlow which is being composed -- as contrasted with assigning to the format properties of each of the three ContainerControllers seems to have some differential effect [attempted because I see that this particular 'style property' does not not have the usual inheritance], but, at the end of the day, no combination seems to guarantee that the final, visible line in the last of the linked containers will be properly formatted.05. I have searched the forrum and bug bases to the best of my ability, but can
Hi, I have set up Jenkins CI server with Xvnc to run FlexUnit tests during the build process. Everything worked fine until I started working with Sound - now Flash Player is started, throws a bunch of errors complaining about the missing sound card (which obviously, a headless virtual server doesn't have), and stops execution of the tests entirely. I am working around this problem by only running sound-related tests on my local machine, but since the entire purpose of a CI server is to make sure every commit runs through ALL the available unit tests, I was wondering if there is any way to make Flash Player "think" a sound card is available, much in the same way that Xvnc allows me to work without a physical monitor. Does anyone here have experience with this kind of problem? Or better yet: Is there a best practice or solution to this problem?Thanks in advance,w3ltraumpirat
TLF 3.0 final version is now on http://sourceforge.net/projects/tlf.adobe/files/3.0/current/It has passed the tests of Flex SDK team, and Flex SDK will pick up TLF 3.0 in their release next year.The RSL(.SWZ) will be posted later, which requires the signature of player runtime.TLF 3.0 includes, 1 Some critical bug fixes, which you can refer to the release note2 Three performance enhancements 2.1 long document scrolling 2.2 link rendering, which affects all textflows that includes LinkElement 2.3 TextContainerManager rendering, which affects spark components that take advantage of TLF, including RichEditableText, TextArea, RichText. 3 ContainerBreaks and ColumnBreaks featureI will create another topic to introduce the new feature.Hope you like our new version.Any questions and issue reports are appreciated.Thanks,TLF Team
I develop Flex/AIR applications and need to know if this is a dying technology and whether there's any point continuing to develop on this platform?
HiThis may be at bit embarrassing, but how can I add a link by using a button in a RichEditableText? I've been searching for hours without success.I'm working in a texteditor and all I want is to be able to mark a text, then hit a button "set link" where a link is added to the marked text in the RichEditableText-field. It was so easy with textformat.url and textformat.target in a classic textfield... 😞Thanks!
Hi,I am using Flex 4.5.1 and TLF 2.0, and unable to render the bitmap fonts text (fonts loaded from external flash swf).and i use the spark components.thanks,Mani
Hello!playerglobal.swc under "libs/player/10" has been substituted with the one under "libs/player/10.2".-target-player has been set to 10.2.0.When using MouseCursorData, there is no compile error.However, when running or debugging the application, Exception occurs.VerifyError: Error #1014: Class flash.ui::MouseCursorData Not Found.
Hi.I have a problem with resized images inside LinkElements.TLF Markup: <a><img source='"http://domain.com/images/6773_0.png"'/></a>LinkElement has a listener of FlowElementMouseEvent.ROLL_OVER. The image is too big for container so i adjust its size after it is loaded (when InlineGraphicElementStatus.READY). Here is the code for resize: if (image.actualWidth > CONT_WIDTH) { var coef:Number = image.actualWidth / image.actualHeight; image.width = CONT_WIDTH; image.height = image.width / coef; }Problem:The area where LinkElement dispatches the event is much smaller than si
I have been trying out TLF with various spark and FTE components, but unfortunately have been having issues with line-wrapping in Thai. It doesn't seem to break in between words.For example, I have tried a spark TextArea/RichText/RichEditableText and set locale for the components to 'th_TH'.Four Questions:1) Should Thai be working correctly?2) Does setting locale matter at all?3) Do FTE & TLF components have the same bidi/international capabilities? Or is TLF more robust? (For example, should thai/arabic/etc work the same in both a FTE/TLF component?)4) When highlighting Thai/Arabic/Hebrew in certain components, the characters shift all around with the cursor. Is this a bug?Thanks a lot
Hiwhat is the reccomended way to bind a datasource of a sub-component to a Bindable collection in the top level application location.in 3, for this I would use {Application.application.instance_of_bindable_variable}, now I get a warning saying that data binding will not be able to detect assingments to {FlexGlobals.topLevelApplication.instance_of_bindable_variable} so, how do i bind a data source of a sub-component to a variable instantiated at the Application level in Flex 4? Thanks,Jed
Hi, here is my question) How can i add a border to InlineGraphicElement? Is that possible? Why there is no such a property in TLF?
Hello, I've just upgraded to Flash Builder 4.5 and I'm getting this error when I'm running test from my ant build: java.util.concurrent.ExecutionException: Socket timeout waiting for flexunit reportUsually, this is because the CIListener is not added to the test suite but I'm using it as you can see here: core = new FlexUnitCore(); core.addListener(new CIListener());  
Hi everyonewe build an app using FlexMojos / Maven. Our app is at Flex SDK 4.5.1.21328.We have a dependency on textLayout configured in pom.xml and FlexMojos happily resolves the dependency during builds, like so: <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>textLayout</artifactId> <version>4.5.1.21328</version> <type>swc</type> <scope>caching</scope> </dependency>which retireves the .swc from herehttps://repository.sonatype.org/content/groups/flexgroup/com/adobe/flex/framework/textLayout/4.5.1.21328/and all is well.However when the app is run in a browser, we see a request to http://fpdownload.adobe.com/pub/swz/flex/4.5.1.21328/textLayout_4.5.1.2132
I have been trying to find the playerglobal.swc without any luck since adobe released player 11 to the public. It used to be hosted on labs but is no longer there since player 11 is not a labs project anymore. Adobe hasn't released a new SDK with the new playerglobal swc so I'm stuck between a rock and hard place when trying to do anything in molehill. If anyone has a link to the player global somewhere it would be much appreciated.Thanks,Dave
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.