『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
Hi, I have a runtime error in SelectionManager.computeSelectionIndex, and I don't know who to contact about it.It happens when I have selectable text created using TLF and also text created using FTE at the same timeand i assign custom data do the "userData:*" property of the text lines I created with FTE directly.This is the line of code that cause the error in the SelectionManager:var tfl:TextFlowLine = TextLine(target).userData;Throws a TypeError: Error #1034 when i roll over the textlines created using FTE.Fix suggestion: var tfl:TextFlowLine = TextLine(target).userData as TextFlowLine;I posted a bug report but i don't know if it was the best place to post it: https://bugs.adobe.com/jira/browse/SDK-22792Thanks,Steve BriseboisScolab Inc.sbrisebois@scolab.com
Revision: 10594Author: aharui@adobe.comDate: 2009-09-25 11:41:02 -0700 (Fri, 25 Sep 2009)Log Message:***********Fix some ControlBar bugsQE Notes: NoneDoc Notes: NoneBugs: SDK-23384 SDK-23373 SDK-23386Reviewer: CoreyAPI Change: NoIs noteworthy for integration: Notests: checkintests mustella/gumbo/containers/PanelTicket Links:************ http://bugs.adobe.com/jira/browse/SDK-23384 http://bugs.adobe.com/jira/browse/SDK-23373 http://bugs.adobe.com/jira/browse/SDK-23386Modified Paths:************** flex/sdk/trunk/frameworks/projects/framework/src/mx/states/AddItems.as flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Application.as flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as
Apologies if I've missed this in the documentation, but is there any way to create a 'starred' password field (as one would with displayAsPassword on normal TextFields) using TextFlow? TLFTextField has displayAsPassword but I understand editing is not available with these fields.I've been hacking something together but figured I should ask if there's a standard way of doing this.Many thanks for your help.
Hi Guys,using TLF to create a simple text line the debugger show me this message: Error #1053: Illegal override of containerFormatChanged in flashx.textLayout.elements.FlowGroupElement.Someone know why?
Due to the poor performance of the equals as well as other optimization reasons we are using the tlf_internal hash function on TextLayoutFormat. We have run into a couple issues where two different formats result in the same hash. One specific instance we have is one format being center aligned and font size of 11 and the other font is left aligned and font size of 10. In stepping through the hash logic the hashes are different up until the point we get to textAlign and then they become the same.The hash before the Center Align 11 is 2267941817 and after the hash on _textAlignProperty it is 440261119The hash before the Left Align 10 is 2536377273 and after the hash on _textAlignProperty it is 440261119Here are screen shots of both full formats:Center Align 11 Left Align 10
I'm pleased to announce that FlexPMD 1.0-RC4 has been released.You can find resolved issues here (you need to be logged in to view the related issues)On top of the resolved bugs, one feature has been added:You can now append // NO PMD ruleName specifying the rule you want to ignore on that line.You can find the latest download here.Happy cleaning!Xavier
Hi there,I am using the TextLayout framework to display Unicode text in AS3 and it's working well, mostly. I have a registration form and I want to make it so that the user can hit tab to move between the input fields. I have been trying to use setFocus() on the EditManager of the TextFlow - and this works a treat if I have already clicked on the TextFlow input field in question. However if I don't click on the TextFlow first to 'activate' it, the setFocus() call sets the focus property correctly but the actual input element is not focussed. How can I set focus to a TextFlow input field without it being clicked first?To reiterate, if I click on all the fields individually then I can tab fine from field to field - but until I've clicked on a field the call to its setFocus() method just seems to do nothing. After a click the very same call works fine.This also seems to happen in the examples provided by Adobe - I have downloaded the latest version of the Fle
I am having issues trying to clear formatting. ApplyFormatOperation uses the apply method with the incoming TextLayoutFormat. If I pass in a blank TextLayoutFormat then none of the formatting will change since all of the attributes are set to inherited and passing in null doesn't seem to work either. If there is no good way to do it using ApplyFormatOperation or anything else currently built into TLF what do you think a custom operation that would accomplish this look like?Thanks,Joel
Someone can help me giving me more explanation about how to use Keyboard events inside a textFlow...Or maybe show me some example, I try to do something like detect which key is pressed in textFlow.I read about: keyDownHandler and manageTabKey, but I still without a clear idea...Can you give me a hand please...?
I am trying to build an Adobe Air application that uses the Text Layout Framework to read ePub books. Does anyone know of a good starting point (i.e. any examples that would lead me in the right direction).
Hi,Im useing TLF build 502 (715519)I am trying to load a fxg formated text with 3 lines:<Graphic><ns1:TextGraphic xmlns:ns1="http://ns.adobe.com/fxg/2008" whiteSpaceCollapse="preserve"> <ns1:content> <ns1:p textIndent="0" textAlign="left" marginTop="0" marginRight="0" marginLeft="0" marginBottom="10"> <ns1:span lineThrough="false" fontWeight="normal" fontSize="12" fontFamily="Calibri" color="0x000000">This is first line</ns1:span> </ns1:p><ns1:p textIndent="0" textAlign="left" marginTop="0" marginRight="0" marginLeft="0" marginBottom="10"> <ns1:span lineThrough="false" fontWeight="normal" fontSize="12" fontFamily="Calibri" color="0x000000">This is second line</ns1:span> </ns1:p><ns1:p textIndent="0" textAlign="left" marginTop="0" marginRight="0" marginLeft="0" marginBottom="10"> <ns1:span lineThrough="false" fontWeight="normal" fontSize="12" fontFamily="Calibri" color="0x000000">This is third line</ns1:spa
HI,I'm creating an application. What i did to generate this error, was to seperate my AS3 code to another .as file in the same folder. Since then, i'm getting this error. I tried a couple of different things like creating a new folder under the same structure with the name same as the package i declared. However, no effect, its gave the same error. I searched the information about this error, all suggested the same thing....that i have done. Probably i'm not getting what they all have been saying.......however, can somebody explain where i'm going wrong about this ???????Thanks & RegardsH.R.
HelloI could get this plugin to work with a Hudson build server and the Violations plugin. My problem is that the pdm.xml contains the paths to the source files as below:<file name="home/hudson/.hudson/jobs/MyProject/workspace/ContactForm/src/com/arcad/projects/solerati/contactform/events/SamplesEvent.as"> <violation beginline="15" endline="15" begincolumn="14" endcolumn="14" rule="adobe.ac.pmd.rules.event.PublicVariableInCustomEvent" ruleset="Event Rules" package="com.arcad.projects.solerati.contactform.events" class="SamplesEvent.as" externalInfoUrl="" priority="3">No public variables should be inside a custom event. This variable (sample) is public. In order to improve encapsulation in your custom event, it is better not to have public variable in your event. Prefer having read-only attributes, set by the event constructor</violation> </file> So they are basically absolute file paths from system root, and not relative
Hi I wrote code using textLayout.swc in flex 3 Bulider (SDK3.4Ver) It generates error with ParaGraphFormat, CharacterFormat,DisplayObjectContainerController and UpadateAllContainers these all are not supported if i use single textLayout.swc,if i use three textLayout_conversion.swc,textLayout_edit.swc and textLayout_core.swc then its working fine. Here is code and file is also find the attachmentpackage XmlParser{ import flash.display.Sprite; import flash.events.Event; import flash.text.FontStyle; import flash.text.engine.FontWeight; import flash.xml.XMLNode; import flashx.textLayout.container.DisplayObjectContainerController; import flashx.textLayout.elements.BreakElement; import flashx.textLayout.elem
Revision: 10545Author: aharui@adobe.comDate: 2009-09-23 13:33:21 -0700 (Wed, 23 Sep 2009)Log Message:***********Make DataGrid smarter about when and how to calculate the modulefactory for its renderers when using embedded fontsQE Notes: 2 Mustella tests fail:components/DataGrid/DataGrid_HaloSkin/Properties/datagrid_properties_columns_halo datagrid_properties_columns_increase0to1_halocomponents/DataGrid/DataGrid_SparkSkin/Properties/datagrid_properties_columns datagrid_properties_columns_increase0to1These fixes get us to measure the embedded fonts correctly when going from 0 columns to a set of columns so rowHeight will be different (and better) in those scenariosDoc Notes: NoneBugs: SDK-15241Reviewer: DarrellAPI Change: NoIs noteworthy for integration: Notests: checkintests mustella/browser/DataGridTicket Links:************ http://bugs.adobe.com/jira/browse/SDK-15241Modified Paths:************** flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as fle
HiI have undo end it works perfect but when I add a span element it don't works: var pElement:ParagraphFormattedElement = currentRange.firstParagraph;var span:SpanElement = new SpanElement(); span.text = "ciaoo "; pElement.addChildAt(0,span);I don't find operation to add spanElement on Editmanegerhttp://livedocs.adobe.com/flex/gumbo/langref/thanks
hi i have change the font size and font family in total text layout.but textlayout property is mouse selection area to be change the font size and font family and etc.how can possible in total text area should be selected
I would like to replicate some HTML functionality using TLF.I want to create divs with background images.The image would be scaled, cropped or tiled to fit the bounds of the div.I want to have multiple divs, and be able to select across them. I may end up with thousands of these and be able to delete some from the top of the stack to keep performance up.Would I have to have a whole separate class to map sprites with the bg images to divs, each time the TextFlow is updated?Or would I be best to extend the div element to have a background image property?Or is there a different way to do this? Perhaps, there is a way to bind sections of text to specific containers and have the scale to accomodate the text?
Hi,we have a few single projects and build them with a main pom.xml. Every single project has his own pom.xml. How can we use flexPMD to check if a function of project A is used in project B ?
Hello,Any information when the next RC4 will be released would be appreciated.Thanks!
Hey there,I have been working on using the SVN Sandbox, but merging has been a real problem. Could one of you please describe how you merge your branches with the trunk in all its detail?This is what I do:svn update # to see if I need the latest changessvn merge -r 10505:HEAD http://opensource.adobe.com/svn/opensource/flex/sdk/trunk .svn commitThe problems are:1) "update" doesn't get any files that aren't already there, so when the trunk adds or switches around files, I can never easily merge them onto my desktop branch.2) If I run the merge command on the Sandbox tutorial page (svn merge trunk local), it doesn't really do anything.3) I have to manually keep track of my last merge which is difficult because I often run into problemsCurrently, I can't really easily have my own sandbox.If you guys could quickly outline the steps you take, and maybe how to overcome common issues, please let me know.Thanks so much,Lance
Hi,... we store in the database htmlText, which were created with the old RichTextEditor... and nowadays we moved to the new TLF.The problem is that on the client side I can't import a bit more complex text to a textflow, which one was created with the old RichTextEditor.textFlow = TextFilter.importToFlow(htmlText, TextFilter.HTML_FORMAT).... I'm interested in any kind of solution. 😃thx
Revision: 10467Author: gruehle@adobe.comDate: 2009-09-21 12:57:44 -0700 (Mon, 21 Sep 2009)Log Message:***********Re-commit 10435. Broken tests have been excluded.Modified Paths:************** flex/sdk/trunk/frameworks/projects/framework/defaults.css flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ApplicationBackground.as flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/BorderStyles.as flex/sdk/trunk/frameworks/projects/spark/defaults.css flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Border.as flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.as flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/SkinnableContainerSkin.mxml flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/SkinnableDataContainerSkin.mxml flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/BorderSkin
Revision: 10461Author: gruehle@adobe.comDate: 2009-09-21 09:55:01 -0700 (Mon, 21 Sep 2009)Log Message:***********Temporarily revert 10435. It broke too many mustella bitmap comparisons.Checkintests pass.Modified Paths:************** flex/sdk/trunk/frameworks/projects/framework/defaults.css flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ApplicationBackground.as flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/BorderStyles.as flex/sdk/trunk/frameworks/projects/spark/defaults.css flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Border.as flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.as flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/SkinnableContainerSkin.mxml flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/SkinnableDataContainerSkin.mxml flex/sdk/trunk/frameworks/projects
My version of TLF is 502 (715519).When i try to use HtmlImporter with folowing code:var importer:HtmlImporter = new HtmlImporter(this._mainTextFlow.configuration); var textFlow:TextFlow = importer.importToFlow(XML('<font color="#FF0000">hello world</font>'));it's throw an errors:1046: Type was not found or was not a compile-time constant: HtmlImporter.1180: Call to a possibly undefined method HtmlImporter.Using TextLayoutImporter, for example, doesn't throws similar errors.Any ideas?UPD: omg, using TextLayoutExporter throws similar errors. I'm scared.Sorry for bad eng
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.