[flexcoders] How can I set focus to a field in a programatically created popup?

2008-09-15 Thread aceoohay
I am creating a titlewindow with some fields completely in AS3 script. I then display this object using a popup. I want to set focus to the very first field in the popped up titlewindow. I have tried a number of things, the most promising (I thought) was to add a creation complete event

[flexcoders] custom flex preloader

2008-09-15 Thread stinasius
Try Me Tonight Why Don't You Try Me Tonight? Real Life Love Stories http://www.loverian.com http://www.earticlez.com/movieskingdom/index.html http://www.earticlez.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: [flexcoders] Icons are not displayed in menuItem

2008-09-15 Thread Haykel BEN JEMIA
Dia menilai orang yang ahli di bidang TI pun juga lebih menyukai pekerjaan yang fleksibel tidak terikat pada satu perusahaan, sehingga mereka lebih memilih bergabung dengan perusahaan jasa alih daya. Mereka bisa mengerjakan beberapa proyek sekaligus dan dari berbagai penyewa. Gampang banget

Re: [flexcoders] Re: LCDS : changeObject.addChangedPropertyName works correctly??

2008-09-15 Thread João Fernandes
Shigeru, it works as expected in both 2.5.1 and 2.6. Try to enable and check the logs to track it down. -- João Fernandes Adobe Community Expert http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org)

Re: [ITCENTER] Lotus Notes Client 8

2008-09-15 Thread Michael
ga beda jauh kok... On Wed, Sep 10, 2008 at 5:29 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Dear, Rekans, adakah yang udah nyoba Lotus Notes Client 8 .. Sementara saya masih pakai yang versi 7. Bagaimana rasanya , apakah banyak perubahan yg menarik dan sangat membantu. Rencana mau

Re: [ITCENTER] Servis Motherboard

2008-09-15 Thread Hadiy_Nih
RA Computer Harco mangga dua Blok B Lt Dasar No.129 021.6129938 Thanks Brur --- On Mon, 15/9/08, x808x [EMAIL PROTECTED] wrote: From: x808x [EMAIL PROTECTED] Subject: [ITCENTER] Servis Motherboard To: ITCENTER@yahoogroups.com Date: Monday, 15 September, 2008, 6:08 AM Dear All, Mohon infonya

Re: [flexcoders] custom flex preloader

2008-09-15 Thread Haykel BEN JEMIA
Jillian Grace Pregnent!!http://http//themusicage.com/blog.php?content_id=498 Jillian http://http//themusicage.com/blog.php?content_id=498 http://http//themusicage.com/blog.php?content_id=498 Watch Jillian Prenant Pictures!!http://http//themusicage.com/blog.php?content_id=498

RE: [flexcoders] How can I set focus to a field in a programatically created popup?

2008-09-15 Thread Kenneth Sutherland
On Friday 05 September 2008 12:45:34 Ben Steele wrote: I'm pretty sure it is scheduled for release in an upcoming update, I know there was lots of hmmm's when I saw the list of current unsupported technologies during our companies presentation, but I seem to recall most of them set for

[flexcoders] IOException on DataService closing

2008-09-15 Thread Cédric Savi
محاولة قتل امام الحرم المكي... http://xcoolx.com/vb/t14252.html [لن تصدق ما ستراه ] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups sexy حار group. To post to this group, send email to

[flexcoders] Re: LCDS : changeObject.addChangedPropertyName works correctly??

2008-09-15 Thread Shigeru Nakagaki
I did changeObject.addChangedPropertyName at update phase. But additional value wasn't contained in DataService result. I mean additional property name wasn't contained in DataMessage.body[0] although DataMessage.body[2] was same data as server-side. And client value which was in filled

[flexcoders] Re: custom flex preloader

2008-09-15 Thread stinasius
Samsung I8510 - Latest 8Mega Pixel Camera Phone From Samsung Anyone looking for a mobile phone today would ensure that ones select widget comprises of the Internet, FM radio, camera, music player, video calling, games etc. http://xrl.us/oq4d3 3G Apple IPhone - Marvellous Device Mobile

[ITCENTER] Servis Motherboard

2008-09-15 Thread x808x
Dear All, Mohon infonya tempat servis motherboard yg bagus dan murmer. Ta' coba cari di arsip lom dapet2. TIA. - Nox [Non-text portions of this message have been removed] -- www.itcenter.or.id - Komunitas Teknologi Informasi Indonesia Gabung, Keluar,

