『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
Hello, i try to integrate a cairngorm module in a flex 4 application.This is mxml declaration : <module:ViewLoader info="{product}" name="product"/> ,with injection :[Bindable] [Inject(id="product")] public var product:IModuleInfo;and my context definition : <module:ParsleyModuleDescriptor domain="{ClassInfo.currentDomain}" objectId="product" url="../../modules/Product.swf"/>and
See this screencast:http://screencast.com/t/ZDZkYTk3YmQtIs it not awkward that I'm pasting plain text and it doesn't inherit the existing format? In my experience with document editors the pasted plain text always inherits the existing format it's pasted into. If you agree, is this logged as a bug or shall I do the honors?Thanks.Aaron
When I run FlexPMD 1.1 via Maven, it only checks the main source tree (src/main/flex). How can I get it to also check the test source tree (src/test/flex)?
Hi everyone.From documentation currently FlexPMD runs in the site phase but I need it to run in the compile phase. Is this possible?The original problem is: I want to prevent project successful building if there is any violation errors the same way as pmd works for Java.Thanks.
There is NO SUPPORT for TLF and right-to-left writting settings in Flash CS5 for this components: Combobox / List / TextInput Steps to reproduce: 1.Add combobox component to stage 2.Open properties panel and add in the data provider some Arabic text eg.: العربية 3.Publish and upload Flash page on some server Actual Results: The Arabic text is backwards Expected Results: To show correctly TLF and right-to-left writtin support is missing completly for this components: Combobox / TextInput / List. Please test on a computer where Flash CS5 is not installed, because it shows correctly on that machine and incorrectly on a normal user computer that doesn't have Flash CS5 IDE. * Persists in any browser.If anyone knows of a workaround please let me know ASAP !Many thanks,
For some reason Spark controls won't render text correctly on our sparc Solaris 10 worstation. As you can see the Cancel button and the "HELLO" label are mx controls. The rest are spark controls and only display a square with an x inside, Any ideas?I've tried with both "_sans" and "_typewriter" font families.
When you spend more time creating hacks solutions for your project is that something is wrong. This is the daily life as a programmer using Adobe solutions..) Creates a pure actionscript project.) Go to URL: http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/utils/Proxy.html.) Copy the example). Put a breakpoint in this line: protected var _item: Array / / array of object's properties nextNameIndex flash_proxy override function (index: int): int ( / / Initial call-> If (index == 0) (.) Looking at the variable "_item" variables in the window and start pressing F5. Each time you run one step creates a new array ..).) Now add this line: protected var _item: Array / / array of object's properties nextNameIndex flash_proxy override function (index: int): int ( / / Initial call-> Index + +; &n
I'm trying to implement dropped initials feature into my Flex application. Since Text Layout Framework does not support floating, the only known solution is to create additional containers that will be linked together, displaying the same textflow. Width and positioning of these containers has to be set in such a way that it will pretend that it's float.I'm using the same solution for dropped initials. Basically, I'm creating three containers, one for the initial letter (first letter in text flow), the other for text floating around, and the 3rd one to display text below these two. All these containers share one textflow.I have big issues with forcing controller to display only one letter from the text flow, and size it accordingly, so that it wont take any unnecessary aditional space and won't get any more text into it.Using ContainerController.getContentBounds() returns me size of whole sprite of the letter (with ascen
Hi,I want to make horizontal InlineGraphic in vertical text.( the right side of the lower image )// [ B ] code:private function init():void { var sampleHTML:String = "<p>いろはにほへと ちりぬるを わかよたれそ つねならむ" + " うゐのおくやま けふこえて あさきゆめみし ゑひもせす<br/>" + "<img src='test.png'/></p>"; var textFlow:TextFlow = TextConverter.importToFlow(sampleHTML,TextConverter.TEXT_FIELD_HTML_FORMAT); textFlow.addEventListener(StatusChangeEvent.INLINE_GRAPHIC_STATUS_CHANGE,onImgLoad); textFlow.fontSize = 50;  
Hi Guys,This issue is specific to TLF 1.1 and does not happen in TLF 1.0.Have 2 linked container and try typing on the second para of second container, you will see a flicker . Also if you hit "ENTER" in the first para of second container the content will dissapear .You can try the same here ..Is this a bug in TLF or am i doing something wrong ?ThanksRafique Gilani
Hi,I have created a custom highligter class since the EditManager applyFormat is too slow for lots of text and lots of highlights. Everything works great for RichEditableText - The textFlow's flowComposer's lines array contains a listing of TextFlowLines and from there I can determine which ones are visible on the screen or in the viewport, and then from there figure out where the characters (atoms) positioning information is from the TextLine/TextBlock methods.However, RichEditableText does not support truncation. So I tried RichText, but the textFlow/flowComposer/SpanElement/ParagraphElement are no help. None of the information about the lines is in the rich text with truncation.What do I do?I tried going to the source of RichEditableText, but I can't find where the lines of the textFlow get populated in the flowComposer's lines array. The only explination I have for that is that the source in the premium build that I have doesn't match up with the binary - VERY annoying.Any help?
for my flash website, I have several flash text areas using this TLF and I know and love how the markup import/export thing works... the main problem I'm facing is that I don't know how to update my CMS buing built in PHP already?in the last version which I used htmlText, I used a simple FCK editor in php and it generated the html tags and flash could read and display the text, but with the new markup xml, I'm confused!so, I thought maybe I could have a flash editor integrated into my CMS so I can write and edit my text in there and when saving, it will export the xml markup and save it into database and the site text areas will use that markup to show the text...I think this is the best thing to do, but how can I write a flash text editor?! that will certainly take a LOT OF time and I don't have that time! so I'm posting this question here in hope that someone has thought of something? I mean, there must be a standalone editor like the one we have now in flash CS4 > Window > Oth
Hello,I have put together a SWC for my TLF Text Editor I am building that you can try. The project is very early in its development and I am posting it here to give background about the project I am building as pretty much any questions I post here to this forum will be related to this effort.The link below has a download to the SWC, a link to a sample editor, as well as a simple video I put together demonstrating the editor and using the SWC.http://web.ucompass.com/UcompOSEditor.htmlThe SWC was built using the Flash Builder Beta 2 release and will probably not work with any other SDK than the 4.0.0 that is built into the release as there have been some changes to some property names in certain classes in the TLF since then.
When using the following code:myTextArea.textFlow = TextConverter.importToFlow(someText, TextConverter.TEXT_FIELD_HTML_FORMAT, null);with HTML like this (note CRLF is two characters; carrige return and linefeed, the newline sequence in Windows)Just a test<br/>CRLFLine 2<br/>CRLFLine 3<br/>CRLFI end up with HTML being displayed like this:Just a test<space>Line 2<space>Line 3I tried replacing the CRLF sequences with just LF (Unix style) and still the same occurs. If I remove all CR & LF characters then I get the expected output:Just a testLine 2Line 3The importer has somehow interpreted the CR/LF sequence as a space or non-breaking space. Is there a way to have the CR/LF dropped, or should I just continue to use a filter function that removes \r & \n characters before importing?. Is this a known issue?I am using Flex 4.1 build 16076
I am trying to create a multi-column textflow that runs across the fold in the middle of a page spread. On other side of the fold the columns should be spaced as usual, but the spacing between columns across the fold needs to be wider so the text doesn't disappear in the fold. If possible I would like to do this with a single container - can anyone tell me if this is possible, and if so, how to do it?Thanks!
Hi all!I am trying to automate AIR tests that run successfully via Adobe Flash Builder 4.I get the following error: Error: Call to a possibly undefined method runWithFlexUnit4Runner through a reference with static type flexunit.flexui:FlexUnitTestRunnerUI. [mxmlc] [mxmlc] testRunner.runWithFlexUnit4Runner(currentRunTestSuite(), "unit_tests");when I run the tests from command line via: ant -v clean package. The part of the build.xml responsible for this is:<target name="test" depends="compile"> <!-- Execute FlexUnit tests and publish reports --> <mxmlc file="${test.src.loc}/FlexUnitApplication.mxml" output="${bin.loc}/FlexUnitApplication.swf" &nb
Applying url code is here: var editManager:IEditManager = this.textArea.textFlow.interactionManager as IEditManager; var tlf: TextLayoutFormat= this.textArea.getFormatOfRange(null,beginIndex,endIndex); editManager.applyLink(value.toString(),"_blank"); tlf["color"] = 0x18479B; tlf["textDecoration"] = TextDecoration.UNDERLINE; this.targetTextArea.getTextFlow().interactionManager.setFocus(); After I delte , throw these error: TypeError: Error #1009: Cannot access a property or method of a null object reference. at flashx.textLayout.elements::FlowLeafElement/computeElementFormat() at flashx.textLayout.elements::FlowLeafElement/http://ns.adobe.com/textLayout/internal/2008::createContentElement() at flashx.textLayout.elements::SpanElement/http://ns.adobe.com/textLayout/internal/2008::
Hey, I am currently developing a TLF based HTML/CSS renderer, which is working quite okay already. But there is a list of shortcomings (or bugs) which drive me nuts...Column-support: although there are column properties such as columnCount or columnWidth, which can be set for single FlowGroupElements, the settings do not change anything. It seems that column properties can only be successfully set for whole TextFlows. Am I right?Buggy InlineGraphicElement alignment: Some InlineGraphicElements, overlap preceding paragraphs, especially if they are larger than the TextFlow container. Sometimes, if I scale down the image after loading, the Image will be aligned correctly, but not in every case. I see no system behind that, it's absolutely arbitrary.What's the difference between e.g. paragraphSpaceBefore and paddingTop? I just don't get it. It would be great if it actually would be possible to just set paddings on all non-inline containers! most containers don't want paddings at all at the
I am trying to suppress flexPMD warnings in my applicaiton. I am using flex1.1 and i already tried// NO PMD rule name and other suggestions but it doesnt work. Would like some help on this topic. Is it because // no pmd command is not compatible with flexpmd 1.1 or it has been changed to something else.I dont want to exclude rule as i need them in some serious cases and i would like to supress remaining warningsNachiket
Well, here is my attempt to adjust a div container but discovered I can't apply any styles that are declared. Can someone please take look.Is it ok for me to convert 'data' as TEXT_LAYOUT_FORMAT?Why aren't CSS styles being applied?And to my orginal question, how can I adjust/justify/move a div element?<?xml version="1.0" encoding="utf-8"?><s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="500" minHeight="500" creationComplete="application1_creationCompleteHandler(event)"> <fx:Style> @namespace s "library://ns.adobe.com/flex/spark"; &n
Hi there,I've found a problem with TLF - searched the forums and can't find any mention of it on the forums or elsewhere. What happens is that if I have a container with more than one column, and vertical scrolling allowed, as soon as there is enough text to require scrolling, only the right-most column scrolls. The other columns will contain only enough text to reach the height of the container. Example here - just type or paste in enough text to make it scroll:http://lab.almirun.com/as3/ColumnScrollTest/ColumnScrollTest.htmlExample source here:http://lab.almirun.com/as3/ColumnScrollTest/srcview/index.htmlVersion number is 1.1 and build number is 602 (746231). CheersJosh
I do as the article Flex4 updates for tlf2.0, but when i use float attribute such as "left" or "right" ,the image will disappear,1. load the sdk 4.0.141592. replace the the files (FTETextField.as and csstextLayoutFormat.as);3. replace the textLayout.swc in the framework4.run ant -q mainthen I set the flashbuilder 4's sdk with the sdk I just changed.Do i miss something or i do something wrong?the <img /> float="left" or "right" the img is disappear, but there is no compiler error or runtime errors.
Hi All I have a cursor issue in my text flow. The normal scenario is when the mouse cursor is over the text, it is shaped as text cursor(like a vertical line in between two horizontal lines) and when mouse moves and come out of text, it changed to a pointer...this is the right behavior that mouse cursor should show. Now the problem... when I made the text of the text flow read only by selecting a entry from the combo box which has other entries like read-select only,read - write both....If I place the cursor inside the text after opening the combo box and then select the read only option by using up arrow or down arrow and enter key....the cursor become a text cursor permanently..i.e it does not change when it moved out of text area and rolled over the buttons of the component....which looks very ugly that a text cursor over the button or any other component...it backs to its normal behaviour when I re
Hi - We have our code logic to determine line height as below.textFlow.flowComposer.getLineAt(0).textHeightBut we receive a value of NaN for some of the text areas vs getting values for most of them. Can someone help is identify what could go wrong as to why would we receive NaN for text height?Let me know if you need more information.Thanks & Regards,Magesh
Hi I am create an application using Flex 4 and flash player 10.1.I am using textLayout framework for plotting text. When I add TabElement in text and set textAlignment to Center ,It remain left align. I check it on TourDeFlex same issue is thereplz see image below. if anyone know solution please letme know
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.