『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
We are experiencing some issues with kerning and other spacing between characters when we scale the container. We have textflows in modules that need to scale to a fullscreen AIR application. When we do this, the spacing between characters becomes an issue, some characters are really spaced out while others become attached to or overlap another. Is there some way to redraw/recalculate the text? I also noticed that this issue does not happen on a Mac but only on a PC.
How to keep cursor in focus for a TLF in ScrollPane? Consider this:textFlow.addEventListener(UpdateCompleteEvent.UPDATE_COMPLETE, tlfUpdtHandler, false, 0, true);private function tlfUpdtHandler(e:Event):void { var textFlow = e.currentTarget; var containerController = textFlow.flowComposer.getControllerAt(0) as ContainerController; var contentBounds:Rectangle = containerController.getContentBounds(); var tlf_mc = containerController.container; containerController.setCompositionSize(containerController.compositionWidth, contentBounds.height); var sp:ScrollPane = tlf_mc.parent.parent; sp.update(); &nb
HiIm evaluating the flash cs4 IDE for my company for its new text layout RTL feature.Ive been tring to implement a simple RTL text component with no success.The only reason i am tring flash CS4 is for its RTL feature.Please can someone give me a simple one liner example for implementing RTL in a TextLayout component (using actionscript 3 with flash CS4 - no flex!).ThnxDotan
HiI am currently using Flash Builder 4,I have copied following file to Plugins folder in FB 4 installationcom.adobe.ac.pmd.eclipse_1.0.0.v200912091712.jarand restarted IDE.Their is no option found for PMD in preferences, also no new icon was addedSame thing happened while using Flex formatter.for formatter i have copied following files to plugins folderActionscriptInfoCollector_0.7.1.jarFlexASDocGenCommand_0.7.1.jarFlexPrettyPrintCommand_0.7.1.jarbut result was same.any suggestion will be welcome.
Hey all, This is a draft proposal for how we'll update CSS support to handle disambiguating classes via namespace. Feedback appreciated here for now so when we get to the formal mini-spec we can rush it through. --------- Keeping in mind that most folks have indicated they don't use Type selectors much in CSS... - Namespace qualification is now required for type selectors in CSS style declarations. - Gumbo will use the CSS3 suggested syntax for declaring namespaces and prefixing type selectors. For the most common component namespace the default namespace can be used (ignore the actual namespace url value): @11909012 "http://ns.adobe.com/flex/spark"; Button { color: #990000; } Otherwise, prefixes can be specified for each namespace: @11909012 "http://ns.adobe.com/flex/spark"; @11909012 cx "com.mycompany.*"; Button { color: #990000; } cx|MyFancyButton { color: #000099; } - The namespace mappings that are currently used to map MXML tags to ActionScript class names will also a
Any idea why this does not work? The text direction remains LTR no matter what I do. I tried moving around at what point the text is set with no luck.The only difference I get is this text:Registered TRADEMARK<font face="Lucida Sans Unicode">®</font>Is rendered as:®Registered TRADEMARK protected function configureText(title:String):void { this.textField = new TLFTextField(); this.textField.autoSize = TextFieldAutoSize.LEFT; this.textField.mouseChildren = false; this.textField.mouseEnabled = false; this.textField.selectable = false; this.textField.wordWrap = false; this.textField.htmlText = title; var format:TextLayoutFormat = new TextLayoutFormat(); format.color = this.defaultTextColor; fo
Hi,I was trying out the new XML configuration support for Navigation today - great job on this Alex!I was wondering if there was a way to do token substitution in the external xml config file, where the substituted values come from a properties file, along the lines of Spring. Spring Actionscript decided to do it this way and it was very convenient... Here's an example:<property file="config.properties" /><object type="com.View1PM"> <cairngorm:landmark name="${SOME_PROPERTY}"/></object>And in a properties file called config.properties, define it this way:# a commentsome_property=content.view1I saw that there was a class that Xavi contributed to Parsley that seems related to this but wasn't sure whether it was completed or has evolved from there. Is this currently possible in the way I describe above? Best,Bruce
Hi,i m new to this product. i have one doubt , is it possible to write test scripts for event driven functions ?if possible, could you please share some samples.?Thnk you.Bala.
We have a problem in displaying a simple tamil unicode glyph text in TLF or Flash Text Engine.When the following tamil text is pasted the ெ glyph (or ligature) gets jumbled up.அகர முதல எழுத்தெல்லாம் ஆதி பகவன் முதற்றே உலகு.it becomes like:அகர முதல எழுெத்தல்லாம் ஆதி பகவன் முதறே்ற உலகு.Original Tamil at:http://ta.wikisource.org/wiki/%E0%AE%A4%E0%AE%BF%E0%AE%B0%E0%AF%81%E0%AE%95%E0%AF%8D%E0%AE%95%E0%AF%81%E0%AE%B1%E0%AE%B3%E0%AF%8DTLF demo at:http://labs.adobe.com/technologies/textlayout/demos/Could someone help us out! Advanced Thanks'
FLEXPMD-127 says that the issue with PMD not working when the workspace path contains a space will be fixed in 1.2 builds.However, I just downloaded the current build of 1.2 from here, and it still has this problem.When will it be fixed?
I want to allow users to use ordered lists and buletting inside my rich text editorEx: Here is my textNo 1 ideaNo 2 idea...Is the above example implementation possible with tlf or with textArea and htmlText ?Any feedback is appreciated, Thanks!
dear allI have problem when i need to convert interface of TLF to arabic i faced problemmust components of TLF movement to left so i need to set X Dimension to any components as font or color <row><editor type="fontPicker" label="$$$/stage/TextEditing/Label/Font=خط:">LayoutDirection<property name= {TextInspectorController.FONT_FAMILY_UIPROP}/></editor></row> or if any have other solution to convert interface to arabic interface
Hi,I'm currently working on a really simple Parameterized TestCase. I'm using flexunit 4.0-rc1 and flexmojos 3.5.0.When I do 'mvn clean test' I get the following error:<testsuite errors="0" failures="1" name="com.finams.bnpflexlib.utils.StringUtilsTest" tests="1" time="0"> <testcase name="initializationError" time="0"> <failure message="Custom runner class org.flexunit.runners.Parameterized cannot be instantiated" type="com.finams.bnpflexlib.utils.StringUtilsTest">Error: Custom runner class org.flexunit.runners.Parameterized cannot be instantiated at org.flexunit.internals.runners::InitializationError() at org.flexunit.internals.builders::MetaDataBuilder/createInitializationError() at org.flexunit.internals.builders::MetaDataBuilder/buildWithSecondSignature() at org.flexunit.internals.builders::MetaDataBuilder/buildRunner()
I'm struggling with setting custom formatting properties on different ContainerControllers assigned to a single TextFlow instance. I can assign different columnCount properties and those display as desired, but other properties such as color seem to be ignored. I have tried this syntax: myContainerController.color = 0x00ff00; myContainerController.columnCount = 2; I have also tried: var tlf:TextLayoutFormat = new TextLayoutFormat(); tlf.color = 0x00ff00; tlf.columnCount = 2; myContainerController.format = tlf; In both cases, the columnCount is set correctly, but the color is ignored. Is it possible to affect the color of the displayed text? That would seem to be one of the primary advantages of TLF text?Any help would be appreciated. Thanks!
hey frnds,how to add runtime link to selected text from textarea by user and when user is again selecting that text then i want to show assigned url of that text in textinputwhere user can see which url is assigned to selected text. Then he can remove it also while removing url from textinput.Its same like a TLFEditor where user can add or remove link to any text.thx in advanced,abhishekchess1@gmail.com
Hi TLF pros,I try to get the right height of a textflow - unfortuntaley the returned value of the container (Sprite) height is too large:I extended a simple "Hello World" example and tried to visualise the problem:private function init():void { var format:TextLayoutFormat = new TextLayoutFormat(); format.fontSize = "120"; format.fontFamily = "Times"; var textFlow:TextFlow = new TextFlow(); textFlow.format = format; &nb
Hi,I'm trying to detect the container height when the textflow changes, so I can make my container resizable. I found the answer in one of the posts here at the forum. My questions is why when the CompositionComplete Event is fired, the boundaries of the container initially has a very unreal height, for example 2500 and after tha another CompositionComplete is fired with a more real value, in my test 370 (for my text flow). This causes the container to "jump".Is there any way to prevent this? I want the resize o be very smooth.I found this example, it works!, and illustrates the same issue I have: http://www.oscar-mejia.com/blog/post/tlf-resiable-textflow-containerPlease help.Thanks
hello,I can't figure out how to draw programatically a simple line from one point to another. It should be easy but couldn't do it...thanks for any help.
Hello everyone.How can I achieve such structure: 3 columns with fixed width - first column is only one picture, second column - text, third column - one picture. Also I need that text not to flow to other columns if I resize continer - can it be 'cut'?Thanks.
Hi,Is there any way to control the positioning of the stroke underlining text? I'm finding that it is positioned far too close to the bottom of the text so that the bottoms of the letters are lost? Photoshop:SWF / Flex 4.1
Hi all,How do we create and use global variables in Flex 4.0. I tried the followingCreated the following on mxml file.public var gbString:String;and used the following line in another mxml file. txtTest.text = FlexGlobals.topLevelApplication.gbString;While running this file, it shows the following error.ReferenceError: Error #1069: Property gbString not found on dbtest1 and there is no default value. at dbtest1/button1_clickHandler() at dbtest1/___dbtest1_Button1_click()Please help meThanks in advanceAjay
Hi,I'm trying to insert an Inline Image but I always get this error: Property float value [object SelectionState] is out of rangethe code I'm using is this:IEditManager( editorModel.textFlow.interactionManager ).insertInlineGraphic(imgSrc, imgW, imgH, selectionState);Any help will be appreciated.
Hi,I have a container that resizes when the user modifies its content. This textflow may contain text and images. I need to find a way to measure the total height required to display its content. I have read several post here and have tried several solutions without luck.I'm waiting to the CompositionCompleteEvent event and then trying to figure out of the container needs to be resized:protected function compositionCompleteHandler(event:CompositionCompleteEvent):void { var containerIndex:int = event.textFlow.flowComposer.findControllerIndexAtPosition( event.textFlow.textLength-1 ); if(containerIndex == -1){ // resize the component!!!!! var boundaries:Rectangle = (textFlow.flowComposer.getControllerAt(0) as ContainerController).getContentBounds();  
Hi,I want to access each line text value ( same as we can access using 'getLineText( lineNumber )' in text component of Flex 3 ) ?ThanksBharat Patel
I have a class that inherits from EditManager and provides these methods:public function performCopy():void { var copyOperation:CopyOperation = new CopyOperation( getSelectionState() ); doOperation( copyOperation ); } public function performCut():void { var textToCut:TextScrap = TextScrap.createTextScrap( getSelectionState() ); var cutOperation:CutOperation = new CutOperation( getSelectionState(), textToCut ); doOperation( cutOperation ); }PerformCopy works fine and puts the copied text on the clipboard.PerformCut removes the text as expected but does not put it on the clipboard.The CutOperation documentation says "The edit manager is responsible for copying the text scrap to the clipboard. Undoing a cut operation does not restore the original clipboard state."Any idea what I might be doing wrong? ThanksStefan
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.