-
Als letztes aktiv
I want to remove/invisible the blinking cursor when I use only SelectionManager for TextFlow.interactionManager. How can I accomplish this?.Thanks in advance
When I using the DisplayObject (eg. Moviclip) for the InlineGraphicElement.source, it’s not display when copy and paste on the TextFlow. However it shows if I use url for InlineGraphicElement.source. Can I target the InlineGraphicElement from the PasteOperation ?. How can I solve this problem?..Thanks in advance.
hi folks,is it possible to send a function call to the main movie by hitting a link within the text flow.... this would be a great if this is possible...thanks in advanceMichael Sprinzl
Hi,I'm looking for a list which contains all the rules and messages in a single place, with details and examples if possible. Now I can see them here:http://opensource.adobe.com/svn/opensource/flexpmd/trunk/flex-pmd-ruleset/src/main/resources/com/adobe/ac/pmd/rulesets/In fact, I am looking for a "Flex best practices" document.Thanks
Revision: 10704Author: aharui@adobe.comDate: 2009-09-29 17:09:12 -0700 (Tue, 29 Sep 2009)Log Message:***********Fix buttonbar measurementQE Notes: Lots of bitmaps need updatingDoc Notes: New controlBarVisible propertyBugs: SDK-23639Reviewer: EvtimAPI Change: YesIs noteworthy for integration: Notests: checkintests mustella/gumbo/components/ButtonBarTicket Links:************ http://bugs.adobe.com/jira/browse/SDK-23639Modified Paths:************** flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBarHorizontalLayout.as
I have a situation where I'd like my theory's datapoint function to return the results of an asynchronous call. My datapoints needs to be generated externally. Is this something that may be supported at some point in the future? Any thoughts on what that might look like?Thanks!Brian
Revision: 10693Author: aharui@adobe.comDate: 2009-09-29 13:11:37 -0700 (Tue, 29 Sep 2009)Log Message:***********Fix disabled state for ControlBar.Add controlBarVisible propertyQE Notes: NoneDoc Notes: New controlBarVisible propertyBugs: SDK-23491, SDK-23404Reviewer: CoreyAPI Change: YesIs noteworthy for integration: Notests: checkintests mustella/gumbo/components/PanelTicket Links:************ http://bugs.adobe.com/jira/browse/SDK-23491 http://bugs.adobe.com/jira/browse/SDK-23404Modified Paths:************** flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ApplicationSkin.mxml flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/PanelSkin.mxml flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/PanelSkin.mxml
Revision: 10690Author: aharui@adobe.comDate: 2009-09-29 11:17:36 -0700 (Tue, 29 Sep 2009)Log Message:***********Viewstack wasn't sending IList notifications when removeChild calledQE Notes: NoneDoc Notes: NoneBugs: SDK-23444Reviewer: RyanAPI Change: NoIs noteworthy for integration: Notests: checkintests mustella/components/ViewStackTicket Links:************ http://bugs.adobe.com/jira/browse/SDK-23444Modified Paths:************** flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ViewStack.as flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as
Revision: 10689Author: aharui@adobe.comDate: 2009-09-29 11:11:24 -0700 (Tue, 29 Sep 2009)Log Message:***********Modify TileBase renderer creation sequence to match those of List and DataGrid.QE Notes: NoneDoc Notes: NoneBugs: SDK-23487Reviewer: CoreyAPI Change: NoIs noteworthy for integration: Notests: checkintests mustella/components/TileList, HorizontalListTicket Links:************ http://bugs.adobe.com/jira/browse/SDK-23487Modified Paths:************** flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/controls/listClasses/TileBase.as
If you create a textflow with a single container.Then onEnterframe append a new div to the textflow.Then add a selection manager to add scrolling capability.The performance degrades the further down the container you scroll.If I remain with the first line of text at the top of the container, even after adding 10000 divs the performance remains stable - adding 100 divs every 4 seconds. If I turn off the onEnterFrame at that point I can still smoothly scroll the text in the container using the mouse wheel.However, when I turn the onEnterFrame back on and keep appending divs, the performance degrades according to how many lines I have scrolled down in the container.If you set the vertical scroll policy to VerticalAlign.BOTTOM, then you can see the result of this degradation quite quickly.Is there an efficient way to append text to a textflow and have the container align its content to the bottom?I only want to append text to the end of the flow. I imagine it would require some logic
What would it take to create a textile engine for the TLF? Is there one yet? Is the TLF fast enough to dynamically parse textile into a readable textflow so it doesn't look choppy?Thanks!Lance
Revision: 10677Author: gauravj@adobe.comDate: 2009-09-29 08:09:49 -0700 (Tue, 29 Sep 2009)Log Message:***********Fix for "In ASDoc, the word 'global' disappears from @SEE link text"QE notes: None.Doc notes: NoneBugs: SDK-23429 Tests run: asdoc testsuiteIs noteworthy for integration: NoTicket Links:************ http://bugs.adobe.com/jira/browse/SDK-23429Modified Paths:************** flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.java
Does the tlf support the <code> tag?If not, what would you recommend doing to make that happen?Thanks,Lance
If I have a spark TextArea with a scrollbar to scroll through the text, and I have 500+ lines of text, it takes about a half a second to update the display list: it's super choppy.If I have 2000+ lines of text, it almost can't update at all until I'm done scrolling.I'm using a MacBook, 10.5, and it usually does well on processor intensive animations and such, so I don't know what's up.Is this a problem with the text layout framework, or the TextArea? Does TLF support MS Word like text processing, that is, could you theoretically build a well-performing document editor with the TLF, or is it just for putting nice blocks of text here and there?And along the same lines, can the TLF support tons of text on the screen like html webpages. That is, could you have a full blog with thousands of lines of text on a single page like most html blogs are today, using the TLF and RichText and all that, and it would be smooth and fast?Thanks,Lance
I've run across what appear to be a few bugs in FlowComposerBase.First of all, the findLineAtPosition method has a preferPrevious:Boolean=false optional parameter. That parameter is not passed to the findLineIndexAtPosition call used within the findLineAtPosition method to look up the line index. Is this a simple oversight?Secondly, in the findLineIndexAtPosition method, if we cannot locate appropriate TextFlowLine object for the requested absolutePosition, we return '_lines.length'. That will never be a valid line index. Because of this condition, passing textFlow.textLength to either findLine or findLineIndex will always result in a runtime exception, as far as I can tell. Should it be returning '_lines.length - 1' instead, or is there more to this than I'm realizing?We are reproducing the exception by pasting 10 characters of text into an empty text flow and then immediately hitting the END key. Exception is thrown in NavigationUtil.endOfLine() me
HI All,I would like to insert links to the text, but not the html formatted one.I would like to add a handler function to the link and when the link is pressed the function could do whatever it is needed. It would be great if the link could have an invisible object or a value in order to keep some extra information.I hope there is a solution.Benjamin
According to the language reference, the CharacterFormat class has no backgroundColor property. Can this be right? I can't believe they omitted such a basic thing. There must be some other way to change the background color of a span of text, but how?
Hi Does anyone know the source code of Text Layout Framework online demo Link is http://labs.adobe.com/technologies/textlayout/demos/
(http://bugs.adobe.com/jira/browse/SDK-19578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel)Not with standing it's taken 6 months for anyone to notice this needs to be an opt-in feature (I personally think, even in a 3D layout, tool tips should be scaled, even to very small sizes), how do people think this should be handled ?Any sensible implementation is going to mean altering IToolTipManager, right, to add something like either 'miniumScaleSize:Number=0.1' or 'scaleToolTips:Boolean=false' ?http://bugs.adobe.com/jira/browse/FLEXDMV-2048 suggests I should probably be adding a new method to that interface *anyway*, but I feel I might now be touching a *lot* more stuff than I could do. I've no checked, but are there any (many) alternative IToolTipManager implementations I would break ?
Hi, I'm trying to use Flex PMD in a large Flex codebase. It seems to work fine with smaller projects but I have one pretty large project and both if I run it from ant or command line it fails with a pretty generic error. I thought I would check if anyone has run into this error before. This is the output from the console window (I ran the ant task from within Flex Builder).flexPmdWithDefaultRuleset: [flexPmd] Sep 7, 2009 10:55:55 AM com.adobe.ac.pmd.engines.AbstractFlexPmdEngine loadRuleset [flexPmd] INFO: Ruleset: C:\Users\Andy\AppData\Local\Temp\all_flex62150.xml [flexPmd] Sep 7, 2009 10:55:55 AM com.adobe.ac.pmd.engines.AbstractFlexPmdEngine loadRuleset [flexPmd] INFO: Rules number in the ruleSet: 84 [flexPmd] Sep 7, 2009 10:55:55 AM com.adobe.ac.pmd.FlexPmdViolations computeViolations [flexPmd] INFO: computing RulesList [flexPmd] Sep 7, 2009 10:55:55 AM com.adobe.ac.pmd.FlexPmdViolations computeViolations [flexPmd] INFO: computing Fil
Hi I am running textlayout_example but while compile itself showing error1.1061: Call to a possibly undefined method selectRange through a reference with static type flashx.textLayout.edit:ISelectionManager2.1120: Access of undefined property TextConverter.3.Could not resolve <s:Application> to a component implementation4.1119: Access of possibly undefined property INLINE_GRAPHIC_STATUS_CHANGE through a reference with static type Class.Am using flexbuilder 3 with flexsdk4.0 and flashplayer 10.0.32. I dono what was d problem... Could anyone know about to fix.
I am interested in implementing the org.flexunit.runner.IRunner interface. However, there is a reference to the concrete class AsyncTestToken:function run( notifier:IRunNotifier, previousToken:AsyncTestToken ):void;Can previousToken be typed to an interface instead?Robert
Does FlexUnit 4 support the old naming conventions for testMethods, setUp and tearDown(), as an alternative to the new metadata? If not, please consider it. It would be much less work to migrate older tests if people didn't have to add [Test] everywhere just so FlexUnit can find the test methods.It would be great if migrating a test case was, in most cases, a matter of removing the "extends TestCase", updating packages, and making setUp and tearDown public. Oh, and the asserts are a new style, but that can be made easier (I'll start another thread for that).
AS3 doesn't have static method imports as nice as Java 5, but we can do much the same thing with package-level functions.We could use these to cut down on the amount of typing necessary in FlexUnit 4.I added this to my fork of AsUnit:http://github.com/robertpenner/asunit/commit/bdb293436491792625ddc1f637c81c723986b87dExample:package asunit.asserts { import asunit.framework.Assert; public const assertEquals:Function = Assert.assertEquals;}In the test case, this would be used like so:import asunit.asserts.*;...// in test methodassertEquals(...
With FlexUnit 4 in Flash Builder 4 Plugin Beta, I created 1 suite with 1 class with 1 default failing test method. When I ran it, the assert failure had a call stack 60 methods high. Is this a bug? The stack trace has several "async" methods, e.g. applyExplosivelyAsync(). This seems strange because I'm not using async at all. Is this intended behavior? Robert Test method Not yet implemented at flexunit.framework::Assert$/fail() at WidgetTest/testWidget() at Function/http://adobe.com/AS3/2006/builtin::apply() at flex.lang.reflect::Method/apply() at ReflectiveCallable/run() at org.flexunit.runners.model::FrameworkMethod/applyExplosivelyAsync() at org.flexunit.runners.model::FrameworkMethod/invok
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Sie haben bereits einen Account? Anmelden
Noch kein Konto? Konto erstellen
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.