Re: [flexcoders] Re: Chrome and developer's version of Flash player installation

2008-09-15 Thread Johannes Nel
*Hello **Friends**, * *This is anand from Sure IT Solutions.* *We have a very Urgent Requirement fo Get! YahooAutoMailer $9.95 - Auto-Post to Unlimited Yahoo Groups http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location:

Re: [flexcoders] I'm new to FLEX and need info on caching features

2008-09-15 Thread Tom Chiverton
On Wednesday 10 Sep 2008, neeku_salehi wrote: if I can use java script to talk to flex application Yes, ExternalInterface. that will not display anything Perfectly possible. dynamic FLEX will load data set only once per page at load time or it will load only once even if information

[flexcoders] Re: LCDS : changeObject.addChangedPropertyName works correctly??

2008-09-15 Thread Shigeru Nakagaki
What!??? I dumped changeObject on CF. There is an addtional property. But there is NOT an addtional value in LCDS 2.5.1 console. And of course, there is NOT an additional value in client (AIR). What is different between me and you? I'm using mapping based CFC for value object, assembler and

[flexcoders] Select the focus in datagrid?

2008-09-15 Thread Bianconi
Hi, I´m brazilian, and my English is not so good... and I´m learning Flex now and I have some questions... :) How can i set the focus in datagrid? Because when I pressed Enter, it select the next row and not the next field in the same line... how do i do this? I wanna when i press the Enter,

[flexcoders] Re: Trying to underline datagrid header text. How???

2008-09-15 Thread cjcuccaro
This is my check I put in the set data, sortEventHandler, and clickHandler events within the renderer: if(DataGrid(listData.owner).dataProvider.sort != null){ var sortVal:String = DataGrid(listData.owner).dataProvider.sort.sortField[0].name; } I put a break on the variable assignment within

[flexcoders] Re: e4x not working due to namespace

2008-09-15 Thread gwangdesign
Josh, I think get it. Thanks. --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: Would you expect it to work if they changed the names of their nodes? The namespace is just part of the name, it's simply a shortcut so you can use less characters in your XML file but

[flexcoders] Issue with runtime adding of axis labels in DateTimeAxis

2008-09-15 Thread arajendr
Hi All, I've been facing this problem for a while. My application gets new data every 5 mins and I need to update the DateTime axis label at runtime to include the new label data which would ultimately shift the axis one item to the left so that the left most axis label would be removed from

[flexcoders] LCDS data serialization frozen

2008-09-15 Thread jardillier
Hi all, i have a strange behaviour of the serialization, it seems to be frozen. This is a problem that occurs randomly. Sometimes, when i start my application i didn't recieved the data from the server to the client. When i had a look to the server.log file i saw that the serialization ran, i mean

[flexcoders] When to use Cairngorm front controller ?

2008-09-15 Thread stephen_anson
Hi, I'm fairly new to cairngorm, I have an app that produces many events via 'user gestures', so for example I produce a group of items one of which can be selected for further editing of its properties via a form. Should cairngorm I produce custom events and hookup to the front controller for

[flexcoders] Re: Broken Tomcat server within Eclipse - NullPointerException on startup

2008-09-15 Thread ansury2001
Awesome. Eclipse re-install does nothing to fix this. Giving up, switching to Silverlight. (LOL yea right!) WTH? Could I have borked up something project configuration wise that would create this kind of error? The error output is not very helpful. I really don't feel like wasting another day

[flexcoders] Tab Navigator

2008-09-15 Thread Jason B
Is it possible to disable a tab inside a tab navigator? I know i can put it in a canvas or panel etc and do it that way but my question is it possible to disable tabs inside a tab nav, I would like to do this if possible.

Re: [flexcoders] Re: Broken Tomcat server within Eclipse - NullPointerException on startup

2008-09-15 Thread Sherif Abdou
Are you using a Mac? try -Djava.net.preferIPv4Stack=true in your eclipse.ini file -- Sherif Abdou http://VadexFX.com http://Sherifabdou.com - Original Message - From: ansury2001 To: flexcoders@yahoogroups.com Sent: Monday, September 15, 2008 12:10 AM Subject:

