[flexcoders] Can't style AdvancedDataGrid GroupingField

2009-09-04 Thread fumeng5
Hi, I set a styleFunction for my AdvancedDataGrid: private function styleRows(data:Object, column:AdvancedDataGridColumn):Object{ return { verticalAlign:'middle', backgroundColor:"0xeaeaf4",

Re: [flexcoders] Flex PMD forum?

2009-09-04 Thread Magnus Lassi
Thanks, I followed your advice and exported it making sure not to include the CopyrightMissing rule and running the ant task with custom ruleset but it still failes with the same error and no warning or error before that. I'll try it with a smaller project and at least the forum seems to be working

RE: [flexcoders] Re: Coding Best Practices/Accessing Using External AS

2009-09-04 Thread Alex Harui
That should be reasonably small compared to everything else. Non-displayobjects have roughly the same memory characteristics as other languages (4 bytes per property except 8 for Number. DisplayObjects are backed by player code, generally an additional 1K or so plus any bitmaps and other bu

[flexcoders] Re: Coding Best Practices/Accessing Using External AS

2009-09-04 Thread jmfillman
The parent will be pulling the data from the DB and passing the data to each instance of the component to display. The array of data in each component would routinely carry 30-40 items, but could have 50+ items on occasion. --- In flexcoders@yahoogroups.com, Alex Harui wrote: > > The definitio

RE: [flexcoders] Re: Coding Best Practices/Accessing Using External AS

2009-09-04 Thread Alex Harui
The definition gets loaded once, 20 instances are created and 20 copies of any of those instance's sub objects, etc. Usually that's small, but if you have a lot of sub objects or a lot of properties or really big properties like large arrays and bitmaps, then 20 instances can eat a lot of memor

[flexcoders] Re: Coding Best Practices/Accessing Using External AS

2009-09-04 Thread jmfillman
Yes, I have a custom canvas component. Currently, my layout logic is in the parent application, and has to perform the layout sequentially for the data relevant to each instance of the custom component. My concern was that FlashPlayer/AIR is loading the component X number of times and so the mem

[flexcoders] Re: Coding Best Practices/Accessing Using External AS

2009-09-04 Thread ag_rcuren
So if I am understanding you correctly you have built a custom component already and you are just making many instances of it during the runtime of your app? If this is the case it is fine to put the logic in the custom canvas. Once you compile the code each time you add a new instance of the co

[flexcoders] Re: Coding Best Practices/Accessing Using External AS

2009-09-04 Thread jmfillman
This goes to my lack of understanding in this area, but your saying create my own container type, correct? My logic sets the x, y, width, and height, so I don't know that I need all the measure and other items found in the ContainerLayout scripting associated with the standard container. Any go

[flexcoders] Position elements with different font size against baseline in HBox

2009-09-04 Thread Alexander Tarelkin
Hello, flexcoders. Let's pretend I have the following code: What should I do to vertically position the buttons on the same baseline without using padding? Referencing some constraint row from outside the HBox does not work, since HBox abolishes absolute positioning. Thank you, Alexander T

RE: [flexcoders] Coding Best Practices/Accessing Using External AS

2009-09-04 Thread Alex Harui
Sounds like you need a base class with the layout logic, then 20+ subclasses of that base class. You may not need to start with Canvas, mx.core.Container might be good enough. Then you can follow the model of how Box, VBox and HBox and their layout code is configured. Alex Harui Flex SDK Dev

RE: [flexcoders] Why never create an item renderer?

2009-09-04 Thread Alex Harui
There might be some posts on my blog that might help Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Christopher McArthur Sent: Friday, September 04, 2009

[flexcoders] Coding Best Practices/Accessing Using External AS

2009-09-04 Thread jmfillman
I have a series of component canvas containers that have children added and updated based on data in an ArrayCollection. The logic for the layout of the children in the container is identical for each canvas. What I am struggling with is where to put the logic for the layout. If I put it inside

RE: [flexcoders] ApplicationDomain, parent not equal for child of same parent.

2009-09-04 Thread Alex Harui
Known issue, that you can't compare applicationdomains. Our workaround is to test whether definitions are the same. Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On

Re: [flexcoders] Help with AdvancedDataGrid - Urgent

2009-09-04 Thread Adrian Williams
Hi Santosh, Check out GroupingCollection. Adrian Santosh Varghese wrote: Hi, I am new to Flex development. I wanted to use the AdvancedDataGrid to display data in a tree structure. coming from a remoteobject . The remote object is a java Collections object. I could read thi

[flexcoders] Help with AdvancedDataGrid - Urgent

2009-09-04 Thread Santosh Varghese
Hi, I am new to Flex development. I wanted to use the AdvancedDataGrid to display data in a tree structure. coming from a remoteobject . The remote object is a java Collections object. I could read this data and get into Flex ArrayCollection. The data in the ArrayCollection contia

RE: [flexcoders] Why never create an item renderer?

2009-09-04 Thread Christopher McArthur
Can anyone recommend any good reading material on this? Im having some memory issues with my itemrenderers lately ;) From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Alex Harui Sent: Thursday, September 03, 2009 11:53 PM To: flexcoders@yahoogroups.com Subject

[flexcoders] Object Async Token

2009-09-04 Thread sshankar0528
Hai, I am very new to the Flex I am working on flex + blazeds. I have a peculiar doubt that many feel silly,but this is that part, I have an mxml file which contains A login Form --> when i click on the button it will be load another MXML page, during that action, the form values are

[flexcoders] Re: DateField - minYear and maxYear - don't work if they contain calculated valu

2009-09-04 Thread valdhor
Yes, that does appear to be a bug. A simple workaround is to use a selectableRange: http://www.adobe.com/2006/mxml"; layout="vertical" initialize="onInit()"> --- In flexcoders@yahoogroups.com, "flexcoder2008" wrote: > > Thanks valdhor, > > I tried your exampl

[flexcoders] Re: DateField - minYear and maxYear - don't work if they contain calculated valu

2009-09-04 Thread flexcoder2008
Thanks valdhor, I tried your example and yes it works...very strange. I noticed another person had a similar issue to me at this post: http://forums.adobe.com/message/1052372; The thing is, I was working with 2 datefields trying to do some date math to ensure restricted values for a start and

[flexcoders] hey~

2009-09-04 Thread Thibaud Van Vreckem
Hi, I bought a TV last week from a website:www.hkeles.com. I have received the product. The quality is very good. They also sell phones,motor,psp and so on. Because of the financial crisis, their products are very cheap. by the way, they only sell new and original products .If you need these produ

[flexcoders] Generate a sound

2009-09-04 Thread christophe_jacquelin
Hello, How to generate a sound registered sentence when I click on an Image? Thank you, Christopher,

[flexcoders] Re: DateField - minYear and maxYear - don't work if they contain calculated value?

2009-09-04 Thread valdhor
I am using SDK 3.3 and this works for me: http://www.adobe.com/2006/mxml"; layout="vertical"> I can only select a date between Jan 2000 and Dec 2009. --- In flexcoders@yahoogroups.com, "flexcoder2008" wrote: > > I have a DateField and if I set the minYear or the m

Re: [flexcoders] Flex PMD forum?

2009-09-04 Thread ady
Ok i found the same problem and i fixed it, i have shared the solution on http://100kph.blogspot.com/2009/09/adobe-technical-services-just-launched.html HTH's On Thu, Sep 3, 2009 at 6:46 PM, Magnus Lassi wrote: > > > Hi, does anyone know if there's a Flex PMD forum or mailing list? The lin

[flexcoders] Alternative to ILOG Elixir indicators and Degrafa

2009-09-04 Thread civilu007
Hello, For my project I need a component that can display some alphanumeric text, basically some sort of fancier label. The requirements are that it displays alphanumeric text, an optional sign for numbers, that the number of displayed characters is not limited and the component auto-resizes f

Re: [flexcoders] Manage a multi lingual application

2009-09-04 Thread Fotis Chatzinikos
My personal experience is that you should handle this in the back end. Flex can do it but I find it cumbersome to use and distribute. What i have done is to populate an object with the translated strings and use it like this: Where translations is a bindable object you have already filled up in

Re: [flexcoders] cannot convert mx.graphics::str...@205c5d61 to mx.graphics.IStroke

2009-09-04 Thread Guy Morton
Yes, thanks. I did find the answer shortly after posting here. On 03/09/2009, at 4:51 PM, Alex Harui wrote: Are you using modules? It is a common problem. Quick fix is to link IStroke in the main app. If you google you’ll see past threads on this topic. In a script block just do:

[flexcoders] Flex PMD forum?

2009-09-04 Thread Magnus Lassi
Hi, does anyone know if there's a Flex PMD forum or mailing list? The link at http://opensource.adobe.com/wiki/display/flexpmd/FlexPMD is broken and I haven't been able to find it. I'm not sure if anyone on this list has started using it, I tried both the command line and ant task and they both bo

Re: [flexcoders] Re: How do I get on adobe feeds? I'm having problems...

2009-09-04 Thread Mark Lapasa
Hello all, Does anyone know who is admin for the feeds on MXNA/feeds.adobe.com? I would like to have my feed URL updated. It's been about 2 days since I sent the request. I would like to know if they've received my request. knowledge.lapasa.net Old - http://knowledge.lapasa.net/wp-atom.php New

[flexcoders] Air and geolocation

2009-09-04 Thread skwasha
Hi there, Curious if anyone has done any geolocation with Air apps? I would like to be able to use something like Geode or Skyhook/Loki that have much better resolution than simple IP lookups - but they are all browser based. Any ideas or pointers appreciated. TIA!

[flexcoders] Sort column in advanceddatagrid on application start

2009-09-04 Thread arno.manders
After creationComplete I want to say that one column from the advancedDataGrid is sort. I can't do this on the dataprovider because I want the sort on a summaryRow. I hope this is enough information

[flexcoders] how to operate system with air?

2009-09-04 Thread zhang_yi19850...@yahoo.cn
i want to shut down my computer or restart my computer with my client application . this client application is a air_app.

[flexcoders] WebService lost connection

2009-09-04 Thread jb.tellez
Hi coders, I've got an app that makes frequent web service broadcasts and they often will time out. I've got code to handle this and eventually the calls go through but I'm trying to determine why it happens so often in the first place. The loss of connectivity happens most often on low RAM Mac

[flexcoders] Flex 3 Content Assist does not show all class packages???

2009-09-04 Thread ajsimo35
hey all, i have been programming in AS3 for a while now, i have used flex here and there, but am looking to use the framework for an app i working full board. i am writing it all in AS3, not MXML... why when i see code hinting do i not see all of the class packages available to the 3.4 SDK?

Re: [flexcoders] Displaying row count with Group In ADG grouping

2009-09-04 Thread pmstp
Hi, Just set the AdvancedDataGrid's groupLabelFunction to something like this: private function groupLabel(item:Object, depth:int):String     {   var count:int = item.children.length;   return item.GroupLabel + " (" + count + ")";     } HTH --- On Sun, 8/30/09, chauhan_icse wrote: F

[flexcoders] fade text automatically, i.e without any trigger event

2009-09-04 Thread praj_058
Hi, my flex code reads an XML and displays its contents one after the other. to be more clear, here is the flex code i have written: http://www.adobe.com/2006/mxml"; layout="absolute" creationComplete="init()">

[flexcoders] Tooltip Style

2009-09-04 Thread sk_flexcoder
I have set the following style for Tooltip in a CSS file, it works fine, however when this style is applied the error messages displayed using the Validators are showing as empty red dialog boxes without any text in them. I know errorTip is derived from the Tooltip is this causing the problem? I

[flexcoders] setting endpoint of remoteobject

2009-09-04 Thread dev.achiever
Hi , I am facing problem of setting end point of remoteobject that give one error as TypeError: Error #1034: Type Coerci on failed: cannot convert mx.messaging.messages::errormess...@5a59dc59 to mx.messaging.messages.ErrorMessage. Give me help Thanks, Achiver

[flexcoders] Air html download function

2009-09-04 Thread garrysaddington
I have an AIR application that is just a web browser and I want it to behave just like any other browser. I have overcome various problems in getting it to behave so but I am left with just the problem stated. I can't get it to download anything apart from PDFs. I have been doing a bit of diggin

[flexcoders] RemoteObject Transmission Delays

2009-09-04 Thread John Luke Mills
My application has been having problems with remoteObject taking up to 8 seconds to transmit. I read somewhere about remoteObject batching and so on to "optimize", but I can't figure out how to control it. Any pointers would be greatly appreciated. Thanks, John Luke Mills

[flexcoders] Enter key like Tab key

2009-09-04 Thread leojribeiro2008
Hi all, I have a TitleWindow with a TextInput and 2 buttons and i need that when Enter key is pressed it works like tab key. I try the following code but i receive a null public function initForm():void { tfNome.setFocus(); this.addEventListener(KeyboardEvent.KEY_DOWN, enterNextFocus); }

[flexcoders] FLEX multiple Chat Window Minimize, Maximize and Close functionality

2009-09-04 Thread Sabari nath
Hi, I'm developing the video conference application, multiple users can able to communicate through Video,Audio and text chat. Suppose there are 10 users currently using the application, there are private and public chat functionality available, for private chat a user can able to chat with availa

Re: [flexcoders] Re: RegExpValidator Not working with code-behind - SOLVED

2009-09-04 Thread Jon Gunnip
Thanks for posting your solution. By the way, I also was able to get my regex to work from ActionScript by storing as a String and similarly escaping the curly braces with a backslash. The expression attribute on mx:RegExpValidator is expecting a String, so attempting to store in ActionScript as

[flexcoders] Adobe Air Screenshot

2009-09-04 Thread Michael Ridland
Hi I have looked around the internet for how I can do a screen grab with Adobe Air. I have found this. http://blog.everythingflex.com/2008/04/24/do-a-screen-capture-with-adobe-air/ Has anyone used this method in a commercial app? Is it stable? Does it work? Across all platforms? Can anyone reco

[flexcoders] Simultaneous my-amf and my-secure-amf

2009-09-04 Thread markbykerkkauffman
There is a way to build a single Flex application, without changing any configuration files between compliations, that can then be deployed to either a server that is configured for http or a different server that is configured for https. I struggled with this some time. At first it seemed tha

[flexcoders]

2009-09-04 Thread Barry Gee
Hi all. I am putting together a very simple webcam app. In Flex 3 I would have used the component, however in Flex 4 this doesnt seem to be present, or at least not in Flash Builder 4 Beta. Can anyone tell me what I should be using instead of VideoDisplay in order to display a webcam feed. M

[flexcoders] Adobe Research On Flex Developers!!

2009-09-04 Thread petrauebel
Adobe is conducting a User Research study to learn more about the work flows of Flex Developers. If you have worked with Flex in a professional capacity we would really like to hear from you. In addition, an Adobe Experience Researchers would like to conduct in-depth interviews with Flex Develo

[flexcoders] Re: How to host my own flex application using LCDS or BlazeDS?

2009-09-04 Thread Gerry_McLarnon
You could have a look at the Amazon EC2 options, e.g. http://dobeweb.com/2008/guide-for-setup-blazeds-in-less-than-an-hour-with-amazon-ec2.html --- In flexcoders@yahoogroups.com, "Wally Kolcz" wrote: > > I am going to go on a limb and say there is no hosted solutions for Blaze or > LCDS. Reaso

[flexcoders] retrieving File Name from Array

2009-09-04 Thread texlearningflex
I'm very much a newbie at this. I want to get the file names from an Array that was created using ClipboardFormats.FILE_LIST_FORMAT any ideas or comments? thanks in advance, Tex

[flexcoders] Re: Manage a multi lingual application

2009-09-04 Thread texlearningflex
Christopher, Check out Lupo Translator and Lupo Manager . I am completely new to Flex, so I don't have any experience whatsoever with these, but I did stumble upon them recently. Let me know what you think. Tex

Re: [flexcoders] Google Earth inside of Flex

2009-09-04 Thread Darrin Kay
well it would, but with the enterprise version, you are basically getting the whole of Google Earth on your own server on your network. On Fri, Sep 4, 2009 at 10:39 AM, Wesley Acheson wrote: > > > We've used google maps not google earth. > > http://code.google.com/apis/maps/documentation/flash/ h

Re: [flexcoders] Google Earth inside of Flex

2009-09-04 Thread Wesley Acheson
We've used google maps not google earth. http://code.google.com/apis/maps/documentation/flash/ however It does requrire an internet connection from the client machine. (As does I beleve google earth) Regards, Wesley Acheson On Fri, Sep 4, 2009 at 11:01 AM, Darrin Kay wrote: > > > Well the co

Re: [flexcoders] Google Earth inside of Flex

2009-09-04 Thread Darrin Kay
Well the company I am getting is in the process of getting that, and the network that the production runs on will not have any access to the normal web On Fri, Sep 4, 2009 at 9:44 AM, Tom Chiverton wrote: > > > On Friday 04 Sep 2009, Darrin Kay wrote: > > I was wondering if anyone has put Google

Re: [flexcoders] Re: An internal build error has occurred. Right-click for more information.

2009-09-04 Thread Tom Chiverton
On Thursday 03 Sep 2009, deneme2010 wrote: > I dicover that this problem is coused by subclipse pluggin. Really ? How ? > can you recomend me some system for colloboration like team foundation > sistem or so for eclipse? Subversive (the other SVN plugin) ? -- Helping to enthusiastically moneti

Re: [flexcoders] Google Earth inside of Flex

2009-09-04 Thread Tom Chiverton
On Friday 04 Sep 2009, Darrin Kay wrote: > I was wondering if anyone has put Google Earth in a flex app? What I will > need it to do is center on a point and a certain level, and be able to plot Does it have to be Google Earth ? There are other Flex mapping components... -- Helping to simultane

[flexcoders] Google Earth inside of Flex

2009-09-04 Thread Darrin Kay
I was wondering if anyone has put Google Earth in a flex app? What I will need it to do is center on a point and a certain level, and be able to plot points on the map that will like to a file on my server. It would be great if the points would hide until the user zoomed in enough Thanks, Darri

Re: [flexcoders] Flex and REST

2009-09-04 Thread DannyT
For anyone else investigating this here's a collection of reading: http://delicious.com/danny_t/flex+REST It's not clear-cut by any means but I think you really need a better understanding of what's going on on the server-side (does it accept POST for each request, does it allow x-http-method-ove

[flexcoders] ApplicationDomain, parent not equal for child of same parent.

2009-09-04 Thread sehrawat_raj
For the following lines of code I am getting unexpected results. var currAppDomain :ApplicationDomain = ApplicationDomain.currentDomain; var appDomain1 :ApplicationDomain = new ApplicationDomain( currAppDomain ); var appDomain2 :ApplicationDomain = new ApplicationDomain( currAppDomain ); There