『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
Hi,Can we show Paragrpagh and Span styleNames applied to a TLF text ?Something like the image below shows the Style Names in the Red box:Thanks.
hi, I'd like to compute the text which is displayed by n number of TextLines. I was trying to obtain the text displayed by a single TextLine through composer.getLineAt(0).getTextLine().textBlock.content.textbut this displays much more than what this TextLine actually draws.
HiI have blocks of editable TLF text, and inside these I have portions of text that should remain unedited no matter what (the might have a different styling so that the user can know they're different).All editing actions should be prevented: Cut, paste, insertion of characters, deletion of characters using del or backspace, etc. No matter what happened before the editing attempt: The cursor might have been placed inside the locked region using the arrow keys or using the mouse, or a portion of text might have been selected, (etc).In short: each locked region/span must remain unchanged.Is there an easy solution? Or at least a perfect one? Ideally there would editable="true/false" for span elements.Tobi
I can't figure out how to manage waypoint inside waypoints. For example I have:content [this is a waypoint]content->login [view]content->loading [view]content->dashboard [view with a viewstack insede, so also a waypoint?]content->dashboard->policies [view]content->dashboard->reports [view]content->dashboard->configurations [view wirh anothery waypoint?]content->dashboard->configurations->list [regular view]content->dashboard->configurations->panel [regular view]content->dashboard->configurations->other [regular view]When i had this everything was working just fine, my problems are been presented when i try to add waypoint insede another waypoint.content [this is a waypoint]content->login [view]content->loading [view]content->dashboard [view]There is an example of multiple waypoints?Also when I am using multiple waypoints should I change the annotation from [Waypoint] with something else?Thanks!!!
Hi,I need to make a mechanism where I can show line numbers along with the TLF text displayed in my TextArea.So is there a way to get the number of lines created by the TextFlow, so that we can know the amount of lines created.Thanks
Hi - Can someone point to links to download cairngorm swc for Flex4? Also we want to seperate presentation models from views, so that the views are focussed on layouts. I found that Parsley framework may help me get to that. But swc for that is around 217 KB for Flex4. Does Parsley include Cairngorm in itself? i.e should I include Cairngorm seperately if I want to use Cairngorm with Parsley?Also I want to get some tutorials or sample applications with Parsley framework, to help me u'stand how to use inject better to seperate models from views. Can someone point me to good examples or tutorials on that as well?
I am completely lost with where we are at with TLF and how to find out.There are several comments that you can't use TLF 2.0 with SDK 4.1. However I seem to be doing just that at the moment. So I presume that TLF 2.0 now works with SDK 4.1.Finding information about TLF 2.0 in general is a hit and miss affair.It seems this link is pretty much the latest about TLF Lists Markup: http://blogs.adobe.com/tlf/2010/07/tlf-20-lists-markup.html. However this is so cryptic as to be almost useless.For example, the examples include the line:<list listStylePosition="inside" listStyleType="decimal" tabStops="e20 s24">What is the syntax for tabStops? Where do I find out?Specifically, I am using dynamic text read from a server and parsed using TextFlowUtil.importFromString.I can format a list. But whatever I do I can't change the space between the bullet and the following text.Some guidance would be really useful and very much appreciated.TIAChris
It seems there's a bug, I reported it athttp://bugs.adobe.com/jira/browse/SDK-29368(I wasn't able to specify "TLF" in the "Components" dropdown, that's why I'm posting the bug report URL here in the TLF forum.)Tobi
I am working on a texteditor using TLF and Flash CS5. The problem I have is that when I use getCommonCharacterFormat on a single point selection the behavior is different if I have a link-tag adjacent to the selection compared to not having it.Think of a text like this: "Hello beautiful world!"- When I place the cursor at the end of the text in bold the format says bold and when i continue to write the text will be in bold.- When I place the cursor just before the text in bold the format says not bold and when i continue to write the text will not be in bold.This makes perfectly sence to me and is exactly what I would expect to happen.But if I make the word "beautiful" into a link the behavior is very different.- When I place the cursor at the end of the text in bold the format says not bold but when i continue to write the text will be in bold.- When I place the cursor just before the text in bold the format says bold but when i continue to write the text will not be in bold. Is this
Hello there,In the text that is loaded dynamically as XML (i.e. markup format) I need to specify background color for selected paragraphs.So, I tried this: <p backgroundColor='#800000'>.Alas, it has no effect.What puzzles me even more is that declaring this attribute in span DOES work:<p><span backgroundColor='#800000'>Lorem impsum ... </span></p>This way it does change the background color, albeit, it is not solid background but sort of highlight of the text lines.Although, it's not ideal, I could live with that, but still would be interested to find out: what am I missing?After all, span can't have children, so it is a patch rather then nice solution.So, far I couldn't find the explanation of that behavior - ignoring 'backgroundColor' attribute in the paragraph tag.I'm on Mac 10.6.6 and use TLF 2.0 build 228 BTW, searching for an answer I found a typo in the official TLF 1.1 Markup specification that was published back in December:6.3.13 backgroundColor
I've got an issue I can't seem to find an answer to on the forums or otherwise.I'm creating a screenwriting app in AIR that saves a file to the user's local machine.If I place this line of code for the import on the constructor it works fine and sets up the document for writing.private const textMarkup:String = "<TextFlow xmlns='http://ns.adobe.com/textLayout/2008' verticalScrollPolicy='auto' horizontalScrollPolicy='auto' fontSize='12' fontFamily='Courier New' paddingTop='60' paddingLeft='120' paddingRight='55' typographicCase='uppercase' xmlns='http://ns.adobe.com/textLayout/2008'></TextFlow>";Now, I have an export function that exports this data out as an XMLpublic function exportScript():void { var exportXML:XML = TextConverter.export(textFlow, TextConverter.TEXT_LAYOUT_FORMAT, ConversionType.XML_TYPE) as XML; var myScript:String = "myScript"; exportFile.save(exportXML, myScript + '.FadeIn'); }Thi
I have a command in flash that exports information from the actionscript of my flash file to XML. When i use TLF text on stage, the export does not run any of the actionscript inside the file. When i switch to classic text everything works fine. Does anyone know what is causing this?thank you.
Hi All,I try to change TextLayoutFormat of TLFTextField. I can change format only after create and adding TLFTextField to stage. Then I try to call getChild() and change it but nothing has happens. Here is a part of my code. "text_child" is TLFTextField on Stage.//---------------------------import fl.text.TLFTextField;import flashx.textLayout.formats.TextLayoutFormat;import flashx.textLayout.elements.TextFlow;var text_create : TLFTextField = new TLFTextField();addChild(text_create); text_child.text = "text child";text_create.text = "text create";var myFormat:TextLayoutFormat = new TextLayoutFormat();myFormat.color = 0x336633;myFormat.fontSize = 24;var myTextFlow : TextFlow;myTextFlow = text_create.textFlow;myTextFlow.hostFormat = myFormat;myTextFlow.flowComposer.updateAllControllers();myTextFlow = text_child.textFlow;myTextFlow.hostFormat = myFormat;myTextFlow.flowComposer.updateAllControllers();
It seems there's a bug, I reported it athttp://bugs.adobe.com/jira/browse/SDK-29367 .(I wasn't able to specify "TLF" in the "Components" dropdown, that's why I'm posting the bug report URL here in the TLF forum.)Tobi
Hi,I have a scenario where in I have to simulate the Indesign's tab leaders in a textflow ,so for instance a user types in a tab with the leader on than he should get something like this "Here I hit a tab.....see"instead of what it would have normally done i.e."Here I hit a tab see"-Ashar
IssueInitially I had my wizard waypoint definition as<cairngorm:Wizard waypoint="navigationPath.myWizard">to match my Destination and actual waypoint data of...[Waypoint(name="navigationPath.myWizard")]andpublic static const STEP1:String = "navigationPath.myWizard.step1";However, wizard.next() would navigate the wizard to the next page but never update the wizard's currentIndex.Work AroundTo work around the issue I changed the context's waypoint definition to only have the last part of the waypoint path.<cairngorm:Wizard waypoint="myWizard">Questions • Was this an intentional design decision?If it was, then the documentation should be made very clear as to this usage. The documentation seems quite out of date. • Would it be possible for the Wizard to support both simple waypoint and complex (full) path waypoint definition?
Hi there,Beeing interested in flex frameworks, i just made my way through the cairngorm 3 guidlines and diving into parsley - and i love what i see sofar.Nevertheless one big question came up for me, regarding the decoupling of presentation and domain through injected presentation models as explained within the guidelines and used within both cairngorm's and parsley's tutorials:Say i want to design a custom mxml component for presenting some data collection (maybe a datagrid component with some visual extras). Now i would want to reuse this component for representing several types of data collection, maybe with different sources and needs for data processing. If i understand the pm pattern correctly i would implement different presentation models (maybe against an interface).At this point i'm confused how to reuse my mxml component: i have to inject one presentation model into it but how can i than use the same component with another pm injected?I thought of inherit the mxml component
Hi guys!I'm new here!So I've been starting using cairngorm to develop this piece of software but then I ran into the problem of passing the flashVars from the main application to the business processes.Basically the setup would be like this:1) I have a flashVar that will be accessed of course through Application.application.parameters.parameter_name_here.2) onCreationComplete, I need to pass this variable (I really don't know where I should pass this variable)3) I need that variable to reach my Delegate class that will call an amf request and I need that said variable to be used as parameter.So my question is how/where will I pass that variable so that it will reach my Delegate class.Regards,Kromyko
how debug a cairngorm 3 module?
Can we have somthing like this has the default space between the bullet and the text. This paragraphs first line has a defined distance between the text and the bullet.Can we get the second case implemented in TLF 2.0?-Ashar
Hi there, I'm trying to solve a following problem: my text field should be divided into two parts, horizontally. First part is for a synopsis, and second one is for body. I need to visually divide them by drawing a line between them. The logic is to take the first paragraph and make it a synopsis. The rest is the body. So I need to be able to get the height of the first paragraph in order to draw the line at the right position. And I will have to adjust its position whenever user scrolls the text.Any ideas how to go about this?cheers,Jan
Can anyone tell me if there is a way to import the TLF markup into InDesign? Is it possbile to translate the TLF markup into an IDML format? I need to push text from a Flex app into InDesign while preserving all formatting. Would it be better to use the TLF markup or the TLF html export option? Any direction you could provide would be greatly appreciated.
Hi,does anyone know why I can't get TLF text rendering in published .swf files exactly the same I see in Flash text editor?I tried everything, embedding fonts, using another font, tweaking any parameter of the TLF object, but nothing changes:after publishing in swf I see the text rendered with a completely different anti alias type, it looks a litle uglier and thinner.Maybe I'm missing something?...Thank you in advance!
I want to render a short one-line text in a container width a static width, where the font size is automatically decreased if the string is to long.Is there a smarter way to do this besides starting with a large font size and decreasing it in a loop until the text fits in, like it's done here?
Is there a flex component that allows you to link TLF containers at runtime by dragging & dropping, in a similar way that Flash CS5 links text fields?Or do I have to make one from scratch?
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.