『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
Hi,I'm trying to have text flowing in multiple containers. Those container are created in ActionsScript. When a new RichEditableText is created, I'm doing this:public function addTextContainerl(newText:RichEditableText):void{ var newPageController:ContainerController = new ContainerController( newText ); newPageController.setCompositionSize( newText.width, newText.height); var firstControllerFormat:TextLayoutFormat = new TextLayoutFormat(); firstControllerFormat.paddingTop = 4; firstControllerFormat.paddingRight = 4; firstControllerFormat.paddingBottom = 4;  
Is it possible to extend elements?i.e. Would like to create a component which contains an image and text together and insert it as one object? so ideally would like to extend the Element and define my own.Please advise.
Hi,I have a SDK 3.5 Flex application, and I'm creating a component using TLF. What is be oldest configuration I can sue in order to be able to load the new component into the Flex 3.5 application and still be able to use the TLF?If I'm going to use the TLF, should I use sdk 4? is there another way to use it with an older sdk?Tks.
Hi.I've created text layout format and text flow.Now I need to determine width/height of the container so it is exactly fit the text.Is it possible to get width/height of the text before creating container controller?Thanks.
Can any one please help me how to write a rule in FlexPMD and how to make use of it
I'm building an editor and I want to highlight lines that are selected by mouse click. I cannot use background color since I want to highlight the whole line from one end of the container to the other. This is straightforward to implement using the x-y coordinates from the mouse event to locate the line, and then draw a highlight box as a sprite on top of the container. Thanks for the ParagraphBorder sample that helped me figure out how to get this done right away.However, when the user scrolls via mousewheel or vertical scrollbar, the highlight box must be redrawn. I thought this would be easy by storing the current highlighted line index and accessing the textflowline by index within the corresponding event handler to redraw the box using the bounds of this line. Yet, even after updating all controllers, I seem to retrieve the wrong line by index since the box drawn using the bounds of this line is incorrect.As another approach, I thought I could use the mousewheel delta and shift th
Hi,Is it possible to explicitly define the no of characters in a line.Like line 1 20 characters, line 2 15 characters like this.-Mahesh.
Hi,when I set the format to use "Lucida Handwriting" on an XP machine (using flex_sdk_4.1.0.14706) the selection is misaligned with the text. If you change the font to Arial it works. Lucida Handwriting is a commonly installed system font on PCs. Here is the code I was using:package { import flash.display.Sprite; import flashx.textLayout.container.ContainerController; import flashx.textLayout.edit.EditManager; import flashx.textLayout.elements.DivElement; import flashx.textLayout.elements.ParagraphElement; import flashx.textLayout.elements.SpanElement; import flashx.textLayout.elements.TextFlow; import flashx.textLayout.formats.TextLayoutFormat; import flashx.undo.UndoManager;
Hi all,Having been pounding my head against the wall for a couple of days I just wanted to give you heads up on what I discovered.Don't know if this behaviour has already been documented but I've not found any useful info about this.I have a TLF-editor that saves TLF-formatted text to a MySQL database.So far so good, if I retrieve the TLF-formatted text to a TLF-viewer or the TLF-editor, it all looks right.But if I, (as in this case), want to create a summary of a couple of these database texts, (i.e. for printing), things started to break.As the TLF does not support "appending" the only way I could glue these texts together is by making a deepCopy() of all of the childElements in these separate texts and add these to a new TextFlow.However if there is a spanElement surrounding one word, (bold, italic, underlined, strikethrough, make your pick), the whiteSpace between this word and the words before and after are gone.textFlow.whiteSpaceCollapse = "preserve" has no effect.Nor has textFl
HiI want to mix alignments in a single line in flex using TLF.Ie., on each given line, I'd like something like this:the quick brown fox|1 jumps over the|2 lazy dog|3In essence there's simply 2 columns there - the left column is right aligned, and the right column is left aligned.I'm not even sure where to start. Suggestions welcomed.Marty
Hey everyone,I'm having an issue with arabic (RTL) and numbers (or punctuation)...I need to display some numbers on the left and on the right of some arabic text, like so:Problem is, it's hard to write that in the Flash IDE because numbers "jump" to the wrong side of the word... And when compiled in a SWF file and displayed it looks like that:Which is bad!Here's the simple script I wrote, as an image because this forum's RTE breaks it...Bug, right?Or you have a fix?I'd love to hear so!
Hi, I'm new to TLF and I need to create really simple layout. See image below:I need to create this programmatically (web service gets me plain text and image url). I tryed to use InlineGraphicsElement but the text wont wrap around it. Can someone please help?Thanks Viktor
This morning I came to my workspace and when starting FlashBuilder 4 Beta 2 (Plugin) it gave me the above mentioned error.We have bought multiple licences and got the SN for the beta via the normal way. Now its not working anymore. Where can I send the bill for the next two hours of uninstalling/reinstalling/alinstalling hassle and frustration for working with this "product"?regards, Boese
Hi,What is/are the best practise(s) for dealing with Flash (CS4) UI components in a project that uses TLF?My project is similar to the "World Class Text Tour" and the client insisted on embedding all the fonts. Does it mean I have to embed the same typeface one in an old-good-time fashine and one for the TLF? In the "World Class Text Tour" the language dropdown on the top uses English to display all the language choices while in my project it uses its own language, i.e., "Hebrew" would be Hebrew in Hebrew.Thanks.Geng
I filed a bug about the asdoc rules and I thought I'd try and fix it myself...I checked out the source at http://opensource.adobe.com/svn/opensource/flexpmd/tags/1.1/I cracked the terminal on OS X and went to the flex-pmd-parent dir and ran mvn packageAfter much weirdness... (I'm a maven n00b)... I ran into a problem...If someone can point me in the right direction to get this to work... I'd be more than happy to write a patch for the bug I filed..Thanks in advance...Error below:Downloading: http://fna-v2.googlecode.com/svn/trunk/fna_m2_repository//com/adobe/flex/framework/playerglobal/10-3.2.0.3958/playerglobal-10-3.2.0.3958.swc[INFO] Unable to find resource 'com.adobe.flex.framework:playerglobal:swc:10-3.2.0.3958' in repository snapshot-fna (http://fna-v2.googlecode.com/svn/trunk/fna_m2_repository/)[INFO] ------------------------------------------------------------------------[ERROR] BUILD ERROR[INFO] ------------------------------------------------------------------------[INFO] Fail
Over a week ago I sent in an application via the below listed website for educational licenses for Flash Builder 4. I never recieved any notification of receipt of the request and I have not heard from anyone at Adobe about this. Called Customer Service and they had NO idea what I was talking about. Can anyone at Adobe help me here?http://www.adobe.com/devnet/flex/free/index.html
Following is the scenarioI am picking all the fonts from client machine and user can change by clicking on those. When clients operating system has different language selected such as “Hindi” or “Arabic” I am not able to type anything in text layout framework but if you see in notepad if you change OS language it changes the font automatically and user can type in that particulate font.For example (In windows)If my OS language is English in notepad if I type its shows English wordsif I select Hindi language as OS language in notepad it shows Hindi but in text layout framework it shows Question mark.(you can try with text framework demo)Is their any way to do this in Flex.Mahesh
ASDoc rules failing when there is metadata between asdoc comment and attributes/methods/classeshttps://bugs.adobe.com/jira/browse/FLEXPMD-167
Hello,I am trying to extend the AbstractFlexRule class to pick up some <mx: .. tags from an .mxml file. This class just seems to be working for .as files ... Is this the case, or am I missing something.- Mansi
I have a text editor I'm working on, using the Flash IDE component, and I don't know how to pass a configuration to the exisiting textflow to set 'manageTabKey'. Basically what I'm trying to do is insert a tab when you hit tab, insted of tabbing focus to another component.What am I missing?Thanks in advance!-Ted
I am building an editor that can display line numbers. I have used a span element to show the line number at the beginning of each line. I don't want this flow leaf element to be selectable or editable as the rest of the textflow. I understand that I can change the selection format or selectability in general for the whole text flow, but I cannot see how I can do this for a specific flow element. Is this possible? If not, is this a planned feature? If again the answer is no, is there a work around?I am using the latest stable build (4.0.0.13875) for Adobe Flex Gumbo.Thanks a lot for your time and help.
Revision: 15124Revision: 15124Author: gauravj@adobe.comDate: 2010-03-29 17:59:09 -0700 (Mon, 29 Mar 2010)Log Message:***********Merge branch revision 4.x, 15123 --> trunkOriginal revision notes:Fix for ASDoc bugs:@SEE links are not working in the ASDoc of a style property@SEE links in a skinPart ASDoc are not visibleAsdoc tool generates bad links for Vector. type, property detail sectionQE notes: None.Doc notes: None.Bugs: SDK-26034, SDK-26035, SDK-26036Reviewed By: DarrellTests run: checkintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-26034 http://bugs.adobe.com/jira/browse/SDK-26035 http://bugs.adobe.com/jira/browse/SDK-26036Modified Paths:************** flex/sdk/trunk/asdoc/templates/all-index.xslt flex/sdk/trunk/asdoc/templates/class-files.xslt flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.javaProperty Changed:**************** flex/sdk/trunk/
Revision: 15123Revision: 15123Author: gauravj@adobe.comDate: 2010-03-29 17:46:28 -0700 (Mon, 29 Mar 2010)Log Message:***********Fix for ASDoc bugs:@SEE links are not working in the ASDoc of a style property@SEE links in a skinPart ASDoc are not visibleAsdoc tool generates bad links for Vector. type, property detail section QE notes: None.Doc notes: None.Bugs: SDK-26034, SDK-26035, SDK-26036Reviewed By: DarrellTests run: checkintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-26034 http://bugs.adobe.com/jira/browse/SDK-26035 http://bugs.adobe.com/jira/browse/SDK-26036Modified Paths:************** flex/sdk/branches/4.x/asdoc/templates/all-index.xslt flex/sdk/branches/4.x/asdoc/templates/class-files.xslt flex/sdk/branches/4.x/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.java
Revision: 15122Revision: 15122Author: klin@adobe.comDate: 2010-03-29 17:41:12 -0700 (Mon, 29 Mar 2010)Log Message:***********Merge 15120 from 4.x to trunk.Fix for http://bugs.adobe.com/jira/browse/SDK-23296. List was throwing an RTE because selectedItems was not being updated when the dataProvider is filtered and refreshed. The fix is to ensure that selection is cleared when this happens.QE notes: NoDoc notes: NoBugs: SDK-23296Reviewer: HansTests run: checkintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-23296 http://bugs.adobe.com/jira/browse/SDK-23296Modified Paths:************** flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.asProperty Changed:**************** flex/sdk/trunk/
Revision: 15120Revision: 15120Author: klin@adobe.comDate: 2010-03-29 17:28:49 -0700 (Mon, 29 Mar 2010)Log Message:***********Fix for http://bugs.adobe.com/jira/browse/SDK-23296. List was throwing an RTE because selectedItems was not being updated when the dataProvider is filtered and refreshed. The fix is to ensure that selection is cleared when this happens.QE notes: NoDoc notes: NoBugs: SDK-23296Reviewer: HansTests run: checkintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-23296 http://bugs.adobe.com/jira/browse/SDK-23296Modified Paths:************** flex/sdk/branches/4.x/frameworks/projects/spark/src/spark/components/List.as
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.