『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
Hey guys,I was scanning the available compiler arguments list (http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7a92.html) for Flex 4.5 SDK and noticed that the -default-background-color argument is gone (I realize it's been gone since 4 just haven't used the SDK much lately). My background shows up as black when I run my app (it's an AS3 app with the new Away3D 4.0 Broomstick library) and there is no Flex code in my app so I was depending on this compiler argument to set my background color to white.How can I achieve this now that the argument is no longer available? I just simply want to have a white background without physically having to create a white sprite in the back of my scene. Is this possible anymore?Matt
Hi,I got a problem with missing characters and the font Zapfino. If I use the font with a certain font size and capture the bitmapData of the text field the "f" character disappears. I'm working with the current Hero built, but it happened with earlier versions, too. It only happens if the font size is between 44 and 52. Here is the code of an test application:<?xml version="1.0" encoding="utf-8"?><s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" backgroundColor="#000000" creationComplete="creationCompleteHandler(event)"> <fx:Style> @namespace s "library://ns.adobe.com/flex/spark"; @namespace mx "library://ns.adobe.com/flex/mx"; @font-face { src: url("Zapfino.ttf");&nb
In most text editors, when you hold the tab key down, the cursor goes from tab stop to tab stop across the line. When end of the line is reached, the cursor goes to the next line, again goes from tab stop to tab stop on the new line, and so on. You end up with multiple lines.In TLF, with tabStops set, holding the tab key down, the cursor goes from tab stop to tab stop across the line. But when the cursor reaches the end of the line, it doesn't go to the next line. The cursor stays at the end of the line while more tab characters are inserted into the text flow. There is always only one line.Is there a way for TLF to have the tab key go to the next line when the cursor reaches the end of the line?Thanks for the info.Will
I 'm having problem retrieving the data i need to from TLF, please have a look at the post i made over at stackoverflow that explains the problem i am having: http://stackoverflow.com/questions/6198736/data-from-tlf-textline. Thanks!
HiIs there support for deferred navigation to components that aren't yet instantiated in Cairngorm Navigation (Parsley)?For example, if I issue a navigationEvent to "a.b.c.d", but only a is instantiated so far (therefore landmarks b,c and d haven't yet been registered), will the framework manage this, and control navigation as b, c and d are each instantiated and registered?Marty
On the download Flex SDK 4.5 page ( http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4.5 ) there are two milestones/builds for 4.5.0.20967 and 4.5.1.21328But on the SVN source code repository there is no corresponding tag or branch versions for these builds. A tag version flex/sdk/tags/trunk-4.5.0.21368 is missing the mx.collections.ISort class and other classes.Can someone please help with obtaining source for release 4.5.1.21328?Thanks!Anthony
is there a way to insert picture behind text in textflow
Were building an app with a lot of custom components used for displaying objects. I'm wondering what is the recommended way of binding properties in the skin to properties in the hostcomponent class.For example is have a class with a property Person.And in my skin i have a couple of textInput's displaying the person data.Now i often use {hostComponent.person.name} in my skin to bind the properties.I know i can use getters/setters and commit properties as well to get the same result.But this creates a lot of code for doing the same thing.Is there a recommended way of binding properties in the skin to the hostcomponent class?
Hi, I am using text layout framework and getting an error type was not found or was not a compile-time constant: ImportExportConfiguration. I am using Flex Builder 3 , Flex SDK version flex_sdk_4.0.0.10485 and flash player 10.0.12 , Surprisingly this error not located in my project workspace.In my code i uses import flashx.textLayout.container.DisplayObjectContainerController; HelpThanks Gaurav kumar Pandey
I think I might have stumbled over a bug in the code that calculates the size of the content in a textflow.I have included a Flashbuilder 4.5 testCase project to demonstrate the problem: http://dev.webscape.no/testCase.zipFollow these steps to recreate:1. Fire up the TestCase project. It contains a square marking the size of the text area, and a simple button on the right.Just click inside the square and type away. I've included a call to _containerController.getContentBounds() on all changes in the textflow giving you the height and width of the content.2. Press the green button when you have reached about 2/3 down the bounding box. This will insert a graphics element in the textflow. The text will scroll down (I did not bother to include a scrollbar) since the graphics element is bigger than the available space in the textholder, and the cursor will be placed on the right side of the graphics, since the element is marked as float left.3. Continue writing text to the right of the grap
Hello there,My question is related to formatting in the markup (xml).I need/want to have specific value for 'leading' inside the List element. As far as I understand and see in my text, 'leading' inside List element inherits paragraphSpaceAfter value; i.e. the spaces between list items are the same as the spaces between paragraphs.If I set specific value for 'paragraphSpaceAfter' in the opening <list> tag, quite predictably leading is changed for all list items, but it also affects the space between the list and the following paragraph (which is undesirable).So, I ended up with quite verbose way - setting 'paragraphSpaceAfter' attribute in every list element.Is there more elegant way of specifying 'leading' for just list items?Thanks,Igor Borodin
Hey TLF team,Do you have any immediate plans to implement floating blocks instead of just floating images? I am currently implementing a stop-gap measure that splits the input up into multiple blocks, renders each to a different textflow, then lays them out on the page, but obviously this isn't optimal and if you guys are on the verge of implementing floating divs then I'll hold off!The reason I ask this is that I noticed that Jin Huang posted 'We are implementing border feature and backgroundColor of "block element" now', which suggests that you might be implementing other block features too...To confirm I am talking about the kind of block floats that would allow layouts similar to:http://www.maxdesign.com.au/articles/css-layouts/two-fixed/to be created in a single text flow.
Hi Developers,We are looking to upgrade from Flex 4.1 to Flex 4.5. We've downloaded the trial version of 4.5 to test the build before making a purchase decision as it's primarily targetted at iPAD development.After downloading 4.5 SDK, when we imported 4.1 Projects in 4.5, we are getting errors at the time of build. We have many projects which are developed in 4.1 and will continue to be modified/supported if we move to 4.5 but we can't afford to modify the code of those if that's what will solve the issueI would greatly appriciate if someone knows that What exactly is the cause for this and what's the workaround?Cheers!!!AP
these code work great and it get the last wordbut when i use enter keyit's go wrongand stop getteng last wordremark:some vaiable it for my programwhen i comment the findPreviousWordBoundary lineit get all text <fx:Script> <![CDATA[ import flashx.textLayout.elements.ParagraphElement; protected function togglebutton1_clickHandler(event:MouseEvent):void { var urlLoader:URLLoader = new URLLoader(); var suggestions:Array = new Array(); var
HiI have followed the steps outlined at http://opensource.adobe.com/wiki/display/tlf/Using+TLF+with+Flex+3.2 to import TLF to user with SDK 3.5. I have verified that I have the latest swc. I get no compile erros but at runtime I getVerifyError: Error #1014: Class flashx.textLayout.elements::TextFlow could not be foundAny help would be greatly appreciated.
Hello awesome peoples! Straight to the point: is there a good place to apply filters such as a drop shadow filter?Applying it to the container results in some wierdness. The cursor and selection highlighting both get shadows and the highlighting does some other strange things. Is there right way to do this? If this isn't known ground could you provide me a hint as to which class I might extend where it would only give me the text that I could then apply the filters by hand to?Thanks!
I have an existing Flash Builder 4 project built with mostly Spark components, but using the mx:DataGrid. I just swapped them out for the s:Datagrid component. Above each grid I had s:TextInputs used for filtering. They were all set to width "{whateverColumn.width}". They bound perfectly to the width of each GridColumn underneath it. But since the change to the Spark DataGrid the binding to the GridColumn width stopped working. The TextInputs snap to the correct width only when a column is resized. Please advise on how to force the refresh of the internal property the width is bound to, or another property to bind to? Thanks
Hi guys,Can anyone tell me why the backgroundcolor propery of DivElement doesn't work?import flashx.textLayout.container.ContainerController;import flashx.textLayout.elements.ParagraphElement;import flashx.textLayout.elements.SpanElement;import flashx.textLayout.elements.TextFlow;import flashx.textLayout.elements.DivElement;var textFlow:TextFlow = new TextFlow();var paragraph:ParagraphElement = new ParagraphElement();paragraph.fontSize = 16;var se:SpanElement = new SpanElement();se.text = "asdf sdf sdf sdf sdfa sdfasdfafds afsdf adsf";paragraph.addChild(se);var div:DivElement = new DivElement();div.addChild(paragraph);div.backgroundColor = 0xff0000;textFlow.addChild(div);var firstController:ContainerController = new ContainerController(this,400,400);textFlow.flowComposer.addController(firstController);textFlow.flowComposer.updateAllControllers(
How do you set the prompt text color for a DropDownList in the over state.The DropDownListButtonSkin has an over state so I can set anything to do with the button in this skin.However, the prompt does not belong to the button but to the DropDownList itself. The DropDownList skin does not have an over state.I am trying to create a UI where the prompt color and style changes as the user mouses over the DDL but I can't see how to do this.
when embedding font into a swf for classic text, the font is sort of degraded. Now, when embedding as CFF, it seems that a valid otf file could be easily extracted from the swf . Would that possibly cause license problems ... I am thinking about fonts from Adobe font folio in particular
So, what if I wanted to tell a link when to use it's Active color, hover color, and normal color. Is there anyway I can tell the textflow or the link to switch colors?The situation I'm in is that I have a button that functions as a link and text next to the button that is also a link. I want the link text to use it's active color when the button is selected and it's normal color when the button isn't selected.Any help would be great.
It looks like there's no way to apply horizontal or vertical scaling to glyphs without setting a scaleX or scaleY to the container. This is a real doozer! IMHO, a text engine as advanced as TLF should have some way of scaling individual glyphs...Is there a good place to make a feature request?(Please tell me I'm wrong, or that there's some good workaround!)Harbs
Not sure if my problem is related to the following post TextConverter import/export HTMLIn this he mentions:Don't export the configuration.textFlowInitialFormat to the HTML format. textFlowInitialFormat is something like the default setting of the browser and in my opionen should not be attached to the content. It considerably bloats the export. TEXT_LAYOUT_FORMAT ignores textFlowInitialFormat in the tree (and seems to put it into attributes of the TextFlow element). This is a little bit better and I guess, it is done to have all settings stored into export. However, at least for HTML elements, I'd like to have textFlowInitialFormat ignored.I'm trying to export text from a spark TextArea component to HTML and save it in our database. The issue I'm having is that the application used to edit this text needs it formatted differently than the application that will display the text (mainly font size and color.)I would like to have it exported as HTML to retain any links, paragraph breaks,
We currently create a TextFlow using the TextConverter.importToFlow method and either choose the TEXT_LAYOUT_FORMAT or TEXT_FIELD_HTML_FORMAT types of format based on the content of the String. The String can contain new TLF markup or the markup supported by the TextField.htmlText. We don't know what the content will be until runtime. I was wondering if there was a utility method or class that I could use that would create the TextFlow for me OR somehow parse the String to let me know which type of format to pass into the TextConverter.importToFlow method.I'm currently doing the following, but would like something better if possible.if ( content.indexOf("TextFlow") != -1 ){ textFlow = TextConverter.importToFlow(content,TextConverter.TEXT_LAYOUT_FORMAT);}else{ textFlow = TextConverter.importToFlow(content,TextConverter.TEXT_FIELD_HTML_FORMAT);}Thanks!I see the TextFlowUtil class but it fails when my old HTML includes '<b>' and '<i>' tags which I guess falls
Hi,Can we get the file absolute path, using filereference class in Flex for webapplication?Regards,Srikanth.
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.