『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
-
新着順
Revision: 5098 Author: gauravj@adobe.com Date: 2009-02-26 18:21:27 -0800 (Thu, 26 Feb 2009) Log Message: ----------- Update action script files with asdoc version tags. QE Notes: None. Doc Notes: Please review and update as necessary. tests: checkintests Modified Paths: -------------- flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DropDownList.as flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxApplication.as flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButton.as flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButtonBar.as flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxCheckBox.as flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.as flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxDataContainer.as flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHScrollBar.as flex/sdk/trunk/frameworks/projec
Revision: 5097 Author: gauravj@adobe.com Date: 2009-02-26 18:06:23 -0800 (Thu, 26 Feb 2009) Log Message: ----------- Update action script files with asdoc version tags. QE Notes: None. Doc Notes: Please review and update as necessary. tests: checkintests Modified Paths: -------------- flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemComboBox.as flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemDataGrid.as flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemEnumerationMode.as flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemHistoryButton.as flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemList.as flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemSizeDisplayMode.as flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemTree.as flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FlexNativeMenu.as flex/s
Dear Sirs, First of all, congratulation on your framework, it is trully a great job. I would like to know if it is possible to export the textFlow by using a XML specifc scheme, separated by controllers. Example: <content> <controller>[...]</controller> <controller>[...]</controller> <controller>[...]</controller> </content> In case it is not, how can I obtain the value (TextLayout Format) of a specific controller? Additionaly, please let me know if there is an estimate for some new funcionalities such as text highlight, tables, images resizing / positioning, and lists (ordered and numbered). Thanks for your attention, Marcos Passos
I have an application with an XML tag: <mx:XML id="textXML1"> <root><c1>goodbye</c1></root> </mx:XML> I then have a string variable which I set equal to that XML: var t:String = textXML1; I then set up a TextFlow by the following line of code: textFlow = TextFilter.importToFlow(t, TextFilter.PLAIN_TEXT_FORMAT); However, I then do a trace of the text value in the TextFlow: trace("textFlow's text: " + TextUtil.extractText(textFlow)); The resultant dump is: textFlow's text: <root> <c1>goodby <c1>goodbye Any ideas?
Revision: 5094 Author: gauravj@adobe.com Date: 2009-02-26 14:47:58 -0800 (Thu, 26 Feb 2009) Log Message: ----------- update script to add sparkskins.swc to the package Modified Paths: -------------- flex/sdk/trunk/build.xml
If you have an image that is used as an anchor (link), you are supposed to be able to click on the image to initiate the link processing. However, if you have a SelectionManager in your TextFlow, things dont work 100% the way they should. Specifically, if you try to click on the link by moving your mouse cursor directly over the image (meaning without touching any other text that may be a part of the link first i.e. <a href='foo'>aaa<img source='...' />bbb</a>... dont touch aaa or bbb with your cursor), then the image does not act as a link. However if you DO move your mouse cursor over other text in the link just prior to moving the mouse on to the image, then the image DOES respond to the click as a Link (i.e. slide your mouse from the left to the right going over the aaa and then directly onto the img). I have attached a simple example program that illustrates this problem, however you must take the car to move the mouse as I have described in the post. I am us
Revision: 5093 Author: gruehle@adobe.com Date: 2009-02-26 12:52:18 -0800 (Thu, 26 Feb 2009) Log Message: ----------- Specify the Halo theme for checkintests. Should fix the build. Modified Paths: -------------- flex/sdk/trunk/build.xml
Revision: 5092 Author: gruehle@adobe.com Date: 2009-02-26 12:31:11 -0800 (Thu, 26 Feb 2009) Log Message: ----------- Spark skins for Halo components. WARNING: The appearance of ALL applications is affected by this checkin. If you want to go back to the old skins, there is a new Halo theme (in frameworks/themes/Halo) that can be used to go back to the Flex 3 appearance. This checkin introduces a new swc - sparkskins.swc. This swc contains the spark skins for the Halo components. (these skins depend on FXG, which means they cannot live in frameworks.swc). This checkin also introduces a new theme - Halo. This is the Flex 3 theme, packaged for easy consumption. Known issues: * DMV and AIR components are not reskinned yet * Editable ComboBox skin is not final (left edge of button is wrong) * PopUpButton/PopUpMenuButton does not differentiate over/down from popUpOver/popUpDown. * Indeterminate progress bar is not final * ComboBox/Menu drop shadows are incorrect (missing, actually...)
Hi, I am new to Flexunit and I am wondering if it is possible to collect test result after running, then send mail out. Any idea of how to get this done? I really appreciate your ideas. Thanks, Dina
Revision: 5087 Author: gauravj@adobe.com Date: 2009-02-26 08:37:00 -0800 (Thu, 26 Feb 2009) Log Message: ----------- Fix for @7668748 tag in a method description not creating the correct XML and HTML output QE Notes: None. Doc Notes: None. Bugs: SDK-19205 tests: checkintests, asdoc Ticket Links: ------------ http://bugs.adobe.com/jira/browse/SDK-19205 Modified Paths: -------------- flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.java
Can we use text framework for writing Urdu or Arabic text in input text field. Using left to right direction as Urdu is Written. how can we import Urdu text or Arabic in text framework demo, i tried but it didn't work......
Does anybody have any example of EditManager.insertInlineGraphic working? (I always get TypeError Error 1009: Cannot access a property or method of a null object reference.) I want to insert a graphic at a specific point in the text. Is the point of this function to split a span, and insert the graphic element between the spans for you? Also, is it just me or are graphics not very well thought-out? When you do a TextFilter.export to a TextFilter.TEXT_LAYOUT_FORMAT, embedded images have a source attribute of the instance name. Which is useless in any circumstance I can think of. You cannot store or transport the result. Copy/paste doesn't work because the copied img tag has the same instance id as the original. This is true for programmatic and ctrl+c/v copy/paste. Accessing images is difficult, you have to walk through each node in the tree, then check it's type against InlineGraphicElement. This is true for accessing all images, or selected images. Thanks, Sean.
This might be Flex 101 but I wanted to take my work I've done with the TLF in one project, which is already component-ized in a sense using an MXML canvas, and I want to move it into a SWC so I could maintain the code separately and use my work in a second project. Problem is I get a bunch of type not found errors for classes contained within the flash.text packages. Sample: 1046: Type was not found or was not a compile-time constant: ContentElement There are 39 more of those errors for other classes. I'm not using the flash.text objects myself, I assume the TLF is employing them. Any idea on how to get those recognized as part of my SWC object or am I SOL?
hi, i want to create my own button with a label, so the button's width changes according to the label's size, up to a certain size (beyond it the text is cropped). since i'd like to support multilingual optionality at the future i've decided to use the textLayout framework instead of the simple textField class. anyhow, i'm creating a textline like this (where 'cf' is a character format object): TextLineFactory.createTextLinesFromString(callBack,"abcdefghijkl",new Rectangle(0,0,NaN,NaN),cf); and then on the callback function - private function callBack(textLine:TextLine):void { var w:Number = Math.min(textLine.width, 60); // let's say 60 is the button's maximum width var h:Number = textLine.height; var shape:Shape = ShapeDraw.drawSimpleRect(w + 4,h + 4); // my own method of creating simple black shapes var sprite:Sprite = new Sprite(); sprite.addChild(shape); shape.x = shape.y = -2; sprite.addChild(textLine); addChild(sprite); } how do i get to change the textLine's width afte
I'm seeing some really odd behavior with the scrolling related properties on the container controller class in build 370. From what I'm seeing, the values for contentHeight are changing as the verticalScrollPosition changes, even if the content of the text flow has not been modified. This is very evident with a really long text flow in one container. The problem is that the scroll bars are getting new values for content width/height all the time and they end up jumping around a lot as you scroll the container. Did something change here that I'm overlooking? I'm basically just passing the content sizes and scroll positions straight into the scrollbars, which had always worked fine in the past. Now scrolling can be very erratic. Anyone have ideas? Thanks, Brent
For a description of the API changes in this build, check out this blog post: TLF API Changes in Build 370 Highlights Include: Merging of Format Classes Changes to Styling Class FlowElement's TextLayoutFormat APIs User Styles Non-Inheriting Styles FlowElement id and styleName Properties
In previous TLF builds, if I wanted my entire TextFlow to have a left margin of 30, all I needed to do was to set the textFlow.marginLeft=30 of in my markup for import have my TextFlow node include the string marginLeft="30" Now, marginLeft is no longer a style that is inherited. However, there is a hint that if you use FormatValue.INHERIT "somewhere" then you can make the style inheritable, such that I dont have to go through each and every node of my text flow and add set the style specifically. Can you please tell me how/where I should do this? Thanks,
Hi, I am looking at the HelloWorld example for the FTE in the Text Layout Framework and I want to create a single block of text which is aligned right. How do I do this with the FTE classes NOT the Text Layout Framework??? Thanks Glen
Hi, I'm having problem in using "CutOperation" object directly. When calling EditManager's method "cutTextScrap" then cut operation works but if I create CutOperation and execute it using the EditManager's doOperation() then it throws exception. Can you please point out what am I doing wrong here. //This code works: var selState:SelectionState = new SelectionState(textFlow, 5, 10); var textScrap:TextScrap = em.cutTextScrap(selState); //This code doesn't work: var selState:SelectionState = new SelectionState(textFlow, 5, 10); var textScrap:TextScrap = new TextScrap(textFlow); var op:CutOperation = new CutOperation(selState, textScrap); em.doOperation(op); Thanks, Ahmed
I downloaded the latest release of Gumbo SDK (version 4.0.0.5032) and using that as the target SDK (and Flash Player 10.0.0 as required flash player in FlexBuilder), I get the following errors: Type was not found or was not a compile-time constant: CharacterFormat (similar errors for ICharacterFormat, ParagraphFormat). I've included the above through: import flashx.textLayout.formats.CharacterFormat; If I download the latest text layout framework libraries from the Adobe site (zip file called textlayout_framework_p1_111808.zip) and replace the files: textLayout_conversion.swc textLayout_core.swc textLayout_edit.swc in the <sdk4.0.0.5032>/frameworks/libs folder with the newly downloaded files, I get a different set or errors: Type was not found or was not a compile-time constant: ChangeElementIdOperation Access of possibly undefined property id through a reference with static type flashx.textLayout.elements:FlowElement I've included the above through: import flashx.textLayo
In the latest Gumbo release 5022, using TLF, I am getting the following error after I call compose... Error: Error #2175: One or more elements of the content of the TextBlock has a null ElementFormat. at flash.text.engine::TextBlock/DoCreateTextLine() at flash.text.engine::TextBlock/createTextLine() at flashx.textLayout.compose::ComposeState/createTextLine() at flashx.textLayout.compose::ComposeState/composeNextLine() at flashx.textLayout.compose::BaseCompose/composeParagraphElement() at flashx.textLayout.compose::BaseCompose/composeBlockElement() at flashx.textLayout.compose::BaseCompose/composeBlockElement() at flashx.textLayout.compose::BaseCompose/composeBlockElement() at flashx.textLayout.compose::BaseCompose/composeBlockElement() at flashx.textLayout.compose::BaseCompose/composeInternal() at flashx.textLayout.compose::ComposeState/composeInternal() at flashx.textLayout.compose::BaseCompose/composeTextFlow() at flashx.textLayout.compose::ComposeState/composeTextFlow(
I've been using the mxmlChildren setter in ActionScript to add multiple elements to textflows and paragraphs at once. After trying the last two Gumbo builds, it seems like whenever I use mxmlChildren setter to append an array of links and spans to a textflow or to a paragraph, the links do not show up for some reason (but the other spans do). Has the way this method worked changed? Is there something special I need to do for links? Edit: Actually, I made a coding mistake while trying to reproduce the issue. The links are still disappearing from my application when changing the Flex compiler to the last two Gumbo builds for some reason. mxmlChildren doesn't seem to be the problem though.
hi, i've downloaded the textlayout framework from adobe's site, and placed the 3 SWC's inside 'C:\Program Files\Adobe\Flex Builder 3\sdks\3.2.0\frameworks\libs\textLayout'. i've created a new AS project in flex out of the 'textLayout' folder inside the examples folder included in the zip file i've downloaded. when i run each of the .as files in the project all works fine. however, i've created a new AS project in flex, created a new package in it called examples and placed in it all the examples' .as files. in that project's main class i've created a new instance of 'HelloWorld'. when i ran that project i get the following error: "VerifyError: Error #1014: Class flash.text.engine::ContentElement could not be found.". just so you'd know, the project's library path includes all the textlayout's swc's and also 'playerglobal.swc' of player 10, so the auto-complete in the code works both for 'flashx.textlayout' and 'flash.text.engine'. any ideas why i get that error? thanks in advance, eRe
Thanks everyone for your extended feedback. We will plan on removing the Fx prefix and implementing the multiple namespace solution. The details will need to be worked out (and specs will be posted) over the next few weeks. Our goal is to have this all implemented by the time of our first beta which is planned for mid-May. The high-level plan (which is subject-to-change based on further spec and investigation and re-reading of all the posts plus requests for additional feedback) is: - 3 namespaces for MXML, the MXML 2009 language namespace, the Halo namespace, the Spark namespace - We will not turn on the option for merging namespaces as a) most customers are actually saying that they don't mind the separation and b) this is what ends up causing all the future headaches with tooling, source portability, and future issues. We can consider the namespace merging/importing a future feature. - CSS will need to support namespaces which means that FB will need to support CSS with namespaces.
In a previous thread there was mention of FlowElement having a styleName attribute as well as a custom attribute interface (incl import/export). I grabbed the latest swc files from the gumbo trunk, and styleName is implemented as a member of FlowElement. I was wondering if there was any more information on how to use the styleName attribute? Does it use css styles? How are they loaded? Does it work in the import/export scenarios? Also, if you can give some information on the custom attribute interface that would be helpful. I tried adding some custom attributes to TLF markup and importing/exporting it, but I did not get the attributes on export. Also, is there a way to find if an element has the custom attribute in ActionScript? Thanks, Tim
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.