『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
Tab stops are included in TLF but while editing text if the tab key is pressed it executes the default Flex action of switching to the next component. I tried searching for a attribute so I could use the tab key in the way a normal text editor does but I couldn't find anything. Are we expected to have to capture the tab key input and insert the tab value ourselves?
It is possible to play rtmp (or http dynamic streaming) on an iOS flex application ?thanks
I am having trouble putting a simple tooltip on a row in a spark datagrid.<s:DefaultGridItemRenderer toolTip="HELLO" *** Doesn't work. I've tried as many ways as I can imagine.Can someone please point me in the right direction on this?
keeps on getting this framework error accessing Advance datagrid. Please suggest.ArgumentError: Error #2004: One of the parameters is invalid. at flash.display::Graphics/drawRect() at mx.controls.advancedDataGridClasses::AdvancedDataGridHeaderRenderer/updateDisplayList() at mx.core::UIComponent/validateDisplayList() at mx.managers::LayoutManager/validateDisplayList() at mx.managers::LayoutManager/doPhasedInstantiation() at Function/http://adobe.com/AS3/2006/builtin::apply() at mx.core::UIComponent/callLaterDispatcher2() at mx.core::UIComponent/callLaterDispatcher()Thanks in Advance.
Hi All,Im using Flex RegExpValidator. Can anyone suggest me the correct expression to validate this condition?....I have tried this expression :----- /^[^///\/</>/?/*&]+$/...But in this it is also negating the alphabets.Also I have tried with opposite condition that in the String we should have alphabets and the expression is:-- ([a-z]|[A-Z]|[0-9]|[ ]|[-]|[_])*..... Please can anyone help me on this.Thanks in advanced to all.Munira
I'm not sure if anyone has come upon this problem as yet. Input into text input fields seems to be broken with Safari v5.1 and Chrome v13. Has anyone discovered a workaround to this if they have other than using a different browser?The problem is only with the debug version. The regular version of flash player has no issues.Reference Links:1. https://discussions.apple.com/thread/3191466?start=0&tstart=02. http://code.google.com/p/chromium/issues/detail?id=859873. http://permalink.gmane.org/gmane.comp.java.openlaszlo.devel/28034
I just read that Adobe will discontinue Flash Catalyst and the Design View in Flash builder ?Is that TRUE ? Programatically Layout and Design uh?http://forums.adobe.com/message/4085187#4085187If so that would be a BIG step backwards
I can't figure this out: how to set 'textAlign' property for default itemRenderer in AS3 (not mxml)?? I need to adjust it based on type's properties, 'int' or 'Number' aligned right, 'String' aligned left and so on.I'm using spark DataGrid and listening FlexEvent.CREATION_COMPLETE event; I can't cast itemRenderer to DefaultGridItemRenderer, and ClassFactory doesn't provide setStyle method.public function adjustGrid (e:Event):void { for (var i:int=0; i<grd.columns.length; i++) { //this causes an cast error var gridColumn:GridColumn = GridColumn(grd.columns.getItemAt(i)); DefaultGridItemRenderer(gridColumn.itemRenderer).setStyle("textAlign", "right"); //ClassFactory(gridColumn.itemRenderer).setStyle("textAlign", "ri
After trying to figure out why converting all our text fields to TLF is hammering performance for ages, I've finally discovered the culprit function that is taking so long on every single frame:RuntimeManager$.checkTLFFontsLoaded (fl.text)This function often spends more than 10 ms running each frame, and is by far the longest running function in our application's action script every single frame. Can anyone give me a rough idea of what calls this function so I know what to start looking for in my code?
Some of my single line, centre aligned TLF text fields overlap words on top of each other. What I'm trying to do is have text fields with a fixed width and height, and a maximum font size. The text fields are dynamic but not editable (the text is assigned with AS3). When the text property is set, it starts off at the maximum font size. If the text is too big for the text box (textHeight or textWidth is bigger than the width and height dimenions I gave the textfield), then lower the font size by 1, and keep doing this until the text fits inside the textfield. The reason I need to do this is because of localisation. A button with the word 'Ok' on it might be a 5 character word in another language, so I need the text to scale down to fit within the button. I seemed to have this working ok with TLF 1.0 runtime, but since we upgraded to CS 5.5 with the TLF 2.0 runtime, a number of textfields are now broken. This seems to be the problem code:while ((m_tlfText.textWidth > m_originalDims.x)
I encounter some problems with Chinese vertical text with Phonetic Symbol fontThe layout is lifted to the lower right and block part of the characterBesides, in editing mode, the cursor position is not correctDo anyone know how to solve these problems?The following are the properties for my text (in a 200x200 canvas with black border):textFlow.fontFamily = "testfont_01";textFlow.fontLookup=FontLookup.EMBEDDED_CFF;textFlow.renderingMode = RenderingMode.CFF;textFlow.blockProgression=BlockProgression.RL;textFlow.justificationRule = JustificationRule.EAST_ASIAN;Attached with the result screen shots
Hi all,We want to implement text wrap like you have in InDesign, ie. text wrap around an image that has a fixed position on page as opposed to floats that has a fix position in the text. I have a version that works fine as long as the objects to wrap around cover a whole column. If object to wrap around covers only part of the column, I create three containerControllers, one above, one to the side and one below. That also works. Almost. Line heights between those containers end up wrong as my containers have a fixed height and there can't be a conditional check if line fits or not. See attached image - the purple lines and fills show extents of containerControllers for debugging purposes. I've started to dive into the source-code of TLF, and found that BaseCompose has a parcelList of Parcels that seems to be implemented with this in mind as a future expansion. From what I can work out, Parcels are sort of sub-parts of containerControlles to flow text into My idea is to somehow create m
Hi all,I've hit a bit of a wall on this particular issue. I've got a multi-user whiteboard that contains both normal text fields as well as TLF text fields. I'm working in oure AS3 - no Spark components are used.What I need to achieve is updating the value (the contents so to speak) from one user's screen to another. Example: user A creates a new TLF text object on screen and types something. I'm creating a Textflow object and I add it to a container. Since all interactions on the whiteboard are synced I also send a command over the wire that forces the same object to be created on User B's screen. So far so good.I now listen for changes to the textflow object:textFlow.addEventListener(UpdateCompleteEvent.UPDATE_COMPLETE, onTextChange);private function onTextChange(event:UpdateCompleteEvent):void { var newString:Object = TextConverter.export( TextFlow(event.textFlow), TextConvert
I have migrated from using FlashDevelop 3.3.4 and Adobe Flash CS 5 to FlashDevelop 4.0.1 and Adobe Flash CS 5.5. I am now having a HUGE amount of trouble getting my project to work again due to TLFTextfields. I understand that CS 5.5 uses TLF 2.0, so I have included the more recent tlfruntime.swc in the FlashDevelop project. Everything compiles fine but when I run the program I get this:[Fault] exception, information=VerifyError: Error #1053: Illegal override of createGeometry in flashx.textLayout.elements.FlowGroupElement.My guess is that the new tlfruntime.swc I have included in FlashDevelop is now out of sync with the corresponding swf RSL that gets loaded at run time. In the Flash CS 5.5 folder, I can only see one RSL - textLayout_2.0.0.232.swz. In the rsls folder in FlashDevelop, it has textLayout_2.0.0.232.swf AND textLayout_2.0.0.232.swz. Both the swz files in CS 5.5 and FlashDevelop are the same size. I copeid the one from CS 5.5 over to FlashDevelop anyway, but it made no diff
Brief situation overview: The program allows the user to edit RichTextEditors and other classes in order to create presentable documents. The program handles printing the document so when the user wants a print preview or to actually print they select that option from the program's menu. Calling a print preview requests the printable data from all the elements in the document and puts them into formats that look more presentable (without editing controls).Problem: When the RichTextEditor's htmltext is retrieved it gets imported into an instance of RichText but the whitespace gets collapsed.Example:This (in RTE): Table Key Value 1 2 3 4 5 6Becomes (in RT):&
Is there a trick to getting whiteSpaceCollapse to work with imported HTML? Here's my current code, where value is HTML text (e.g. "<p>Blah</p>.."): textFlow = TextConverter.importToFlow( value, TextConverter.TEXT_FIELD_HTML_FORMAT); textFlow.whiteSpaceCollapse = WhiteSpaceCollapse.COLLAPSE;I've also set whiteSpaceCollapse on the RichEditableText to "collapse" but I'm still noticing vertical space differences if my external HTML has linebreaks between <p></p> nodes. Many thanks in advance for any suggestions.-Robert
HiI've tried create list and convert it to plain text at runtime.With creating text evrething is ok var tf:TextLayoutFormat = editor.getFormatOfRange(null, editor.selectionAnchorPosition, editor.selectionActivePosition); var selState : SelectionState = new SelectionState(editor.textFlow, editor.selectionAnchorPosition, editor.selectionActivePosition); var listFormar : TextLayoutFormat = tf; listFormar.listStyleType = ListStyleType.DISC; listFormar.listStylePosition = ListStylePosition.OUTSIDE; var operation : CreateListOperation = new CreateListOperation(selState, null, listFormar); operation.doOperation();With this evtething is ok - list was created.But when I've tried to convert selected text from list to plain text I have problem. I've selected list
Hi all,I put a sample of the bug on http://knux4.biki.fr/bronx/TextAreaBug.fxpWith this text, the application goes in an infinite loop and doesn't display any content. I'm using Flex 4.6. The bug also occurs in a Web based application.I saw that the cause can be the fact the TextArea has a fixed width...Does anyone knows a workaround for this ? I didn't find bug report on this subject so I think I will create one...Thx in advance
Hello,I am creating simple bullet application where I want to start bullets from left edge of controller and Increase the gap between text and bullet. Is it possible in current version of TLF?Please help.Thanks,Vikram
Hi We would love to use the new right click functionality in Flash 11.2 - but adding the compiler argument "swf-version" is not available in SDK 3.6.Having tried upgrading the application to 4.6 SDK this accepts the swf-version" param - BUT the MX components break in many different ways on 4.6.How do I supply swf-version to a 3.6 compiler? What file in the SDK do I need to replace to get it to accept swf-version as a parameter?Thanks for any help!Dan
I've been using playerglobal.swc of flash player 11 and SDK 3.6.ReferenceError: Error #1065: Variable JSON is not definedcan be solved by setting -swf-version to 13. (http://forums.adobe.com/message/3933620#3933620)However, swf-version is not available in SDK 3.6.Can native JSON be used?Otherwise, can com.adobe.serialization.json.JSON be used without name conflict?JSON (from ...\flex_sdk_3.6\frameworks\libs\player\11\playerglobal.swc(JSON)) com.adobe.serialization.json:JSON (from ...\as3corelib.swc(com/adobe/serialization/json/JSON))
Hi,I have set the user styles of a selected portion of a textflow as following:tlf.setStyle("template",obj.template);tlf.setStyle("fontThemeBox",colorDropDown.selectedIndex);I am able to get these properties through out my application but when I try to export it they are missing?This is how I was trying to Export.TextConverter.export(textFlow, TextConverter.TEXT_LAYOUT_FORMAT, ConversionType.XML_TYPE) as XML;Am I missing something here??
We are transitioning from Flex 3.1A to 3.6A. Everything has worked fine for years under 3.1. We have been testing under 3.6 for a month under HTTP and everything is working. When weinstall to our staging server and run under HTTPS, we get this error and NO OTHER INFORMATION.We test under Flash Builder but build production swfs and swcs using the command line tools MXMLC and COMPC. We are using the framework RSLs and copy the swf/swz files to our servers as part of the installation.Output from MXMLC for compilation of signup.mxml: Loading configuration file C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.6\sdks\3.6.0\frameworks\flex-config.xml Loading configuration file D:\Develop\CSM\PractiCal\Flex\null1709033641.xml D:\Develop\CSM\PractiCal\Flex\build\signup.swf (174148 bytes)Contents of configuration file 'null1709033641.xml': <flex-config>
After upgrading a project from Parsley 2.3.2 to Parsley 2.4.0 I'm am experiencing the following error when compiling in Flex 4.11046: Type was not found or was not a compile-time constant: RSLData.As part of the change I upgraded some of the Cairngorm librarys for Parsley 2.4 support but it appears that Module 0.17 is dependant on Flex 4.5? Is my assumption correct?Here are a full list of the dependenies upgraded for reference:com.adobe.cairngorm.module 0.17 (Upgraded from 0.15)com.adobe.cairngorm.navigationParsley 1.7 (Upgraded from 1.3)com.adobe.cairngorm.integrationParsley 0.17 (Upgraded from 0.15)org.spicefactory.parsley-flex4 2.4.0 (Upgraded from 2.3.2)org.spicefactory.spicelib-flex 2.4.0 (Upgraded from 2.3.2)Additional dependencies which weren't changed:com.adobe.cairngorm.task 1.10com.adobe.cairngorm.validation 1.12 com.adobe.cairngorm.popup 1.13com.adobe.cairngorm.popupParsley 1.13
Hi,Currently I am using a format resolver to pick up custom user style attributes on paragraph elements and translating them into TextLayoutFormat properties. This is working well, as I am able to perform tasks such as getting properties from external style sheets. For example, ...<p myExternalStyle="someExternalStyle">..., and someExternalStyle, stored externally, would contain properties such as font size, font color, etc.In the application workflow, sometimes the properties within the external style sheets may change, and, when this happens, I would like to recompose or refresh the text such that my format resolver gets called again. This would allow the format resolver to reassign updated properties from the external style sheet, and cause the text properties to be updated. However, I have tried:textFlow.flowComposer.damage(0, textFlow.textLength, FlowDamageType.INVALID);followed by either textFlow.flowComposer.compose() or textFlow.flowComposer.updateAllControlle
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.
申し訳ございません。このファイルは、ダウンロードしても安全かどうか、内容を確認中です。数分後にもう一度お試しください。
申し訳ございませんが、当社のウイルススキャナは、このファイルをダウンロードすることは安全ではないと検出しました。