『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
HiI want to get the 'TextBlock' related to the 'ParagraphElement' how i can get it, Some on has posted thatvar textBlock:TextBlock = paragraph.textBlock; but it's not make any sense ; also 'ParagraphElement' does't have 'textBlock' property. Thanks in advance.OKK
When I split and merge a paragraph a line break is inserted. Does anyone know a way around this. (Simply deleting the last character seems inelegant and, more importantly, prone to failure). Here's the code:var textFlow:TextFlow = TextConverter.importToFlow( "Hello World", TextConverter.PLAIN_TEXT_FORMAT);textFlow.interactionManager = new EditManager(); var textFlow2:TextFlow = textFlow.splitAtPosition(5) as TextFlow;textFlow2.interactionManager = new EditManager();textFlow.mxmlChildren = textFlow.mxmlChildren.concat(textFlow2.mxmlChildren);trace(textFlow.getText()); // returns "Hello\n World"- Daniel Freiman
Hi,Do we need to add separate controller for each container in the TLF?or can we controle by using single controler all the containers..because my containers width and height will be different.. regards,sundar
Revision: 13171Revision: 13171Author: gruehle@adobe.comDate: 2009-12-22 16:02:35 -0800 (Tue, 22 Dec 2009)Log Message:***********Add DefaultButtonSkin to CobaltClasses. This fixes the compile error when using the cobalt theme.QE Notes: NoneDoc Notes: NoneBugs: SDK-24799Reviewer: ChetAPI Change: NoIs noteworthy for integration: Notests: checkintests Ticket Links:*********** http://bugs.adobe.com/jira/browse/SDK-24799Modified Paths:************** flex/sdk/trunk/samples/themes/cobalt/src/CobaltClasses.as
Revision: 13170Revision: 13170Author: klin@adobe.comDate: 2009-12-22 15:51:28 -0800 (Tue, 22 Dec 2009)Log Message:***********Fix for an RTE in TrackBase and SliderBase when the track doesn't exist. Needed null check in the mouse move handlers.QE notes: NoDoc notes: NoBugs: SDK-24793Reviewer: JasonTests run: checkintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-24793Modified Paths:************** flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.as flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TrackBase.as
Just out curiousity, how many people are working on the TLF team?
How can I forcibly clear all selections and caret cursors from a TextFlow? There are no methods in SelectionManager that accomplish this. SelectionManager.selectRange() selects a range - but how do I unselect EVERYTHING?I need to force a TextFlow (ie. associated Containers) NOT to show any selections or caret cursors. I only want one TextFlow to appear to have keyboard focus.I have an application with more than one TextFlow on the screen. Everything works fine when I test the application in the browser (apart from a small problem setting focus initially - that doesn't happen in AIR), but when I build it as an AIR application I get multiple flashing carets or selections on the screen. One for each TextFlow.
I am working on custom bullet and adding a span element with a particulate character and with a particular font-family now user can apply or remove custom bullet how can I identify the spanwhich I have added . I tried giving id to span but when ever I import TLF changes the id ofthe span as per its position.- Mahesh
Previously Ctrl+c, and Ctrl+v allowed me to copy and paste editable TLF text in AIR 1.5.3 on OSX. Since updating to the SWCs in the Flex 4 beta 2 build (502 -715519), this no longer works on OSX, but continues to work OK on Windows.I know it shouldn't really be Ctrl anyway (instead Cmd) but users could at least use keys to perform these operations. Now it seems to replace the selected text with the letter pressed (c, v, x), ignoring the event.controlKey attribute?I don't see anything in the EditManager or SelectionManager relating to handling copy and paste, is this something the built in to the text engine now? The only mentions I see to copy and paste are to do with the context menu (forgive me if I've just missed something).I've tried to confirm I'm not doing anything funky in my code (disabled all related event handling and so on) but I'd be interested to hear whether anyone knows any more about this regarding Mac support to see whether it's a genuine issue?Also quick sidenote, I s
Revision: 13139Revision: 13139Author: deeptika@adobe.comDate: 2009-12-21 21:23:01 -0800 (Mon, 21 Dec 2009)Log Message:***********Removing warnings. Returning false now instead of null for a method where boolean return type is expected.Modified Paths:************** flex/sdk/trunk/frameworks/projects/automation_flashflexkit/src/mx/automation/delegates/flashflexkit/UIMovieClipAutomationImpl.as
Revision: 13137Revision: 13137Author: deeptika@adobe.comDate: 2009-12-21 17:56:13 -0800 (Mon, 21 Dec 2009)Log Message:***********Fix for FLEXENT-1197 (Automationname for VGroup,HGroup and TileGroup is created using all the ids of the sub components)Returning super automationName if id is not found, instead of joining the automation names of all the children.Ticket Links:*********** http://bugs.adobe.com/jira/browse/FLEXENT-1197Modified Paths:************** flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkGroupAutomationImpl.as
Revision: 13136Revision: 13136Author: deeptika@adobe.comDate: 2009-12-21 17:40:28 -0800 (Mon, 21 Dec 2009)Log Message:***********Fix for FLEXENT-1196 (Replay of click on NavigatorContent does not close the combobox)We need not record OPEN event when it is triggered from a KeyBoard event that types a character. Replaying the type event would automatically open the drop down.Ticket Links:*********** http://bugs.adobe.com/jira/browse/FLEXENT-1196Modified Paths:************** flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkComboBoxAutomationImpl.as flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/supportClasses/SparkDropDownListBaseAutomationImpl.as
Revision: 13135Revision: 13135Author: klin@adobe.comDate: 2009-12-21 17:25:54 -0800 (Mon, 21 Dec 2009)Log Message:***********Fix for https://bugs.adobe.com/jira/browse/SDK-24763. Some sample themes don't have backgroundColor set on mx:Application, so when the content is clipped, the background defaults to white. I added backgroundColor styles for Application and other mx containers that share this code.QE notes: NoDoc notes: NoBugs: SDK-24763Reviewer: EvtimTests run: checkintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-24763 http://bugs.adobe.com/jira/browse/SDK-24763Modified Paths:************** flex/sdk/trunk/samples/themes/arcade/src/defaults.css flex/sdk/trunk/samples/themes/graphite/src/defaults.css flex/sdk/trunk/samples/themes/zen/src/defaults.css
Revision: 13132Revision: 13132Author: klin@adobe.comDate: 2009-12-21 15:00:22 -0800 (Mon, 21 Dec 2009)Log Message:***********Fix for https://bugs.adobe.com/jira/browse/SDK-24709. Added over and down state circle highlights to DateChooser's next/previous month arrows as well as semicircle highlights for the year arrows.QE notes: NoDoc notes: NoBugs: SDK-24709Reviewer: JasonTests run: checkintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-24709 http://bugs.adobe.com/jira/browse/SDK-24709Modified Paths:************** flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DateChooserNextMonthSkin.mxml flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DateChooserNextYearSkin.mxml flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DateChooserPrevMonthSkin.mxml flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DateChooserPrevYearSkin.mxml
Is there a way to specify the (Unicode) font used for custom ContextMenuItems on a ContextMenu assigned to a TextInput control, in either a browser or desktop Flex application, if your application needs to render codepoints but the default font lacks the glyphs or has the incorrect glyph mapped to the codepoint?
Revision: 13130Revision: 13130Author: aharui@adobe.comDate: 2009-12-21 14:11:16 -0800 (Mon, 21 Dec 2009)Log Message:***********Needed to add masking code to ListBase as well.QE Notes: I saw 5 bitmap failures in gumbo/components/MXItemRenderer. The baselines show a few pixels of text that were not properly clipped. There could be other bitmaps like that wherever DG or List were used.Doc Notes: NoneBugs: SDK-24794Reviewer: CoreyAPI Change: NoIs noteworthy for integration: Notests: checkintests mustella/components/DataGrid mustella/gumbo/components/MXItemRendererTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-24794Modified Paths:************** flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as
I just started with FlexUnit 4 today and can already see the benefit of all of the new features. I am a bit stumped on how to get the initial setup to work. As far as I can tell, most of the tutorials, walkthroughs, installation instructions linked to from the Adobe site are for earlier versions of FlexBuilder, or they reference classes that don't exist in the version I just downloaded. Can someone help me access these new features?I created a test case that does not extend any base classes and uses hamcrest matchers. Here is an excerpt:public class RangeHashMapTest { private var map:RangeHashMap; [Before] public function setup():void { map = new RangeHashMap(0, 50); map.put(6, "a"); } [Test] public function testPut_Valid():void { map.put(5, "foo"); assertThat("foo", equalTo(map.getValue(5))); } [Test(expects="TypeError")] public fun
Revision: 13128Revision: 13128Author: gauravj@adobe.comDate: 2009-12-21 13:46:32 -0800 (Mon, 21 Dec 2009)Log Message:***********Fix for ASDoc tooltips does not show ASDoc for some functionsQE notes: None.Doc notes: NoneBugs: SDK-24751Reviewed By:PaulTests run: checkintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-24751Modified Paths:************** flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ClassTable.java flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.java flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelGenerator.java
Revision: 13127Revision: 13127Author: aharui@adobe.comDate: 2009-12-21 13:42:09 -0800 (Mon, 21 Dec 2009)Log Message:***********SystemManager was supposed to call ChildManager to finish initializing the top level window. LoaderConfig was not getting initialized otherwise.QE Notes: NoneDoc Notes: NoneBugs: SDK-24625Reviewer: Peter FAPI Change: NoIs noteworthy for integration: Notests: checkintests mustella/components/DataGridTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-24625Modified Paths:************** flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/ChildManager.as
Hi,TLF is very powerfull framework... when I do everything on screen, but I need print this text on printers. Do you know some solution to create PDF files on server-side or client side using tlf?, Of course I don't want use ImageSnapshot Majority "engines" can read textHTML, (AlivePDF or extension for CF).thx.Chris
well, after hours of working around TLF, and after I finally managed to have a reasonable understanding of the whole thing, I found out that I have to use Spark for what I'm trying to do!I checked the documentations and noticed that all the features like single line of text field or password text or maxChar and some other settings are actually available in spark and not with the textFlow I was trying to build anyway, I was happy that I found spark and it seemed very interesting but when I tried to do some examples on how I can use that in my CS4... wow, I didn't find even one example to help me understand how I can initialize the spark!!!all samples are in flex and mxml version... and my whole project is in flash and note flex. does this mean that I can't use Spark in my flash project?!maybe we can use those features in my TextFlow also? features like maxChar, password text and that stuff...Sorry if I'm asking too much questions... I'm just trying to learn as fast as possible. Thanks.
hello community and tlf-team,are there anywhere updated tutorials, examples, documentation on using the TLF? with classes like IContainerController removed, TextFilter renamed etc. it's quite hard to find your way into the framework.I use flex builder 3 for Actionscript Projects and try to make use of TLF for all text-rendering on those projects.what are the best resources to read?regards,stephan
Although amazing but I must confess that i's really confusing for me to relate all these span and paragraphs to each other in my mind and most of the time I mix everything up...anyway, here's what I don't seem to be finding anywhere not even in documentations... or maybe I'm searching for it in a wrong place?All I wanna do is to create a single line of textFlow and its width will be adjusted automatically based on the text being put in it... I remember the old days and how easilly I used to manage that with the TextField! besides that, that would be great to know how to make a textFlow multiline and autoSize also...? I know my mind has still the shape of TextField construction... I hope I can digest this TextLayout framework
I'm trying to upgrade from the Flex 4 Beta 2 SDK to nightly build 12891, and am having an issue with our dynamically-loaded theme SWF:When the theme SWF is built via ant, running mxmlc on the CSS file, at theme-loading time our app tries to download the framework RSLs again (i.e., they were already downloaded when the app initially loaded). It also attempts to load a locale (which was also already loaded).When the theme SWF is built via Flash Builder (by selecting the 'Compile CSS to SWF' option on the CSS file, and using the same nightly SDK), it does not attempt to load the framework RSLs or a locale.This behavior differs from what we see when using the Beta 2 SDK; in that case, I never noticed the RSLs being requested when the theme was loaded.Also, the theme SWF that is created with ant is smaller (50-some kb) than the one created by Flash Builder (80-some kb), when using nightly 12891.When using the Beta 2 SDK, the theme SWF created with ant was larger than the one created by Flas
I don't seem to be able to use the embeded fonts! this is how I'm doing it:in my document class I'm embeding the font like this:[Embed(source="assets/tahoma.ttf", fontFamily="Tahoma", mimeType="application/x-font-truetype")]private var tahoma:Class;and then I registered the font in the constructor:Font.registerFont(tahoma);it seems to be embeded because the SWF file increases... now I create my textFlow:_textFlow = new TextFlow();_textFlow.fontFamily = "Tahoma";_textFlow.fontSize = 13;_textFlow.color = 0x000000;_textFlow.fontLookup = FontLookup.EMBEDDED_CFF;_textFlow.renderingMode = RenderingMode.CFF;_paragraph = new ParagraphElement();_textFlow.addChild(_paragraph);_span = new SpanElement();_span.text = _label.value;_paragraph.addChild(_span);_txtContainerController = new ContainerController(_myLabel, NaN, NaN);_textFlow.flowComposer.addController(_txtContainerController);_textFlow.flowComposer.updateAllControllers();-----------------I beleive those two highlighted lines are actually
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.