『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
Background- Flash Player 10.2.152.32- SDK 4.5.0.19786- text being displayed in Arabic- DataGrid has 12 columns and displays less than 20,000 rows- using RichTextEditor on a TextArea within an item rendererPerformance Problem- DataGrid population is done is an acceptable timeframe (consistantly populated in less than 10 seconds)- the scrollbar hangs for several seconds when you click on it and drag- "you can’t scroll through the fields at all with any reasonable performance"Testing Done- switching to the Spark component seems to make it worse- limiting the number of rows of data doesn’t help the performance- removing all code within the item renderer (applying a blank item renderer) doesn’t help the performance- removing the item renderer makes the scroll bars work perfectly (it fixes the problem)Issue- need the item renderer for application functionalityAre there any known problems with FTE rendering Arabic?Thanks,Steve
Hi everyone,we're using TLF to display structured text on the client side with Flex. The text comes from a database where it is stored in our own XML-Markup, transformed on the server side (java server) to TLF-Markup and then sent to the client.Is there any possibility to make sure that the transformation on the server into TLF-XML results in a valid syntax so that the RichText component can display it? Something like a DTD for the TLF-Markup?Thanks in advance!
Hi, We are having issues with embedding/renderring fonts in swf. Here is the code of the slide1.swf compiled by mxmlc.exe [Adobe Flex Compiler (mxmlc) Version 4.1.0 build 16076] with compiler parameters -- "-static-link-runtime-shared-libraries".and checked with Flash player version 10.1 and 10.2 and 10.3. package { import flash.display.Sprite; import flashx.textLayout.compose.ISWFContext; public class Slide1 extends Sprite implements ISWFContext { [Embed(source="C:/WINDOWS/FONTS/CALIBRI.TTF", fontName="Calibri", embedAsCFF = "true", unicodeRange="U+0041,U+0072,U+0069,U+0061,U+006C,U+0020,U+00
I'm currently working on a Flash application which formerly used plain old TextFields and has now been adapted to use TLFTextFields instead. While I'm generally quite happy with some of the improvements in TLF 2 (lists!), it still seems much buggier than expected from Adobe.For example, textHeight doesn't always seem to update immediately after setting htmlText, scrollV sometimes returned nonsensical values while scrolling, when re-setting htmlText some formatting (colors, font weight) from the previous value stays around etc. In short, even the new version of TLFTextField seems significantly less robust than TextField (which probably shouldn't come as a surprise, given the complexity of the thing).While annoying, for most of those issues I was able to find work-arounds. Now, however, we're seeing rather mysterious null-pointer issues popping up.Maybe those errors ring some bell with you; I'm sorry I can't provide more detailed information yet (I'm getting those reports from testers in
I have a TLF (tried it both in a canvas, and by using s:TextArea) that I want to display a document in with different words/areas highlighted.I do the highlighting via a selection and edit manager:var ss:SelectionState = new SelectionState(tf, myStart, myEnd);editManager.applyLeafFormat(textLayoutFormat, ss);This works great, and highlights as I want, however when I scroll the text area, any lines that have a highlight in them suddenly dissappear! If I scroll back to the start, they re-appear.Any ideas? Am I going about applying highlghts the correct way? I am not doing anything on the textarea scroll event. Do I need to be?Very odd behavior.-Ryan
Hi all,I'm looking for the best practice of communication between modules using cairngorm.I read the document which offers three ways (http://livedocs.adobe.com/flex/3/html/help.html?content=modular_7.html😞1. Using query string2. Using interfaces 3. Accessing through parentHowever, I am using componentized approach (http://sourceforge.net/adobe/cairngorm/wiki/ApplyingthePresentationModel-ComponentizedvsHierarchical/) for the presentation model. Meaning I want to use presentor to handle all data passing between modules, and have a presentor which is a part of a module to handle the data passing in the different views of the module.I am getting a bit confused with the structure when building the app. The main application component is being injected with all the modules and the application presentor.Do you have a suggestion of a correct structure?Thanks alot!Assaf
An internal error occurred during: "add markers job".Index: 0, Size: 0get this alert sometimes during build. withpmd nature addedmonitorize set latest builder 4 (stand alone)trunk flex sdklatest version of PMD
Hi,I had a requirement where I had to make a deep copy of a textflow,I was under an impression that it would make a copy of this textflow.Yes,it did make a copy of the textflow a new instance but the paragraph elements under this textflow were referencing to the same tabstop arrays which the original textflow was referencing.Now is this a bug or is it supposed to be like this only.-Ashar
Hi, I have to send an object to the server via a web service. The object A (say) that is being sent has a lot of properties. Now A has an array collection of objects of type B which in turn has an array collection of type C and so on.. The problem is some of the data is not a part of the xml data sent out.I have included the snapshots of the data given to the web service and data sent out as seen in the network monitor below.Object sent to the web servicexml data sent out as seen in the request body in the Network monitorThe object in red rectangle above is of type "Slide" which has an object "caption" of type Caption and other simple properties like slideId (int), slideNumber(int) and storyBoardId(int).The object in the red rectangle is the xml data of "Slide" corresponding to the object in the red rectangle in the image to the left.Notice that the entire object "caption" has been dropped while the simple properties have been represented.I am stuck and cant find a solution
I have created a TextFlow and the images load fine, but I would like to loop through and update all the 'source' properties to change the images. What is the best way to locate all the InlineGraphicElements in my TextFlow?Thanks!
hey frnds,i'm using simple TLF editor where user can add image in it.my code isvar textFlow:TextFlow = new TextFlow(); var p:ParagraphElement = new ParagraphElement(); img = new InlineGraphicElement(); img.source = relativePath+addPopupIMG.filePath; img.height = 100; img.width = 100; p.addChild(img); textFlow.addChild(p);var tf:String = TextConverter.export(textFlow, TextConverter.TEXT_LAYOUT_FORMAT, ConversionType.STRING_TYPE).toString();Now i want tht user can select this image in my TLF Editor and can resize its width and height.Is any way there to change selected image from TLFEditor ?thx in advanced,
hi folks,I have a flex project that I want to impelemet my poems with TLF?Can I have something like <tr>, <td> and totally table?!I know, theer is no table support in TLF but I want to know is there any way to simulate that?!something like this:Poem 1st hemistichspacePoem 2nd hemistichPoem 1st hemistich of 1st bits (justify)blank part for making space inherit of my project withPoem 2nd hemistich of 1st bits (justify)Poem 1st hemistich of 2nd bits (justify)Poem 2nd hemistich of 2nd bits (justify)Poem 1st hemistich of 3th bits (justify)Poem 2nd hemistich of 3th bits (justify)I want to make it with <s:div>, <s:span> , ... and import it with textConverter to a RichEditable text control?(of Course, there is no header and border in my mind for my project)Can I?! and If we can do this? how can I impelement somthing like this?!TanQBornA
Hi,Flex SDK 4.5 requires parsley 2.4. However, NavigationLibrary cannot work with parsley 2.4, since IMessageIntercepter was removed from this version of parsley.When do you expect to release Cairngorm libraries that are compatible with Parsley 2.4?Thanks.
Hi,I'm using NavigationParsley in order to "switch" three component (using property "automationName") contained in a View A.This view contains so the waypoint meta tag and a PM (wherever it is) triggers the "switch" by using the NavigationEvent.createNavigateToEvent(...) event.This works perfectly on the (default) global scope.Now I've got the following issue : A tabNavigator having several tabs (same type - I'm using Observer + itemRenderer for the tab) and each of these tabs got their own context.In the PM which trigger the NavigationEvent (in the specific context) I'm using the "local" scope to dispatch events. In order to do so my PM contains [ManagedEvents(names="eventName1, eventName2, ..., navigateTo", scope="local")].I've tested if the NavigationEvent was correctly dispatched by adding in a PM (whithin the same context) the following method:[MessageHandler(selector="navigateTo",scope="local")] public function testNavigationEvent(event:NavigationEvent):void{ &n
I'm using 4.1 and the asyc class doesn't seem to have Async.Responder, so I tried this:token.addResponder(Async.asyncNativeResponder(this, onResult, faultHandler, 600));but get an issue:Implicit coercion of a value of type flash.net:Responder to an unrelated type mx.rpc:IResponder.
I saw that this was taken care of in JIRA, but i can't seem to locate where the comment is that will remove a warning from MXML. I keep getting the "Too many Fields" on my MXML classes and I'd like these to go away.
Hello All,I have application with text box created with container controller and textflow.Also I have applied embedded fonts dynamicaly usingstyleManager.loadStyleDeclarations2(url,false);but after this when I try to undo, previous font is not get applied.When I debug the application, i fonund that generation is number is mismatch.please anybady know why it is? When I apply different font size or any other property link color, Undo works properly.Thanks,Vikram
Hello,currently I add hyperlinks to a TextFlow the following way:public function setHyperLink( linkInput:String ):void { if (editor.selectionActivePosition != editor.selectionAnchorPosition) { var content:String = TextConverter.export(editor.textFlow , TextConverter.TEXT_LAYOUT_FORMAT, ConversionType.STRING_TYPE).toString(); var selection:String = editor.text.substring( editor.selectionAnchorPosition,editor.selectionActivePosition ); var text:String = TextConverter.export( editor.textFlow, TextConverter.TEXT_LAYOUT_FORMAT, ConversionType.STRING_TYPE ).toString(); var arr:Array = text.split( selection );  
Hi! I'm trying to style hyperlinks (href's) in a TextFlow using a Configuration class. I basically copied the example from here: http://help.adobe.com/en_US/flex/using/WS02f7d8d4857b1677-165a04e1126951a2d98-7fef.html. But the returned TextFlow is coming back null.Here is a snippet of my code:var textFlow:TextFlow = null;/*** Configuration ***/var cfg:Configuration = new Configuration();var normalFmt:TextLayoutFormat = new TextLayoutFormat(cfg.defaultLinkNormalFormat);normalFmt.color = 0xFF0000; // rednormalFmt.textDecoration = TextDecoration.NONE;var hoverFmt:TextLayoutFormat = new TextLayoutFormat(cfg.defaultLinkHoverFormat);hoverFmt.color = 0xFF00FF; // purplehoverFmt.textDecoration = TextDecoration.UNDERLINE;cfg.defaultLinkNormalFormat = normalFmt;cfg.defaultLinkHoverFormat = hoverFmt;/*********************/if ( content.indexOf("TextFlow") != -1 ){ textFlow = TextConverter.importToFlow(content,TextConverter.TEXT_LAYOUT_FORMAT, cfg);}else{ textFlow = TextConverter.i
Hi,I have run into a situation where I wouls want to update the text of a span not by copy pasting a textscrap or any other known means ,instead by directly updating the text propertyegsomespan.text="my new text";By doing so I am not able to undo this changeeditMgr.undoManager.undo();does nothing when I undo this.Eg:Initial Span <someSpan>enter your name</somSpan>after setting the text property someSpan.text="my new text";Now if I try to undo the span back to "enter your name" by editMgr.undoManager.undo();it doesnt happen so. ThanksAshar
Ok,I reproduce it with the code below, replace the 04.swf with any small swf animation is okclick the button will raise the exceptionIs there any workaround ?<?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" creationComplete="application1_creationCompleteHandler(event)" xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="400" minHeight="300" xmlns:local="*" &nb
I just downloaded the zip nightly build and rebuilt all my projects/libraries. Now I'm getting this error. How do i fix this?Thanks!
What do I need to do in order to get the divs into 2 columns while have the elements outside of the divs in 1 column? Will I have to use 2 RichTexts to do this?<RichText textJustify="distribute"> <p>normal text in 1 column</p>// I want these div each in 2 seperate columns next to each other <div> <p> text
Hi, Can any one help how runtime font is embedded and loaded in flex 4 similar to flex 3. I can do it in flex3 using font.swf at runtime but it does not work in flex 4. Please help me to resolve it.Thanks in advance.
I know this isn't supported in any current version of TLF but nonetheless this is what our customers want. Our customers want the ability to have a single page of text with two paragraphs of text set to two columns, the next paragraph only one column then the last paragraphs on the page be two columns again.What do you think the best apporach to allowing for this functionality? I know the Times Reader did something similar to this. After digging into the only approaches I can see are 1. Extend ParcelList and totally pimp it out. 2. Allow for multiple ComposeStates for a ContainerController 3. Instead of having one ContainerController per page, during composition dynamically size ContainerControllers and have multiple per page. We would rather not do this due to it further hurting performance.I know this is definitely something TLF doesn't support and maybe never will but since you guys are the ones that wrote the
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.