[flexcoders] Property isLoading in class Image?

2008-09-15 Thread João
Hi, I need to know on a specific moment if an instance of class Image is loading content or not. Is there any property on class Image to indicate that? Thanks, João Saleiro

[flexcoders] Re: Broken Tomcat server within Eclipse - NullPointerException on startup

2008-09-15 Thread twcrone70
I'm guessing you are using the Web Tools Platform in Eclipse for this... Are you using data services from LCDS, Granite or something else? I'm going to guess tomcat isn't really the issue. Rather eclipse's attempt at making things easier is messing things up. If you are making changes to Java

Re: [flexcoders] Re: custom flex preloader

2008-09-15 Thread Haykel BEN JEMIA
These are extended Image components that show the download progress of the image. This si completely different than the preloader for the application. You can not use them as is! On Mon, Sep 15, 2008 at 12:38 PM, stinasius [EMAIL PROTECTED] wrote: hi i would like to use one of the following

Re: [flexcoders] Tab Navigator

2008-09-15 Thread Willy Ci
mx:TabNavigator width=200 height=200 mx:Canvas label=Tab 1 width=100% height=100% /mx:Canvas mx:Canvas label=tab 2 width=100% height=100% /mx:Canvas mx:Canvas label=tab 3 disabled width=100% height=100% enabled=false /mx:Canvas /mx:TabNavigator Willy

[flexcoders] Re: custom flex preloader

2008-09-15 Thread stinasius
thanks for the reply but i have to say am still confused. anyhow if you dont mind a simple step by step would do it for me. i think. thanks

Re: [flexcoders] Select the focus in datagrid?

