『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
Flash CS5 by default comes with TLF v1.x, but v2.0 comes with a lot of new exciting (and useful) features, so is it possible to update TLF in Flash to v2.0? If yes, how?Thanks in advance.
So I have a spark textArea component, which has buttons to style it (bold, italic). I wish to have another button which performs the following function:On clicking the button, the text that has been selected should get an icon placed in front of it.So far, I have put this in the declarations:<fx:Declarations> <fx:String id="icon"><![CDATA[Works or not <img src="ico.png" width="14" height="7"/>]]></fx:String> </fx:Declarations>and I am using the: reviewEditor.textFlow = TextConverter.importToFlow(tip,TextConverter.TEXT_FIELD_HTML_FORMAT); method.However, the above method replaces the whole textarea content (obviously). I wish to insert the contents of "icon" in the textArea, at textarea.selectionAnchorPosition.I have spent a lot of time looking online for a solution, and none of it seems to work. Some of it is half explained. I would really appreciate it, if someone could help me out with this.Thanks in advance!
Hi I am using textLayout.swc in flex 3 Bulider (SDK3.4Ver) when i write code like :- SpanElement.fontFamily = "Wingdings"; no changes in font reflected, it gives default font i.e. Times New Roman. So wingdings fontFamily not supported by textLayout Framework. If anybody know how wingdings font is used in textLayout, please reply. its urgent.
After the last update from repository the modular sample does not work. I am not able to compile the api project with parsley 2.3 libraries - there is an error 1046: Type was not found or was not a compile time constant: StageEventFilter. So I compiled this project with parsley 2.2.2. Other projects compile OK with parsley 2.3, but when I run InSyncModularExtendedShell, there is a runtime error: Error #2044: Unhandled error:. text=Error building Context - cause: Error. One or more errors in CompositeContextBuilder: 1 cause(s). I suspect this can be due to libraries mismatch.When I return to version with parsley 2.2.2, everything is OK.Zdenek M
Hi,I have the following declaration: <popup:PopUpWrapper modal="{pm && pm.progressBarModal}" open="{pm && pm.progressBarVisible}"> <controls:ProgressControlBar progressBarMessage="{pm && pm.progressBarMessage}"> </controls:ProgressControlBar> </popup:PopUpWrapper>While open binds nicely to my pm, modal refuses.I have checked the library implementation, and I see that modal is declared as [Bindable] [Bindable(event="propertyChange")] native public function get modal():Boolean; native public function set modal(value:Boolean):void;
Hi ,I am trying to do a a simple Login Example using Cairngorm 2.2 version with Flex and J2EE combinations , on which a successFil login should display Welcome , and not a Valid login Details should display "Invalid Login"Currently for the time being i am harding these Login details to Admin , and Admin respectively .I am familar with the basics of Cairngorm therotical part , but not with Pratical part.Inside Flex :var user:User = new User();public function login():void{user.uname = UITI.text;user.pwd= PWDTI.text;// Setting this values in a User Value Object and dispatching it thorough a Custom Event called as LoginEvent .systemmanager.dispatchEvent(LoginEvent_Login,User);}This is my User Value Object public class User {public var uname:String ;public var pwd:String ;}As per the Cairngorm docs it says that the Event should be passed through the FrontControllerPlease help me now , do i need to get the instance of the FrontControler inside my login function ??Wait
I have started a right-to-left language using TextFlow and RichEditableText.I have trouble with kerning.When using Hebrew with diacritical marks (and these are common), the kerning is not correct. Each diacritical glyph is made in a space after the character. (This did work with TextField). I tried setting Kerning ON, but that did not help.I am ready to select a font family that works, but I'd like it to be fairly "formal" (like DavidD).typical code: var format:TextLayoutFormat; textFlow = TextFlowUtil.importFromXML(textFlowXML, WhiteSpaceCollapse.PRESERVE); format = new TextLayoutFormat()
Hi,I am creating and formatting text in a text flow in AS3.I am using Flash Builder 4.I can not seem to figure out how to:1) Add a rollover event handler to a link.editManager.selectRange(start, start+entLength); // use the editManager to select some text in a textFlow editManager.applyLeafFormat(cf); editManager.applyLink(ent.URI);How to I add the event handles that are equivalent to ...<s:p>Text that includes a link to <s:a href="http://adobe.com/" target="_blank" rollOver="rollOverHandler(event);" rollOut="rollOutHandler(event);">Adobe</s:a>.</s:p>2) After I accomplish all of this, how do I set the RichTextEditor to that it is not editable?I want the rollover links to show and for it not to be editable.Thank you,Greg
HiI am getting error like this:VerifyError: Error #1014: Class flash.text.engine::ContentElement could not be found. in flex when I test the sample application from http://iwillbelikethis.webs.com/ButtonExample.html with flex.What is going wrong with the setup.Any help is appreciated.ThanksSrini
Our users are trying to use spaces as padding for right aligned text but it isn't working.I did a test with the same text in two different right aligned text holders, the second container contains the text that was in the first container as well as several non-breaking spaces at the end. When I debug the results of StringTextLineFactory.createTextLines the widths of both text lines were the same.This seems like it is a FTE issue since FTE has no concept of right aligned text I could see it just dropping off extra spaces at the end of the text but that is just a guess.It also looks like RichEditableText does the same thing. In this video i enter "asdf" then a bunch of spaces and it isn't until I enter another character that the space characters are recognized. http://screencast.com/t/NGMzZmNk
Does anyone know if there is a proposed release schedule for Flex PMD 1.2? Is there a RC for it yet? There's quite a few fixes I'd like to use and can't justify to a team until a release.Thanks!
FlexPMD 1.2 has been released !More information hereEnjoyXavier
On line 59 of the EditManager in the latest SourceForge trunk, there is an import statement for flashx.textLayout.operations.PromoteParagraphOperation, but no such class exists in the flashx.textLayout.operations directory. Since PromoteParagraphOperation is later used on line 1215 of EditManager, simply removing the import is not an option.Is this a simple omission from SourceForge, or am I perhaps missing some form of build-configuration trickery that averts the compilation errors such a missing class creates? If the latter matters, I'm using FlexBuilder 3, Flex SDK 4.1, with additional compiler arguments to pull in the config.xml and manifest.xml from the TLF svn, and including the central CoreClasses, EditClasses, and ConversionClasses classes.
Hello all,any idea for this error ?Severity and Description Path Resource Location Creation Time Id1067: Implicit coercion of a value of type flexunit.flexui:TestRunnerBase to an unrelated type org.flexunit.runner:IRunner. QuizzGame/src QuizzTest.mxml line 21 1253101842782 7688in my project lib :FlexUnit1Lib.swcFlexUnit4.swcfluint-1_2.swcHamcrest.swcI created the QuizzTest.mxml file and impossible to compile due to the error specified before :<?xml version="1.0" encoding="utf-8"?><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" &
Hi everyone,How can i update a textFlow?i create a TextFlow like this :var ca:TextLayoutFormat = new TextLayoutFormat();ca.fontLookup = FontLookup.EMBEDDED_CFF;var container:Sprite = new Sprite();addChild(container);var textFlow:TextFlow = TextConverter.importToFlow(_markup, TextConverter.TEXT_LAYOUT_FORMAT);textFlow.hostFormat = ca;textFlow.flowComposer.addController(new ContainerController(container, 400, 200));textFlow.flowComposer.updateAllControllers();_markup is a XML and i want to replace _markup by another XML without removing the textFlow. How can i do this?Thanks.
I can get a text flow working with some texts and a link but my image isnt showing here is my wayarticleField.textFlow = TextFlowUtil.importFromString(brandz[currentBrand].summary);<s:RichEditableText paddingLeft="10" paddingBottom="5" paddingRight="10" id="articleField"
Hi, is it possible to type in hindi, arabic, tamil in the rich text editor using tlf so far its not working for me. Currently we can embed the font and paste the content in the code which is not good enough. TLF been out for more than a year now and this is one of the basic thing we're still missing. please let me know if this is possible.thanks,shajahan
The following tutorial works fine for static html that is hard coded into the taghttp://www.xllusion.net/ed/2010/04/26/flex-4-richeditabletexttlf-link-example/comment-page-1/#comment-2057but I need my text to be bindable and dynamic loading sometime later...I cannot seem to get the event things work if I embed like in the aforementioned tutorial so im sure my code for the adding events is good.Im using the following<s:RichEditableText paddingLeft="10" paddingBottom="5" paddingRight="10" &n
the addition of the following seems to be benign enough but it complettely kills ALL MY TEXT so I cant see any of my stuffarticleField.textFlow.addEventListener(StatusChangeEvent.INLINE_GRAPHIC_STATUS_CHANGE,applySmoothing,false,0,true);
i am a beginner in as3 and i want to import arabic text in flash cs5using tlfbut the text in the result not look writewhat i do wrongi feel it is easythis is the programthes is as3 codethe resultthe text filethanks in advance
font styling doesnt work with.. textFlow="{TextConverter.importToFlow( articleText, TextConverter.TEXT_FIELD_HTML_FORMAT )}" images dont work with.. textFlow="{TextFlowUtil.importFromString(articleTe xt)} the problem is one way shows the images i have in img tags the other shows text styles shown with<p fontSize="20" fontFamily="GillSansStd" color="#ffffff">Welcome...</p><br /><br />…and congratulations<img src='../creative/assets/trinidad.jpg' width="100" height="200" align="top"/>Really appreciate any helpful postings with understanding why there are two ways and which is better or another way entirely.thanks
I am writing a courseware application in Flex and find the Text Layout Framework very helpful, except that I have many cases where input fields must be within the flow, such as the following:First there might be a question _________________ and ______________,___________, then there might be another question __________________.The input field does not need to be a RichTextEditor, it just needs to be able to move in the flow of the text so that format is maintained if a user increases the size of the text. I have seen statements in this forum that that the TLF was not designed to be extensible, making this a difficult task. The only other solution that I can see is to put the text into RichText objects and the input fields into TextInput objects, and write a Format Controller that positions these on lines taking into account the ending position of each, and performing line breaks as needed. Does anyone have a better idea? The problem seems a little strange given
Hi, I just downloaded the trial of CS5 and I was wondering how to do the following.I have 5 XML files that load into my site. Each one is called by a button click. On the initial stage I have 2 containers which are linked for overflow text. So here is my problem. When I click on any button the content in the second text box stays there and only the content of the first one changes. SO question...How do i get the new text that is loaded from the XML to flow to the second container? OR the second container clear its content if there is no overflow?Thanks so much!!Kathy
I need to restrict an edit field to only allow 50 characters (Due to database limits etc). I thought it may have been in the "Configuration" class but cant see anythign of the nature in there.How do I do this?
I think flashx.textLayout.conversion.HtmlImporter converts the source of images to lowercase.Some urls of images are case sensitve: http://upload.wikimedia.org/wikipedia/commons/c/cc/Zaza_Zebra.png
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.