『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
I have just started using Flex SDK 4.5 (I was using 4.1 before).I am compiling my resource bundles into SWF files and using them. I am including the required framework bundles also when compiling my resources into SWF.I have copied the generated SWF file to the deployment folder. When I start the application, I am getting the following error even though this bundle is included in my generated SWF file.Error: Could not find compiled resource bundle 'core' for locale 'en'. at mx.resources::ResourceManagerImpl/installCompiledResourceBundle() at mx.resources::ResourceManagerImpl/installCompiledResourceBundles() at mx.core::FlexModuleFactory/installCompiledResourceBundles() at mx.core::FlexModuleFactory/docFrameHandler() at mx.core::FlexModuleFactory/docFrameListener()following is the command that I use to compile resource bundles into SWF file:C:\"Program Files (x86)"\Adobe\"Adobe Flash Builder Burrit
Maybe a very silly question, but I'm searching for a solution many days now and maybe someone had the same issue. I have a basic Arabic text and put in a Flex RichText control with this line:public override function set text( value:String ):void{ this.textFlow = TextFlowUtil.importFromString( value ); // this.textFlow = TextConverter.importToFlow( value, TextConverter.TEXT_FIELD_HTML_FORMAT );}In a CSS file I tell the application to make all the text bold for this RichText control. And the strange thing that happens is that a "normal" english text appears bold and the arabic text stays the same as if the font-weight was set to normal.Can someone please help me?
Hi AllWe are looking for a basic html render in flash that can do most of the basic HTMl tag. TLF is very close except for bullet and table.I heard that bullet may be release in next version but table is not in the near future.So I decide to just try writing a simple html render with some TLF help.Can anyone have any idea what's the best approach for this? I guess I can manually parse the whole HTML and sned what ever tag that TLF can handle to TLF and manually draw everythign else.Is there any hook in TLF that let user override how some tag render or even custom tag rendering?Should I do the (data.text.value, TextConverter.TEXT_FIELD_HTML_FORMAT ) first?Thanks for any idea
Hello,I was wondering if it is possible (well it should be somehow) to get the name of the current execution test.For example when I use FlexUnit 3 (0.90) then I have to extend the TestCase class and then I have access to its member var methodName.But when I use flexunit 4, then I don't need to extend TestCase, my methods are just annotated with [Test]And when I have a Helper class that wants to know which [Test] myName is currently being executed, how can I do that?ThanksRadi
Hi,I am facing problem with converting Array Objects into ArrayCollections. How can i convert Array Objects into ArrayCollections. If any one knows how can we do that Pl reply.Thanks in advance to allRegards---------subbareddy.p
We currently use Flex 3.2 but are in the process of moving up to Flex 4.1. In the Flex 3.2 SDK we took advantage of the 'htmlText' property and its ability to do links. But, users could not tab to the links and screenreaders could not read the links. Therefore we were questioned about 508 compliance. We raised the issue to Adobe but haven't heard anything back. Has anything changed in Flex 4.1 (or 4.5) with regards to this issue? Has the Flash Text Engine or TLF somehow fixed this issue? I'm also wondering if anyone has any ideas about how to make the links in the 'htmlText' property 508 complaint.Thanks for your time!
So here is a function that I'm using in a screenwriting application that is suppose to drop down a line, center it and cause the next line to be all caps. However, the new paragraph inherits the previous paragraph's format. Am I doing this right? Is there a better way? How can I cause a new paragraph to be inserted here with the new format?public function character():void { var cf:TextLayoutFormat = new TextLayoutFormat(); editManager.splitParagraph(); cf.paragraphSpaceBefore="10"; cf.textAlign = "center"; cf.typographicCase="uppercase"; IEditManager(textFlow.interactionManager).applyParagraphFormat(cf); textFlow.interactionManager.setFocus(); }thanks,
I have a TextFlow object which is rendered in a Sprite with multiple lines.For a compact display I now want to display only the first line, followed by 3 dots (...).I didn't find a good approach so far.
What is the best way to move an existing flow element or selection?I am trying to move an Inline Graphic with drag and drop. I could not find a function that would allow me to specifiy a selection and a new position for it inside the existing flow.I was playing with cutTextScrap and pasteTextScrap but when I wired it up to a mouse move it would only work the first time. Is the text scrap the way to go and I just have a issue with the event handlers, or is there a better way?Thanks
How do I actually get the text that is rendered in a TextLine object?I just can't find it, though im quite sure I overlooked something.
Hi There, I'm stuck with a problem related to modules. I'm using the Cairngorm module library in an AIR application. (Parsley 2.3.1, Flex SDK 4.1). The problem is this: When I load modules in debug mode from the IDE, injections are performed on them without any problems. But: when I package and install the app, modules load, the context builds exactly the same way (according to the log), however none of injections are performed. I get no errors in the log. The log outputs everything the same way in both cases, except for some trace statements I put in the [Inject] setters. Any ideas why this would be happening?Thanks in advance, Bruce Flowers
Hi,I am stuck in a problem using the CSSFormatResolver class.I have a TLF format data given to me through an XML as a String. Now I first import this string using TextFlowUtil.importFromString and assign it to my TextArea's textFlow. I have some styles also being fetched from the XML, which I first set to the CSSFormatResolver object i.e. formatResolverObj using a formatResolverObj.styleSheet.setStyle having a styleName and an object containing various style properties as parameters.After that I use the formatResolverObj.styleSheet.parseCSS(styleName) to parse my defined style. Now I assign this formatResolver object to my textArea's textFlow.formatResolver property. In my CSSFormatResolver class, I am only using resolveFormat(target:Object):ITextLayoutFormat method, which returns me the desired format according to the styleName on that particular element.Now th problem is, earlier I had in my TLF only styleNames by default containing the desired formatting properties like <span sty
Hi,http://help.adobe.com/en_US/indesign/cs/using/WSa285fff53dea4f8617383751001ea8cb3f-6dc1a.htmlThe above link specifies how Paragraph Rules are added in InDesign.I have a scenario where I would want the same thing to happen in Flex.So is there any thing that can be done in Adobe Flex 4 in TLF 1.1 so that we can add these rules in the view generated using Flex.I was initially thinking of using inline graphics but I it will not help my cause.Please share if there is any way outThanksAshar
I am experiencing some strange behavior with links (they stop behaving like links) when I have to scroll the RichEditableText to reveal them. If they are at the top of the text or are otherwise visible before I scroll the text, they function correctly.Are there any known issues/limitations with TLF and links when there is a lot of text?Thanks
Interested in your opinion on SDK-26781 "Spark TextArea heightInLines stopped working from SDK 4.0 to stable version 4.1" which is currently closed.In Flex 4.5.18623 the TextArea behaviour had changed to the following:TextArea gets sized in height correctly at the start and then during the edit session the height of TextArea suddenly changes to ~1.5 lines with default skin applied.Code sample to illustrate this issue:<?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"> <fx:Declarations> <fx:XML id="data"> <flow:TextFlow xmlns:flow=
Hello all,I am using textLayout_1.0.0.595.swf.I have problem with setting justification with last line center style to paragraph .Here is code snippetvar textLayoutFormat:TextLayoutFormat = new TextLayoutFormat(null);textLayoutFormat.textAlign = TextAlign.JUSTIFY;textLayoutFormat.textAlignLast=TextAlign.CENTER;var editManager:EditManager = currentSelectedTextFlow.interactionManager as EditManager;editManager.applyFormat(textLayoutFormat,textLayoutFormat,null);Thanks,Vikram
Currently scrolling through "components" drop down menu at https://bugs.adobe.com/jira/secure/CreateIssue.jspa and could not find it.BTW, just created an new issue, present starting from Flex 4 SDK and till nowdays (Flex 4.5.xxxxx) -"Scrolling using Keyboard.UP key displays a text with a wrong top padding"https://bugs.adobe.com/jira/browse/SDK-29229
HiDoes TLF 2.0 support InDesign-style paragraph rules?The length should auto-adjust to text frame width.I'd like to be able to set the thickness to eg 1pt, and to set offset / line location. Tobi
Hello,Can someone point me to some sample code lines where i can be see how I can insert an image at the blinking text cursor, like in the nice example that adobe guys created.Also letting users see the sources for that great example (http://labs.adobe.com/technologies/textlayout/demos/) is a nice way to show people how to do stuff.What do you think ?-------------------Adrian
These forums have been a great help to us noobie programmers. Thank you all for contributing.I'm working on a screenwriting text editor and I'm swimming in water way over my head... which is where I tend to learn the most. I'm needing a particular button, let's call it "Character" to do a number of things when pressed. I need it to drop down a line, center align and all caps. I've looked at a number of different ways of making this happen including, importToFlow, insertText and simply trying to add a child paragraph and span to the textFlow. I've come up blank on each of these because I'm not truly gifted when it comes to understanding TLF. Could someone point me in the right direction?The one that made the most sense to me is importToFlow of an XML formatted paragraph and trying to convert that but I don't know what the heck I'm doing.Thanks!
I don't know what forum to post this question on, so please direct me if necessary.I want to get a phone for FP 10.1 Flex app development, but I need to get it from ATT as that is where my current family plan is and I can't switch.The Samsung Captivate has Android 2.1, but does anyone know if I will be able to upgrade to Android 2.2?Also, I heard ATT is strict about you need to download apps from the Android app store, but if I am developing apps, then how do I get it on my phone if it is not on the app store?Thanks in advance.
I'm a noobie when it comes to code but I'm catching on quickly. One thing I don't understand is why when I've dynamically created the textFlow and all of it's paragraphs and spans in code, there is no simple way to add a scroll bar to that text. Sure, I can get it to scroll withcontroller.verticalScrollPolicy=ScrollPolicy.AUTO; But the scrollbar doesn't appear, even when there is plenty of text to scroll.Do I have to put the entire container into a scrollpane to make this work or is there something more simple?
Hi all,I receive the following RTEError #1009: Cannot access a property or method of a null object reference. a tflashx.textLayout.edit::EditManager/handleUpdate() at flashx.textLayout.edit::EditManager/finalizeDo() at flashx.textLayout.edit::EditManager/doOperation() at flashx.textLayout.edit::EditManager/flushPendingOperations() at flashx.textLayout.edit::SelectionManager/enterFrameHandler()when starting to typing a text into Spark TextInput control from the sample code placed below.Please notice, that I am adding event listener for TextEvent.TEXT_INPUT event in capture phase<?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"  
I've got a flex hero project that needs some of the features of TLF2.0, but I also need a couple minor bugs fixed. I had planned to make the changes I needed, compile a new textLayout.swc and use it in my project instead of the version included in flex hero, but when I remove the textLayout.swc from the sdk bundle, and add my own version to the project, I start getting runtime errors (VerifyError: Error #1014: Class flashx.textLayout.container::TextContainerManager could not be found).I'm using FB Burrito, and the project I'm using to compile textLayout.swc is the one from the sourceforge svn. What am I missing?Thanks,Matt
I'm working on a school assignment in Flash CS5 trial version (i have cs3 but the class requires cs5 for the instructor to open .fla files). Working with the text tool in TLF, it will not let me actually type the text onto the stage. When I select the text tool and try to type it just puts medium blue lines/boxes on the stage and not text. I finally found where the errors were and it kept staying "1172: Definition fl.text: TLFTextfield could not be found" what in the world is this supposed to mean?! Tried "googling" the error and couldn't find anything useful. =(I'm fairly new to Flash so any help would be GREATLY appriciated! Thanks!Kandicekallen1984@msn.com
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.