『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
Once again visiting the Pagination example.... Is there any elegant way to avoid having orphaned lines from spilling over to the next container. I would love to be able to indicate that a paragraph should always have at least two lines in a single container, or some other solution that is similar... maybe an attribute on a paragraph or span that indicates, "keepLinesTogehter". I realize that I could do some sort of calculation on the number of textlines after a container is updated, and then essentially modify the paragraphs to have line breaks to force an adjustment, but this seems like a real hack. Any info is greatly appreaciated, and a solution would simply make my day. Thanks, Tim Anything?
I would like to create a section in my single column container have multiple columns. Since DivElement is a subclass of ContainerFormattedElement I figured this would be a good place to start. I would like to make the div 2 columns, in the first column place an inlineGraphic, and in the second column place a few lines of text span/br/span/br/span. The trickiness would seem to be... How do I get the columns to be different for a div versus the overall TextFlow? How do I indicate where the column should break (after the InlineGraphic)? This entire thing would go away if we simply had float working with InlineGraphic, but that does not seem to be coming abytime soon, so this would be a workable solution for the time being. The attached markup was generated by using actionscript code and exporting via TextFilter... Any thoughts? Is anybody out there? Thanks, Tim
All, We will be making a change to the way the subject line will read in the emails that are received from the Adobe Open Source Subversion commits. The hope is for the new format to avoid any further confusion, alarm and in some cases screw-ups. The change should also aid in making email rules easier to define. The new subject line will be prefixed as follows: [ svn:PRODUCT ABBREVIATION-BRANCH NAME ] REVISION NUMBER: THE SUBJECT LINE Product Abbreviations: BlazeDS – bz Flex – fx Subject line example: For a commit to Flex in the trunk: [svn:fx-trunk] 9999: fixed some stuff If you have your email rules setup to look for “[svn]” in the subject, I apologize for having you to recreate your email rules, but we think this change will make managing SVN mail better in the future. This change will be taking place immediately. Thanks, Jim Murp
Hi, When I export a Release build for a Flex AIR Application, I am specifying a digital signature (that I created via the Flex Builder Export Release bild wizard). But when I try to install the .ait file, it gives me the following error: Code: The application could not be installed because the AIR file is damaged. Try obtaining a new AIR file from the application author. The install log says - "invalid signature error". Appreciate any inputs. Thanks Bhaskar
Hi, I would like to do the following: for every item in a Flex project (MXML documents, AS classes, etc.) I would like to gain access to its AST (so for MXML, this is after it gets converted to the equivalent AS) and for each of those I would like to walk it and output information about it (this is for a code analysis and optimisation tool). By digging around I've found flash.swf.tools.as3.EvaluatorAdapter and the interface it implements which seem to be what I want in order to walk an AST, but I can't seem to figure out what I need to do before that. All the examples and documentation are for very high level things (load a source, set the output, call build()) and not for this sort of more custom tool. Is there some documentation out there about the various phases that Flex goes through to build its output, and what they map to in the code? I'm guessing I need to call whatever finds all the files that are involved, then parse them, and possibly after that call a few evaluators that
Control characters to continue textFlow in next container or column? Hi, is there any way to specify in the text flow that the story should be continued in the next column or container; maybe a control characted (like in InDesign) or any other way? Cheers David
Hi All, I am using AdvancedDataGrid as tree for displaying my data. Within this ADG tree I have to enable drag n drop i.e. user can select one node and will able to drop that on another node within tree. Overwritten dragDrop handler event for ADG. Issues: Not getting target node on which I am dropping currently selected node.
One of the sweet things about TLF is that it makes embedding fonts in ActionScript much nicer. There's one window to include your fonts, and they have their real names when you go to use them later. I've been using this method for a project I'm currently working on. The client just requested italic and bold styling, so now I have to embed those glyphs. In the properties pane for TextField, I can select Univers Lt Std's "65 Bold" style. When I open the TLF pane to embed this font, I only get these styles: Univers LT Std 45 Light Univers LT Std 47 Cn Lt Univers LT Std 55 I haven't tried embedding them with metadata yet. Looks like I'll have to go that way, but it's so much less elegant. =(
Hi, I'm having some troubles to lay a TextFlow class out properly inside a Flex container. What's the best practice to achieving this, for example adding a lot of text to a small Panel? Is it possible to pass anything other than a static width and height to DisplayObjectContainerController constructor, or is this not the place to implement this? I guess what I am looking for is the layout logic I'd normally pack into a custom Flex component and implement inside measure() and so on. My use case: a chat application which adds multiple TextFlow elements to a Flex container such as Panel. Or use TextFlow as a substitute for UITextField. Some example code would help me greatly. I'm using Flex 3.2. Regards, Stefan
I was wondering if there is going to be any css implementation to the TLF project, so that I can create a regulat html using css and then 'give' that html to a flash so that it will deploy it in my flash application
Hi, I've been trying unsuccessfully for most of the evening to compile a .as file that relies on mx.collections.ListCollectionView using asc. I figured I could just import the Flex framework SWCs from the command line with asc, but asc doesn't seem to respect SWCs - it only seems to respect .abc files. So, I've spent most of my time trying to compile the Flex framework into a single .abc file that I can import whenever I want to compile a class that relies on Flex. I figured I could make a base .as file with include statements for all of the Flex .as files (copying the approach I saw for files like builtin.as) and compile that, but all I seem to get are compiler errors - mostly "[Compiler] Error #1181: Forward reference to base class (base class name)." I have a feeling I'm doing this completely the wrong way. I'd very much appreciate any assistance that anybody can offer me. Thanks, - max
Hi guys, Can we migrate our application from Flex 3 to Flex 4 in order to support bi-directional text? I have been reviewing the new Text Layout Framework tutorial and I found out a set of new components that need to be used in order to support bi-di ext. What about the classical Flex components that we used to use in our application? do I need to re-write my application with the TLF components in order to support bi-di? Can’t I just set some new properties and re-compile my application? Please help Thank You
Matt,Thanks for getting back to me. I have created a subclass of ComboBox for auto-complete. However, the class expects ComboBox functions to handle ItemPendingError appropriately. My patches affect:ComboBase:SDK-16742: selectedIndex (public)SDK-16725: setSelectedItem (private) (used by (set)selectedItem -- public)ComboBox:SDK-16728: calculatePreferredSizeFromData (protected)From this list, you can see that it is possible to create a subclass that provides implementations that correctly handle ItemPendingError. My issue here is one of SDK correctness (robustness) and documentation. The documentation for ComboBox does not explain that data providers cannot throw ItemPendingError without expecting runtime errors visible to the application user. In my case, I have created a class that implements ICollectionView and implements paging of remote data (i.e. a collection of lists). When an index in the collection is requested that is not cached on the
after playin a bit with the TLF (which is amazing by the way) i've decided it was time to use it in a real application. I am creating a dynamic web site and in one of my classes I am using the TLF (in flash) when compiling i am getting the following compiler error: 1046: Type was not found or was not a compile-time constant: Vector. the error does not point to any line in any class has you seen something like this ?
Hi, I want to resize the image if its larger than a max-size. For this in the listener of "StatusChangeEvent.INLINE_GRAPHIC_STATUS_CHANGED" I've modified the graphics's width and height. But then undoManager doen't undo operations performed before this image resize. If I resize image using editManager.modifyInlineGraphic() then in undo-stack an extra operation will be added. Any suggestions for resizing image on load so that undo-redo doesn't disturb. Thanks, Ahmed
Hey all, The Flex team has a group called the Architecture Review Board that meets regularly to address issues that seem to be coming up. It's the kind of group that often gets to deal with the "hallway conversation" issues. I've taken a number of the issues that we've resolved over the last few months and put the notes from those decisions on the Gumbo page (http://opensource.adobe.com/wiki/display/flexsdk/Gumbo) down at the bottom. A few notes, the ones that are already closed should be marked as such. There are 2 at the bottom that are getting resolved now, so I've opened the comments section if you're interested. Finally the Halo/MXML prefix issue is potentially going to be re-opened dependingon the outcome of the Fx prefix discussion (which I'll be posting more about later today). We will briefly discuss the ARB issues in our standard iteration meeting, and will be better about having notes posted as the decision is coming up as we move forward. Matt
Revision: 4892 Author: gauravj@adobe.com Date: 2009-02-06 18:17:37 -0800 (Fri, 06 Feb 2009) Log Message: ----------- Fix asdoc issue due to which 4885 wasn't working. QE Notes: None. Doc Notes: None tests: checkintests Modified Paths: -------------- flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocUtil.java
Revision: 4888 Author: gruehle@adobe.com Date: 2009-02-06 17:08:50 -0800 (Fri, 06 Feb 2009) Log Message: ----------- User-submitted patch for SDK-17314 - fix binding change events for selectedIndex and selectedChild in ViewStack. QE Notes: None Doc Notes: None Bugs: SDK-17314 (bug) SDK-17315 (patch) Reviewer: None Ticket Links: ------------ http://bugs.adobe.com/jira/browse/SDK-17314 http://bugs.adobe.com/jira/browse/SDK-17314 http://bugs.adobe.com/jira/browse/SDK-17315 Modified Paths: -------------- flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/containers/ViewStack.as
Revision: 4875 Author: gauravj@adobe.com Date: 2009-02-06 08:31:48 -0800 (Fri, 06 Feb 2009) Log Message: ----------- Adding support for multiple @productversion tags QE Notes: None. Doc Notes: None Bugs: SDK-19104 tests: checkintests Ticket Links: ------------ http://bugs.adobe.com/jira/browse/SDK-19104 Modified Paths: -------------- flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ClassTable.java flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/DocComment.java
Visiting the documentation page for the TextLayout class, the top bullet list says that it supports tables. However, looking through the documentation and markup, I can't quite grasp how to approach it. Ordinary text with normal formatting like bold, links, etc. is rather straight forward. But how can I insert a table, with lets say 3x3 columns and rows and a 1 pixel black border, between two paragraphs?
Hi, I seem to have a problem embedding a font in my flash file. The font is "GE SS Unique Light", its an arabic font. I'm using Flash, and am using the component instance in the library to embed the fonts. I'm building an english and chinese version of the site with exactly the same code, they just reference different XML files with the content. I was having trouble with them all not embedding properly and after scouring through the forums, I added - charFormat.fontLookup = FontLookup.EMBEDDED_CFF; which worked immediately for both the Chinese and English sites, but not at all for the Arabic site, in fact the Arabic font broke and displayed the 'box with a cross' - 'no font here... here no font etc etc'... So, I tried to import the font in a swf as described in the very handy pdf provided named... textlayout_flashcomponent_overview.pdf Now, that didn't work either, but I noticed than when it traced the embedded fonts it traced, GE SS Unique Light as GE SS Unique Light Light I did
I have been pouring through the TLF API docs looking for events to handle key presses on a TextFlow and I am not finding anything. I'm sure it's simple, can anyone give me a clue? I'm looking to detect Ctrl+B, Ctrl+I, etc.. to trigger formatting.
Hello, I need help with a problem. I have some groups of text. For example ("HELLO", "HOW ARE YOU", "FINE"). I need to show them as if they were only one big text ("HELLO HOW ARE YOU FINE"), but at all times I need to know which one is selected, modified, the new text, the format (it can be changed), etc. I did this with a TextField using a separator char (making it invisible), but it didn't work very well (and also there were problems with the images). So I decided to try this framework. My idea was to use a GroupElement for each text (Like DivElement). I can have one textFlow with all the text, but at all times I can see which DivElement is selected. However, this approach has a problem, I need to have: - Groups that have more than one paragraph. (<div><p>Paragraph 1</p><p>Paragraph 2</p></div>) and - Several groups in one paragraph (<p><div>Group 1</div><div>Group 2</div></p> ) A DivElement can't be a child of
Hello All, I'm trying to register the cairngorm location in Window->Preferences. However, no matter what I type into the Location path, I keep getting "Config not found for Cairngorm location or invalid path" I'm even trying with a simple "c:\test\" directory. And I've also tried with forward-slashes "c:/test/" both to no avail. Thanks
Revision: 4855 Author: gauravj@adobe.com Date: 2009-02-05 08:13:37 -0800 (Thu, 05 Feb 2009) Log Message: ----------- Partial fix for - misleading error when compiling ASDoc with invalid comment HTML. QE Notes: None. Doc Notes: None Bugs: SDK-18581 tests: checkintests Ticket Links: ------------ http://bugs.adobe.com/jira/browse/SDK-18581 Modified Paths: -------------- flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocUtil.java
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.