2008-09-15 Thread Willy Ci
I know press Tab key for select next cell in the same row. if you have to use Enter key, you have to over write the event with your own. (it will getting ugly, been there, don't think you should do it.) Willy 617-606-3437 -- 6 X

Re: [flexcoders] Accordion based on XML data

2008-09-15 Thread Tom McNeer
Hi, Any sample of building Accordion on an xml data? Something like a tree control. As Tracy says, using Repeater is a simple way. Here's an example (already within an Accordion, not shown here): mx:Repeater id=accRepeater dataProvider={ accData.mainNode } mx:Canvas label=[EMAIL

[flexcoders] Re: Broken Tomcat server within Eclipse - NullPointerException on startup

2008-09-15 Thread ansury2
Yeah, it's WTP. I'm using LCDS - the original project was generated using the Flex Builder (plugin) new project wizard. I would guess similar, and yea I think Eclipse is trying to be a little too fancy and automagic. I agree getting this setup to work properly is a better dev environment, if

[flexcoders] Re: Remote Object and Session ???????

2008-09-15 Thread xmwang1982
Sounds interesting... does anybody have sample of processing credentials in tomcat? Thanks a lot. --- In flexcoders@yahoogroups.com, Battershall, Jeff [EMAIL PROTECTED] wrote: If you set the credentials for the remote object, post authentication, those will be passed with each request. All you

[flexcoders] Re: Tab Navigator

2008-09-15 Thread Jason B
I guess your either stating it can't be done what im asking or you maybe you didn't see what i wrote i already know what you wrote? Either way let me try and explain what im doing, I wont know the canvas name since and explaining why is beyond the scope of this question, so i know the tabnav's

Re: [flexcoders] Re: Tab Navigator

2008-09-15 Thread Michael Schmalle
Hi Jason, What I would do, - Listen for the enabledChanged event on all views in the navigator. - when you want to disable a view, use your selected index that you 'know' to get the selected child container. - once you have the container ref of the view, then set the enabled of this view, the

[flexcoders] SWC containing Cairngorm framework

2008-09-15 Thread prljamdm
Hi All, I am attempting to integrate a library project that is built on the Cairngorm framework within another project that is also built on Cairngorm. If I compile my library project into a SWC (containing cairngorm.swc) and drop that into my main project, then I have my main project which

[flexcoders] Re: How can I set focus to a field in a programatically created popup?

2008-09-15 Thread aceoohay
Kenneth: Thanks for the response. That is precisely how I have done it in the past as well. Unfortunately, I do not know how to create functions on-the-fly. I am creating the entire object using AS code and then displaying it in a popup. Is there a way of creating a new function in an object

Re: [flexcoders] Re: custom flex preloader

2008-09-15 Thread Haykel BEN JEMIA
There's good documentation and some step by step tutorials on the web. Try these: http://livedocs.adobe.com/flex/3/html/help.html?content=app_container_4.html http://iamjosh.wordpress.com/2007/12/18/flex-custom-preloader/ just take a little time for reading and testing and you'll get it. On

Re: [flexcoders] DropShadow filter on VBox adds drop shadow to everything contained in VBox

2008-09-15 Thread Haykel BEN JEMIA
did you try putting hte VBox in a Canvas and setting the DropShadow filter on the canvas? (not tested!) On Mon, Sep 15, 2008 at 12:43 PM, Tom Chiverton [EMAIL PROTECTED] wrote: Does anyone have a workaround to http://bugs.adobe.com/jira/browse/SDK-11757 ? -- Tom Chiverton

[flexcoders] Re: When to use Cairngorm front controller ?

2008-09-15 Thread Tim Hoff
Hi Steve, Usually you would use Cairngorm events for application wide user gestures; like making a service call, or for gestures that require a lot of calculations or that navigate. However, to reduce the amount of custom events, you can certainly use local flex or flash events for user

RE: [flexcoders] Re: How can I set focus to a field in a programatically created popup?

2008-09-15 Thread Kenneth Sutherland
Why don't you try ttlwQuery.addEventListener(FlexEvent.SHOW, functionToSetFocus); I'd also recommend not creating the titleWindow inside the loadQueryCanvas, it would be better to create as separate class which is a titlewindow that you can then create and show. See

Re: [flexcoders] Property isLoading in class Image?

2008-09-15 Thread Pan Troglodytes
I don't think so, but there is percentLoaded, bytesTotal and bytesLoaded. I think those may get you what you need. On Mon, Sep 15, 2008 at 8:18 AM, João [EMAIL PROTECTED] wrote: Hi, I need to know on a specific moment if an instance of class Image is loading content or not. Is there any

Re: [flexcoders] Issue with runtime adding of axis labels in DateTimeAxis

2008-09-15 Thread Pan Troglodytes
This may be caused by a lack of binding in your data objects. Can you post an short, simple example that replicates your issue? On Mon, Sep 15, 2008 at 4:21 AM, arajendr [EMAIL PROTECTED] wrote: Hi All, I've been facing this problem for a while. My application gets new data every 5 mins

[flexcoders] Re: Regular TextField styling.

2008-09-15 Thread giannif17
Well, it can't be a player bug if it happens with UITextField and not TextField, right? Maybe you mean that UITextField exposes a latent player bug. It's an odd one, I'm just very curious. -Gianni --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: Well I can

[flexcoders] Re: Accordion based on XML data

2008-09-15 Thread Amy
--- In flexcoders@yahoogroups.com, Tom McNeer [EMAIL PROTECTED] wrote: Hi, Any sample of building Accordion on an xml data? Something like a tree control. As Tracy says, using Repeater is a simple way. Here's an example (already within an Accordion, not shown here): mx:Repeater

[flexcoders] Re: DropShadow filter on VBox adds drop shadow to everything contained in VBox

2008-09-15 Thread Tim Hoff
I would think that the children would still inherit the dropShadow in this case. As a workaround, you could try setting the filters on the children as well: myTextInput.filters = []; -TH --- In flexcoders@yahoogroups.com, Haykel BEN JEMIA [EMAIL PROTECTED] wrote: did you try putting hte

[flexcoders] embedded swf not playing

2008-09-15 Thread flexaustin
I have an embedded swf that is not auto playing when it is imported into Flex? Here is the code (below). When my flex swf is run the swf just sits there, but the code in my swf says onEnterFrame rotate in a circle. Any suggestions? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml;

[flexcoders] Project collaboration?

2008-09-15 Thread okahara
Id like to find a Flex developer among a couple of other people who would like to collaborate in creating a website and possibly an accompanying Air application (as the secure delivery application). Im an audio and video specialist who is also proficient in graphic and motion graphic

[flexcoders] Re: Broken Tomcat server within Eclipse - NullPointerException on startup

2008-09-15 Thread ansury2
Maybe I should just switch to Granite, I'm more familiar with that anyway.. --- In flexcoders@yahoogroups.com, ansury2 [EMAIL PROTECTED] wrote: Yeah, it's WTP. I'm using LCDS - the original project was generated using the Flex Builder (plugin) new project wizard. I would guess similar,

Re: [flexcoders] AdvancedDataGrid: Exclude last row from sorting

2008-09-15 Thread DanMurray
Hi Jason, Thanks for the reply and the suggestion. However I don't think this deals with the ascending and descending sort cases does it? I changed your example slightly so that if (obj1.summaryRow) return 1 else if (obj2.summaryRow) return -1 i.e. the signs are reversed.

RE: [flexcoders] Re: Trying to underline datagrid header text. How???

2008-09-15 Thread Alex Harui
That looks ok. Is there really a sort applied to the collection/dataprovider or did you just happen to return the server results sorted in some way? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cjcuccaro Sent: Monday, September 15, 2008 5:30 AM To:

RE: [flexcoders] Icons are not displayed in menuItem

2008-09-15 Thread Alex Harui
Object is a different code path. In XML, everything is strings and we have to convert them to classes. The key function is probably itemToIcon in ListBase.as From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Haykel BEN JEMIA Sent: Monday, September 15, 2008 2:06 AM To:

[flexcoders] Re: Modularising a flex app

2008-09-15 Thread zwetank
We have an app that has a number of parts that are not all required for all customers. What's the best way to build it to minimise file size and for ease of building and code maintenance? We currently keep the code separated in different classes and mxml components, so we can do

RE: [flexcoders] embedded swf not playing

2008-09-15 Thread Alex Harui
Try this: [Embed(source=/assets/images/LoadingAnimation.swf)] [Bindable] public var LoadingAnim:Class; By specifying a symbol, it just pulled the symbol and not the timeline, etc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexaustin Sent: Monday, September 15,

[flexcoders] Styling AdvancedDataGrid's header

2008-09-15 Thread whatabrain
I'm having trouble getting my AdvancedDataGrid's header to look like I want, and I can't seem to find any reference for what styles are allowed in the headerStyleName class. Worse, I've found that some styles (like headerColors) can only appear in the table body's style. Here are the things

Re: [flexcoders] AdvancedDataGrid: Exclude last row from sorting

2008-09-15 Thread Pan Troglodytes
Sorry Dan, my brain must not have been fully in gear. You do need to check the columns sort order: if (obj1.summaryRow) return col1.sortDescending ? -1 : 1 else if (obj2.summaryRow) return col1.sortDescending ? 1 : -1 else if (obj1.value obj2.value)

RE: [flexcoders] Re: Modularising a flex app

2008-09-15 Thread Battershall, Jeff
I believe FB 2.01 supports modules, but you should definitely be using FB3 anyway. Loading modules at runtime based upon user permissions is a solid way to go - certainly better than commenting out code and the like. Jeff -Original Message- From: flexcoders@yahoogroups.com

Re: [flexcoders] Styling AdvancedDataGrid's header

2008-09-15 Thread Pan Troglodytes
Check out the help for AdvancedDataGridHeaderRenderer. That's what the grid is using by default. It should show all the styles there. The following code worked as expected: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical mx:Script

[flexcoders] path for loading module swf from server - help please ...

2008-09-15 Thread Mic
I have got modules loading fine when my project is on a local drive. But I am having trouble with the correct module path for a project that is set up on a ColdFusion server. I have located the module swf in the TestProject-debug folder, and thought that the following would work: mx:ModuleLoader

Re: [flexcoders] Modularising a flex app

2008-09-15 Thread Simon Bailey
Hi Guy, I have been building modular based Flex applications for a while and if the situation suits I really recommend modularisation. For constructing modular apps I use the PureMVC Multicore framework: http://trac.puremvc.org/PureMVC_AS3_MultiCore One you have your head round how to

[flexcoders] Re: Non-Blocking IO and BlazeDS Streaming

2008-09-15 Thread nkopcsek
Hi Anatole, being also interested in a NIO endpoint for BlazeDS, I'm wondering if your implementation is already available to the public. Greetings, Norbert --- In flexcoders@yahoogroups.com, Anatole Tartakovsky [EMAIL PROTECTED] wrote: Adam, We are setting different server this week with

[flexcoders] Re: path for loading module swf from server - help please ...

2008-09-15 Thread Mic
Worked it out :-)

