『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
I'm trying to extend the SubParagraphGroupElement to implement functionality similar to the link element but for generic tags - however I keep getting the following error:Error: Attempted construct of invalid FlowElement subclassIs there some code in the FlowElement class that is limiting the the subclasses?
Hi everyone,I am trying to import a text from an xml file. It's an arabic text, I would like to add an html tag in the xml node.Here is my xml node:<price><![CDATA[صدار بديل €]]></price>Then I set the text property of a spanElement like this:var _sPrice:String = myXML.price;var span:SpanElement = new SpanElement(); span.text =_sPrice;paragraphElement.addChild(span);Everything works fine BUT when I try to add a <br/> tag to my xml node, like this:<price><![CDATA[صدار بديل <br/>€]]></price>It shows the <br/> tag and desn't convert it as a new line !How can I go to the next line by adding a tag or a char code or .. ???I also tryed using \n but deos't work as well !!
Hi,is it possible to create custom tags?I need to create a list (both numbered and bullet). It also would be nice to create a tag for headings so that they can be numbered automatically.If it is not possible is there another method to implement this?Thanks in advance.
I keep getting the following message from flex builder when trying to download the plugin: Unable to access "http://download.macromedia.com/pub/opensource/cairngorm/plugin/". Error parsing site stream. [Premature end of file.] Premature end of file. Error parsing site stream. [Premature end of file.] Premature end of file.
Revision: 6191Author: aharui@adobe.comDate: 2009-04-21 22:02:29 -0700 (Tue, 21 Apr 2009)Log Message:
Hi,I'd like to create a cutomized tag in a textflow xml, so that complier can render the tag like <span> tag or other existing tags?And I like to make the tag to be same level as SpanElement, what is the best way to do this?Could I just create a new class extends FlowLeafElement? Not sure it's a good way to do this,And I need the tag can be generated in the xml file when I export the textflow and can be renderred in when I import the xml file.Thank you in advance.Cheers,Luke Du
Dear Sirs,How I can delete a inserted graphic? Also I would like to know how I can modify the position of image (with a char position), actually I think that need delete and insert in new position, but I believe that exists other method for this.Thanks in advance.- Marcos
HelloI am using Flex Builder 3 Trial Version, when I import com.adobe.serialization.json.JSON, the IDE gives the following error:1172: Definition com.adobe.serialization.json.JSON could not be found.I have seen that the library is @ http://code.google.com/p/as3corelib/source/browse/trunk/src/com/adobe/serialization/json/JSON.as?spec=svn83&r=83Can I simply download this version of JSON.as and save it in my file system for the error to go away? If yes, where should I save it to?Or what else can I do for this error to disappear?
For my current project I need to know when a paragraph is removed. I am using the FlowOperationEvent and if the operation is a DeleteTextOperation I determine if there occured the deletion of a paragraph. The problem with this approach is that if the user selects some text and inserts any character the operation given to the event is the InsertTextOperation. Shouldn't there be two separate events for the deletion and the insertion of the new character? Is there any better way to determine if something has been deleted?Thanks in advance.
Revision: 6171Author: gauravj@adobe.comDate: 2009-04-20 13:33:58 -0700 (Mon, 20 Apr 2009)Log Message:
Revision: 6170Author: gauravj@adobe.comDate: 2009-04-20 13:33:12 -0700 (Mon, 20 Apr 2009)Log Message:
private function handler_insertInlineGraphic( event:RichTextEditorEvent ):void { var loader:Loader = new Loader(); loader.contentLoaderInfo.addEventListener( Event.COMPLETE, handler_inlineGraphicLoaderComplete ); loader.load( new URLRequest( event.value as String ) ); } private function handler_inlineGraphicLoaderComplete( event:Event ):void { var bmd:BitmapData = Bitmap( event.target.content ).bitmapData; &
This is more of a process question about how patches are built and submitted. In other large complicated open source projects (such as the Linux kernel) it's fairly common for things to be added in stages, so for instance the first patch on an issue might address the problem in (some) common cases, and later patches will integrate feedback from testers and address more and more edge cases. I've had a patch rejected because it didn't cover all the edge cases (which is fair enough, I hadn't though of them !) but going forward what do the Adobeians feel about this area ? Are patches that only address a subset of the issues OK ? Or would you prefer one (larger, more invasive) patch that covered the whole bug surface ?
Hi.I was looking for this information as well as trying to research the issue, but I keep hitting the wall and would appreciete your help.What am I trying to do:I want services_config.xml that is passed as an argument to MXMLC.EXE -services services_config.xml to be compiled into non-framework class.What I did / discovered so far:There is a ServicesConfig class that is meant to receive this info.This info is written into generated Application class in compile time in this form:ServicesConfig.xml =<services>...</services>;I can replace ServicesConfig with my custom class with the same name.I can replace generated Application class with any name I want.I can replace SystemManager class with my class with the same name.The problem is that in order to actually compile my custom Application class together with my custom SystemManager class I need to use [Frame] tag.If I use that tag, inspite of that I have removed other framework classes from the framework.swc, removed flex.swc
Hi, I am using FxTextArea to input a bidi string which has a mixture of Hebrew, English and punctuations. When I enter a Hebrew character it renders fine (the character appended to the left side of the existing string). When I enter an English character, it also renders fine (the character appended to the right). However, when I hit a space, what I am expecting to see is the entire English word gets appended to the left of existing string. Same goes for punctuations. I am expecting all the punctuations to be appended to the left of the existing string however it's been treated as English and therefore always appended to the right of existing string. Are there properties that I can specify to achieve the desired behaviour? Or is this a limitation?
I am trying to change the fontStyle to italic and if the whole selected text is italic and the user clicks on the italic button the formatting should be reset.Here an example:var cf:TextLayoutFormat = new TextLayoutFormat();cf.fontStyle = FontStyle.REGULAR;IEditManager(_textFlow.interactionManager).applyLeafFormat(cf);_textFlow.interactionManager.setFocus();The font style is reset if I change it to FormatValue.INHERIT. But that would result that if the paragraph is formatted in italic the text stays italic. But it is possible to reset the fontWeight property to FontWeight.NORMAL.Is that problem with the fontStyle a bug?Thanks in advance.
Hi all,I'm using TextBlock to create a paragraph. This paragraph has regions which do not render any text (so that I could put some images down within the generated text in a way more similiar to CSS float styles. BTW, I'm not trying to achieve an inline image rendering; I know that is possble already with TextBlock).So, my problem:If one of these 'block out' regions are close to the boundary of the overall paragraph region, then this is the result:In the left column, because those words are not broken on natural word breaks, createTextLine results in TextLineCreationResult.EMERGENCY.That's great--I can detect this situation from the API. However, I can't figure out what to do once I'm aware of it! What I want to do is this: I want to throw away any EMERGENCY TextLine (I've tried releaseLines), and then 'rewind' one createTextLine attempt so that I can try to generate the next TextLine using the same context as before the EMERGENCY failed attem
Does the Text Layout Framework support arched text, or other uses of text along a path which is not straight? If not, is it a planned feature? Thank you!
Should we not use AFEFontManager in conjunction with TextLayoutFramework and embedded fonts. I have a project that was using the compiler argument -managers=flash.fonts.AFEFontManager. I would embed fonts from a loaded swf, but the fonts would be of type "embedded" instead of "embeddedCFF". Since the type wasn't embeddedCFF, the font wouldn't display correctly.I removed the -managers=flash.fonts.AFEFontManager argument and it works perfectly.So, is there a different way to reference the AFEFontManager? Or perhaps it's not necessary to do so at all?thanks.
Hello,I think I may have uncovered a bug in the Text Layout Framework. I am trying to control which pieces of text flow to which container. In doing so I have setup some simple samples that illustrate how I *think* the composition sizing and container/container controllers work. It's entirely possible I don't understand how the framework should work, but I think the sizes being computed after CompositionCompletionEvent.COMPOSITION_COMPLETE are not accurate and there is a bug when measuring text.Here is the general concept of these samples:Create a textflowAdd text into a paragraph/span into the flowcreate a new container and container controller and add it to the display and flow respectivelyAsk the flow composer to compose the given text blocks using "textFlow.flowComposer.compose()"the event is used to size the composition to the exact size so that no other text will fit in it then repeat steps 2-5 as needed for additional text.As you will see in these two samples,
I've been looking at converting an existing Flex 3 project to have an Arabic language version, so I have been looking at the TLF to help do that. Originally I intended to just use the components for using TLF in 3.2, but it looks like I may need to use Gumbo for font embedding.I'm using the TextFlow to create an editable input box and so far I've run into a number of odd behaviours; can anyone explain where I might be going wrong, or an easy workaround?This is the code I've been playing with as a test:<code>private static const textInput:XML = <TextFlow xmlns="http://ns.adobe.com/textLayout/2008"> <div><p><![CDATA[اتحاد الصحفيين العرب يدينس]]></p> &nb
Is there any way by which I can use select the text or inlinegraphic and drag and drop it within same component?
If I set the backgroundColor of .italic in the SimpleEditorWithCSS example the background color seems to have an offset. You can see an example in the attached image.Is there a workaround?
Revision: 6136Author: aharui@adobe.comDate: 2009-04-10 15:46:40 -0700 (Fri, 10 Apr 2009)Log Message:
Revision: 6131Author: gauravj@adobe.comDate: 2009-04-10 10:20:58 -0700 (Fri, 10 Apr 2009)Log Message:
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.