『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
Hi I've took the example from http://corlan.org/2009/02/12/how-to-add-a-scrollbar-to-text-layout-framework/ to add a scroll bar to my editorI use TextLayout Framework 2 and SDK Version 3.5 so I had to adapt my code to work and I got stuck on private function composeListener(event:CompositionCompletionEvent):void { var textHeight:int = Math.ceil(_controller.calculateHeight()); if (textHeight < _controller.compositionHeight) { scroll.enabled = false; } else { scroll.enabled = true; scroll.minScr
I have been trying to understand a basic example of Navigation with parsley, I am using parsley 2.3.1 and navigation and navigationParsley 1.1I have declared the context, created a ViewStack with to views inside with their views inside like this:<mx:ViewStack xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:presentation="org.mxhero.console.frontend.presentation.*" xmlns:spicefactory="http://www.spicefactory.org/parsley"> <fx:Script> &nbs
I have two linked containers. When I update the compositionSize on one of them, they both change. They share the same textFlow, so my code is simply:containerController.setCompositionSize(this.width, this.height);textFlow.flowComposer.updateAllControllers();- I would expect this only to update the width of the specified controller/container pair, but it operates on both of them.What am I doing wrong?Many thanks in advance.Jude Fisher / JcFx.Eu
Hi,I've DL the module exampe; from the repository (eg. http://opensource.adobe.com/svn/opensource/cairngorm3/trunk/samples/insync/) and add the "missing libraries in order to make them compiling.These are compiling, but when I launch them (the shell application or the sub-module application one by one) I've got an empty blank page.The libs I'm using are :- integration-0.14.swc- integrationParsley-0.14.swc- module-0.12.swc- observer-1.11.swc- parsley-flex4-2.3.0.swc- spicelib-flex-2.3.0.swc- navigationParsley-1.1.swcMaybe I've done something bad in the configuration (or some files are missing... )I've also created another simple project from scratch. The project is compiling and working ok. I tried to create a module from this project and call it from a new "shell" project but then I've got the following error while the "shell" appliction is loading the project :TypeError: Error #1009: Cannot access a property or method of a null object reference. at com.adobe.cairngorm.module::ParsleyF
I'm new in this forum so hi everybody !I have a question about the spark textarea and TLF. I try to do an editor (like wysiwyg but more simpler) and I have a problem :When I type for example :------test line 1test line 2-------the enter key split the paragraphs. I can see it when I do TextConverter.export(editor.textFlow,TextConverter.TEXT_LAYOUT_FORMAT, ConversionType.STRING_TYPE).toString();It returns "<p><span>test line 1</span></p><p><span>test line 2</span></p>" instead <p><span>test line 1<br/>test line 2</span></p>I tried to set a configuration for the textflow of the textarea like this : var config:Configuration = TextFlow.defaultConfiguration; config.manageEnterKey = false; &nb
I was using TLF in the webgame in these days.There is a chat panel with 2 buttons, when click both the 2 buttons, the height of container must be reduce or increase.My way to achieve it is using "textFlow.flowComposer.getControllerAt(0).setCompositionSize(container.newWidth, container.newHeight)",but it is more likely the scaleX&scaleY of the container is changed.I am very sad with this, so I post it here wish there is anyone who can help me in solving this.And I am fresh in using TLF. Is using "use namespace tlf_internal" ato read the contentHeight right?Any answer will be appiciated.Sorry for my poor English.Best Regards to You all.
generally, when the mouse moved into the edit area, the mouse cursor changed into text cursor from arrow cursor.when i use editorManager, the cursor changed only when i move the mouse on the lines having content. the cursor didn't change when mouse was on the lines with no text.so how do i solve this problem?thanks.
I'm having some issues with an unwanted class being included into my asdocs and have managed to isolate the cause to including TLF text in an swc.The project is as3 only.I am exporting an swc (assets.swc) from Flash CS5, which has a class (UserInterface) which contains a TLF textfield.I am then adding assets.swc to my library path and using the UserInterface class within my application.When I generate asdocs (see settings below) from my source all works well however I have an unwanted class included.The class being included is in the top level package and is named along the lines of _7a743e26a97ed6a4a722a566cf5666c0a2a8db86575c71ff5221eeeea60c45c8_mx_core_FlexModuleFactory (the checksum part of the name varies).From what I can tell this class handles RSL loading for the TLF. In flash I have tried setting textLayout.swc to be merged into code with no change in asdoc output (release swf shows additional filesize so it is merging).Any help avoiding this would be much appreciated (changing
I am lost here.A module compiles and gets loaded within an application in one project . It is not optimized for it.When it is loaded from another project i get VerifyError: Error #1014: Class mx.modules::Module could not be found.What could it be?sincerely,t
HiI have very little understanding of *nix servers.we're trying to add FlexUnit on the CI build on the Solaris servers. The network admin's are telling me that the vncserver approach listed on the wiki won't work on Solaris.Can anyone suggest a similar technology / approach that is suitable for Solaris?Regards,Marty
hey frnd,is any sample thr to show swf and movie in TLF Editor like we can see image in it ?thx in advanced,abhishekchess1@gmail.com
I sure hope someone can give me a definitive answer about how to get rid of this error. I had completed an application in Flash Builder 4, put the updated executables on my Linux Server (where previous revs had been working fine), and when i tried it, I got a blank screen (in Firefox, Opera, Safari, Chrome and IE ...all of which had been working fine before). The only change in the interim was an update to Flash Player 10.1, but curiously my app still works fine if I run it on any browser from my Windows (Apache2.2/MySQL5.1/PHP5) server. Thankfully, I at least got an error message "Error #2046" on my new litl webbook. The debug Flash Player logged the error message, "Warning: Ignoring 'secure' attribute in policy file from http://fpdownload.adobe.com/pub/swz/crossdomain.xml. The 'secure' attribute is only permitted in HTTPS and socket policy files. See http://www.adobe.com/go/strict_policy_files for details."By my bad luck, this happened on the day i
All of a sudden, I started getting this error this morning on my Flex 4 project. I get this even with a trivial "hello world" program. The weird(er) thing is, my projects are *not* configured for RSL linkage--framework linkage is set to "merge into code" (though changing to RSL linkage does not help). Flash Player version ins 10.0.15.3 Linux (Ubuntu 9.10). I'm using FB3 Linux Alpha 5 and Flex 4.0.0. I know that's not exactly a supported configuration, but it worked just fine yesterday (sans code hinting in the new MXML namespaces, but I could live with that). Any idea what's going on? Or how I can diagnose this?
Ho,how can I export TLF marup to HTML, the built in converter exports "HTML" with <font>, etc. any other solution/way to do it? Thanks in advance.
I just re-posted my initial inquiry, regarding the context for the result I'm going for. In the meantime, I have a question based on a potential work-around:How would I go about creating a two-way binding for scrollbar mouse events between two DataGrids with the same dataprovider? Programmatically loosely speaking, they would be arranged as follows:<mx:DataGrid id="datagrid1" dataProvider="{vidItems}" left="0" top="0" width="300" rowCount="5" (etc...)</mx:DataGrid><mx:DataGrid id="datagrid2" dataProvider="{vidItems}" left="25" top="0" width="275" rowCount="5" (etc...)</mx:DataGrid>In this scenario, the additional rows would activate the scrollbar for each DataGrid and, by default would be aligned row-for-row at the same index at creation. For "datagrid1" the MouseWheel events for the Scrollbar executed over the visible area of
* I already posted this question in the "Flex" forum, but didn't get any replies. I'm not sure if this will yield any different results, but I figure it's worth a try...I have a custom MXDataGridItemRenderer with a custom nested Spark CheckBox component that I'm trying to use within an MXDataGrid component. The renderer works fine, as does the nested checkbox, however I'm unable to decouple the mouse events for the checkbox from the DataGrid row. I intend to use the DataGrid as a playlist for the VideoPlayer component with an FX Model-based DataProvider and the purpose of the checkbox is to allow the user to automatically play the next selected checkbox item in the list; similar to the checkboxes in iTunes. Placing an instance of the checkbox on top of DataGrid achieves the desired decoupling, but this is obviously an impractical solution, which I include only to illustrate what I'm trying to do. Any recommendations would be greatly appreciated.Thanks,~Benny
Hi,I'm hoping you can help me. I am trying to get the global coordinates of very character in a RichEditableText (which uses TLF).I'm working with TLF and going through each textline in a flow composer trying to get the exact start x& y of every character based on atom position. The code below is what I have so far. Suffice to say the multiple columns are being ignored (each line appears one after the other rather than to the right of the previous colum after reaching the bottom).Also - the character placement starts out OK but the atom coordinates seem to go out of sync with the characters after a few words - too close or far from its character neighbours - and new lines seem to be ignored.I'd greatly appreciate any help with this.var text:String = richEditableText.getTextFlow().getText();for (var i:int =0; i < richEditableText.getTextFlow().flowComposer.numLines; i++){ var flowLine:TextFlowLine = te.getTextFlow().flowComposer.findLineAtPosition(i); 
Hi All, I am currently developing an editor with the new TLF 2.0. Everything is working fine except the bullet's functionality.The goal is to use the bullets dynamically with different selected paragraphs.Could you please tell me if I can implement a simple solution using ListElement and ListItemElement considering all the different cases ? It seems to be quite difficult and tedious. For instance, the new tlf 2.0 will use 'ul' and 'li' html tags in order to create the bullets. I would need to check when the 'ul' and 'li' start and end according to the user selection.One of these cases would be for example : test 1test 2test 3with : <ul><li>test 1</li><li>test 2</li><li>test 3</li></ul>Then, the user selects text 2 and undo the bullet :test 1 test 2test 3with : <ul><li>test 1</li></ul>test 2<ul><li>test 3</li></ul>I need to calculate indexes of the first ListElement, t
What font does the TLF uses when it can't find the characters in the embedded font?For example we have a non-latin text (like Arabic, Chinese, ...), but in the text are a few latin-type characters used (a brand name, numbers, ...). TLF won't find these in the embedded non-latin font, so it will default to a system font (I guess). Is it possible to default it to another font than the system font (something like Helvetica)? Or can we tweak it with the container, paragraph or character formats, and create some hierarchy?
Hi - In our custom made fonts, we dont have characters like ®, present. (confirmed it by seeing the font in windows character map). But our text area allows copy pasting such characters into the textarea. We use TLF. Am not sure what font these characters get rendered in, but am pretty confident these are not present in my font.This is how I generate my font swf.Pls guide me on what wrong am I doing or why are these fonts showing up in TLF? Let me know if you need more details.package { import flash.display.Sprite; import flash.system.Security; import flash.text.Font; public class testFont extends Sprite { Security.allowDomain("*"); [Embed(source="/fonts/testFont.ttf", mimeType="application/x-font", fontName="testFont",  
Hello,I do have a justify aligned column with a embedded japanese font.In Flash Player 10.1 everything is displayed as expected, but in Flash Player 10.0 the text isn't aligned properly.Please see the attached screenshots.Flash Player 10.0Flash Player 10.1Thanks in advance for any advice.Franziska.
i tried to add custom items to tf container but they are not shown ? Does TF control its CM and forbid its CM to be modified ? Any ideas ?
When you select this text you get a blue (or gray when unfocussed) selection shape (regardless the background color) while text becomes white (regardless the text color when not selected).What is the best way (I am hoping on a solution that doesn't involve changing the ElementFormats of the ContentElements in order to get white text ) to achieve the same effect for FTE TextLine objects?In the end I would like the user to be able to set the preferred (focused/unfocused) colors for the selection shapes and the selected content.Thanks in advance for any pointers/solutions/... you might have for me.- Benny
Hi Everyone,I need latest Text Layout Framework for Flex Builder 3, SDK 3.2.0.3958.Can anyone provide me the same.Regards,Amandeep Singh
Hi guys,I'm facing this problem of default timeout of 15seconds, I'm running a loop, but it is not an infinite loop. It just takes very long to process and this error will occur. How do I go about solving it?
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.