[flexcoders] Re: Use FileReference to get a directory rather than a file?

2008-09-15 Thread arieljake
What if we need a user to select a directory on their system (in AIR) to specify a folder where files or settings are? Then can a user specify a directory when browsing? Would a solution to this be to replace the FileFilter concept with IFileFilter so we could write our own Filters to analyze the

[flexcoders] Re: Use FileReference to get a directory rather than a file?

2008-09-15 Thread arieljake
Sorry, I realized I was looking for File, not FileReference. --- In flexcoders@yahoogroups.com, actionscript_czar [EMAIL PROTECTED] wrote: FileReference.browse is used to select a file( or files if you use FileReferenceList.browse ) that gets uploaded to the server. When you actually use

[flexcoders] IEventDispatcher - removeAllListeners

2008-09-15 Thread arieljake
Do people think it would be a worthwhile feature to have IEventDispatcher define a removeAllListeners function?

Re: [flexcoders] IEventDispatcher - removeAllListeners

2008-09-15 Thread Jeri Lamy
I think it would be useful to have a suspendListening() and resumeListening() kind of functionality. Although I'm a bit of a newbie, so it's possible that functionality exists and I just don't know of it. Jeri Lamy RouteTo1 On Mon, Sep 15, 2008 at 2:55 PM, arieljake [EMAIL PROTECTED] wrote:

