-
Recente
Hi,I'm trying to learn the new Flex 4 component architecture by making some simple components.The first component I'd like to do is made up of a TextInput and a clickable BitmapImage.When the image is clicked, a list of buttons (number of button specified via a property) appears in a pop-up.From what I read in the specs, this is a case when I have to use createDynamicPartInstance.Unfortunately, there is few documentation at the moment about this method and calling this method always return null.Please find attached source code of this component.in openDropDown, createDynamicPartInstance always returns null. I've looked at the source code of createDynamicPartInstance. It tries to find an instance of button but there is no existing instance. How I am supposed to handle this?Thanks.Florian
e2publish is a sophisticated AIR application that uses the Text Layout Framework. I've just made the first beta prototype available of my website.http://www.e2easy.co.cc/e2publish.htmlAn ambitious project such as this relies on the feedback of test users. Comments, suggestions, recommendations, ideas, and bug reports. Let me know what you think?A video presentation about this project can be found here:-http://e2easy.wordpress.com/2009/10/19/announcing-an-adobe-air-publish-application/The most novel feature is way the text arranges itself to warp around the pictures, wherever they are placed on the page.
Revision: 12571Revision: 12571Author: klin@adobe.comDate: 2009-12-04 16:42:43 -0800 (Fri, 04 Dec 2009)Log Message:***********Fix for https://bugs.adobe.com/jira/browse/SDK-24118. Holding down space bar while navigating a ButtonBar would cause issues with selection. I've blocked input while the user is holding down spacebar. I've also tried to gracefully handle the case where a user holds down spacebar and begins to click on the ButtonBar with the mouse by dispatching the key up event to the original button that was pressed by the space bar.QE notes: NoDoc notes: NoBugs: SDK-24118Reviewer: JasonTests run: checkintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-24118 http://bugs.adobe.com/jira/browse/SDK-24118Modified Paths:************** flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBarBase.as
Revision: 12568Revision: 12568Author: gruehle@adobe.comDate: 2009-12-04 16:33:54 -0800 (Fri, 04 Dec 2009)Log Message:***********Fix the theme attribute for cornerRadius metadata on mx components. This required moving the metadata out of BorderStyles.as and into each file that includes BorderStyle.asQE notes: -Doc notes: -Bugs: SDK-24437Reviewer: KevinTests run: checkintestsIs noteworthy for integration: noTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-24437Modified Paths:************** flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NumericStepper.as flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ToolTip.as flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VideoDisplay.as flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as flex/sdk/trun
Revision: 12564Revision: 12564Author: aharui@adobe.comDate: 2009-12-04 16:26:10 -0800 (Fri, 04 Dec 2009)Log Message:***********Try to adjust verticalscrollposition when list gets filtered and vsp is > 0.QE Notes: NoneDoc Notes: NoneBugs: SDK-23726Reviewer: RyanAPI Change: NoIs noteworthy for integration: Notests: checkintests mustella/components/DataGrid, ListTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-23726Modified Paths:************** flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/List.as
We all know that there is a pretty big downside to creating potentially thousands of DisplayObjectContainers (TextLines).o - they are slow to createo - they may be short livedo - they occupy lots of memoryo - they may need to be generated frequentlyCurrently, there is only one way to find out all the information you need and that is to create all the TextLines for a given data set.This means that FTE does not scale well. It becomes very slow for large data sets that need to be regenerated.I am proposing a possible solution and hope that Adobe will consider it.If we had the right tools we could create a sliding window of display objects. With large data sets only a fraction of the content is actually visible. So only the objects that are actually visible need to be created. There is no way to do this efficiently with FTE at the present time.So we need a few new methods and classes that parallel what you already have.New Method 1)TextBlock.getTextLineInfo (width:Number, lineOffset:Number
Revision: 12547Revision: 12547Author: gauravj@adobe.comDate: 2009-12-04 12:21:21 -0800 (Fri, 04 Dec 2009)Log Message:***********Adding support for verify-digests to ant taskQE notes: None.Doc notes: NoneBugs: SDK-24278Tests run: checkintests Is noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-24278Modified Paths:************** flex/sdk/branches/3.x/modules/antTasks/src/flex/ant/MxmlcTask.java
http://www.flexinabox.com/index.cfm/2009/11/29/FlexPMDPDF--A-ColdFusion-PDF-report-generator-for-Flex-PMDEnjoy !Xavier
Hi GuysI'm trying to get Flex PMD running in my ant build but am running into a few problems.My task definition: <property name="flexpmd.version" value="1.0.RC5" /> <property name="flexpmd.dir" value="${LIBS.dir}/flexpmd" /> <taskdef name="flexPmd" classname="com.adobe.ac.pmd.ant.FlexPmdAntTask" classpath="${flexpmd.dir}/flex-pmd-ant-task-${flexpmd.version}.jar" > <classpath> <pathelement location="${flexpmd.dir}/flex-pmd-ruleset-api-${flexpmd.version}6.jar"/> <pathelement location="${flexpmd.dir}/flex-pmd-ruleset-${flexpmd.version}.jar"/> <pathelement location="${flexpmd.dir}/flex-pmd-core-${flexpmd.version}.jar"/> &nb
Revision: 12483Revision: 12483Author: aharui@adobe.comDate: 2009-12-03 23:06:41 -0800 (Thu, 03 Dec 2009)Log Message:***********Make sure the DG header gets updated even if invisibleQE Notes: NoneDoc Notes: NoneBugs: SDK-24340Reviewer: CoreyAPI Change: NoIs noteworthy for integration: Notests: checkintests mustella/components/DataGridTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-24340Modified Paths:************** flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridBase.as
Revision: 12480Revision: 12480Author: klin@adobe.comDate: 2009-12-03 18:07:06 -0800 (Thu, 03 Dec 2009)Log Message:***********Fix for http://bugs.adobe.com/jira/browse/SDK-22602. initialWidth/initialHeight are set in the completeHandler to the loader's width and height. However, the loader's width and height in this case default to an arbitrary size rather than the expected content height and width. Therefore, we should use the contentLoaderInfo to get the correct width and height for the embedded swf instead of clobbering the content's size.QE notes: NoDoc notes: NoBugs: SDK-22602Reviewer: GlennTests run: checkintests, various mustella tests that embed swfs.Is noteworthy for integration: YesTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-22602 http://bugs.adobe.com/jira/browse/SDK-22602Modified Paths:************** flex/sdk/trunk/frameworks/projects/framework/src/mx/core/MovieClipLoaderAsset.as
Revision: 12479Revision: 12479Author: gruehle@adobe.comDate: 2009-12-03 17:22:02 -0800 (Thu, 03 Dec 2009)Log Message:***********Reverting 12472, which breaks the build on Windows.Modified Paths:************** flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/LoaderUtil.as
Revision: 12472Revision: 12472Author: gruehle@adobe.comDate: 2009-12-03 16:28:17 -0800 (Thu, 03 Dec 2009)Log Message:***********LoaderUtil.normalizeURL() calls encodeURI() before returning. This fixes several issues when the main app/module has a high-ascii character in the path name. Note that Flex still requires user-specified urls to be encoded before being passed to the framework.QE notes: NoneDoc notes: NoneBugs: SDK-24366Reviewer: AlexTests run: CheckinIs noteworthy for integration: YesTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-24366Modified Paths:************** flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/LoaderUtil.as
Revision: 12466Revision: 12466Author: aharui@adobe.comDate: 2009-12-03 12:26:07 -0800 (Thu, 03 Dec 2009)Log Message:***********Update ASDoc to match specQE Notes: NoneDoc Notes: NoneBugs: SDK-24526Reviewer: MeAPI Change: NoIs noteworthy for integration: Notests: checkintests Ticket Links:*********** http://bugs.adobe.com/jira/browse/SDK-24526Modified Paths:************** flex/sdk/trunk/frameworks/projects/spark/src/mx/controls/listClasses/MXItemRenderer.as flex/sdk/trunk/frameworks/projects/spark/src/mx/controls/treeClasses/MXTreeItemRenderer.as
Revision: 12462Revision: 12462Author: aharui@adobe.comDate: 2009-12-03 12:08:55 -0800 (Thu, 03 Dec 2009)Log Message:***********DropDownList could catch a mouseDown on the bubble and think it was a click outside the dropdown and end up dismissing the dropdown.QE Notes: NoneDoc Notes: NoneBugs: SDK-24462Reviewer: JasonAPI Change: NoIs noteworthy for integration: Notests: checkintests mustella/gumbo/components/DropDownListTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-24462Modified Paths:************** flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/DropDownController.as
Revision: 12459Revision: 12459Author: aharui@adobe.comDate: 2009-12-03 11:16:58 -0800 (Thu, 03 Dec 2009)Log Message:***********Fix bugs in DG found from MXItemRenderer testingQE Notes: Might be two DG mustella test failures.Doc Notes: NoneBugs: SDK-24483, SDK-24451, SDK-24448Reviewer: CoreyAPI Change: NoIs noteworthy for integration: Notests: checkintests mustella/components/DataGridTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-24483 http://bugs.adobe.com/jira/browse/SDK-24451 http://bugs.adobe.com/jira/browse/SDK-24448Modified Paths:************** flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColumn.as flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as
When I go to the confluence site: http://opensource.adobe.com/wiki/display/site/Source then click on the link to browse thesource: http://opensource.adobe.com:81/svn/opensource/flex/Is there something wrong? Can you please fix the browsing.Thanks
How have people implemented pasting into a TextFlow?Ok, in a browser, you can rely on the usual behaviour of cut/copy/paste - but in AIR you need to define your own behaviour. (Unless someone knows how to invoke the usual behaviour without explicitly coding something?)If I attempt to code the behaviour for paste, then I run into the limitation for EditManager.insertText() and EditManager.overwriteText() that they behavevery strangely with strings that contain newline characters. When text alignment is set to TextFormatAlign.JUSTIFY, the final lines of paragraphs end up justified, and there is no way to correct the formatting of the text programatically. (You can only correct it by retyping return characters into the text box.)Does anyone know a workaround for this? - Or another way to implement paste that doesn't rely on the buggy EditManager.insertText() or EditManager.overwriteText() methods?
Revision: 12401Revision: 12401Author: gruehle@adobe.comDate: 2009-12-02 16:55:48 -0800 (Wed, 02 Dec 2009)Log Message:***********Spark (SkinnableContainer) creationPolicy was a simple property. The mx (Container) creationPolicy property had logic to inherit the parent's creation policy if not explicitly specified, but this only worked if the parent was also a Container.This change makes SkinnableContainer.creationPolicy an inheriting property, and fixes mx Containers so they can inherit creationPolicy from SkinnableContainer parents. This is all done behind the scenes by using a private inheriting style for backing storage.QE notes: Yes, tests need updating for new behaviorDoc notes: NoBugs: SDK-23955Reviewer: RyanTests run: checkintests, extensive cyclone testingIs noteworthy for integration: YesTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-23955Modified Paths:************** flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as flex/sdk/t
Hey everyone,I'm just starting to dig into the Text Layout Framework and have noticed a really weird bug. The test seems really basic so I'm bewildered as to why it would ever be released with the bug in it, so I'm hoping it's just my settings or something. I'm compiling with the Flex 3.3 SDK and I've included the textLayout.swc in my project.The bug is essentially this: click in the second line of text and the caret is positioned and sized correctly. Now click the first line of text and the caret is positioned quite far below both lines of text. Here's the test:package { import flash.display.Sprite; import flashx.textLayout.container.ContainerController; import flashx.textLayout.conversion.TextConverter; import flashx.textLayout.edit.EditManager; import flashx.textLayout.elements.TextFlow; impor
Revision: 12395Revision: 12395Author: klin@adobe.comDate: 2009-12-02 15:34:53 -0800 (Wed, 02 Dec 2009)Log Message:***********Fix for https://bugs.adobe.com/jira/browse/SDK-24361. My previous fix in 11954 is dependent on ScrollBar and Slider being added to the stage because of the calls to localToGlobal and globalToLocal. This caused issues in AIR where a scroll bar would update and get back unreasonable values from those methods. I've added an addedToStageHandler that forces a redraw whenever the component is added to the stage.QE notes: NoDoc notes: NoBugs: SDK-24361Reviewer: GlennTests run: checkintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-24361 http://bugs.adobe.com/jira/browse/SDK-24361Modified Paths:************** flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TrackBase.as
is there some way to set different values of bevelFilter to diferents parts of the text?
Hi,I want to implement an text editor where the user can create, move and resize text fields. So I took a RichEditableTextField and integrated it in the skin of the component that handles the drag and drop etc.The text should be editable if the user double clicks on the text field.But it seems, that there is a problem with that property: after the text field is deselected (enabled is set to false) and selected again (enabled = true) the text field is editable but the selection highlight and the caret are not drawn.I created a test project to demonstrate it to you (its appended).To reproduce the bug double click on the text, write something, and click on the white space to deselect it.Then double click again on the text, move the mouse cursor to the white space and back on the text (another strange thing) to change it to the text edit cursor. Then you can enter text again, but if you try to select to select some text the selection highlight is not drawn. If you change the browser window
Revision: 12375Revision: 12375Author: gauravj@adobe.comDate: 2009-12-02 09:37:00 -0800 (Wed, 02 Dec 2009)Log Message:***********Adding version support to ASDoc in the @includeExample tagQE notes: Please add new test case to the asdoc testsuite. Doc notes: NoneBugs: SDK-23579Tests run: checkintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-23579Modified Paths:************** flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocUtil.java flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.java
Hey Folk.I have text flow, which i try to make like Edit Box. For that, i set lineBreak to EXPLICIT and catch Keyboard event on Enter.The problem:My text flow includes paragraph which includes one spain.When i fill the spain with text - the content width equals to container width, i try to add InlineGraphicElement to this text flow, the all inside data didn't move left automaticly, means i don't see the graphic element, it located outside the bound, only when i pressed right button, all data moves left and then the graphic element shown.To solve it I think to check the width-s of container and the content and then if the content width is bigger then container width, move the content to the left, but cannot find how to make it.Any ideas for moving content manually or other solutions?P.S. Thanks for advice
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Você já é cadastrado? Entrar
Ainda não tem uma conta? Crie uma conta
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.