『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
I'm putting together an application which opens a connection to a server, sends a chunk of binary data and then closes the connection. When I run the application without handing IOEventError, I get the socket error message below but the data sends. When I handle IOEventError, I get the same message passed to the handler but no data is sent. When I capture TCP data during the connection, you can that without the handler a '[PSH, ACK]' packet of length 29 (my data) is sent out. With the handler, a '[FIN]' packet is sent instead. I've pasted the errors, code and TCP traffic below. Has anyone else encountered this socket weirdness? How do I figure out what this error message means? Thanks for the help! -J. Flier Error message to the console with no handler (but data sends): "Error #2044: Unhandled IOErrorEvent:. text=Error #2031: Socket Error. at handleSendPacketClick()[src\Test.mxml:156] at Test_Button2_click()[\src\Test.mxml:333]" Error message to the handler (no data sends): "IOE
Hey there.I'm creating a text editor where users can apply formats to their current selection. As I was digging through RichEditableTextContainerManager.applyFormatOperation I noticed that after they call ApplyFormatOperation.doOperation() they call textFlow.normalize(). So that got me thinking, do I likewise need to call normalize? If so, why is it in the tlf_internal namespace (seems like something developers would want to do quite frequently)? And shouldn't it be called automatically when executing an ApplyFormatOperation? Can someone provide some enlightenment?Thanks.Aaron
I wonder if I can find flash.net.NetStream source code in the src tree of flex.In jdk, we can find out almost all the library code. So I want to know if we can do the exactly same thing in AS.ThanksXuan
I having a problem with the rendering of a TextFlow object when using RTL text direction and dynamic width (NaN) in the assigned controller. The problem does not occur when using LTR text or when using a fixed width in the controller. Here are some pictures showing the problem:This one is using RTL text direction and dynamic with:And this one is using LTR text direction and dynamic with:In both cases the text was rendered using this code: var container:Sprite = new Sprite; var flow:TextFlow = TextConverter.importToFlow(markup, TextConverter.TEXT_FIELD_HTML_FORMAT); var controller:* = new ContainerController(container, message_width, message_height); flow.paddingTop = layout.messages.padding_top * stage.stageHeight;
Hi there I would be very grateful for any help regarding this quite peculiar thing I am seeing in the TLF.Basically, what we would like to achieve is set out a TextFlow that may or not have content imported at the point of initialisation.The problem is that the textflow will not accept focus in the sense that the user can start typing straight away but must click the sprite holding the textflow. At first I thought that this was because maybe focus could not be achieved until the flow had finished composing. So I added the CompositionCompleteEvent event and had a event handler on that waiting for it to be ready and grabbing selection using_textFlow.interactionManager.selectRange( 0 , 0 );_textFlow.interactionManager.setFocus();Again no dice. So then I tried using a timer to call the same code after a second. Again no luck; the textflow will not respond to keyboard input.If I place a button in the app and have that call the code above that works fine.I can't realistically expect people t
HelloI want to create different text lines of the same paragraph with different line heights.How it can be?Thanks
Is there a particular property on InlineGraphicElement that would be well-suited for storing arbitrary developer-relevant meta-data?Motivation: I'm generating the display objects used for the sources of InlineGraphicElements from XML on the fly. At some point in the runtime following user interaction, I need to change how these InlineGraphicElements look. Thus, it would be nice to re-generate the DisplayObjects using the same XML used the first time for each InlineGraphicElement. I'd rather have that XML stored as meta-data in the InlineGraphicElement instances than make yet another id-keyed-array, so I'm hoping that I've overlooked a handy meta-data dumping property in the FlowElement and InlineGraphicElement documentation.Thanks in advance for any pointers the TLF-community has to offer.
Could you guys please implement the "Search This Forum" feature just like was done on the premiere forums?The current search facility via "Search Forums" is very inconvenient.Thanks.
I was working on an editor using FB4 beta 2. Fonts were loaded at runtime ... CFF is being used.In Flex 4 SDK that comes with FB4 beta 2, my spark rich text field sitting in a group in my application looks fine - proper font families applied and renders correctly. My font + style drop down lists are all fine as well.As soon as I switch to the release SDK, or any SDK later than FB4 beta 2 (well, major releases) the font styles are not longer properly applied to the field. Changes to the family no longer apply to the rich text field.The rich editable text that I'm using is basically as follows: <s:RichEditableText id="editor" fontLookup="embeddedCFF" renderingMode="cff" focusEnabled="false"
I understand that "TLFTextField" class is currently under construction but anywhere I googled, I found some talks about the language direction thing which is not yet implemented... but I wonder if other properties are also not working? like .selectable?this is my code and the TLFTextField won't be selected and I can't make it into type INPUT!var textFormat:TextFormat = new TextFormat(); textFormat.font = "Arial" textFormat.size = 15; textFormat.color = 0x000000; //_textFormat.direction = "ltr"; var theText:TLFTextField = new TLFTextField(); theText.autoSize = TextFieldAutoSize.LEFT; theText.antiAliasType = AntiAliasType.ADVANCED; theText.embedFonts = true; theText.selectable = true; theText.type = TextFieldType.INPUT; theText.defaultTextFormat = textFormat; theText.tabIndex = this._index; theText.text = "some text"; this.addChild
Hi, here's my problem:My text always has an indentation. How do I make a paragraph start without an indentation.Here's a sample of my code:<![CDATA[<flow:TextFlow xmlns:flow='http://ns.adobe.com/textLayout/2008' fontColor='#9a9a9a' fontFamily='dinBold' paddingTop='4' paddingLeft='4'> <flow:p fontSize='14' textIndent='0' paragraphIndent='0' paddingTop='4'> <flow:span fontSize='15' >Juan Atkins<br/></flow:span> <flow:span fontSize='12'>Pioneer Detroit Techno<br/></flow:span> <flow:span fontSize='10'>Detroit, Mi<br/><br/></flow:span>  
Revision: 15587Revision: 15587Author: sameer@adobe.comDate: 2010-04-19 22:29:09 -0700 (Mon, 19 Apr 2010)Log Message:***********Merge from 4.x to trunkQE notes:Doc notes: Bugs: http://bugs.adobe.com/jira/browse/FLEXDMV-2378Reviewer: SreeniTests run: checkintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/FLEXDMV-2378Modified Paths:************** flex/sdk/trunk/frameworks/projects/datavisualization/src/mx/controls/advancedDataGridClasses/AdvancedDataGridGroupItemRenderer.as flex/sdk/trunk/frameworks/projects/datavisualization/src/mx/controls/listClasses/AdvancedListBase.asProperty Changed:**************** flex/sdk/trunk/
Revision: 15586Revision: 15586Author: sameer@adobe.comDate: 2010-04-19 22:11:34 -0700 (Mon, 19 Apr 2010)Log Message:***********Update oldLayoutDirection in the call to validateDisplayList().Fix the disappearing selection and rollover highlights.QE notes: check selection and rollover highlights with mirroring.Doc notes: Bugs: http://bugs.adobe.com/jira/browse/FLEXDMV-2378Reviewer: SreeniTests run: checkintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/FLEXDMV-2378Modified Paths:************** flex/sdk/branches/4.x/frameworks/projects/datavisualization/src/mx/controls/advancedDataGridClasses/AdvancedDataGridGroupItemRenderer.as flex/sdk/branches/4.x/frameworks/projects/datavisualization/src/mx/controls/listClasses/AdvancedListBase.as
I need to implement a custom XHTML importer/exporter and CSSFormatResolver.If I for example have a p-element: <p id="p1" class="xyz" style="margin:0.7em; color:#3300FF">lorem ipsum</p>How do I map the HTML attributes: id, class and style in order to preserve them in the ParagraphElement in order to use them during the custom CSS cascade process and for custom HTML export purposes (the exporter needs to spit out <p id="p1" class="xyz" style="margin:0.7em; color:#3300FF">lorem ipsum</p> again.1. is this mapping correct or will this interfere with internal TLF formatting:HTML attributeParagraphElement propertyididclassstyleNamestyleuserStyles2. What is the purpose of FlowElement.coreStyles (where are those styles applied)?3. What is the actual purpose of FlowElement.userStyles, are those styles just for non TLF (end developer custom) purposes or does TLF use them at any point to set the element format properties?4. Any other pointers or related (non flex fram
Can anybody point me in a good direction for searching the text inside of a TextFlow and finding text and then modifing it? I can highlight words and change them just fine by using the selectionState - but, I'm just stumped how to search and then modify. By modify, I'm just changing the TextLayoutFormat of that word.Any help would be awesome.Thank you,Mike
I'm wondering if, like pmd, flexpmd has a notion of fail.on.error setting?i.e. using ant to invoke pmd I might do<antcall target="pmd"> <param name="fail.on.error" value="false"/></antcall>One might want to have a daily build fail on flexpmd errors etc.
hi,I installed the Flash Builder release (standalone for Windows) in my desktop. But I failed to launch it. I caught some messages in log file. Can anyone give me some suggestion? Thanks.!SESSION 2010-03-23 17:05:00.747 -----------------------------------------------eclipse.buildId=unknownjava.version=1.6.0_16java.vendor=Sun Microsystems Inc.BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_USCommand-line arguments: -os win32 -ws win32 -arch x86!ENTRY org.eclipse.equinox.ds 4 0 2010-03-23 17:05:01.184!MESSAGE !STACK 0org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Missing Constraint: Import-Package: org.eclipse.equinox.internal.util.event; version="1.0.0" at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1313) at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1297) at org.eclipse.osgi.f
It looks like it's been replaced with SelectionState (setSelectionState)... but, doesn't appear to be functioning the same.When I mouse off the TextFlow it doesn't keep the highlighted (selected) text and it's not possible to determine what has been selected.Any help would be great.Thanks,Mike
Hi,I'm creating a multi-page editor on top of TLF and I'd like to hear some opinions about the best way to handle multi-pade documents.I'm basicaly considering two options:1.) A single RichEditableText and several ContainerControllers.2.) Several RichEditableText.Tks.
Revision: 15444Revision: 15444Author: aharui@adobe.comDate: 2010-04-15 11:38:50 -0700 (Thu, 15 Apr 2010)Log Message:***********Merge SVN 15442 to trunkQE Notes: noneDoc Notes: Bugs: SDK-25404Reviewer: DarrellTests run: CheckintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-25404Modified Paths:************** flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/MarshallingSupport.asProperty Changed:**************** flex/sdk/trunk/
Revision: 15443Revision: 15443Author: aharui@adobe.comDate: 2010-04-15 11:35:51 -0700 (Thu, 15 Apr 2010)Log Message:***********Merge SVN 15268 to trunkQE Notes: noneDoc Notes: Bugs: SDK-25969Reviewer: CoreyTests run: CheckintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-25969Modified Paths:************** flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColumn.asProperty Changed:**************** flex/sdk/trunk/
Revision: 15442Revision: 15442Author: aharui@adobe.comDate: 2010-04-15 11:21:23 -0700 (Thu, 15 Apr 2010)Log Message:***********Allow multiple listeners to SandboxMouseEvents in MarshallPlan configurations QE notes: n/a Doc notes: n/a Bugs: SDK-25404 Reviewer: DarrellTests run: checkintests mustella/MarshallPlan/controls Is noteworthy for integration: noTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-25404Modified Paths:************** flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/managers/systemClasses/MarshallingSupport.as
I have a bunch of linked containers which I am flowing text through. How can I detect when the text has filled a container? there's an overflowPolicy so I assume this can be detected.
HelloI am inserting inline graphics using editManager.insertInlineGraphic( ) by providing source as returned by server and giving height,width and selection state.How can i get the id of the graphic inserted.I created an object of InlineGraphicElement and assign id to it but the XML generated has not the id attribute in the img tag.I got id when I insert through paragraphElement.addChildAt( ) or paragraphElement.addChild( ) but the image insert at the end of the text and the requirement is to insert image in the text. Thanks
If i make a Datagrid with PHP i have this code:<h2>Submitted forms</h2> <table> <tr> <th>Date</th> <th>Order ID</th> <th>Store ID</th> <th>Route ID</th> <th>Tech ID</th> <th>Download PDF</th> </tr> <?php // Start row counter $iRow = 0; // Loop through all the rows in the database &n
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.