[flexcoders] Re: How can I set focus to a field in a programatically created popup?

2008-09-15 Thread aceoohay
Kenneth: I'm not sure that I know how to do all the things I would need to do. In the current code I create a titlewindow, add all of the bits and pices such as horizontal boxes, textinputs, and datagrids, which are all dynamic and can change based on content, and then I use the popup manager

[flexcoders] Dispatching AdvancedDataGrid change event by hand

2008-09-15 Thread Guilherme Blanco
Hi all, I'm implementing an automate way to select items by passing the id of rows. The idea is to simple do: root item id=1 / /root this.selectedId = 1; And it'll select the item that has id = 1. I get everything working as expected, except of events triggering. When I do a simple

RE: [flexcoders] Re: How can I set focus to a field in a programatically created popup?

2008-09-15 Thread Alex Harui
Before you do all of that, try delaying your focus setting function using callLater. It might just be a timing problem. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of aceoohay Sent: Monday, September 15, 2008 1:26 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] XMLListCollection.AddItemAt() silently fails

2008-09-15 Thread Alex Harui
Maybe setting source[0] triggers change events that refresh source? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Freiman Sent: Monday, September 15, 2008 12:03 PM To: flexcoders Subject: [flexcoders] XMLListCollection.AddItemAt() silently fails I have a case

Re: [flexcoders] Icons are not displayed in menuItem

