-
Recente
Revision: 2703 Author: gauravj@adobe.com Date: 2008-08-01 08:45:08 -0700 (Fri, 01 Aug 2008) Log Message: ----------- Fixes for bad links in seeTag and inheritance link. @11827240 was causing duplicate entries for package name in the array - which was causing a bad link.. Bugs: SDK-9440, SDK-14265, SDK-12745 QA: Yes Reviewed by: Paul Ticket Links: ------------ http://bugs.adobe.com/jira/browse/SDK-9440 http://bugs.adobe.com/jira/browse/SDK-14265 http://bugs.adobe.com/jira/browse/SDK-12745 Modified Paths: -------------- flex/sdk/trunk/modules/compiler/asdoc/asDocHelper.as
So for the past day or so I have been looking for a way to either highlight or put an icon in front of items in a LinkBar for certain items in a dataProvider. For instance in the LinkBar I wanted to highlight certain links that had a property set to true in the value object that I bound to the LinkBar. For the LinkBar you can specify a labelField and labelFunction, but for icons you can only specify an iconField. To me that seems wrong, like an omission that someone accidentally overlooked. Does anyone have a workaround or know why you can't specify an iconFunction like you can in other components? I went ahead and posted an issue in the bug system: https://bugs.adobe.com/jira/browse/SDK-16296 to see if that garnered any response. Sorry if this is the wrong place. The message is more for discussion about adding the iconFunction to the NavBar class so the nav controls all can use it.
Hi, how can I set text properties like direction, textAlign, fontSize etc. for TextArea and TextInput? The only way I found was to set these on their textView property, but I don't know if this is the right way. I tried it with setAttributes() but it's not working. Setting properties through textView is also not working for TextInput. Is this a bug or it's not implemented yet? If it must be done through textView, where's the right place to do it? In creationComplete() of the Application object I get null object exception. ** Update: ** I found the place, I did it in the creationComplete() event of the TextArea it self! Bye, Haykel
I'm using the latest 3.1 sdk (dated 17/07/2008). When i try to use automplete to import the flash.display.bitmapdata the autocomplete doesn't find any resource. If i write by myself (so import flash.display.BitmapData) it works but the autocomplete doesn't work so invoking methods on an instance of that class doesn't snow anything (no method signature or fields): compiling does work without problems. The other strange class is, using vector class, autoimport this "import __AS3__.vec.Vector;" : strange class name, don't you think :-) I hope these beahaviours will be fixed; Bye
Revision: 2656 Author: gruehle@adobe.com Date: 2008-07-29 18:34:21 -0700 (Tue, 29 Jul 2008) Log Message: ----------- Add getBitmapData() function to GraphicElement. This returns a bitmap snapshot of the element, including transformations. The bitmap is normalized to the visual bounds of the element. Removed the empty GraphicElement.draw() function. QE: tests for this new function should be added Reviewer: Evtim Modified Paths: -------------- flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/GraphicElement.as
Revision: 2642 Author: gruehle@adobe.com Date: 2008-07-28 14:23:48 -0700 (Mon, 28 Jul 2008) Log Message: ----------- New wireframe skins from XD. NOTE: The default size of some components and fonts have changed. This is by design. QE: Changes have been cyclone tested and mustella bitmap comparisons have been updated Modified Paths: -------------- flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/ButtonSkin.mxml flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/CheckBoxSkin.mxml flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/HScrollBarSkin.mxml flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/HScrollBarThumbSkin.mxml flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/HScrollBarTrackSkin.mxml flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/HSliderSkin.mxml flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/HSliderThumbSkin.mxml flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/HSliderTrackSkin.mxml flex/sdk/trunk/frameworks/project
Revision: 2629 Author: gauravj@adobe.com Date: 2008-07-25 10:57:27 -0700 (Fri, 25 Jul 2008) Log Message: ----------- Now that ImplementationGenerator.java is in sync with the velocity templates (revision 2628) Turning AST back on, again. checkintests passed. Modified Paths: -------------- flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java
Revision: 2610 Author: gauravj@adobe.com Date: 2008-07-24 11:35:33 -0700 (Thu, 24 Jul 2008) Log Message: ----------- Turning AST back on by default. Modified Paths: -------------- flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java
Revision: 2570 Author: gruehle@adobe.com Date: 2008-07-22 16:10:37 -0700 (Tue, 22 Jul 2008) Log Message: ----------- Bug fixes: SDK-16112 - Graphic elements don't render correctly in List SDK-16066 - List displays graphic objects on top of each other, and on top of Array object SDK-16159 - RTE when graphic element is added to gumbo List if List content is ArrayCollection SDK-16072 - RTE when getting gumbo List selectedItem if nothing is selected Reviewer: Jason Ticket Links: ------------ http://bugs.adobe.com/jira/browse/SDK-16112 http://bugs.adobe.com/jira/browse/SDK-16066 http://bugs.adobe.com/jira/browse/SDK-16159 http://bugs.adobe.com/jira/browse/SDK-16072 Modified Paths: -------------- flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/Selector.as flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/Group.as
Revision: 2505 Author: gauravj@adobe.com Date: 2008-07-15 20:31:13 -0700 (Tue, 15 Jul 2008) Log Message: ----------- Modifying such that the new file from revision 2501 (halo-manifest.xml) is also added to the zip files. Modified Paths: -------------- flex/sdk/trunk/build.xml
Revision: 2497 Author: gruehle@adobe.com Date: 2008-07-15 14:33:03 -0700 (Tue, 15 Jul 2008) Log Message: ----------- Fixed problem with removing or swapping Group/List items that had item renderers. When an item has a renderer, make sure renderer.data is cleared before removing it from the display list. Bugs: SDK-16109, SDK-16084 QA: This should unblock List testing Doc: No Reviewer: Jason Ticket Links: ------------ http://bugs.adobe.com/jira/browse/SDK-16109 http://bugs.adobe.com/jira/browse/SDK-16084 Modified Paths: -------------- flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/Group.as
Revision: 2493 Author: gauravj@adobe.com Date: 2008-07-15 13:30:36 -0700 (Tue, 15 Jul 2008) Log Message: ----------- Partial change from revision 2216 was missed in a merge. Making the change again. Modified Paths: -------------- flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java
Let's focus on the case of VBox. When component.includeInLayout=false, the component is placed at the position of the previously placed component in the VBox. Hence, even though component.includeInLayout==false, the position of the component is changed. However, I sometimes want to place e.g. a Button at an arbitrary position within a VBox. But this is not possible because the position gets overridden by the VBox. So why is the position of the component.includeInLayout==false just not touched? For example, change line 272 of mx.containers.utilityClasses.BoxLayout in 3.0.2.2095 from for (i = 0; i < n; i++) { obj = IUIComponent(target.getChildAt(i)); left = (w - obj.width) * horizontalAlign + paddingLeft; obj.move(Math.floor(left), Math.floor(top)); if (obj.includeInLayout) top += obj.height + gap; } to something like for (i = 0; i < n; i++) { obj = IUIComponent(target.getChildAt(i)); if (obj.includeInLayout) { left = (w - obj.width) * horizontalAlign + paddingLeft; ob
I'm using ant to build my flex(with flex3). but i alway get <br /><br />Error: Definition mx.charts.series could not be found.<br /> [mxmlc] <br /> [mxmlc] import mx.charts.series.*;<br /><br />attaching build.xml FYI.<br /><br /><?xml version="1.0" encoding="utf-8"?><br /><project name="Flex Ant Builder Sample Project" basedir="."><br /> <taskdef resource="flexTasks.tasks" classpath="/home/cmsadm/ant/lib/flexTasks.jar" /> <br /> <property name="FLEX_HOME" value="/cms/flex3"/><br /> <property name="APP_ROOT" value="src"/><br /> <property name="DEPLOY_DIR" value="deploy"/><br /> <!-- compiled mxml/as file Name --><br /> <property name="fileName" value="index" /><br /> <!-- compiled mxml/as file ext --><br /> <property name="fileExt" value="mxml" /><br /> <!-- modular ap
Hey guys, Here's a little background: I'm currently working on adding an optional "strict" mode to some of the unmarshalling functions in SchemaMarshaller that will throw exceptions when receiving bad data for certain fields, and also improving the date handling while I'm at it (I want null instead of mangled dates when receiving bad data when strict mode is off). This is for my benefit at the moment as I'm tired of spending time debugging Flex code when XFire and Oracle are spitting out rubbish (like empty xsd:DateTime nodes, DateTimes in xsd:Date nodes, etc) - but I'm sure other people would like to use it too while we don't have a response validator, so I'd like to do it in a way that I can submit as a feature request (with patch) on Jira. My questions are about the procedure for stuff like this- where should this option be made public in the API, and who would I talk to about it? Or would it be best for it to always be strict? - That's how I'd like it 🙂 Perhaps it sh
Hi, I understand that Flash Player 10 now comes with a revamped Text layout engine that supports bidi. I was curious whether I need to wait for Flex 4 before my Flex text components will use the Flash Player 10 bidi support, or would simply retargetting my Flex 3 projects to Flash Player 10 suffice? Thanks for your prompt response! Mihnea
Hello all, I´m trying to use MxcmlTask whitin a custom Task in ant. I just include the task in my code, but there is a method not implemented in my current Flex.ant package. So, this is the code: for ( int i=0; i< vStyleFiles.size(); i++){ MxmlcTask mxmlctask = new MxmlcTask(); mxmlctask.setProject( project); mxmlctask.init(); String outputFileName = vStyleFiles.elementAt(i).getName().replace( ".css", SWF_EXTENSION); // Executing mxmlc task mxmlctask.setFile( vStyleFiles.elementAt(i).getAbsolutePath()); mxmlctask.setOutput(outputFileName);// Method not found 😞 mxmlctask.execute(); } and the setOutput method is not registered, so i cant use, but I MUST use it. Asking google, I found a MxmlcTask implementation which includes that method, from the package flex.ant, while im using the package flex2.ant. I cant find the jar file for the flex.ant package, and also not the setOutput method in my package flex2.ant. Any idea?? There is a change from flex
Revision: 2216 Author: gauravj@adobe.com Date: 2008-06-24 13:34:15 -0700 (Tue, 24 Jun 2008) Log Message: ----------- Changed InterfaceCompiler to public so that it can be used directly for mxml parsing by other tools. Also change parseMxml to public. Reviewed by: Paul Modified Paths: -------------- flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java
Hi, What would be really great for Flex developers is a source code checker for Flex. Something like Microsoft FXCop: http://msdn.microsoft.com/en-us/library/bb429476(VS.80).aspx It helps developers check that the source code conforms to the standards. Something like it for Flex would help meet the requirements of the open source SDK, as well as help developers meet the coding standards in their own projects. Anyone working on such a thing? This would AWESOME for Flex Builder 4 (hint! hint! hint!)! Thanks, K___H
HI, could we get a little more documentation on that class ? right now I can use it by default import flash.trace.Trace Trace.setLevel( Trace.METHODS_AND_LINES_WITH_ARGS, Trace.OFF ); or use my own traceListener function import flash.trace.Trace public function traceListener( line:String, index:int, method:Sring, args:String ):void { trace( "@"+index + " - " + line ); trace( method+"("+args+")" ); } Trace.setListener( traceListener ); Trace.setLevel( Trace.METHODS_AND_LINES_WITH_ARGS, Trace.LISTENER ); but on the default traces like 2928822 AVMINF: MTHD global/trace () @ 0x0B1603C0 I would like to know if with a custom trace listener if we can access 0x0B1603C0 ? (or is this fetched from the stack trace somehow ?) also the 2928822 is it a simple getTimer() or a another low level timer ? my last question would be if we use Trace.FILE as the listener target does it gonna write the traces in the log defined in mm.cfg or some other file ? cheers, zwetan
It's my first try to compile an SDK. I've installed: - apache-ant-1.6.2 - j2sdk1.4.2_14 I've set the environment variable JAVA_HOME & ANT_HOME and added the branch path to PATH. I then cygwin, proceed to the correct branch, run source setup.sh and then ant -q main. This is the error i get: $ ant -q main [javac] C:\Flex\branches\3.0.x\modules\swfutils\src\java\flash\swf\tools\Swf xPrinter.java:179: cannot resolve symbol [javac] symbol : method valueOf (int) [javac] location: class java.lang.Integer [javac] swfVersion = Integer.valueOf(h.version); [javac] ^ [javac] 1 error BUILD FAILED C:\Flex\branches\3.0.x\build.xml:125: The following error occurred while executi ng this line: C:\Flex\branches\3.0.x\modules\swfutils\build.xml:36: Compile failed; see the co mpiler error output for details. Total time: 6 seconds
Hey all, We had written a document internally about the Flex 3 compiler architecture and I've now got it posted on the open source site. If you want to understand the guts of the compiler in a little more detail (at least the mxmlc side) please check it out. http://opensource.adobe.com/wiki/display/flexsdk/Flex+3+Compiler+Design Matt
I loved "if you're a linux geek you don't need handholding"<br /><br />but i like to help out the other geeks, so here's something for http://opensource.adobe.com/wiki/display/flexsdk/Setup+on+Linux<br /><br />b INSTALL<br /><br />to build the trunk (Flex4)<br />ensure you have Ant 1.7.0, java JDK (not JRE), and subversion <br /><br />Create a folder for the source code, and change to that directory. Checkout the latest version of the source (you'll be getting all branches, which could take a while. if you just want a particular branch, see elsewhere in these docs for links to the skeleton and the branch structure)<br />>svn checkout http://opensource.adobe.com/svn/opensource/flex/sdk<br /><br />b CONFIGURE <br /><br />In the trunk and/or the branch you wish to build, run<br />>source setup.sh<br /><br />you should get two lines "Setting default ANT_HOME" and "Setting default J
Does Flex 4 need player 10? (also does the accordian now go sideways?) tia, .V
I'm trying to build the flex SDK (on Ubuntu 8.04), top of trunk (@ revision 1906). I was able to build the 3.0.1.1092 tag, but when I try building 1906 I get the following error messages stating "Error: Namespace was not found or is not a compile-time constant." Any ideas? Thanks for your time! ============================== Buildfile: build.xml create-description: update-description: templates-clean: prepare-html-templates: [copy] Copying 1 file to /home/kjones/flex/trunk/templates/html-templates/client-side-detection [copy] Copying 1 file to /home/kjones/flex/trunk/templates/html-templates/client-side-detection-with-history [copy] Copying 1 file to /home/kjones/flex/trunk/templates/html-templates/express-installation [copy] Copying 1 file to /home/kjones/flex/trunk/templates/html-templates/express-installation-with-history [copy] Copying 1 file to /home/kjones/flex/trunk/templates/html-templates/no-player-detection [copy] Copying 1 file to /home/kjones/flex/trunk/templa
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Você já é cadastrado? Entrar
Ainda não tem uma conta? Crie uma conta
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.