『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
-
新着順
Hi all,what happened to flex-cpd , I've seen in svn (tag 1.0-RC1) that there was a flex-cpd project,.I don't know if it was a complete or uncompleted project.Has someone tried it? Is it planned to support flex-cpd?Thanks,Nico
Revision: 12211Revision: 12211Author: gauravj@adobe.comDate: 2009-11-25 13:58:28 -0800 (Wed, 25 Nov 2009)Log Message:***********Fix for ASDoc @SEE links don't work if setter precedes getter in AS fileQE notes: NoneDoc notes: NoneBugs: SDK-23816Tests run: checkintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-23816Modified Paths:************** flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.java
Revision: 12207Revision: 12207Author: gauravj@adobe.comDate: 2009-11-25 11:53:15 -0800 (Wed, 25 Nov 2009)Log Message:***********Fix for metadata prevents ASDoc from generating output for setter/getters QE notes: NoneDoc notes: NoneReviewed By: PaulBugs: SDK-23940Tests run: checkintests, asdocIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-23940Modified Paths:************** flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/genext/GenerativeSecondPassEvaluator.java
Hi all!I would like to know how to generate the html report with the maven plugin.It's said that "Currently, FlexPMD produces a XML report by default, plus an HTML report when invoked by the Maven site plugin."I added the section correponding to the FlexPMD in my pom project as following : <plugin> <groupId>com.adobe.ac</groupId> <artifactId>flex-pmd-maven-plugin</artifactId> <version>1.0.RC4</version> </plugin>but when I do a site generation, it just generates me a pmd.xml report with the violations (good!) but the flexpmd.html report generate
I am looking for the bounding box around a string. I know that the string exists on a given line, i checked using TextLine.textBlock.content.text.here is what I am doingvar tokens:Array = editor.text.split(myPattern); //myPatter is a RegExp,//editor is a RichEditableTextvar pos:int = 0;for (var i:int=0;i<tokens.length-1;i++) { var t:String = tokens; pos += t.length; var span:SpanElement = editor.textFlow.findLeaf(pos) as SpanElement; var relativePosition:int = pos - span.getAbsoluteStart(); //var length:int = pos+searchInput.text.length; var bbox:Rectangle = spanBBox(span,pos,relativePosition,search.length); /// the rectangle is then used to place sprites etc,,, pos += searchInput.text.length; // searchInput is TextInpu}private function spanBBox(abs:int,rel:int,len:int):Rectangle{
Hi-I'm trying to add the ability for users to select a chunk of text in a textflow, and then we'll highlight it (i.e., change the backgroundColor and backgroundAlpha). I can make this working following the basic premise from the SimpleEditor sample:var cf:TextLayoutFormat = new TextLayoutFormat();cf.backgroundColor = 0xff0000; cf.backgroundAlpha = 1; IEditManager(_textFlow.interactionManager).applyLeafFormat(cf); _textFlow.interactionManager.setFocus();But that example works with an EditManager as the interactionManager. We do not want users to be able to edit the textflow, though.So, there are two pathways, and I don't know how to do either one:1. Could I have an EditManager, but dis-allow all interactions that would lead to the content of the text changing?2. Can I get the selected range from a SelectionManager and apply text formatting to that range?(I'm using rev 460 right now, if that matters.)Thanks!-Matt
When I use SelectManger for the texflow's interactionManager, href links in the XML file works as expected. But now I need to edit (add highlight feature) the text, so I am now using EditManager instead of SelectionManager, which removes/disables the hyperlinks in the XML.You can do a simple test by downloading the examples zip, and replace SelectionManager with EditManager in the CustomLinkEventHandler class file.So any suggestions? Thanks again.
Revision: 12189Revision: 12189Author: gruehle@adobe.comDate: 2009-11-24 14:57:05 -0800 (Tue, 24 Nov 2009)Log Message:***********Add a comment to UIComponent.stateChanged() to clarify that pseudo selectors are only supported on selector subjects.QE notes: -Doc notes: -Reviewed By: -Bugs: -Tests run: checkintestsIs noteworthy for integration: NoModified Paths:************** flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as
Is there an easy way to say "when I push tab, insert a space 4 spaces wide", such that when I press delete, it deletes it as if it were one object?There's gotta be something simple I'm missing.Thanks.
Is it posible to get a reference to char as DisplayObject to apply filters like when applying to a DisplayObject?
I'm a little confused how the paddingleft, right, bottom, and top properties are supposed to be behave in a TextFlow. For instance, in the following, the only way to actually apply the padding left seems to be to apply the style to the TextFlow itself.var tf:TextFlow = new TextFlow(null);var p:ParagraphElement = new ParagraphElement();var link:LinkElement = new LinkElement();link.href = "http://www.adobe.com"; var linkSpan:SpanElement = new SpanElement();linkSpan.text = "Some Text";linkSpan.paddingLeft = 20;link.paddingLeft = 20;link.addChild(linkSpan); p.addChild(link);p.paddingLeft = 20;//tf.paddingLeft = 20; // this sets the paddingtf.addChild(p);Am I missing something? Thanks for any help.
Revision: 12187Revision: 12187Author: gauravj@adobe.comDate: 2009-11-24 14:14:48 -0800 (Tue, 24 Nov 2009)Log Message:***********Fixes for ASDoc bugs:Doc for a simple class with a bindable property adds IEventDispatcher methods.No ASDoc content for autogenerated methods and properties from the tag.asdoc fails with IndexOutOfBoundsException on code that compiles without warnings.QE notes: NoneDoc notes: NoneReviewed By: PaulBugs: SDK-23864, SDK-23941, SDK-24281Tests run: checkintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-23864 http://bugs.adobe.com/jira/browse/SDK-23941 http://bugs.adobe.com/jira/browse/SDK-24281Modified Paths:************** flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/AbstractSyntaxTreeUtil.java flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/BindableProperty.vm flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/BindableSecondPassEvaluato
How do you get the position of the first character of the line in which the anchor is on? Something simple but I can't find the API. I'm trying to do this on the spark.components.TextArea with a TextFlow.Thanks!
I need to simply display standart HTML-formatted text in my Flex 4 application. The text I need to display contains simple elements like "p" and "b", like so:<p>The <b>quick</b> brown fox jumped over the <i>lazy</i> dog.</p>How do I display text like this inside of Flex? When I load the HTML file containing this text and set my RichText's "text" property with it, I get unformatted text. What am I doing wrong? <!-- example --><s:RichText text="{htmlLoader.lastResult}"/><fx:Declarations> <s:HTTPService id="htmlLoader" url="assets/legal/test.html"/></fx:Declarations><fx:Script> <![CDATA[ private function onCreationComplete():void { htmlLoader.send(); } &nb
Hi all,I have seen an example of spell check adornment(http://www.matthewfabb.com/examples/tlf/spell_check_adornment.html). As tlf is not providing in-built functionality of spell check. So I also have implemented the same but I am facing some problems that I would like to ask. With the positive hope I would like to ask you my problems. The problems are as follows:1. Getting red underline:I tried to get the misspelt word with red underline but I didn't get how to do so? I have underlined the word using textDecoration property of span & color. But I am getting the world also in red. Can you please suggest me idea how to do?2. TLF performanceUsing Mihai Corlon example(http://corlan.org/2009/01/19/how-to-use-text-layout-framework-in-flex-32-or-air-15/). What I am doing is: on every space(keydown event) export flow xml(var xmlOut:XML = TextFilter.export(_textFlow,TextFilter.TEXT_LAYOUT_FORMAT,ConversionType.XML_TYPE) as XML;) then split each word in spans, on the basis of word co
Revision: 12135Revision: 12135Author: gauravj@adobe.comDate: 2009-11-23 19:05:17 -0800 (Mon, 23 Nov 2009)Log Message:***********Fix for ASDoc not showing 'static' in the output for a static setter QE notes: NoneDoc notes: NoneBugs: SDK-24140Tests run: checkintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-24140Modified Paths:************** flex/sdk/trunk/asdoc/templates/class-files.xslt
Hello,I have a Spark Text Area that has been packaged into a a SWC, and then that SWC is implemented in a Flex 4 application, then that Flex application is loaded into a SWFLoader in a parent Flex 4 application.In this environment, the highlighted text in the TextArea is completely black. What style properties would be used to address this and why is it black?Also, even more troubling, the textFlow of the TextArea is not dispatching the FlowOperationEvent.FLOW_OPERATION_BEGIN or FlowOperationEvent.FLOW_OPERATION_END events in this configuration.Any recommendations?
Revision: 12126Revision: 12126Author: klin@adobe.comDate: 2009-11-23 15:41:51 -0800 (Mon, 23 Nov 2009)Log Message:***********Recommitting 12078. Fixed a bug in the check-in test that was breaking sometimes.QE notes: NoDoc notes: NoBugs: SDK-24264Reviewer: RyanTests run: checkintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-24264Modified Paths:************** flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FlexEvent.as flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer.as flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ScrollBar.as flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Slider.as flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TrackBase.as flex/sdk/trunk/frameworks/tests/basicTests/spark/scripts/ScrollBarTestScript.mxml
Revision: 12125Revision: 12125Author: gauravj@adobe.comDate: 2009-11-23 15:19:06 -0800 (Mon, 23 Nov 2009)Log Message:***********Fix for ASDoc showing wrong data type in HTML outputQE notes: NoneDoc notes: NoneBugs: SDK-23815Tests run: checkintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-23815Modified Paths:************** flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ClassTable.java
Revision: 12122Revision: 12122Author: gauravj@adobe.comDate: 2009-11-23 14:42:32 -0800 (Mon, 23 Nov 2009)Log Message:***********ASDoc Fixes for:Flex classes used as Skin Parts are made into links instead of plain text.Doc for an interface that extends IEventDispatcher makes IEventDispatcher a link instead of plain text.QE notes: NoneDoc notes: NoneBugs: SDK-23747, SDK-23748Tests run: checkintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-23747 http://bugs.adobe.com/jira/browse/SDK-23748Modified Paths:************** flex/sdk/trunk/asdoc/templates/class-files.xslt flex/sdk/trunk/asdoc/templates/class-parts.xslt
I am trying to implement a function that inserts BreakElements at a given position when the user presses the Shift+Enter keys. In order to prevent the default behavior of the EditManager (splitParagraph), i tweaked the keyDownHandler to differenciate between Enter and Shift-Enter).It works fine, but i would like to define an operation for inserting breaks, so the user can undo it, just like undoing any TextOperation, I started making my own class that extends FlowTextOperation and filled in this code in the doOperation method public override function doOperation():Boolean { var span:SpanElement = textFlow.findLeaf(textFlow.interactionManager.activePosition);var p:ParagrahElement = span.getParagraph(); span.splitAtPosition((textFlow.interactionManager.activePosition - span.getAbsoluteStart()); var br:BreakElement = new BreakElement(); var index:int = p.getChildIndex(span); p.addChildAt(index+1,br); return true; }Any ideas on how to implement the undo method? Is it impossible because
Hello,I have a text flow in which I have an image. I listen to the corresponding StatusChangeEvent.INLINE_GRAPHIC_STATUS_CHANGE to find out when the image gets loaded and as recommended by the TLF documentation I try to compose the text again so the image gets visible.The problem is that I get the event (StatusChangeEvent.INLINE_GRAPHIC_STATUS_CHANGE) in the middle of a call to composeToPosition(). In my scenario I listen to UPDATE_COMPLETE for my wrapping container and then I do some size adjustments to the Sprites that contain the text flow and within this piece of code I invoke composeToPosition() so I have the whole text composed. Within this call my StatusChangeEvent.INLINE_GRAPHIC_STATUS_CHANGE event handler gets invoked and this is a surprise for me. I thought that my StatusChangeEvent.INLINE_GRAPHIC_STATUS_CHANGE handler would be invoked when the image gets loaded but somehow the event is fired when I call composeToPosition(). This led to problems because I try to get the dimen
Revision: 12120Revision: 12120Author: aharui@adobe.comDate: 2009-11-23 13:19:13 -0800 (Mon, 23 Nov 2009)Log Message:***********Change hacks in ButtonBar that force every renderer to update. Suppress selectedIndex adjustment in ButtonBarBase if the dataProvider is a ViewStackQE Notes: Some Mustella test will fail because there is a bug in the test media that is now exposed because we cleaned up the way we adjust selectedIndex. ButtonBar/SWFs/Assets/TestComp.mxml does not add newVS to the display list (and should)Doc Notes: NoneBugs: SDK-24087Reviewer: RyanAPI Change: NoIs noteworthy for integration: Notests: checkintests mustella/gumbo/components/ButtonBarTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-24087Modified Paths:************** flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ButtonBar.as flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBarBase.as flex/sdk/trunk/frameworks/projects/spark/src/spark
Revision: 12119Revision: 12119Author: aharui@adobe.comDate: 2009-11-23 13:08:32 -0800 (Mon, 23 Nov 2009)Log Message:***********Fix edit sessions in TextInputs yet again.QE Notes: NoneDoc Notes: NoneBugs: SDK-23397Reviewer: CoreyAPI Change: NoIs noteworthy for integration: Notests: checkintests mustella/components/DataGridTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-23397Modified Paths:************** flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/controls/DataGrid.as
Revision: 12117Revision: 12117Author: gauravj@adobe.comDate: 2009-11-23 12:14:41 -0800 (Mon, 23 Nov 2009)Log Message:***********Update "ant asdoc" to work with airframework and airspark projects.remove reference for spark.swc from airframework/build.xmlQE notes: None.Doc notes: NoneTests run: ant asdocIs noteworthy for integration: NoModified Paths:************** flex/sdk/trunk/asdoc/build.xml flex/sdk/trunk/frameworks/projects/airframework/build.xml
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.