『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
I am trying to execute a set of commands. One doesn't depend on the completion of another so they don't fit the SequenceCommand idea. Basically I create two events inside a function and dispatch them one after another. I only see one event fire. If I comment out the first one then the second one fires so I know my controller is setup fine, but I can never get them both to fire. Any ideas?-Ryan var samples:SaveDefaultSamplesJobEvent = new SaveDefaultSamplesJobEvent() samples.dispatch(); var config:SaveDefaultConfigJobEvent = new SaveDefau
Hello everyone, I am currently experiencing some problems of Client/Server Synchronisation during the creation of a new entity with Cairngorm. When I try to create an object, for example "User", I pass a new instance of UserVO with a NULL ID. COMMAND -> DELEGATE -> REMOTE OBJECT -> SERVER. My backend is Java & Hibernate. My UserService successfully adds the new user to my DB.When I get my object back in my result() function in my COMMAND, the ID of my object that was generated by my DB is never updated in my front end... Is there a transparent mechanism that can synchronize a new created object with the one returned by my UserService?Thank you David.
Revision: 11602Author: klin@adobe.comDate: 2009-11-09 22:35:11 -0800 (Mon, 09 Nov 2009)Log Message:***********Fix for Button tooltips. TextBase dispatches an event when _isTruncated is set through the setIsTruncated() function. This allows ButtonBase to listen for the event and set the tooltip as necessary. If an explicit tooltip is set, then ButtonBase will not set a tooltip.QE notes: NoDoc notes: NoBugs: SDK-22260, SDK-23474, SDK-23657Reviewer: EvtimTests run: checkintestsIs noteworthy for integration: NoTicket Links:************ http://bugs.adobe.com/jira/browse/SDK-22260 http://bugs.adobe.com/jira/browse/SDK-23474 http://bugs.adobe.com/jira/browse/SDK-23657Modified Paths:************** flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Label.as flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichText.as flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as flex/sdk/trunk/frameworks/projects/spa
Hello,I am building an editor component and there is a control that lets the user toggle the direction of the text flow betweenleft to right and right to left.My simple code for this is as follows: override public function execute_off() : void { this.label = "\u2192"; textArea.textFlow.direction = Direction.LTR; } override public function execute_on() : void { this.label = "\u2190"; textArea.textFlow.direction = Direction.RTL; }Where "th
Revision: 11592Author: gruehle@adobe.comDate: 2009-11-09 15:18:55 -0800 (Mon, 09 Nov 2009)Log Message:***********Exclude the textAlign style from Button and ToggleButton.QE notes: NoneDoc notes: NoneBugs: SDK-24101Reviewer: KevinTests run: checkintestsIs noteworthy for integration: NoTicket Links:************ http://bugs.adobe.com/jira/browse/SDK-24101Modified Paths:************** flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Button.as flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ToggleButton.as
Revision: 11576Author: gruehle@adobe.comDate: 2009-11-09 11:35:57 -0800 (Mon, 09 Nov 2009)Log Message:***********Clean up framework defaults.css:- Remove obsolete class selectors- Add type specifier to most class selectorsQE notes: NoneDoc notes: NoneBugs: SDK-23811Reviewer: PeteTests run: checkintestsIs noteworthy for integration: NoTicket Links:************ http://bugs.adobe.com/jira/browse/SDK-23811Modified Paths:************** flex/sdk/trunk/frameworks/projects/framework/defaults.css
Revision: 11586Author: klin@adobe.comDate: 2009-11-09 13:51:48 -0800 (Mon, 09 Nov 2009)Log Message:***********Fix for Range-based components to behave like the MX Slider instead of the MX NumericStepper. Also, snapInterval now defaults to stepSize if snapInterval is not explicitly set. Various fixes for wireframe skins.Range.as - Valid values are now increments of snapInterval starting from the minimum value, but are still constrained by the maximum. The maximum is still included in the range. For example, a Slider with min=1, max=10, and snapInterval=2 has a range of . I modified nearestValidValue() to take the minimum into account when calculating the nearest value. Also, added logic to have snapInterval default to stepSize if stepSize is explicitly set and snapInterval is not. Edited ASDocs to reflect these changes.Spinner.as, NumericStepper.as - Edited ASDocs to reflect the Range changes.CheckBoxSkin.mxml, RadioButtonSkin.mxml - Added focusSkinExclusions() for the labelDispla
hi I am using textLayout.swc in flex 3 Bulider (SDK3.4Ver) when i write code like :- SpanElement.fontFamily = "Symbol"; no changes in font reflected, it gives default font i.e. Times New Roman. So Symbol fontFamily not supported by textLayout Framework. If anybody know how Symbol font is used in textLayout, please reply. its urgent.
While unit testing complex formating, I hit several problems. Below are simple tests that fail with an error. Does anybody know what is wrong with these tests?Thanks for any hints,Marc public function test_apply_Link():void { var init:XML = <TextFlow xmlns="http://ns.adobe.com/textLayout/2008"><p><span>aaa</span></p></TextFlow> var textFlow:TextFlow = TextConverter.importToFlow(init, TextConverter.TEXT_LAYOUT_FORMAT) var editManager:IEditManager = new EditManager() textFlow.interactionManager = editManager editManager.selectRange(1,2) editManager.applyLink("http://livedocs.adobe.com/", "_self", true) // throws error: &n
Revision: 11525Author: klin@adobe.comDate: 2009-11-06 12:09:36 -0800 (Fri, 06 Nov 2009)Log Message:***********halo to mx namespace change with backwards support for the halo namespace.I've renamed halo-manifest to mx-manifest, and renamed the namespace "library://ns.adobe.com/flex/halo" to "library://ns.adobe.com/flex/mx". In addition, the halo namespace is also mapped to the mx-manifest, which allows us to support both namespaces.Modified build files, css files, development applications, and certain skins to use the new mx namespace.This change required a small fix to the compiler to recognize both namespaces.QE notes: NoDoc notes: Yes, you may update doc examples to use new mx namespace.Bugs: NoReviewer: PeteTests run: checkintests, mustella compileIs noteworthy for integration: Yes, new mx namespace can be used.Modified Paths:************** flex/sdk/trunk/asdoc/build.xml flex/sdk/trunk/build.xml flex/sdk/trunk/development/eclipse/flex/airframework/.actionScriptPropert
Revision: 11511Author: gruehle@adobe.comDate: 2009-11-06 10:56:06 -0800 (Fri, 06 Nov 2009)Log Message:***********Fix a couple focus styling bugs.QE notes:Doc notes:Bugs: SDK-24019, SDK-24021Reviewer: KevinTests run: checkintestsIs noteworthy for integration: noTicket Links:************ http://bugs.adobe.com/jira/browse/SDK-24019 http://bugs.adobe.com/jira/browse/SDK-24021Modified Paths:************** flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/windowClasses/TitleBar.as flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer.as flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ScrollBar.as flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableContainerBase.as flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/DefaultItemRenderer.as flex/sdk/trun
Hello,I am new to flex. I have been looking at different examples and have actually managed to build a couple of web applications.I recently came across The Flex Dashboard example and really like it. I have tried to customized it and I have been able to get the data to the different charts. The problem that I am having is the drilling.For what I was reading. When you drill in a chart the (on the flex dashboard) the drilled data is randomly generated. I have tried to link this to an acutal xml file and for the life of me cannot figure it out.Any help is much appreciate it!!!!
Playing with and comparing text.engine to TextField. I mean TextField is already very slow. Did you have to go ahead and make text.engine much, much slower ?You can't be serious right ?You mean to tell me that each time a page is resized I have to remove all the textLine children I just added in AS3 and then add new ones so my textBlock can adjust to the new size ? Am I wrong ?You need to move alot of this kind of thing down to C++. AS3 is not C++ lolSo its looks like its going to be a long time before text.engine is even usable.And so TextLayoutFramework will never be any good until text.engine is vastly improved. The simple act of resizing brings it to its knees unless I am missing something.TextField could use some addtional performance improvements so please do. obvious to do: textField.appendHTMLText... Some slight improvements to TextField could go a long way.While I am at it, device fonts have integer heights and widths, while embedded fonts have fractional heights and wid
Revision: 11490Author: gruehle@adobe.comDate: 2009-11-05 17:34:58 -0800 (Thu, 05 Nov 2009)Log Message:***********Add accentColor style. This color is used to tint "emphasized" buttons, and as the color for slider track highlighting. QE notes: Tests should be added for this style.Doc notes: ASDoc added, but should be reviewed.Bugs: SDK-23450, SDK-23451Reviewer: RyanTests run: checkintests, components/Slider, components/AlertIs noteworthy for integration: YesTicket Links:************ http://bugs.adobe.com/jira/browse/SDK-23450 http://bugs.adobe.com/jira/browse/SDK-23451Modified Paths:************** flex/sdk/trunk/frameworks/projects/framework/defaults.css flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/Slider.as flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as flex
HiI read a post here that the possibility of adding an embedded image to a <flow: img> tag was listed for future implementation.It would be great not to have to load the graphic as an URL when creating a dynamic textFlow.Is this still a coming feature?regardsMicheal
Ever since moving to SDK 4 (build 10485) I have noticed that where previous my border's were instances of RectangularBorder they are now mx.skins.spark.BorderSkin.I was wondering does BorderSkin have the same styling support.My problem is in the following code;private function createBorderSkin():void{ var borderClass:Class = getStyle("borderSkin"); if(borderClass != null) { _border = new borderClass(); _border.styleName = this; addChild(_border); }} My CSS has cornerRadius, backgroundColor, borderColor values set that were previously being acknowledged.Now ever since the borderClass instance is of type BorderSkin instead of RectangularBorder, none of the styles are being applied.regards,Bjorn
Revision: 11476Author: aharui@adobe.comDate: 2009-11-05 12:39:26 -0800 (Thu, 05 Nov 2009)Log Message:***********Viewstack wasn't dispatching events when selectedIndex changed if it started out empty and had a child added later. It will now dispatch VALUE_COMMIT. ISelectableList was modified to reflect that VALUE_COMMIT and/or CHANGE can be sent when selectedIndex changes. ButtonBarBase now listens to both events.QE Notes: Six ButtonBar bitmaps need regeneration as they will now have the first button selectedDoc Notes: ISelectableList added a new eventBugs: SDK-23528Reviewer: RyanAPI Change: YesIs noteworthy for integration: Notests: checkintests mustella/gumbo/components/ButtonBar, mustella/containers/ViewStack.Ticket Links:************ http://bugs.adobe.com/jira/browse/SDK-23528Modified Paths:************** flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ViewStack.as flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ISelectableList.as flex/sd
We had numerous FlexUnit4 test classes containing many test cases (both "regular" and async) running from Flash Builder 4 beta 1 (created based on http://www.insideria.com/2009/05/flashbuilder4-will-support-fle.html ). These all stopped running with the release of Flash Builder 4 beta 2 (just a blank white page displayed (view source reveals the html wrapper for the runner SWF).I even went so far as to delete the old mxml runner and the previous flexunit SWCs; then created a brand new Test Class and Suite (based on http://help.adobe.com/en_US/Flex/4.0/UsingFlashBuilder/WSA8198309-A6A6-4c68-A65C-24C6AB4D6AA7.html ) to try to get a feel for any changes to running the tests. However, even running these results in just a blank white page opening in the browser, and no tests running.I know this is a really open-ended question (sorry!) but I'd like to hear thoughts of resources I could look at, or things to try to get these tests running again.Thanks!
Hi,I have a layout like so:<p> <span class="h1">Hello</span> some more text</p>I have an IFormatResolver which figures out the style for "p" and for "h1". The style that is returned from IFormatResolver.resolveFormat for <p> works correctly. However, styles for any spans inside of <p> do not have any effect. I can set size, color, fontFamily on <p> - that all works but nothing will take effect when I return a style for <span> in <p>.Any insight is much appreciatedMatt
Hello,I have a text flow (text) which I would like to decorate. For example I would like to add special background and border.The standard behavior of TLF to add background/borders is not enough in my case.What is the best event to listen to in order to detect when the text is completely composed and displayed?Events that may lead to new composition/rendering are resize of the window or changes to the text flow itself so whenever such events happen I would like to be notified once everything is visualized again and then do my decoration on top of the text.Currently I listen to "UPDATE_COMPLETE" for the canvas which holds the Sprite with the text however I noticed that in some cases on this event when I call textFlow.flowComposer.isDamaged(textFlow.textLength - 1) it returns true.I guess this is a way to find out if everything is composed and displayed and it looks like sometimes it is not so probably I should use another event.Thanks,Smirnoff
Hi all.Now, I'm developping ruby-function, which is not supported currently by TLF, but is supported by InDesign for Japanese.(Note: I mean "ruby" as east-asian notation. Not programming language. About ruby, see wikipedia.)To realize it, it's necessary to get the coordinate of FlowLeafElement like SpanElement or LinkElement.I could have get a FlowLeafElement by method TextFlow.getElementById(id:str), but I don't know how to specify it's coordinate.Does anyone have good idea?I think FlowLeafElement.getComputedFontMetrics().emBox will help, but haven't tried.If you have other approach to realize ruby-function as bi-linear notation, please share it.Thanks in advance.
Revision: 11452Author: klin@adobe.comDate: 2009-11-04 17:43:45 -0800 (Wed, 04 Nov 2009)Log Message:***********Couple of various fixes.ComboBox.as - The dropDown was not receiving changes to styles nor dataproviders. This was a result of not recreating the dropDown each time it was shown. I've changed the default of the flag for destroying the dropDown to be true. I've also modified the code to only not destroy the dropDown when it is showing or being shown.ButtonBar.as - In one case, when calculating the percentage that each button takes of the width, there was a rounding error that caused the total percentage to be less than 100%. I've changed the code to use Numbers to avoid the rounding error.DropDownList.as - I've fixed the page down code to take into account the case when selectedIndex==-1.Label.as, SWFLoader.as, TextInput.as - Excluded baseColor style.TitleWindowBoundsEvent.as - ASDoc change. "afterBounds" is always null when the "windowMoveStart" event is dispatchedQE note
I would like to get a plain text string representation of a TextFlow from indexA to indexB. I don't want to effect the current selection.For example I want to listen to the TextFlow changes and on each change parse the text that the user has entered for certain keywords - ideally only the text they have just entered - not the entire TextFlow. I am using EditManager, and can see the last index of the begining of the last word for example, but I can't understand how to actually get the word as a string without cycling over it character by character. I thought of trying to use TextRange -> TextScrap -> export but that will tamper with the user's selection. As this is something I would like to do on every FlowOperationEvent, it would be good if it isn't too CPU intensive!Thanks for any thoughts.
I have one code base, which my AIR and web application both use. In the AIR app, the font is used and rendered as expected. In the web app, the font is not the same as the AIR application's font. Why is this, since they are using the same code base and assets?The embedded font is in a external SWF and is embedded via a CSS file, example:@11220649-face { src: url("/../assets/flash/EducationFonts.swf"); fontFamily: TimesDF4; embeddAsCFF: true;}And the AIR and web application both output the same message from this function: private function enumerateFont():void { var myEmbeddedFonts:Array = Font.enumerateFonts(false);
Hi there,when calling the IEditManager.insertInlineGraphic() method there doesn't seem to be a clear way of getting a reference to the InlineGraphicElement that was added. Am I missing something or would it perhaps make sense to change the method in such a way that it returns a reference to the new InlineGraphicElement?So the signature would become like this:IEditManager.insertInlineGraphic(source:Object,width:Object,height:Object,operationState:SelectionState = null):InlineGraphicElement;Any thoughts anyone?thanks in advance,Roland
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.