『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
Im trying to paste a formated textScrap in a middle of a sentence, but after im pasting the text it makes me a new line at the bottom, for example if i want to paste text in the middle of this line "herehere", it should look like heretextherebut instead it looks like:heretextherecode:var pastedTextFlow:TextFlow=TextConverter.importToFlow(textToPaste,TextConverter.TEXT_LAYOUT_FORMAT);var textScrap:TextScrap=new TextScrap(pastedTextFlow);the same thing happends withvar pasteOperation:PasteOperation=new PasteOperation(new SelectionState(textFlow,4,4),textScrap); _editor.editManager.pasteTextScrap(textScrap);_editor.editManager.doOperation(pasteOperation);any ideas?
when I set background color to a text and i export the text useing FXG format, the property backgroundColor does not exists,however all the other oroperties do exist like font size, font color, align, enc..
I'm trying to build a rich text editor with the TLF/FTE apis as well as using the Spark TextArea component found in the latest Flex 4 SDK. I need to apply formatting to a selected range of text and/or start a new 'format group' (so to speak) so the user will begin typing in the format that he/she has chosen. I'm able to get selected indexes of the text via TextArea.selectionActivePosition and TextArea.selectionAnchorPosition, but how do I migrate this information to use it with the TextFlow object?In the old pre FP10 api, you can just apply a TextFormat using the TextField.setTextFormat method and apply the default text format by setting the TextField.defaultTextFormat property. Is there a way to accomplish similar functionality in TLF/FTE? Here are a few usage scenarios:1. A user selects a range of text in the TextArea and uses a ComboBox to set the font of the selected text. The selected text has the new font applied to it.2. A user puts his text caret in the middle of some text and
Hi all,In Flex 3 SDK Container.as has method getChildren() and rawChildren property typed as IChildList.But In Flex 4 the interface IVisualElementContainer does not have a definition for getChildren() > thus neither SkinnableContainer nor Group have this method defined.Was this decision made deliberately to simplify the interface API?I find it convenient to have "getChildren" method implemented inside Group and SkinnableContainer, for example this can be useful if I want to access all visual childs of those containers to pass them along to some manager class or to dynamically set some common property of all childs ( e.g visibility).
Revision: 10867Author: aharui@adobe.comDate: 2009-10-05 09:50:12 -0700 (Mon, 05 Oct 2009)Log Message:***********FIx up createInFontContext for when there are no embedded fontsQE Notes: NoneDoc Notes: NoneBugs: SDK-23563Reviewer: CarolAPI Change: YesIs noteworthy for integration: Notests: checkintestsTicket Links:************ http://bugs.adobe.com/jira/browse/SDK-23563Modified Paths:************** flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as
HiAre there a way to define a specific ruleSet file and configure the flex pmd plugin to use that file.Thanks for your help !
Revision: 10838Author: aharui@adobe.comDate: 2009-10-02 14:41:01 -0700 (Fri, 02 Oct 2009)Log Message:***********Bug fixes from new controlBarVisible propertyQE Notes: NoneDoc Notes: controlBarVisible added Spark ApplicationBugs: SDK-23526 SDK-23562Reviewer: CoreyAPI Change: YesIs noteworthy for integration: Notests: checkintests mustella/gumbo/components/Application, PanelTicket Links:************ http://bugs.adobe.com/jira/browse/SDK-23526 http://bugs.adobe.com/jira/browse/SDK-23562Modified Paths:************** flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Application.as flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as
I just read this about accessibility:http://joshblog.net/2007/08/15/no-documentation-for-flash-and-flex-component-accessibility/I've been asking people about why they would ever use HTML over Flex, and most people complain either about Accessibility, Text processing (how performant is the text engine), and crashing 80's computers.Question is, is Accessibility going to be improved in Spark? or Flex 4? Or what are the plans with that?Thanks!Lance
Hi all. I've just started with text layout and I have a lot of questions, will be thankfull if smbdy can help me.1. How can I get the flow element according to mouse position over it, for exmple highlight the paragraph element on mouse over.2. How to implement drag&drop behavior to text flow elements, for example for images.3. How can I get the element in which the blinky "add text here icon" is located?Thanks.
Revision: 10819Author: aharui@adobe.comDate: 2009-10-02 09:31:18 -0700 (Fri, 02 Oct 2009)Log Message:***********protect against infinite loop in FocusManagerQE Notes: NoneDoc Notes: NoneBugs: SDK-14973Reviewer: CoreyAPI Change: NoIs noteworthy for integration: Notests: checkintests mustella/Managers/FocusManagerTicket Links:************ http://bugs.adobe.com/jira/browse/SDK-14973Modified Paths:************** flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/managers/FocusManager.as
Revision: 10818Author: aharui@adobe.comDate: 2009-10-02 09:25:32 -0700 (Fri, 02 Oct 2009)Log Message:***********Fix getVisibleApplicationRect in child apps linked with MarshallingSupport.asQE Notes: Need more tests on getVisibleApplicationRect to be sure it is returning the correct valuesDoc Notes: NoneBugs: SDK-22701, SDK-22451Reviewer: DarrellAPI Change: NoIs noteworthy for integration: Notests: checkintests mustella/MarshallPlanTicket Links:************ http://bugs.adobe.com/jira/browse/SDK-22701 http://bugs.adobe.com/jira/browse/SDK-22451Modified Paths:************** flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/MarshallingSupport.as
Revision: 10817Author: aharui@adobe.comDate: 2009-10-02 09:20:31 -0700 (Fri, 02 Oct 2009)Log Message:***********Fix a deeplinking problem in IE7QE Notes: NoneDoc Notes: NoneBugs: SDK-17197Reviewer: CoreyAPI Change: NoIs noteworthy for integration: Notests: checkintestsTicket Links:************ http://bugs.adobe.com/jira/browse/SDK-17197Modified Paths:************** flex/sdk/trunk/templates/swfobject/history/history.js
Hi Guys,no solution found about this problem... how set an auto scrollbar for TLF?This code was working with the first version of TLF Component for Flash CS4:--------------------------------------------------------------------------------------------------------------------------------------------------- private function setTextFromXML(oXML:XML):void { oTextFlow = TextFilter.importToFlow(oXML, TextFilter.TEXT_LAYOUT_FORMAT); oTextFlow.flowComposer.updateAllControllers(); } public function setSize(oWidth:int, oHeight:int):void { oTextFlow.flowComposer.addController(new ContainerController(this, oWidth, oHeight)); oTextFlow.flowComposer.getControllerAt(0).verticalScrollPolicy = ScrollPolicy.ON; oTextFlow.flowComposer.getControllerAt(0).setCompositionSize(oWidth, oHeight); oTextFlow.flowComposer.compose(); oTextFlow.
Revision: 10807Author: gauravj@adobe.comDate: 2009-10-02 07:58:10 -0700 (Fri, 02 Oct 2009)Log Message:***********Updating asdoc build to include textLayout sourcesQE notes: None.Doc notes: NoneTests run: ant asdocIs noteworthy for integration: NoModified Paths:************** flex/sdk/trunk/asdoc/build.xml
My colleague just wrote a very helpful and interesting article on TLF. I hope you find it as helpful.http://blog.grio.com/2009/10/going-with-the-flow-tips-and-tricks-for-using-the-adobe-flex-text-flow-component.html
Hello,I saw that bug FLEXPMD-69 is "UNRESOLVED" however the status is "CLOSED". What does it mean?Currently with RC4 I cannot suppress one specific violation even if I put // NO PMD ViolationName at the end.It suppresses all violations.Should I create a new bug or add a comment in FLEXPMD-69?Thanks,Smirnoff
Revision: 10802Author: aharui@adobe.comDate: 2009-10-01 22:19:47 -0700 (Thu, 01 Oct 2009)Log Message:***********I don't think Glenn meant to cut these lines.Modified Paths:************** flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ControlBar.as
I have been creating a test suite for an API that my company has been developing and have run into a bit of a snag trying to create tests for a couple of our async callback functions. I have tested a number of our async events properly using the addEventListener and addAsync combination and they have worked brilliantly, but these last couple are slightly different.The issue I am running into now is that these problematic async callbacks are not firing an event but just returning a url and so the function signature doesn't match what is expected by the addEventListener/addAsync combination I had been using so far for testing. Is there a different approach required to test an asynchronous method that is not firing an event??Thanks in advance for your help.
I was wondering if we have something for automating an assertion for a specific error that should not occur, rather than the test failing. This would be the opposite of expects="Error...". This may sound like an edge case, however I find that from time to time I like to test that a specific error has not occured, and it would be nice to do so outside of a try..catch block.Perhaps there may be something already in place that I am not aware of?Best,Eric
Revision: 10797Author: gruehle@adobe.comDate: 2009-10-01 16:51:26 -0700 (Thu, 01 Oct 2009)Log Message:***********Redo fix for SDK-23544. Instead of trying to hack in a theme-specific fix, just remove the borderStyle exclusion from ControlBar.Ticket Links:************ http://bugs.adobe.com/jira/browse/SDK-23544Modified Paths:************** flex/sdk/trunk/frameworks/projects/framework/defaults.css flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ControlBar.as flex/sdk/trunk/frameworks/projects/halo/defaults.css
Revision: 10785Author: gruehle@adobe.comDate: 2009-10-01 12:19:27 -0700 (Thu, 01 Oct 2009)Log Message:***********Fallout from 10766:- ControlBar default borderStyle is "none"- DateChooser "todayColor" style is theme="spark, halo", and back in framework defaults.cssQE notes: This should fix breaking testsDoc notes: -Bugs: SDK-23544, SDK-23545Reviewer: RyanTests run: checkintestsIs noteworthy for integration: noTicket Links:************ http://bugs.adobe.com/jira/browse/SDK-23544 http://bugs.adobe.com/jira/browse/SDK-23545Modified Paths:************** flex/sdk/trunk/frameworks/projects/framework/defaults.css flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ControlBar.as flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as
Hi,i m trying to use the spriteVisualElement for display a textFlow, it works, but when i do a selection on textFlow i have this errorTypeError: Error #1009: Cannot access a property or method of a null object reference. at flashx.textLayout.edit::SelectionManager$/computeSelectionIndexInContainer() at flashx.textLayout.edit::SelectionManager$/http://ns.adobe.com/textLayout/internal/2008::computeSelectionIndex() at flashx.textLayout.edit::SelectionManager/selectionPoint() at flashx.textLayout.edit::SelectionManager/setNewSelectionPoint() at flashx.textLayout.edit::SelectionManager/handleMouseEventForSelection() at flashx.textLayout.edit::SelectionManager/mouseMoveHandler() at flashx.textLayout.container::Cont
newbie question. The class I want to test dispatch events, how do I test for this the proper way? I only see tests about the result returns when calling a class ( whether the return is asynchrone or not, that's another topic I would say), but I think it's fair to also tests that events are properly fired isn't it? or am I going the wrong way?Thanks, Jean
Hi,I'm trying to implement TLF in out chat application and looks like setFocus() command in InteractionManager has a bug. Here is a code demonstrating it:var tf:TextFlow = new TextFlow(); // define TextFlow and manager objectsvar em:EditManager = new EditManager();cc = new DisplayObjectContainerController(this, 290, 38);tf.interactionManager = em; // compose TextFlow to display tf.flowComposer.addController(cc); // add event handler to listen for SelectionEvent tf.addEventListener(SelectionEvent.SELECTION_CHANGE, selectionHandler); tf.addEventListener(StatusChangeEvent.INLINE_GRAPHIC_STATUS_CHANGED, graphicStatusChangeHandler); tf.flowComposer.updateAllContainers(); // update visual representation // format configuration var charFormat:CharacterFormat = new CharacterFormat(); charFormat.color = me.colorsArray[me.currColor]; charFormat.fontFamily = "Tahoma, _sans"; charFormat.fontSize = 12; charFormat.lineHeight = "80%"; tf.hostCharacterFormat = charFormat; tf.interactionManager.setSele
Revision: 10766Author: gruehle@adobe.comDate: 2009-09-30 15:55:55 -0700 (Wed, 30 Sep 2009)Log Message:***********Re-commit compiler errors for other theme's styles feature. If Style metadata has a "themes" attribute, the style is only valid if that theme is applied. The Spark theme is applied by default. The halo theme can be specified as a compiler argument or by selecting the "MX Only" component set in Builder. All other themes need to be applied using theme+= instead of theme=. If you use theme= you will get warnings about styles used in CSS selectors, and errors if you use any theme-specific style as an attribute on an MXML tag.By default, styles that aren't valid for the current theme are errors. These can be changed to warnings with the report-invalid-styles-as-warnings compiler option.QE notes: Expect test breakageDoc notes: The new policy for themes needs to be documented.Bugs: none yet, but I'm sure there will be some...Reviewer: RyanTests run: checkintests, cycloneIs no
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.