[flexcoders] Flex builder compiler

2009-03-23 Thread diehlryan
I have many, many issues with the Flex Builder compiler. I will start with this one: incremental compilation. The docs state that by default, FB compiler has incremental compilation turned on, which I don't believe in the slightest. If you run a command line build with -incremental=true, the

[flexcoders] Flex builder annoyance - library projects

2008-10-29 Thread diehlryan
Does anyone else find it annoying that you must explicitly specify the classes that are included in your library project via the Flex Library Build Path? This is especially annoying in a team environment when someone else adds a new class, and I have to explicitly add it in order to get a

[flexcoders] Re: Flex builder annoyance - library projects

2008-10-29 Thread diehlryan
Agreed, in fact we're already using Ant in conjunction with our Continuous Integration system. I find that it's a must in a larger project. I've run into cases where FB just plain doesn't report compilation errors, even after a clean. I'm just wondering whether others feel my frustration in

[flexcoders] Re: Using ampersand character in contextmenuitem label

2008-10-27 Thread diehlryan
I haven't tried this, but try using the amp; in place of like you would have to do in MXML... menu.customItems.push(new ContextMenuItem('1Test amp; test'));

[flexcoders] XML object ?xml version=1.0 ? line

2008-10-14 Thread diehlryan
This seems like a simple question but I haven't been able to find an answer. I want to prepend the standard xml version, encoding line to my XML object before sending it to the server: ?xml version=1.0 encoding=UTF-8? ... How do I do this? I've tried using prependChild on the root node, but

[flexcoders] Re: XML object ?xml version=1.0 ? line

2008-10-14 Thread diehlryan
Same result, nothing shows up. var xml:XML = new XML(?xml version='1.0'?result/result); Output is result/

[flexcoders] AS3 interface question

2008-06-26 Thread diehlryan
I'm running into a wall when trying to use extension with interfaces. The example I'm about to provide works using Java, so I believe the OOP practices behind it are valid. But I can't figure out how to accomplish the same thing in Flex, I keep running into compiler issues. The example is a

[flexcoders] Re: A great feature for Flex Builder would be getter and setter automation.

2008-06-25 Thread diehlryan
One place that is somewhat painful for me is when dealing with interfaces and vars vs. getters/setters. Most of the time my interfaces use methods only, but there are occasions where it makes sense to toss a property in there. Since you can't have var in an interface, I find myself writing

[flexcoders] Re: warning: multiple describeType entries for 'selectedItem'

2008-06-23 Thread diehlryan
I'm running into the same warning, the binding works though. Anybody able to figure out why this is happening?

[flexcoders] MenuBar filter function

2008-04-21 Thread diehlryan
I'm using an XMLListCollection as a dataprovider for a MenuBar. I'm trying to find a way to easily filter out menu items based on a visible property of the data provider. On the top level of the MenuBar, this is easy. I set a filterFunction and only return visible nodes. However, I also need

[flexcoders] Re: Calling a Module Function from the Parent Application

2008-03-11 Thread diehlryan
One nice way to do this is to define an interface, IBuildingModule or something like that, and make the module implement it. package com.example { public interface IBuildingModule { function loadBuildingRecord():void; } } // make the module implement it mx:Module

[flexcoders] Re: Error in web service from Flex 2 to Flex 3

2008-03-05 Thread diehlryan
I've filed a bug report regarding this issue: https://bugs.adobe.com/jira/browse/SDK-14873 https://bugs.adobe.com/jira/browse/SDK-14873 Please consider voting, thanks.

[flexcoders] Re: Error in web service from Flex 2 to Flex 3

2008-03-03 Thread diehlryan
Does anyone from Adobe have any input on this? I can provide more details on our implementation if necessary.

[flexcoders] Re: Error in web service from Flex 2 to Flex 3

2008-02-29 Thread diehlryan
I saw your earlier post about the HttpService issue and I was really really hoping that wasn't it. Might play around with it some more this weekend and see what I can dig up.

[flexcoders] Re: Error in web service from Flex 2 to Flex 3

2008-02-29 Thread diehlryan
I did some more digging and found that my issue is separate from the HttpService issue. I'm running into problems during the serialization and deserialization of the SOAP request and response. Errors occur whenever the web service uses enum types in the request/response. I have a different

[flexcoders] FormItemLabel style

2007-10-22 Thread diehlryan
I can style a FormItemLabel to be bold using a global style, but I can't figure out how to style a Form on a single component only and not affect the other forms throughout the application. I can get it working via ActionScript and using the StyleManager, but again, this affects all instances of

[flexcoders] Re: FormItemLabel style

2007-10-22 Thread diehlryan
diehlryan wrote: I can style a FormItemLabel to be bold using a global style, but I can't figure out how to style a Form on a single component only and not affect the other forms throughout the application. I can get it working via ActionScript and using the StyleManager, but again

[flexcoders] Re: How to use Image encoders?

2007-08-31 Thread diehlryan
Try enabling smoothing on the bitmap. This should make the image look a little nicer when scaled down. From your example: ... var snap:Image = new Image(); Bitmap bitmap = new Bitmap(bd); bitmap.smoothing = true; snap.source = bitmap; snap.percentHeight = 20; snap.percentWidth = 20; return