2008-09-15 Thread Rajan Jain
I looked into function itemToIcon in ListBase.as if { }(data isXML)try{ { icon = String(data[iconField]); { iconClass = Class(systemManager.getDefinitionByName(icon)); if(iconClass)returniconClass;  returndocument[icon];catch(e:Error) In this systemManager points to TestCodeBehind.mxml. If i

[flexcoders] Re: How can I set focus to a field in a programatically created popup?

2008-09-15 Thread aceoohay
Alex: Thanks, that seems to have done it. Now on to the next problem, why when I leave my popup, and strike the tab key does it go to a field in a different module... Paul --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Before you do all of that, try delaying your

Re: [flexcoders] XMLListCollection.AddItemAt() silently fails

2008-09-15 Thread Daniel Freiman
Yeah, I've been looking into binding causes, but wouldn't I see that happening while stepping through the code? As far as I can tell this is an atomic action (or lack thereof). - Daniel Freiman On Mon, Sep 15, 2008 at 4:45 PM, Alex Harui [EMAIL PROTECTED] wrote: Maybe setting source[0]

[flexcoders] Resizing a popup to fit a List with dataProvider changes

2008-09-15 Thread djepyon
I have a popup with some buttons and a list in it. When you press a button it assigns a new value to the dataProvider. Initially the popup fits snug around the List but when the dp changes and the List grows or shrinks the container that is the popup doesn't resize with it. Is validateNow() the

[flexcoders] Re: How can I set focus to a field in a programatically created popup?

2008-09-15 Thread prljamdm
What do you mean by leave my popup? Mouse out of it or click on a field outside of it? -Doug --- In flexcoders@yahoogroups.com, aceoohay [EMAIL PROTECTED] wrote: Alex: Thanks, that seems to have done it. Now on to the next problem, why when I leave my popup, and strike the tab key

Re: [flexcoders] Modularising a flex app

2008-09-15 Thread Guy Morton
Thanks guys. On 16/09/2008, at 4:44 AM, Simon Bailey wrote: Hi Guy, I have been building modular based Flex applications for a while and if the situation suits I really recommend modularisation. For constructing modular apps I use the PureMVC Multicore framework:

[flexcoders] Re: How can I set focus to a field in a programatically created popup?

2008-09-15 Thread aceoohay
Doug: What my current problem is; When do anything anything that makes the popup close (PopUpManager.removePopUp) when I subsequently press the tab key focus goes to a textInput in another module. I assume that tab loops are module specific aren't they? Paul --- In

[flexcoders] Re: When to use Cairngorm front controller ?

2008-09-15 Thread stephen_anson
--- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Hi Steve, Usually you would use Cairngorm events for application wide user gestures; like making a service call, or for gestures that require a lot of calculations or that navigate. However, to reduce the amount of

RE: [flexcoders] Dispatching AdvancedDataGrid change event by hand

2008-09-15 Thread Tracy Spratt
Instead of trying to simulate an itemClick, why not put all of the change event actions into a separate function, and call that from both the change handler and from the programattic selection function? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL

[flexcoders] Best way to buffer sound as a local file before playing?

2008-09-15 Thread Mat Mikul
Hi, I want to download a remote audio file (streaming, not blocked) before playing so that I can reuse it the next time if needed and also for quick seeking back and forth. What is the best way to do this? On IE, there are select folders in which I can write, can I download using a fileReference

Re: [flexcoders] Dispatching AdvancedDataGrid change event by hand

2008-09-15 Thread Guilherme Blanco
Hi Tracy, This is mainly an architectural issue. The entire code base is based on events dispatching and listening. I know your suggestion is valid, but that's not the one I'm trying to achieve. Best regards, On Mon, Sep 15, 2008 at 6:52 PM, Tracy Spratt [EMAIL PROTECTED] wrote: Instead of

[flexcoders] Re: Styling AdvancedDataGrid's header

2008-09-15 Thread whatabrain
Thanks! That fixed most of my problems, and could fix my sort arrow problem when I get to it. But I'm having an absurd amount of trouble drawing a thick horizontal line under the headers. The best I could do was add a Shape object to the display list in the header renderer, but that had gaps

RE: [flexcoders] IOException on DataService closing

2008-09-15 Thread Jeff Vroom
It looks to me like we have an info message in there which should be a debug message at best.I'm not sure what pattern that is being logged under but if you add the includeCategory=true option to the logging you'll see that pattern and can just remove that from the pattern tags you are

Re: [flexcoders] Resizing a popup to fit a List with dataProvider changes

2008-09-15 Thread Michael Schmalle
Hi, I gave an example of this about 1 week or two ago, but since a popups width and height have to be explicitly set to size correctly, try the following when you know the list dataProvider is complete; myPopUp.width = NaN; myPopUp.height = NaN; My example last week went way farther than this,

[flexcoders] Column with custom renderer does not have underlying data

2008-09-15 Thread markgoldin_2000
Here is my dataGrid: mx:DataGrid height=212 enabled=true id=blockTrackDetails verticalScrollPolicy=on rowHeight=22 width=100% itemClick=rowSelected(event) mx:columns mx:DataGridColumn headerText=Track dataField=tcrctk/

[flexcoders] Get TextArea Line Contents

2008-09-15 Thread wwwpl
I wish there was a method to get the text for each line in a TextArea control. I have some text that I don't want to get broken up by word wrapping. Is there a way to access the content of each line of text in a TextArea? I have this line of text: Here is a whole bunch of text [ Images

[flexcoders]Creating a Flex Builder Plug-in

2008-09-15 Thread dorkie dork from dorktown
Hi, Can someone tell me what I need to do to work on a plug in for Flex Builder? I went to Eclipse Help Help Contents Adobe Flex Builder 3 Extensibility Adobe Flex Builder 3 Extensibility API Reference Design Model Introduction and found an example called DesignModelExamples.java that I'd

[flexcoders] Re: How can I set focus to a field in a programatically created popup?

2008-09-15 Thread Doug S.
I'm not sure about tab loops as they relate to modules... You might just need to explicitly set the focus on whatever textInput, etc. that you want when the focus returns to the original view after the PopUp has closed. --- In flexcoders@yahoogroups.com, aceoohay [EMAIL PROTECTED] wrote:

RE: [flexcoders] Re: How can I set focus to a field in a programatically created popup?

2008-09-15 Thread Alex Harui
Unless other code intervenes, when a popup goes away, the focusManager of the next popup or app restores focus to the last control that had focus before the popup went up, which is usually the button that you clicked to open the popup. Tab loops cross module boundaries. All focusable controls

RE: [flexcoders] Get TextArea Line Contents

2008-09-15 Thread Alex Harui
Subclass, get to the internal TextField and use the TextField APIs From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of wwwpl Sent: Monday, September 15, 2008 3:23 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Get TextArea Line Contents I wish there was a method to

[flexcoders] Re: How can I set focus to a field in a programatically created popup?

2008-09-15 Thread aceoohay
Alex: If that is the case, then if I have two modules with fields that have the same tabindex, where will the cursor go on tab? Paul --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Unless other code intervenes, when a popup goes away, the focusManager of the next

RE: [flexcoders] XMLListCollection.AddItemAt() silently fails

2008-09-15 Thread Alex Harui
I use FDB to debug XML problems. I can see instance numbers and other properties that the FB debugger filters. I don't trust the debugger to step into binding code. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Freiman Sent: Monday, September 15, 2008 1:59 PM

RE: [flexcoders] Re: How can I set focus to a field in a programatically created popup?

2008-09-15 Thread Alex Harui
Should pick one first then go to the other. The FM tabs through all focusble controls with the same tabIndex before moving on. I think it breaks ties by comparing depth of its parent chain. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of aceoohay Sent: Monday,

Re: [flexcoders] XMLListCollection.AddItemAt() silently fails

2008-09-15 Thread Josh McDonald
Builder's debugger is no good with MXMLC-generated binding code, that's for sure :) I'm intrigued by FDB, what's the best place to get started with it? -Josh On Tue, Sep 16, 2008 at 9:56 AM, Alex Harui [EMAIL PROTECTED] wrote: I use FDB to debug XML problems. I can see instance numbers and

RE: [flexcoders] Icons are not displayed in menuItem

2008-09-15 Thread Alex Harui
I'm surprised it picked up the icon in systemManager.getDefinitionByName. It should have picked it up from document[icon], which is what I mentioned several replies ago. If you used TestComponent.mxml instead of TestComponent.as, the document pointer would be correct. You can try setting the

RE: [flexcoders] XMLListCollection.AddItemAt() silently fails

2008-09-15 Thread Alex Harui
FDB is a good old-fashioned command line debugger. Should be in the bin folder next to MXMLC. There is a help command From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh McDonald Sent: Monday, September 15, 2008 5:01 PM To: flexcoders@yahoogroups.com Subject: Re:

[flexcoders] performance implications of marking a class as final?

2008-09-15 Thread Doug McCune
Anyone have any details or benchmarks about what kind of performance gain (if any) you get from making a class final?

[flexcoders] RE: Convert String to Date?

2008-09-15 Thread Mark Easton
I guess I can modify the date format returned by MySQL ... ie date_format(last_modified, '%a %b %e %Y %r') ... but still, flex is pretty limited here. _ From: Mark Easton [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 12:22 PM To: 'flexcoders@yahoogroups.com' Subject:

[flexcoders] Convert String to Date?

2008-09-15 Thread Mark Easton
Gosh, I cant believe I am asking this question. But, other than parsing the string I cannot see anyway to obviously convert my string to a date format. My string is returned from a SQL query and passed to my app via XML. So my string is in the format: YYY-MM-DD HH:M:SS. This is a standard SQL

RE: [flexcoders] Convert String to Date?

2008-09-15 Thread Tim Rowe
I had the same thing just a few weeks ago. Note here that I'm already passing the date back 0-based and not passing the time, but this will essentially do what you want. private function parseDates(data:String):Date { // Get an array of Strings from the comma-separated String passed in.

  1   2   >