『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
Revision: 16264Revision: 16264Author: gauravj@adobe.comDate: 2010-05-20 13:03:15 -0700 (Thu, 20 May 2010)Log Message:***********Fix build by including mx.swc in the library pathModified Paths:************** flex/sdk/trunk/frameworks/projects/utilities/build.xml
Hello,I am encountering some difficulties getting markup that I created in a Flash Builder TextArea to look the same once it's imported into a Flash TLFTextField object. The content and styling (most) makes it over, but there are leading issues and some styling information not being used. To get the markup into the TLFField I use:tlfTextField.tlfMarkup = markupXML;I've tried the following as well, but when I do nothing seems to happen.tlfTextField.textFlow = TextFlowUtil.importFromXML(markupXML);Any thoughts?thanks,jr
I'm working on an application that uses embedded fonts. After the initial import, the fonts do not render correctly, when I use several fonts.If after the import I change the font, it works correctly.Any idea will be truly appreciated.
Hi All I am going to migrate my code form flex 3 to flex 4. I uses mx.core.ITextInput in my code i am getting follwing errors: 1061: Call to a possibly undefined method setSelection through a reference with static type mx.core:ITextInput.1119: Access of possibly undefined property selectionBeginIndex through a reference with static type mx.core:ITextInput.my code sinplet is textInput.setSelection(textInput.text.length, textInput.text.length);textInput.selectionBeginIndex;sorry i forgeeten imp thing my class is AutoCompleteModified that extends ComboBoxand get from// Copyright (C) 2003-2006 Adobe Macromedia Software LLC and its licensors.// All Rights Reserved. The following is Source Code and is subject to all// restrictions on such code as contained in the End User License Agreement// accompanying this product.//// Modified by Jens Krause [www.websector.de] to avoid issues using Flex 3// @SEE: http://www.websector.de/blog/2008/04/30/quick-tip-avoid-issues-using-adob
Hi,I am using several containers that display one textflow. Is there a way to trace the seperate texts that are being displayed in every container?Example:This is the text: "This is a really long text that is divided over several containers."container1 displays: "This is a really long ".container2 displays: "text that is divided ".container3 displays: "over several containers ".Now let's say I want to trace the text that is displayed by container2, so "text that is divided ".My first attempt was to get all the TextLines that exist in container2. Unfortunately I couldn't find a way to get the raw text out of these TextLines.I hope someone can point me in the right direction?Regards,Jorenvans
hi everybody,i downloaded a code from http://www.neave.com/dandelion/and i wanted to make few changes on it. But when i opened the main.fla file in flash and tried to play movie(ctrl+enter)This warning appears:so i´ve downloaded the SDFile from here:http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK;jsessionid=D5A7CBE6ABBFD34BF8324C222B106FAAbut its still not working:(can anybody help me where can be the problem?really really thanks!
I have a long document with a single textflow with a Div for each page.I assign one Div at a time to a TextArea for editing.I am doing a classical Find/Text sequence, first within a Div,then beyond the Div in the larger textflow.If I edit within a Div and the length of the Div text is changed,I don't know how to apply the Div changes to the long textflowso the next Find position is correct - it's off by the number ofcharacters equal to the length of the edited page length.Here's a puzzling bit of code: var l2:int = rtEditor.textFlow.flowComposer.damageAbsoluteStart; rtEditor.textFlow.flowComposer.updateAllControllers(); l2 = rtEditor.textFlow.flowComposer.damageAbsoluteStart;Under the circumstances described, l2 is correct. When updateAllControllers executes, it's still non-zero afterwards.
I am making a custom RTE and have a method that inserts a hype link into the text area. I have found that this works fine, except when I have modified the text in someway (i.e font size, wieght etc) then the link style does not appear. The link is there, it is clickable when holding down the ctrl key. Is this a bug, or does anyone have a way of fixing this? Here is some simple code that I get the same wierdness from as well. I just applied the font changes to the textArea in the creation complete, type some text, highlight it and click the button to apply a google.com link, and no blue underline style occurs:<?xml version="1.0" encoding="utf-8"?><s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/m
Hello,I am building a Spark-based TLF text editing component I'll be using in major application and I admit I am struggling.It sure would be nice if Adobe was able to release the source code for the demo editors they have up on the Lab site, but I digress.Anyway, I stumbled upon the EditManager and its capabilities today.The way I am going about this is attaching a new EditManager instance to the textFlow.interactionManager property of a Spark TextArea control.One thing I note when I do this is that the cursor doesn't appear in the TextArea with the above property set. That seems like it is a bug but it could be that the way I am going about trying to use an EditManager instance with the Spark TextArea is not best practice.I am struggling to insert a link into the TextArea with the EditManager.applyLink method.I am doing something like this:var em:IEditManager = textArea.textFlow.interactionManager as IEditManager;var stringLength:int = myString.length; // this is the length of t
Revision: 16143Revision: 16143Author: sameer@adobe.comDate: 2010-05-17 04:05:14 -0700 (Mon, 17 May 2010)Log Message:***********Updating the length of the HierarchicalCollectionView in case of refresh event.QE notes: NoneDoc notes: NoneBugs: http://bugs.adobe.com/jira/browse/FLEXDMV-2426Reviewer: SreeniTests run: checkintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/FLEXDMV-2426Modified Paths:************** flex/sdk/trunk/frameworks/projects/datavisualization/src/mx/collections/HierarchicalCollectionView.as
Here it says that this example is more of an explanation of framework than best practice because of the conflation of integration/unit testing concepts: http://docs.flexunit.org/index.php?title=Using_Asynchronous_Startup My question is, how do you define a line here between unit testing and integration testing? What kind of UI components asynchronous tests are then considered to be unit tests and not yet integration tests? Many books recommend having 100% code coverage with unit tests. How would this example look like, to be considered only a unit test and not integration test?
Heya,Trying to figure out how to do a horizontally scrolled text reader thing, but I can't get the width of the text.I'm just using a RichText container in Flex 4/AIR2 Beta 2, setting height="100% for the RichText container.For the TextFlow I'm setting columnWidth and columnGap, but it's not giving me any columns.What am I doing wrong?Cheers,Erik
I write code like this . but DynamicText is run , TLFTextField dosn't work only have text show .left is TLFTextField , Pictures can not show . right is DynamicText , it's work .I'm using Flash cs5 .code:// ***************************************************import fl.text.TLFTextField;import flashx.textLayout.formats.TextLayoutFormat;import flashx.textLayout.elements.TextFlow;var source:String ="Abcd <IMG SRC='images/1_wilma.png' width='123' height='180'/> DEF";var myTLFTextField:TLFTextField = new TLFTextField(); addChild(myTLFTextField); myTLFTextField.x = 10; myTLFTextField.y = 10; myTLFTextField.width = 300 myTLFTextField.height = 500; myTLFTextField.htmlText = source;DynamicText.htmlText = source;// ***************************************************
For some reason the FlexPMD is throwing error when I open FlexPMD Outline.My environment:Windows 7 64 bitFlex Builder 3.0.2 StandaloneFlexPMD 1.0.1The error is:Error creating the view.org.eclipse.ui.IMemento.getBoolean(Ljava/lang/String;)Ljava/lang/Boolean;When I click OK, it shows the Outline Window but it displays Error creating the view. Here are the full details:java.lang.NoSuchMethodError: org.eclipse.ui.IMemento.getBoolean(Ljava/lang/String;)Ljava/lang/Boolean; at com.adobe.ac.pmd.eclipse.flexpmd.view.OutlineView.restoreState(OutlineView.java:235) at com.adobe.ac.pmd.eclipse.flexpmd.view.OutlineView.createPartControl(OutlineView.java:187) at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:370) at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:227) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:592) &nb
Revision: 16098Revision: 16098Author: gauravj@adobe.comDate: 2010-05-13 12:47:41 -0700 (Thu, 13 May 2010)Log Message:***********Fix for issue where @includeExample tag to an MXML file casues a compiler error. The issue was caused due to improper closing of comment in mxml file. With this fix ASDoc does not short circuit in such a scenario, instead it logs that into validation_errors.logQE notes: NoneDoc notes: NoneBugs: SDK-26380Reviewer: DarrellTests run: checkintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-26380Modified Paths:************** flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.java
HelloI am trying to attaching tooltips to the link elements in my text flow.I added the roll over event listener with the link element and then trying to display the href of link element in the tool tip.The problem is when I am trying to get the particular link element over which the mouse is rolling as evt.currentTarget as linkElement,it is null.When I try to check it using trace, the output was [Object eventDispatcher]. I am writing the few effect related lines of my code:linkElement.addEventListener(MouseEvent.ROLL_OVER,applyToolTipToLink);and after adding event, I am creating tooltip usingprivate function applyToolTipToLink(evt:Event):void{ var linkElem:LinkElement = evt.currentTarget as LinkElement; spriteToolTip = ToolTipManager.createToolTip(linkElem.href,this.mouseX + 10,this.mouseY)as ToolTip;}Doesn't meet the required results and exception arise is "Cannot access a property or method of a null object reference."Any Solution.
Hi,I'm doing this to find the coordinates of a flowElement in the text flowvar flowline:TextFlowLine = textFlow.flowComposer.findLineAtPosition( flowElement.getAbsoluteStart() ); var rect:Rectangle = flowline.getBounds();With this, I get x and y of the whole line, x is always the container padding.How can I get the coordinates of a character, not the whole line?Tks.
Hi,The new TextArea and TextConverter import/export functionality looks very promising for finally manipulating rich text in our Flex apps, but we really need full HTML conversion support (not just the current subset). There is so much to be gained from completing this - you can look at the Flex forums and see that people want to use Flex but cannot because of the lack of rich text support.Can someone please ping in with any dates on when this would be completed?Thanks, Dave
Anybody knows?
Hi,I am trying to user TextFlow in my chat applictaion,everything working fine including emoticons but when these emoticons increases in numbers say 1000 then browser is gets hang.:(I dont no what to do in this scenario.Currently I have showsn only previous 100 chats but what if user enters 1000 emoticon in single chat message?
Hi, I am using the new way of creating unit tests following this page http://help.adobe.com/en_US/flashbuilder/using/WS27ECA937-059A-4308-A2E2-F3A3AAB64337.html#WSF04FE993-D0BA-4a2b-BDF1-8B8ABF22E448, which is really easier and more efficient than old ways. But I then found that the old ANT task "flexunit" for running unit test not working any more. So if I want to get the results of unit testing from a CI server, how could I do now?Thanks a lotMichael
If you use TLF fonts in any way inside a .SWF that is loaded as a resource within Flash Builder 4, you can't reference any of the instance names in the stage---everything breaks.Here is a sample (not mine) and better explanation:TLF Text breaks swfs Embedded in FlashBuilder I just spent quite awhile trying to figure out a pretty obnoxious bug I just discovered in CS5. My workflow typically includes a .fla file with all of the assets for a project that I will embed as a byte array in Flash Builder using code like this:[Embed(source=”assets/PROJECT_library.swf”, mimeType=”application/octet-stream”)]private var AssetLibrary : Class;Then in my library I have a MovieClip and the Class set to com.test.TLFText. The mc has just one textfield in it with an instance name of tlf_txt.If you have a Class assigned to a MovieClip that contains a TLF TextField and try to load that swf into flashbuilder like I explain above, you will not be able to create any classes out of elements in your library.Ope
Hi,I need A WYSIWYG editor, for that I am using Flex textlayout framework. My editor also supports smilies. To insert smilies I refered the example:http://www.sakri.net/blog/2009/03/23/insert-image-from-file-system-into-text-using-the-text-layout-framework/It is inserting the smiley.Now my requirement is instead of smilies I need to store there code like: for ":)". So I am exporting the textflow & then trying to process the exported xml.The problem I am facing is: I am unable to get the path of the smiley image inserted. Coz the above example inserts the image in the form of BitmapData. I also tried to get value of source attribute of flow.p.img but didn't get the path of the inserted smiley.Please help me in getting any wayout.Thanks in advance.
Hi, My Flash Player version: 10,1,50,433 (Debug version)My Flex SDK: 4.5 downloaded from the trunk. SVN Status shows no updates required.Font embedding is not working. I read some other threads on this, but it's pretty confusing stuff. Perhaps I just need confirmation if there is a bug in Flex 4.5 and if it's not currently possible to embed fonts in Flex (if that is indeed the case).Here is some my code: [Embed(source="/assets/MyriadPro-Bold.otf", fontFamily="Myriad Pro Bold", embedAsCFF="true")] private var _MyriadProBoldSubset:Class; public function FontTest() { Font.registerFont(_MyriadProBoldSubset); textLayoutFormat = new TextLayoutFormat(); textLayoutFormat.color = 0xFFFFFF; textLayoutFormat.renderingMode = RenderingMode.CFF;
Does someone have experience with using justified text and automatic hyphenation in TLF? Do i need to create my own hyphenation algorythmn or is there a solution allready like squiglly? Any pointers would be appreciated. Maurice
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
すでにアカウントをお持ちですか?ログイン
アカウントをお持ちではありませんか? アカウントを作成
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.