『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
Few days ago I found myself debugging the code which seems perfectly OK but doesnt work as expected. After some time I realized that my mistake was trivial: If (some complex condition); { Do something. } Although this is perfectly correct ActionScript statement I think it should cause compiler warning. I have reported a bug and submitted a patch adding warnings in following situations: if (value == 1); //this should cause warning { trace("some code"); } while(value > 0); //this should cause warning { trace("some code"); } for (var i:int = 0; i < 10 ; i++ ); //this should cause warning { trace("some code"); } https://bugs.adobe.com/jira/browse/ASC-3703 What is interesting 3 bugs in the framework can be found and instantly fixed after enabling these warnings. Do you know any other common trivial mistakes which should cause compiler warnings? Cheers, Iwo Banas
This class is included (why?) in the mm-velocity-1.4.jar file. I'm trying to build the flexsdk entirely from source to meet packaging requirements.
Hi Is there a way to add an event listener to an inline graphic. I cant seem to find much... or any help concerning this in the forums. I remember reading a post about this a while back where someone wanted to add a doubble click to an inline graphic without success. Has that been resolved? Im desperate to get this working and any help would be much appreciated Thank you
Revision: 5873 Author: gauravj@adobe.com Date: 2009-04-02 09:46:24 -0700 (Thu, 02 Apr 2009) Log Message: ----------- Adding support for [Alternative] metadata to the asdoc tool. QE Notes: None. Doc Notes: None. Reviewed by: Paul tests: checkintests, asdoc Modified Paths: -------------- flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/MetaDataEvaluator.java flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ClassTable.java flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.java flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelGenerator.java flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java
Hi folks — we’re running into a few more roadblocks in our plans to drop the Fx prefix, that we need some fast input from the community on. It turns out there’s a lot of poorly written XML library code out there. After doing the work to drop the prefixes from all the spark components, we’re discovering that a large number of XML libraries — both open source and 3rd party libraries used in the Flex compiler, as well as those used by other community tools that process MXML, simply cannot handle having multiple tags with the same leaf name. Silly, given that’s exactly the reason XML namespaces exist, but it’s a fact of life. So simply dropping the prefix off of the new components doesn’t fly. But we’ve heard loud and clear from the community that adding a prefix is also a non-starter. We’ve got a proposal up on the wiki for alternate ways to avoid duplicate names that don’t require unsightly prefixes or too much extra typing. You ca
I noticed 2 problems using TFL with arabic text: 1- While writing arabic text and pressing the direction keys to move the cursor - it moves in the opposite direction. 2- The double quotation mark : " appears as single quotation mark: ' when press (send to stage) button. Any advice?
Revision: 5844 Author: gauravj@adobe.com Date: 2009-04-01 11:30:34 -0700 (Wed, 01 Apr 2009) Log Message: ----------- xslt changes for SkinPart and SkinState QE Notes: Yes, please check for SkinPart and SkinState related links in generated asdoc Doc Notes: None. tests: checkintests Modified Paths: -------------- flex/sdk/trunk/asdoc/templates/ASDoc_terms.xml flex/sdk/trunk/asdoc/templates/all-index.xslt flex/sdk/trunk/asdoc/templates/asdoc-util.xslt flex/sdk/trunk/asdoc/templates/asdoc.js flex/sdk/trunk/asdoc/templates/class-files.xslt flex/sdk/trunk/asdoc/templates/class-parts.xslt flex/sdk/trunk/asdoc/templates/processHTML.xslt flex/sdk/trunk/asdoc/templates/style.css flex/sdk/trunk/asdoc/templates/title-bar.html
Can I get clarification for what the damaged event means? It seems to get dispatched when the text data changes. Is it simply a way marking the textflow as "dirty" and ready for re-flowing? thanks
im trying to use a TextLayout component as a single line text input i sat the component property to ReadWrite but i didn't find a single line property ? also i want to add a Keyboard event TextLayout.addEventListener(KeyboardEvent.KEY_DOWN,xEnter) function xEnter(k:KeyboardEvent){ if (k.keyCode == 13) { trace(TextLayout.textFlow.flowComposer.getLineAt(0).textLine.textBlock.content.text) } } is that the right way? it doesn't work for me?
Hi looking for a way to antialias device fonts that are not embeded, is there a solution for that thanks
hi, does anybody know how easily to get default TabStopFormat ? currently i check via para.computeTextLayoutElementFormat.tabstops which may have nothing.
Hi, I was unable to attend i11 meeting but I have fund that you are going to implement (Fx)ComboBox during this iteration. As I have very mixed feelings about ComboBase in Flex 3 I would like to share my comments before FxComboBox is implemented. Generally: FxComboBase should focus on displaying the textfield/button and handling dropdown (including dropdown creation, showing, hiding, effects etc.). It should be easy to put any components inside the dropdown. In Flex 3 every subclass of ComboBase(ComboBox, ColorPicker, DatieField) implemented dropdown handling separately, while ComboBase was playing around with iterators, selectedItem/Index and UIDs stuff which is specific to ComboBox not a ComboBase. As a result of that when I needed to create a custom Combo-like component with TextInupt and Tree inside a dropdown I found that it was easier to create it from scratch than to extend ComboBase. My idea on how it should be changed: FxComboBase: - It should contain 3 skin parts: text f
Hi, Is it possible to set/add to the right click contextMenu of a TextFlow (Similar to TextField.contextMenu)? I tried setting the contextMenu to its container but it overwites it, i think Thanks for your help Nikos
Revision: 5819 Author: gauravj@adobe.com Date: 2009-03-31 13:15:14 -0700 (Tue, 31 Mar 2009) Log Message: ----------- Fix asdoc issue for event description getting copied over to the class definition. QE Notes: None. Doc Notes: None. tests: checkintests, asdoc tests Modified Paths: -------------- flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.java
Revision: 5816<br />Author: gauravj@adobe.com<br />Date: 2009-03-31 12:26:35 -0700 (Tue, 31 Mar 2009)<br /><br />Log Message:<br />-----------<br />Fix build by modifying the <asdoc> task. <br />The manifest.xml was removed, now <asdoc> will use FlashIntegrationClasses.as<br /><br />Modified Paths:<br />--------------<br /> flex/sdk/trunk/frameworks/projects/flash-integration/build.xml
Revision: 5806 Author: gauravj@adobe.com Date: 2009-03-31 10:03:36 -0700 (Tue, 31 Mar 2009) Log Message: ----------- Fix null pointer reported by the doc team. QE Notes: None. Doc Notes: None. tests: checkintests, asdoc tests Modified Paths: -------------- flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocUtil.java flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.java
Revision: 5802 Author: gauravj@adobe.com Date: 2009-03-31 09:14:44 -0700 (Tue, 31 Mar 2009) Log Message: ----------- Fix ant asdoc target to work with the new manifest files. QE Notes: None. Doc Notes: None. tests: checkintests Modified Paths: -------------- flex/sdk/trunk/asdoc/build.xml
Revision: 5770 Author: gruehle@adobe.com Date: 2009-03-30 13:58:54 -0700 (Mon, 30 Mar 2009) Log Message: ----------- Add [Alternative] metadata to the Halo components that have a Gumbo replacement. Bugs: SDK-20190 QA notes: none Doc notes: Additional ASDoc comments added for many of the classes. These should all be reviewed. Reviewer: Chet Ticket Links: ------------ http://bugs.adobe.com/jira/browse/SDK-20190 Modified Paths: -------------- flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ApplicationControlBar.as flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Box.as flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Canvas.as flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ControlBar.as flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/HBox.as flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Tile.as flex/sdk/trunk/framew
Revision: 5310 Author: jszeto@adobe.com Date: 2009-03-13 15:10:52 -0700 (Fri, 13 Mar 2009) Log Message: ----------- Flex SDK Bug Fix SDK-19845 Straight-line paths do not seem to render properly. The Path was not protecting against zero value width or height when drawing the segments. Fixed bug in FxSpinner where all keyboard events were not bubbling. Instead, what we want is for the UP/DOWN/HOME/END keyDown events to not bubble. Updated function name in FxSlider to follow event handler function naming convention. QE Notes: Add tests for vertical or horizontal line Paths Doc Notes: n/a Bugs: SDK-19845 Reviewer: Evtim Ticket Links: ------------ http://bugs.adobe.com/jira/browse/SDK-19845 http://bugs.adobe.com/jira/browse/SDK-19845 Modified Paths: -------------- flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxSpinner.as flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxSlider.as flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Pa
Hi, I am writing a test method to verify playing a list of video. Each time a video is played, player sends "playing" event out. So my code would just listen for that event from the player. In addition, player implementation is asynchronous by nature. The issue here is that if i code test method like the following, flexunit does not wait for event to occur before executing next loop iteration. public function testPlaying10Videos():void { for (var i:int = 0; i < 10; i++) { var uuid:String = TestHelper.getRandomVideoId(); Player.Instance.addEventListener(Event.Playing, addAsync(verifyVideoPlaying, 60000, uuid, errorVideoNotPlaying)); Player.Instance.callMethod("vidPlayId", uuid); } } Any idea how to overcome this issue? Thanks, Dina
I'm thinking of taking #SDK-11602 (import a resizeable TitleWindow to the core SDK) and/or #SDK-11256 (optionaly pop up the Error Message Tooltip when component has focus). What are other people up too ?
Revision: 5697 Author: gauravj@adobe.com Date: 2009-03-27 21:47:15 -0700 (Fri, 27 Mar 2009) Log Message: ----------- Adding FlexNativeMenu to the manifest files for halo and 2006 namespaces. QE Notes: None. Doc Notes: None. tests: checkintests Modified Paths: -------------- flex/sdk/trunk/frameworks/halo-manifest.xml flex/sdk/trunk/frameworks/mxml-manifest.xml
Posted today: http://opensource.adobe.com/wiki/display/flexsdk/Cooperative+Subtree+Layout
I was looking into how I could override or implement my own FlowComposer, but the API's are a bit sketchy as to HOW that could be done. Certainly there are high level api' there to be implemented, but nothing's really jumping out to me as an obvious way to do it. Is it possible to get access to the StandardFlowComposer and see how it is implemented?
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.