Re: [flexcoders] Flex 3 + Colfusion + LCDS 2.6.1 manual installation
On Mon, Feb 22, 2010 at 3:29 PM, lordali wrote: One more question, Coldfusion 9 LCDS 2.6.1 is free to use with coldfusion right? I don't think so. With CF 8 you got a license for LCDS Express, but IIRC with CF 9 you don't. Jochem -- Jochem van Dieten http://jochem.vandieten.net/
Re: [flexcoders] Re: A popupbutton without arrow?
i have changed the older url with view source enabled. Clear your browser cache once. On Sat, Feb 20, 2010 at 8:32 AM, Angelo Anolin angelo_ano...@yahoo.comwrote: Mind sharing your code / scripts? Thanks. -- *From:* Leonardo Camargo camargoleona...@gmail.com *To:* flexcoders@yahoogroups.com *Sent:* Tue, 19 January, 2010 11:06:03 *Subject:* Re: [flexcoders] Re: A popupbutton without arrow? Yep! But I had already figured it out myself.. :) Thanks anyway 2010/1/19 peeyushtuli peeyus...@gmail. com peeyus...@gmail.com Are you looking for something similar to this? http://www.metadesi gnsolutions. com/samples/ flex/popbutton/ controls. htmlhttp://www.metadesignsolutions.com/samples/flex/popbutton/controls.html --- In flexcod...@yahoogro ups.com flexcoders%40yahoogroups.com, Leonardo Camargo camargoleonardo@ ... wrote: Hi folks, I'm looking for ideas... I need to have a button(skinnned with an icon), that when clicked will show a layer with two options, pretty much like a combobox or a popupbutton. But I need the button to be, clean, without the arrow. Any Ideas on how to go about doing this? Regards, Leonardo C.
Re: [flexcoders] Flex 3 + Colfusion + LCDS 2.6.1 manual installation
Jochem, the express license is for LCDS and it's valid no matter you deploy it standalone or with CF so you can use Express version (2.6.x) with CF9. The main reason why the CF team stop bundle it with the installer is the fact the new LCDS doesn't provide an express version, so they prefered to bundle BlazeDS instead and provide a readme for a manual installation. -- João Fernandes Adobe Certified Expert Adobe Community Professional http://www.twitter.com/joaofernandes http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
Re: [flexcoders] Re: Cleaning up source code
This is great, thanks for the links, I'm using FlexFormatter and that's awesome. PMD could be what I'm after, I want to remove dead code and Class files and thanks for the tip on CPD. ?What is TDD? Thanks! On 22 February 2010 18:52, adebonis anth...@troywebconsulting.com wrote: Try http://sourceforge.net/projects/flexformatter/ We find it important to run Flex PMD to improve quality not just format http://opensource.adobe.com/wiki/display/flexpmd/FlexPMD CPD http://opensource.adobe.com/wiki/display/flexpmd/FlexCPD For detecting Copy Paste and duplicate code You may as well start doing unit testing and TDD to raise the bar more.. Then we use Hudson to do our builds and run all the utils above to be sure we end up with the highest quality code we can produce.
Re: [flexcoders] dynamically create split datagrid coloumn in flex 2
Find any solution for this tricky one? If so, please reply back. Thanks Much -- View this message in context: http://old.nabble.com/dynamically-create-split-datagrid-coloumn-in-flex-2-tp19621639p27702169.html Sent from the FlexCoders mailing list archive at Nabble.com.
[flexcoders] Flex and LCDS - Cannot Remove Client?
I am using Flex 3.4/Hibernate/ and LCDS 2.6 with polling AMF running on Tomcat 5.5 The application works fine, but occasionally I get a message in the logs that says [ERROR] [Service.Message] Failed to remove client: 884EDC33-A098-231E-44AD-F76A5A6E1A76} . (The session ID changes obviously.) I've looked for information on this message in an attempt to diagnose what it is, but haven't found anything on it. Has anyone else run into this message or does anyone know anything about what this means? I'm also wondering if this might have something to due with network performance. Does anyone have any pointers for tuning and setting parameters? This is not a large application, but our network does suffer from some congestion issues and RTMP is not an option due to firewalls. Could that message above be related to poor network performance? Disclaimer: I'm new to LCDS, so bear with me! Thanks, JB
[flexcoders] Re: Security issues SOLVED. (Mostly...)
I don't use HTTPS here (We have a closed intranet) so I can't test if it would work but as I understand it, you should be able to do an HTTP call from the SWF. I suggest giving it a try and monitoring the exchange with something like Charles. That should tell you pretty quickly whether you can even do it. --- In flexcoders@yahoogroups.com, Laurence lmacne...@... wrote: So, you're saying that serving the .SWF via HTTPS won't automatically make all my ColdFusion calls through HTTPS? Like, I can have the majority of my calls through HTTP, and just secure the couple of calls that need to be secured? I thought if you served the .SWF via HTTPS, all the calls to CF were automatically sent through HTTPS? L. --- In flexcoders@yahoogroups.com, valdhor valdhorlists@ wrote: An Idea... Put the SWF on the HTTPS Server. There will be a one time hit as the user loads the SWF. Place your secure calls to the same HTTPS server. Place the other calls to an HTTP server. I don't know how or even if that would work but it's worth a try. --- In flexcoders@yahoogroups.com, Laurence LMacNeill@ wrote: Yes but HTTPS is *so* much slower than HTTP... Some of the data that we don't need secured can get as high as 50,000 records... I only need one credit-card number per account secured. Not much data at all... So how, exactly, does setting the secure=false tag open it up to snooping or spoofing? I still don't really get that... I mean, it's still using HTTPS over the secure ColdFusion channel I created, right? Wouldn't that still be secure? And if setting the secure=false tag removes all HTTPS security, then why bother offering the ability to create secure channels in ColdFusion? I mean, if you're serving the .SWF over HTTPS, then all channels are automatically secure, yes? So the only point of having a separate secure channel is to do exactly what I'm trying to do... Why offer that, if it's not truly secure? I'm still confused... L. --- In flexcoders@yahoogroups.com, valdhor valdhorlists@ wrote: From the Adobe Help files: == Each allow-access-from tag also has the optional secure attribute, which defaults to true. You can set the attribute to false if your policy file is on an HTTPS server, and you want to allow SWF files on a non-HTTPS server to load data from the HTTPS server. Setting the secure attribute to false could compromise the security offered by HTTPS. In particular, setting this attribute to false opens secure content to snooping and spoofing attacks. Adobe strongly recommends that you not set the secure attribute to false. If data to be loaded is on a HTTPS server, but the SWF file loading it is on an HTTP server, Adobe recommends that you move the loading SWF file to an HTTPS server so that you can keep all copies of your secure data under the protection of HTTPS. == If I needed secure access, I would move everything over to https. The only other thing I could suggest is to use encryption. Check out AS3Crypto (http://code.google.com/p/as3crypto/). Of course, if you serve the SWF over HTTP, someone could analyze the SWF and find the encryption key. Again, for security reasons, I would move everything over to https. --- In flexcoders@yahoogroups.com, Laurence LMacNeill@ wrote: So, here's my crossdomain.xml in its final form: cross-domain-policy site-control permitted-cross-domain-policies=master-only / allow-http-request-headers-from domain=www.mydomain.com headers=* secure=false/ allow-access-from domain=www.mydomain.com secure=false / /cross-domain-policy This allows all the stuff on the SecureColdFusion channel I created to work just fine, as long as I access the site from mydomain.com and not from localhost or myserver01 (its NetBIOS name). Even if I put allow-access-from domain=localhost/ (or domain=myserver01/) in there, it still won't allow access from localhost (or myserver01), because the security certificate is issued to mydomain.com -- the names don't match, so the browser/Flash/CF rejects it. (I don't know exactly which one is rejecting it, but somewhere along the line it's being rejected because of the name-mismatch.) The only way that I can see to change that behavior is to create two more virtual websites that point to the same location, and give each of those virtual sites their own certificate (one assigned to myserver01 and one assigned to localhost. Otherwise, I can't access the app on my local server if the
Re: [SPAM] [flexcoders] Component Data Calls
I don't agree. I use modules extensively and have not experienced any bugs with them. It is more likely to be the code you use to load them and what you do inside them. --- In flexcoders@yahoogroups.com, Dan Pride danielpr...@... wrote: Thanks Dave, the word I seem to be getting lately is that the modules tend to be a bit buggy at the moment. Decided to go with the old reliable viewstacks and change urls if I have too. There seem to be so many different ways to approach this issue, someone should write a book on it. I know I would buy it. :) Dan Pride --- On Mon, 2/22/10, David Adams dpad...@... wrote: From: David Adams dpad...@... Subject: Re: [SPAM] [flexcoders] Component Data Calls To: flexcoders@yahoogroups.com Date: Monday, February 22, 2010, 7:23 PM Â On Mon, Feb 15, 2010 at 3:28 AM, Dan Pride danielpride@ yahoo.com wrote: Â Thank you for your answer. Question if you would, I have been asking it everywhere and get NO satisfactory answers. How to approach a multi-windowed application, particurarly in FB4? 1) Different Urls? 2) ViewStacks? 3) States? 4) ViewStacks of States (Master-Detail in one ViewStack as two states)? 5) Do States initialize in Flash Builder 4? I had heard they do not? Dan, You might like the following video from near the end of Adobe's Learn Flex in a Week training: http://www.adobe. com/devnet/ flex/videotraini ng/xml/vid41. html It's a pretty nice, simple example of building and then lazy-loading a module only once (and if) it's needed.
Re: [flexcoders] Re: Security issues SOLVED. (Mostly...)
It depends on how you are communicating with the CFC. If you are using the remoting protocols, then how those channels are configured is what counts. Just because the swf is served thru HTTPS doesn't mean your data will be IF you are using the AMF channels. I have used (in test) https channels under an http web server. If you want secure data transmission under AMF then you need to create and use a secure channel. If you are using other means (wsdl, URL, parameters, etc.) to move data back and forth, then the web server protocol comes into play. It would be nice for someone from Adobe to comment on this, especially with some sort of overview of the differences between CF8 and CF9. I'm going to have to move soon to CF9 and you've already found one difference in the services-conf.xml file (the endpoints) that I'm going to have to deal with. - Original Message - From: Laurence To: flexcoders@yahoogroups.com Sent: Monday, February 22, 2010 3:16 PM Subject: [flexcoders] Re: Security issues SOLVED. (Mostly...) So, you're saying that serving the .SWF via HTTPS won't automatically make all my ColdFusion calls through HTTPS? Like, I can have the majority of my calls through HTTP, and just secure the couple of calls that need to be secured? I thought if you served the .SWF via HTTPS, all the calls to CF were automatically sent through HTTPS? L. --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: An Idea... Put the SWF on the HTTPS Server. There will be a one time hit as the user loads the SWF. Place your secure calls to the same HTTPS server. Place the other calls to an HTTP server. I don't know how or even if that would work but it's worth a try. --- In flexcoders@yahoogroups.com, Laurence LMacNeill@ wrote: Yes but HTTPS is *so* much slower than HTTP... Some of the data that we don't need secured can get as high as 50,000 records... I only need one credit-card number per account secured. Not much data at all... So how, exactly, does setting the secure=false tag open it up to snooping or spoofing? I still don't really get that... I mean, it's still using HTTPS over the secure ColdFusion channel I created, right? Wouldn't that still be secure? And if setting the secure=false tag removes all HTTPS security, then why bother offering the ability to create secure channels in ColdFusion? I mean, if you're serving the .SWF over HTTPS, then all channels are automatically secure, yes? So the only point of having a separate secure channel is to do exactly what I'm trying to do... Why offer that, if it's not truly secure? I'm still confused... L. --- In flexcoders@yahoogroups.com, valdhor valdhorlists@ wrote: From the Adobe Help files: == Each allow-access-from tag also has the optional secure attribute, which defaults to true. You can set the attribute to false if your policy file is on an HTTPS server, and you want to allow SWF files on a non-HTTPS server to load data from the HTTPS server. Setting the secure attribute to false could compromise the security offered by HTTPS. In particular, setting this attribute to false opens secure content to snooping and spoofing attacks. Adobe strongly recommends that you not set the secure attribute to false. If data to be loaded is on a HTTPS server, but the SWF file loading it is on an HTTP server, Adobe recommends that you move the loading SWF file to an HTTPS server so that you can keep all copies of your secure data under the protection of HTTPS. == If I needed secure access, I would move everything over to https. The only other thing I could suggest is to use encryption. Check out AS3Crypto (http://code.google.com/p/as3crypto/). Of course, if you serve the SWF over HTTP, someone could analyze the SWF and find the encryption key. Again, for security reasons, I would move everything over to https. --- In flexcoders@yahoogroups.com, Laurence LMacNeill@ wrote: So, here's my crossdomain.xml in its final form: cross-domain-policy site-control permitted-cross-domain-policies=master-only / allow-http-request-headers-from domain=www.mydomain.com headers=* secure=false/ allow-access-from domain=www.mydomain.com secure=false / /cross-domain-policy This allows all the stuff on the SecureColdFusion channel I created to work just fine, as long as I access the site from mydomain.com and not from localhost or myserver01 (its NetBIOS name). Even if I put allow-access-from domain=localhost/ (or domain=myserver01/) in there, it still won't allow access from localhost (or myserver01), because the security
[flexcoders] Re: Strategies for switching between testing and deployment addresses
I cover this issue in detail in my book (http://slinnbooks.com/books/serverSide), with code examples and explanations. The book shows how to discover the originating domain and how to dynamically configure data services accordingly. Mike I've been writing some small programs that use HTTPService calls to fetch data from a back-end. During testing, I'm using 127.0.0.1 or an IP address on my subnet. When I deploy, I update the IP address in service definitions to the right external address and build the app. Or at least I mean to. It's all too easy to accidentally change the addresses for internal testing and then forget to switch them back before building. Is there a best practice or simple strategy for putting the IP address somewhere outside of the source code that it can easily be edited without a rebuild?
[flexcoders] Re: Security issues SOLVED. (Mostly...)
Ok, then... Fantastic. I am using AMF to communicate with the CFC's, and I'm using the SecureColdFusion channel I created to transfer the secure stuff, and the regular ColdFusion channel to transfer the non-secure stuff... So even if I serve the .SWF over HTTPS, nothing will change (except I won't need to set 'secure=false' in my crossdomain.xml file.) Perfect. So far, the only major differences I've noticed between CF8 and CF9 are the configurations of the channels themselves. I found a comparison in this article: http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WS5B9C73A8-5FA2-4a54-B0C6-CECA2E20052D.html That, and the fact that my un-patched CF 8.01 server didn't enforce the public vs. remote policies on the functions in my .CFC's. I've checked all my CFC functions to ensure that they have 'access=remote' set in the cffunction declaration. Other than that, I've made no changes to my .CFCs, and they work fine with CF9. But I've only been running CF9 for about a week or so? I'm sure I'll notice other differences as time goes on. But, so far, the transition to CF9 really hasn't been all THAT bad. Just gotta make sure you specify CF9 when you're asking for advice -- that was my earlier mistake, assuming CF8 and CF9 were more similar than they actually are. Best of luck in your transition. Hope my experience helps you to avoid a couple of the pitfalls I fell into. :-) L. --- In flexcoders@yahoogroups.com, Warren warrenony...@... wrote: It depends on how you are communicating with the CFC. If you are using the remoting protocols, then how those channels are configured is what counts. Just because the swf is served thru HTTPS doesn't mean your data will be IF you are using the AMF channels. I have used (in test) https channels under an http web server. If you want secure data transmission under AMF then you need to create and use a secure channel. If you are using other means (wsdl, URL, parameters, etc.) to move data back and forth, then the web server protocol comes into play. It would be nice for someone from Adobe to comment on this, especially with some sort of overview of the differences between CF8 and CF9. I'm going to have to move soon to CF9 and you've already found one difference in the services-conf.xml file (the endpoints) that I'm going to have to deal with. - Original Message - From: Laurence To: flexcoders@yahoogroups.com Sent: Monday, February 22, 2010 3:16 PM Subject: [flexcoders] Re: Security issues SOLVED. (Mostly...) So, you're saying that serving the .SWF via HTTPS won't automatically make all my ColdFusion calls through HTTPS? Like, I can have the majority of my calls through HTTP, and just secure the couple of calls that need to be secured? I thought if you served the .SWF via HTTPS, all the calls to CF were automatically sent through HTTPS? L. --- In flexcoders@yahoogroups.com, valdhor valdhorlists@ wrote: An Idea... Put the SWF on the HTTPS Server. There will be a one time hit as the user loads the SWF. Place your secure calls to the same HTTPS server. Place the other calls to an HTTP server. I don't know how or even if that would work but it's worth a try. --- In flexcoders@yahoogroups.com, Laurence LMacNeill@ wrote: Yes but HTTPS is *so* much slower than HTTP... Some of the data that we don't need secured can get as high as 50,000 records... I only need one credit-card number per account secured. Not much data at all... So how, exactly, does setting the secure=false tag open it up to snooping or spoofing? I still don't really get that... I mean, it's still using HTTPS over the secure ColdFusion channel I created, right? Wouldn't that still be secure? And if setting the secure=false tag removes all HTTPS security, then why bother offering the ability to create secure channels in ColdFusion? I mean, if you're serving the .SWF over HTTPS, then all channels are automatically secure, yes? So the only point of having a separate secure channel is to do exactly what I'm trying to do... Why offer that, if it's not truly secure? I'm still confused... L. --- In flexcoders@yahoogroups.com, valdhor valdhorlists@ wrote: From the Adobe Help files: == Each allow-access-from tag also has the optional secure attribute, which defaults to true. You can set the attribute to false if your policy file is on an HTTPS server, and you want to allow SWF files on a non-HTTPS server to load data from the HTTPS server. Setting the secure attribute to false could compromise the security offered by HTTPS. In particular, setting this attribute to false opens secure content to snooping and spoofing attacks. Adobe strongly recommends
[flexcoders] Pb with mx:image and Path on server
Hello, Its impossible to view an image on my server with mx:image My server folders are: -- Images -- .JPG images -- www .swf application When I use mx:image source=../Images/myImg.jpg/ It does not work. Notice the image repertory is at the same level as www. Image has 755 as properties. What is the solution ? Thank you, Christophe,
Re: [flexcoders] Pb with mx:image and Path on server
Try to see the image in your browser. The you'll know that the path is correct. C From: Christophe christophe_jacque...@yahoo.fr To: flexcoders@yahoogroups.com Sent: Tue, February 23, 2010 4:56:35 PM Subject: [flexcoders] Pb with mx:image and Path on server Hello, Its impossible to view an image on my server with mx:image My server folders are: -- Images -- .JPG images -- www .swf application When I use mx:image source=../Images/ myImg.jpg / It does not work. Notice the image repertory is at the same level as www. Image has 755 as properties. What is the solution ? Thank you, Christophe,
Re: [SPAM] [flexcoders] Component Data Calls
Hi Tracy, Can you expand a bit please on the 'special component' for your data access. Is a non-visual component that you instruct it to fetch something and the results are then stored in your model? Is this a bit like a delegate/ responder ? Thanks, Nick On 14 February 2010 16:37, Tracy Spratt tr...@nts3rd.com wrote: Yes, certainly. I normally do all of my data access in a special component and then update a local model with the data. I use binding and ChangeWatchers to respond to updates to the model. I typically use the singleton pattern for my model. Tracy Spratt,
[flexcoders] headerRenderer ComboBox
Hi, Today, my question is : How to populate a ComboBox (as headerRender of an AdvanceDataGrid) with the rows of the corresponding column? (and doing it inside of my custom ComboHeaderRenderer AS3 class to get something as generic as possible) I saw a lot of samples of ComboHeader everywhere, but always filled with static data or in mxml style.. Regards! Henry
Re: [flexcoders] Bitmap width/height 0 when loading image from hard drive
Thanks Alex for the follow-up. Your questions prompted me to dig into the memory load more and it looks like we had some bad memory issues. Specifically, when the user selects a bunch of photos, we load those images in using file.load() and then generate small thumbnails from the loaded data. The problem was we were keeping around the file references while the files were also being uploaded. The full file data (stored in the data property on FileReference) was no longer needed in the app after the thumbnail was generated but we were hanging onto it anyway. By calling file.data.clear() after generating each thumbnail we were able to free up that memory...which was a LOT of memory. So, the short story is there DOES seem to be some funky business in Loader when Flash Player is under a lot of memory stress. On the flip side we've reduced the memory stress sufficiently to hopefully not run into the issue in the first place. To answer your questions anyway: The process memory was up around 1 GB before we starting running into trouble (with proper memory cleanup this is dramatically lower). This is on a 4 GB memory Windows Vista machine and I had quite a few other applications open (Flex Builder, Illustrator, etc.) I had loaded in 450 images with each being roughly 1.5 MB each as compressed JPGs and we were creating thumbnails at about 150x100 pixels each (~60k in BitmapData each or ~27MB for 450 thumbnails). Reports from other people show they were getting problems with less than 200 images but we haven't dug into the details of the size of their images, etc. In our test, all 450 thumbnails were still around which took up around 27 MB. And, because of improper memory cleanup, 450 full bitmaps loaded from the hard drive were still in memory also. Thanks for the help. Hopefully that will clear up our problems. Aaron On Mon, Feb 22, 2010 at 11:15 PM, Alex Harui aha...@adobe.com wrote: How much process memory is the browser using when you run into trouble? How many images have you loaded? How many of those images are still around? On 2/22/10 4:48 PM, Aaron Hardy aaronius...@gmail.com wrote: And yet another update. Sorry for the large number of emails. It looks like the more and more I use the application and add stress to the Flash Player the smaller the image must be in order to avoid the 0 dimensions issue. In other words, if the Flash Player doesn't have much stress I can load an image that's 24 million pixels just fine. As I add more stress and then attempt to load the same image, I'll start to get 0 width and height, but I'll be able to load a 14 million pixel image (4350x3263=14.1 million pixels) just fine. If I continue adding stress to the Flash Player and I continue to load the same 14 million pixel image I'll start to get 0 width and height for that image, even if it's under the bitmap limits. At that point I can load a 12 million pixel image fine. If I continue to use the app and add stress, I'll soon not be not even be able to load the same 12 million pixel image. This imaginary limit seems to get smaller and smaller over time and has very little, if anything, to do with Flash's max bitmap dimensions. Aaron On Mon, Feb 22, 2010 at 5:12 PM, Aaron Hardy aaronius...@gmail.com wrote: I've gathered additional information. It appears that it's due to bitmaps that are over the supported size (16,777,215 pixels). While the bitmaps load in fine when the Flash Player isn't under much stress, the width/height choke when there is stress. Again, it isn't consistent, but that seems to be the issue. I read somewhere that when loading a bitmap in using Loader that the maximum dimensions didn't apply, but that appears to not be the case and from Adobe I've only heard that all bets are off with bitmaps over 16,777,215 pixels. I'll update the thread if it turns out to be something different. Aaron On Mon, Feb 22, 2010 at 4:28 PM, Aaron Hardy aaronius...@gmail.com wrote: It's not any particular photo or set of photos. Sometimes we can run the app and load the photos just fine then the next day we'll attempt to load the same files and the width/height will return 0. It seems that once the issue starts to occur that any time we try to upload any photo within that session it continues reporting width/height of 0. There's not a very reproducible pattern though it seems to occur more frequently when the Flash Player is under heavy stress like when it's trying to load in many files at the same time. It also seems to happen more frequently if we have two tabs open with the same application loaded in both and we're attempting to load the same images in both tabs (this may be related to the stress the Flash Player is under rather than some sort of file locking issue). Again, it doesn't always happen, just more frequently under those scenarios. We've created a queue so only one photo is loading in at a time and we even threw in the
[flexcoders] Cannot send a null Map key for type 'java.util.HashMap' while using BlazeDS
Hi All, I am haing an issue with sending data from Server to the client using the AMF Channel. Most of the method invocations on the RemoteObject are throwing the following Exception. [CODE] (mx.rpc.events::FaultEvent)#0 bubbles = false cancelable = true currentTarget = (null) eventPhase = 2 fault = (mx.rpc::Fault)#1 content = (null) errorID = 0 faultCode = Server.Processing faultDetail = (null) faultString = Cannot send a null Map key for type 'java.util.HashMap'. message = faultCode:Server.Processing faultString:'Cannot send a null Map key for type 'java.util.HashMap'.' faultDetail:'null' name = Error rootCause = (null) headers = (null) message = (mx.messaging.messages::ErrorMessage)#2 body = (null) clientId = 22E55FB1-910E-312F-E37A-ED5167139CB0 correlationId = 4DB54224-662A-C596-D165-F7C3EBB64DB8 destination = TimeMap extendedData = (null) faultCode = Server.Processing faultDetail = (null) faultString = Cannot send a null Map key for type 'java.util.HashMap'. headers = (Object)#3 messageId = 22E56255-D62F-2ACF-4DA5-CF1E4D6353BB rootCause = (null) timestamp = 1266877198902 timeToLive = 0 messageId = 22E56255-D62F-2ACF-4DA5-CF1E4D6353BB statusCode = 0 target = (null) token = (mx.rpc::AsyncToken)#4 message = (mx.messaging.messages::RemotingMessage)#5 body = (Array)#6 clientId = (null) destination = TimeMap headers = (Object)#7 DSEndpoint = my-amf DSId = 22E53936-7E0E-B21C-C936-EF1078000306 messageId = 4DB54224-662A-C596-D165-F7C3EBB64DB8 operation = getMapKey source = (null) timestamp = 0 timeToLive = 0 responders = (Array)#8 [0] (com.universalmind.cairngorm.events::Callbacks)#9 conflictHandler = (null) faultHandler = (function) priority = 0 resultHandler = (function) result = (null) type = fault [CODE] The Spring bean which is exposed as a Remote Object has the following method signature.. [CODE] public String getMapKey() { return mapKey; } [/CODE] I am unable to understand why AMF Channel or Blaze DS is treating the String as HashMap !!! This was working pefectly fine till yesterday !! The version of the BlazeDS i am using is : blazeds_turnkey_3-0-0-544 and the Flex SDK Version is : flex_sdk_3.5.0.12683 We recently upgraded to Flex 3.5.0 version earlier we were using 3.3 version Thanks mars
[flexcoders] Profile and Debug at the same time?
Can you debug and run the profiler at the same time? It seems to be one or the other, but not both?? thanks,
[flexcoders] Partial LineSeries - is it possible?
I have a line chart with a DateTimeAxis that is stipulated to be about 750 pixels wide and it's used to display a decade's worth of data points. However, in the current decade, there are only a couple month's worth of data points. As a result the line series takes up the entire chart's entire available horizontal space. What I'd LIKE to have happen is have the line series only as wide as the data points require - kind of like a YTD graph. See what I'm getting at? Any charting experts available? Eli? Jeff Battershall Application Architect Dow Jones Indexes jeff.battersh...@dowjones.com (609) 520-5637 (p) (484) 477-9900 (c)
Re: [flexcoders] Bitmap width/height 0 when loading image from hard drive
IMHO, the player and the hosting browser get really unpredictable once you get past 500MB or so. Hopefully you’ll be able to stay below that and your app will be stable. On 2/23/10 9:08 AM, Aaron Hardy aaronius...@gmail.com wrote: Thanks Alex for the follow-up. Your questions prompted me to dig into the memory load more and it looks like we had some bad memory issues. Specifically, when the user selects a bunch of photos, we load those images in using file.load() and then generate small thumbnails from the loaded data. The problem was we were keeping around the file references while the files were also being uploaded. The full file data (stored in the data property on FileReference) was no longer needed in the app after the thumbnail was generated but we were hanging onto it anyway. By calling file.data.clear() after generating each thumbnail we were able to free up that memory...which was a LOT of memory. So, the short story is there DOES seem to be some funky business in Loader when Flash Player is under a lot of memory stress. On the flip side we've reduced the memory stress sufficiently to hopefully not run into the issue in the first place. To answer your questions anyway: The process memory was up around 1 GB before we starting running into trouble (with proper memory cleanup this is dramatically lower). This is on a 4 GB memory Windows Vista machine and I had quite a few other applications open (Flex Builder, Illustrator, etc.) I had loaded in 450 images with each being roughly 1.5 MB each as compressed JPGs and we were creating thumbnails at about 150x100 pixels each (~60k in BitmapData each or ~27MB for 450 thumbnails). Reports from other people show they were getting problems with less than 200 images but we haven't dug into the details of the size of their images, etc. In our test, all 450 thumbnails were still around which took up around 27 MB. And, because of improper memory cleanup, 450 full bitmaps loaded from the hard drive were still in memory also. Thanks for the help. Hopefully that will clear up our problems. Aaron On Mon, Feb 22, 2010 at 11:15 PM, Alex Harui aha...@adobe.com wrote: How much process memory is the browser using when you run into trouble? How many images have you loaded? How many of those images are still around? On 2/22/10 4:48 PM, Aaron Hardy aaronius...@gmail.com http://aaronius...@gmail.com wrote: And yet another update. Sorry for the large number of emails. It looks like the more and more I use the application and add stress to the Flash Player the smaller the image must be in order to avoid the 0 dimensions issue. In other words, if the Flash Player doesn't have much stress I can load an image that's 24 million pixels just fine. As I add more stress and then attempt to load the same image, I'll start to get 0 width and height, but I'll be able to load a 14 million pixel image (4350x3263=14.1 million pixels) just fine. If I continue adding stress to the Flash Player and I continue to load the same 14 million pixel image I'll start to get 0 width and height for that image, even if it's under the bitmap limits. At that point I can load a 12 million pixel image fine. If I continue to use the app and add stress, I'll soon not be not even be able to load the same 12 million pixel image. This imaginary limit seems to get smaller and smaller over time and has very little, if anything, to do with Flash's max bitmap dimensions. Aaron On Mon, Feb 22, 2010 at 5:12 PM, Aaron Hardy aaronius...@gmail.com http://aaronius...@gmail.com wrote: I've gathered additional information. It appears that it's due to bitmaps that are over the supported size (16,777,215 pixels). While the bitmaps load in fine when the Flash Player isn't under much stress, the width/height choke when there is stress. Again, it isn't consistent, but that seems to be the issue. I read somewhere that when loading a bitmap in using Loader that the maximum dimensions didn't apply, but that appears to not be the case and from Adobe I've only heard that all bets are off with bitmaps over 16,777,215 pixels. I'll update the thread if it turns out to be something different. Aaron On Mon, Feb 22, 2010 at 4:28 PM, Aaron Hardy aaronius...@gmail.com http://aaronius...@gmail.com wrote: It's not any particular photo or set of photos. Sometimes we can run the app and load the photos just fine then the next day we'll attempt to load the same files and the width/height will return 0. It seems that once the issue starts to occur that any time we try to upload any photo within that session it continues reporting width/height of 0. There's not a very reproducible pattern though it seems to occur more frequently when the Flash Player is under heavy stress like when it's trying to load in many files at the same time. It also seems to happen more frequently if we have two tabs open with the same application loaded in
Re: [flexcoders] Profile and Debug at the same time?
Debugging would give you false positives in the profiler. On 2/23/10 10:24 AM, luvfotography ygro...@all-digital-links.com wrote: Can you debug and run the profiler at the same time? It seems to be one or the other, but not both?? thanks, -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
Re: [flexcoders] dynamically create split datagrid coloumn in flex 2
I think the splitdatagridcolumn example on my blog worked in Flex 2. See the first post in the itemrenderer category -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui On 2/23/10 3:53 AM, Binoop binoop...@yahoo.com wrote: Find any solution for this tricky one? If so, please reply back. Thanks Much
[flexcoders] File Upload Modules
Why would file upload work before its component became a module but after it becomes a module does it fail with the error... Error #2044: Unhandled IOErrorEvent:. text=Error #2038: File I/O Error. I am completely lost? - Stephen
Re: [flexcoders] Flex 3 + Colfusion + LCDS 2.6.1 manual installation
Thanks for the help. That means I can use LCDS 2.6.1 with CF9 without any license problem right? Please anyone help me with installation question asked in the first thread. Can not find lcds_install_root in the below instruction for installing LCDS. 3) Copy the lcds_install_root/resources/lib/flex-messaging*.jar files and overwrite them into the ColdFusion /lib directory. Anyone. João Fernandes wrote: Jochem, the express license is for LCDS and it's valid no matter you deploy it standalone or with CF so you can use Express version (2.6.x) with CF9. The main reason why the CF team stop bundle it with the installer is the fact the new LCDS doesn't provide an express version, so they prefered to bundle BlazeDS instead and provide a readme for a manual installation. -- João Fernandes Adobe Certified Expert Adobe Community Professional http://www.twitter.com/joaofernandes http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org) -- View this message in context: http://old.nabble.com/Flex-3-%2B-Colfusion-%2B-LCDS-2.6.1-manual-installation-tp27688061p27708746.html Sent from the FlexCoders mailing list archive at Nabble.com.
[flexcoders] Re: Partial LineSeries - is it possible?
Hi Jeff, Probably going to have to add mock data for the remaining months in the decade and then use a lineSegmentRenderer and itemRenderer to hide the lines/points that are in the future. -TH --- In flexcoders@yahoogroups.com, Battershall, Jeff jeff.battersh...@... wrote: I have a line chart with a DateTimeAxis that is stipulated to be about 750 pixels wide and it's used to display a decade's worth of data points. However, in the current decade, there are only a couple month's worth of data points. As a result the line series takes up the entire chart's entire available horizontal space. What I'd LIKE to have happen is have the line series only as wide as the data points require - kind of like a YTD graph. See what I'm getting at? Any charting experts available? Eli? Jeff Battershall Application Architect Dow Jones Indexes jeff.battersh...@... (609) 520-5637 (p) (484) 477-9900 (c)
Re: [flexcoders] Flex and LCDS - Cannot Remove Client?
LCDS maintains several data structures on the server to track clients using the messaging system. The standard HttpSession is kept by the app server using the cookie. The FlexClient is associated with an individual Flash player instance. Each subscription has a corresponding MessageClient to track that subscription. I think this error occurs when the client is trying to send a message to the server to clean up that flex client data structure. It might be occurring though when a session is expiring or something. I'd expect to see this type of thing if you restart a server or are using non-sticky load balancing - so the HttpSession and FlexClient states get out of sync. It may well not be a problem but might cause a memory leak or something like that. If you want to track it down further, turning on the debug logs for some of the categories would show you the context in which it is happening. Jeff On Mon, Feb 22, 2010 at 7:04 PM, headj...@bellsouth.net headj...@bellsouth.net wrote: I am using Flex 3.4/Hibernate/ and LCDS 2.6 with polling AMF running on Tomcat 5.5 The application works fine, but occasionally I get a message in the logs that says [ERROR] [Service.Message] Failed to remove client: 884EDC33-A098-231E-44AD-F76A5A6E1A76} . (The session ID changes obviously.) I've looked for information on this message in an attempt to diagnose what it is, but haven't found anything on it. Has anyone else run into this message or does anyone know anything about what this means? I'm also wondering if this might have something to due with network performance. Does anyone have any pointers for tuning and setting parameters? This is not a large application, but our network does suffer from some congestion issues and RTMP is not an option due to firewalls. Could that message above be related to poor network performance? Disclaimer: I'm new to LCDS, so bear with me! Thanks, JB
RE: [flexcoders] Re: Partial LineSeries - is it possible?
TH, Thanks - I was afraid it might require something like that. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of turbo_vb Sent: Tuesday, February 23, 2010 2:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Partial LineSeries - is it possible? Hi Jeff, Probably going to have to add mock data for the remaining months in the decade and then use a lineSegmentRenderer and itemRenderer to hide the lines/points that are in the future. -TH --- In flexcoders@yahoogroups.com, Battershall, Jeff jeff.battersh...@... wrote: I have a line chart with a DateTimeAxis that is stipulated to be about 750 pixels wide and it's used to display a decade's worth of data points. However, in the current decade, there are only a couple month's worth of data points. As a result the line series takes up the entire chart's entire available horizontal space. What I'd LIKE to have happen is have the line series only as wide as the data points require - kind of like a YTD graph. See what I'm getting at? Any charting experts available? Eli? Jeff Battershall Application Architect Dow Jones Indexes jeff.battersh...@... (609) 520-5637 (p) (484) 477-9900 (c) -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
Re: [flexcoders] Partial LineSeries - is it possible?
I'm not sure I quite understand the question, but a couple of thoughts: - if you have a data function that returns null you can get gaps in a line chart, if that's desired - on the other hand, if your data provider filters out the empty data points, the chart should fill the available space - I think you might be able to have a separate data provider for the axis In other words, I would be surprised if custom renderers are necessary. On Tue, Feb 23, 2010 at 10:26 AM, Battershall, Jeff jeff.battersh...@dowjones.com wrote: I have a line chart with a DateTimeAxis that is stipulated to be about 750 pixels wide and it’s used to display a decade’s worth of data points. However, in the current decade, there are only a couple month’s worth of data points. As a result the line series takes up the entire chart’s entire available horizontal space. What I’d LIKE to have happen is have the line series only as wide as the data points require – kind of like a YTD graph. See what I’m getting at? Any charting experts available? Eli? Jeff Battershall Application Architect Dow Jones Indexes jeff.battersh...@dowjones.com (609) 520-5637 (p) (484) 477-9900 (c)
[flexcoders] Re: Flex 3 + Colfusion + LCDS 2.6.1 manual installation
In what directory did you install LCDS? As a guess, I would say that directory would be considered lcds_install_root. --- In flexcoders@yahoogroups.com, lordali pirzadaz...@... wrote: Thanks for the help. That means I can use LCDS 2.6.1 with CF9 without any license problem right? Please anyone help me with installation question asked in the first thread. Can not find lcds_install_root in the below instruction for installing LCDS. 3) Copy the lcds_install_root/resources/lib/flex-messaging*.jar files and overwrite them into the ColdFusion /lib directory. Anyone. João Fernandes wrote: Jochem, the express license is for LCDS and it's valid no matter you deploy it standalone or with CF so you can use Express version (2.6.x) with CF9. The main reason why the CF team stop bundle it with the installer is the fact the new LCDS doesn't provide an express version, so they prefered to bundle BlazeDS instead and provide a readme for a manual installation. -- João Fernandes Adobe Certified Expert Adobe Community Professional http://www.twitter.com/joaofernandes http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org) -- View this message in context: http://old.nabble.com/Flex-3-%2B-Colfusion-%2B-LCDS-2.6.1-manual-installation-tp27688061p27708746.html Sent from the FlexCoders mailing list archive at Nabble.com.
Re: [flexcoders] Flex 3 + Colfusion + LCDS 2.6.1 manual installation
On 23-02-2010 19:13, lordali wrote: below instruction for installing LCDS. 3) Copy the lcds_install_root/resources/lib/flex-messaging*.jar files and overwrite them into the ColdFusion /lib directory. Anyone. When you install LCDS, you'll pick a J2EE install (not tomcat). The jars you need will be under the path that was mentioned /resources/lib/. Regarding the license, you need to be sure that you cannot have LCDS container accessing more than 1 CPU with maximum 2 cores. The best to get the better performance is to deploy LCDS ouside CF so your CF instance can fully take advantage of the machine and only LCDS will be limited. -- João Fernandes Adobe Certified Expert Adobe Community Professional http://www.twitter.com/joaofernandes http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)
RE: [flexcoders] Partial LineSeries - is it possible?
Thanks Richard, I'm going to give this a try - basically I'm going make placeholder data elements that map to my DateTimeAxis and fill in the remaining values for the decade. Jeff From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Richard Rodseth Sent: Tuesday, February 23, 2010 2:59 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Partial LineSeries - is it possible? I'm not sure I quite understand the question, but a couple of thoughts: - if you have a data function that returns null you can get gaps in a line chart, if that's desired - on the other hand, if your data provider filters out the empty data points, the chart should fill the available space - I think you might be able to have a separate data provider for the axis In other words, I would be surprised if custom renderers are necessary. On Tue, Feb 23, 2010 at 10:26 AM, Battershall, Jeff jeff.battersh...@dowjones.commailto:jeff.battersh...@dowjones.com wrote: I have a line chart with a DateTimeAxis that is stipulated to be about 750 pixels wide and it's used to display a decade's worth of data points. However, in the current decade, there are only a couple month's worth of data points. As a result the line series takes up the entire chart's entire available horizontal space. What I'd LIKE to have happen is have the line series only as wide as the data points require - kind of like a YTD graph. See what I'm getting at? Any charting experts available? Eli? Jeff Battershall Application Architect Dow Jones Indexes jeff.battersh...@dowjones.commailto:jeff.battersh...@dowjones.com (609) 520-5637 (p) (484) 477-9900 (c)
Re: [flexcoders] Component Data Calls
We hit a number of issues using modules as well. Pretty much most of them had to do with modules loading resources before the main app so that raised issues with main app or other modules trying to use them...not all resources had the issue and it became a guessing game of putting dummy vars etc in the main app so we gavce up. A pity since other than that we even got the back browser button to work with modules. We are hoping that Flex 4 will make it work better. Don't get me worng...I am not criticizing Flex in any way but it is just not easy to use Modules AND it does seem to have issues based on our experience. Web Manager Flexdownloads.com --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: I don't agree. I use modules extensively and have not experienced any bugs with them. It is more likely to be the code you use to load them and what you do inside them. --- In flexcoders@yahoogroups.com, Dan Pride danielpride@ wrote: Thanks Dave, the word I seem to be getting lately is that the modules tend to be a bit buggy at the moment. Decided to go with the old reliable viewstacks and change urls if I have too. There seem to be so many different ways to approach this issue, someone should write a book on it. I know I would buy it. :) Dan Pride --- On Mon, 2/22/10, David Adams dpadams@ wrote: From: David Adams dpadams@ Subject: Re: [SPAM] [flexcoders] Component Data Calls To: flexcoders@yahoogroups.com Date: Monday, February 22, 2010, 7:23 PM Â On Mon, Feb 15, 2010 at 3:28 AM, Dan Pride danielpride@ yahoo.com wrote: Â Thank you for your answer. Question if you would, I have been asking it everywhere and get NO satisfactory answers. How to approach a multi-windowed application, particurarly in FB4? 1) Different Urls? 2) ViewStacks? 3) States? 4) ViewStacks of States (Master-Detail in one ViewStack as two states)? 5) Do States initialize in Flash Builder 4? I had heard they do not? Dan, You might like the following video from near the end of Adobe's Learn Flex in a Week training: http://www.adobe. com/devnet/ flex/videotraini ng/xml/vid41. html It's a pretty nice, simple example of building and then lazy-loading a module only once (and if) it's needed.
Re: [flexcoders] Partial LineSeries - is it possible?
You shouldn't need to do this. Try setting the minimum and maximum values on the date time axis to the desired dates and it should do the rest(regardless of which dates there are data for). From: Battershall, Jeff jeff.battersh...@dowjones.com To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com Sent: Tue, February 23, 2010 1:44:39 PM Subject: RE: [flexcoders] Partial LineSeries - is it possible? Thanks Richard, I’m going to give this a try - basically I’m going make placeholder data elements that map to my DateTimeAxis and fill in the remaining values for the decade. Jeff From:flexcod...@yahoogro ups.com [mailto:flexcoders@ yahoogroups. com] On Behalf Of Richard Rodseth Sent: Tuesday, February 23, 2010 2:59 PM To: flexcod...@yahoogro ups.com Subject: Re: [flexcoders] Partial LineSeries - is it possible? I'm not sure I quite understand the question, but a couple of thoughts: - if you have a data function that returns null you can get gaps in a line chart, if that's desired - on the other hand, if your data provider filters out the empty data points, the chart should fill the available space - I think you might be able to have a separate data provider for the axis In other words, I would be surprised if custom renderers are necessary. On Tue, Feb 23, 2010 at 10:26 AM, Battershall, Jeff jeff.battershall@ dowjones. com wrote: I have a line chart with a DateTimeAxis that is stipulated to be about 750 pixels wide and it’s used to display a decade’s worth of data points. However, in the current decade, there are only a couple month’s worth of data points. As a result the line series takes up the entire chart’s entire available horizontal space. What I’d LIKE to have happen is have the line series only as wide as the data points require – kind of like a YTD graph. See what I’m getting at? Any charting experts available? Eli? Jeff Battershall Application Architect Dow Jones Indexes jeff.battershall@ dowjones. com (609) 520-5637 (p) (484) 477-9900 (c)
[flexcoders] Re: File Upload Modules
Did you try using an absolute URL for server file upload url as opposed to relative paths? I am not sure what url you are loading the module from relative to web root and te same realtive paths as in your original app may not work. Web Manager Flexdownloads.com --- In flexcoders@yahoogroups.com, criptopus sd_br...@... wrote: Why would file upload work before its component became a module but after it becomes a module does it fail with the error... Error #2044: Unhandled IOErrorEvent:. text=Error #2038: File I/O Error. I am completely lost? - Stephen
[flexcoders] Re: Strategies for switching between testing and deployment addresses
Using relative url's if you are not going cross-domain may be simpler if your application permits. Web Manager FlexDownloads.com --- In flexcoders@yahoogroups.com, Mike msl...@... wrote: I cover this issue in detail in my book (http://slinnbooks.com/books/serverSide), with code examples and explanations. The book shows how to discover the originating domain and how to dynamically configure data services accordingly. Mike I've been writing some small programs that use HTTPService calls to fetch data from a back-end. During testing, I'm using 127.0.0.1 or an IP address on my subnet. When I deploy, I update the IP address in service definitions to the right external address and build the app. Or at least I mean to. It's all too easy to accidentally change the addresses for internal testing and then forget to switch them back before building. Is there a best practice or simple strategy for putting the IP address somewhere outside of the source code that it can easily be edited without a rebuild?
[flexcoders] Re: Pb with mx:image and Path on server
It looks like you are using ../ which means go up one directory and based on what you describe for you app structure that is not true, since Images folder is a subdirectory of your swf root. Try this.. mx:image source=Images/myImg.jpg/ also ensure that your directory name starts with an uppercase on the webserver. Best not to mix case especially on Unix/Linux systems. Web Manager FlexDownloads.com --- In flexcoders@yahoogroups.com, Christophe christophe_jacque...@... wrote: Hello, Its impossible to view an image on my server with mx:image My server folders are: -- Images -- .JPG images -- www .swf application When I use mx:image source=../Images/myImg.jpg/ It does not work. Notice the image repertory is at the same level as www. Image has 755 as properties. What is the solution ? Thank you, Christophe,
[flexcoders] Label help
I could really use some help with this one. I have an item renderer consisting of two labels, positioned horizontally. I want to fill the distance between them with , for example: Car.$40,000 House..$400,000 Any ideas how to do this? Also, there is the caveat that I draw the ... in a way that matches the ... from Flex truncating the first item. I am using Spark Label Components, which matters because I can't change the truncationText anymore without affecting all Labels in the app (who decided to change this on the flex team i have no idea or why!). Thanks all.
[flexcoders] horizontal DG
Does anyone have snippets of a DG to be laid out row-wise (horizontally) instead of default, column-wise ? *Country Header Label* | A | B | C | D | ... (say dataprovider is countryCollection) ~ Arun
Re: [flexcoders] Label help
The truncation algorithm simply chops characters until textWidth + truncationText.textWidth fits. You could write a similar algorithm that adds “.” until you reach the desired width. Could be slow though. There are variants that use binary-subdivision to speed things up a bit, but it is still essentially looping. An alternative would be to always have a row of “.” as wide as the renderer and overlay the two text pieces over the row and use some white backgrounds behind the text so it covers the “.” That could be faster, and the “.”would always line up in the rows above and below, but the distance between the last char and first “.” would vary. In mx components, there is a Label component and a UITextFIeld that is usually used to display text in various components. In Spark, there is just Label so there would be less confusion about which one to use where, especially for less tech-savvy folks like skin designers using Flash Catalyst. Lots of folks use mx:Label in item renderers and pay the performance cost and have the same issue with styles. And now that Spark Label is everywhere, if you change its default styles the effects show up everywhere. Which is normally a good thing. And the way to get a subset of Labels to behave differently has not changed. Use CSS via a class selector and stylename, or subclass and use a custom type-selector. On 2/23/10 1:55 PM, arielj...@yahoo.com arielj...@yahoo.com wrote: I could really use some help with this one. I have an item renderer consisting of two labels, positioned horizontally. I want to fill the distance between them with , for example: Car.$40,000 House..$400,000 Any ideas how to do this? Also, there is the caveat that I draw the ... in a way that matches the ... from Flex truncating the first item. I am using Spark Label Components, which matters because I can't change the truncationText anymore without affecting all Labels in the app (who decided to change this on the flex team i have no idea or why!). Thanks all. -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
[flexcoders] Re: horizontal DG
I think you can use lockedColumn to simulate the grid header on y axis. Then programmatically add n-columns. Note that there are performance considerations for having a very wide grid, its certainly not as fast as default setup. You will also need a dataprovider that you can map column data fields on. If you are using objects you will need to use Proxy, XML might just work by default --- In flexcoders@yahoogroups.com, ArunKumar Madas arun.fle...@... wrote: Does anyone have snippets of a DG to be laid out row-wise (horizontally) instead of default, column-wise ? *Country Header Label* | A | B | C | D | ... (say dataprovider is countryCollection) ~ Arun
[flexcoders] Pelanggan terus bayar ke akaun anda!
100% komisyen akan dibayar terus ke akaun anda!!! Kami menggunakan sistem - bayar dan daftar. Dimana dalam web anda nanti tertera akaun bank anda dan bukan akaun siapa-siapa. 100% tiada penipuan. Pelanggan terus bayar ke akaun yang tertera dalam web anda. http://biz4us-1.webs.com/ Kebanyakkan perniagaan sekarang ini menggunakan systemdaftar dulu baru bayar. Sistem macam ni selalunya apabila pelanggan mendaftar dibawah link anda, admin boleh menghantar maklumat bank mereka untuk pelanggan anda membuat pembayaran. Jadi anda sudah kehilangan pelanggan. Sebenarnya sistem seperti ini boleh melakukan penipuan. Jadi sertai kami untuk perniaggan Telus tanpa penipuan. Cepat bertindak!!! Dapat 1 orang=RM50 Dapat 10 orang=RM500 Dapat 100 orang=RM5000 Dapat 1000 orang=RM5 Jadi apa tunggu lagi…lebih ramai yang join dibawah anda lebih banyak pendapatan anda! http://biz4us-1.webs.com/
[flexcoders] Is removing a child from DisplayList better the visible=includeInLayout=false?
Assuming you want to use that UIComponenet again in future and not destro it, does the lifecycle of a UiComponent still kick in when includeInLayout is false? is it much more efficient to remove it from displ
[flexcoders] how to insert Rechitextbox Editors text Value into UIComponenet or flex Sprite
Hi , how to insert Rechitextbox Editors text Value into UIComponenet or flex Sprite did anybody try it ?. Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! http://downloads.yahoo.com/in/internetexplorer/