[flexcoders] Re: AdvancedDataGrid update problems

2008-11-03 Thread kallebertell
I'll speculate openly in case someone picks up on this. Could there be some sort of race condition in the way AdvancedDataGrid works. Ie. redraws or updates the scroll bar too early in reaction to sorting? (ie. before the collection has had a chance to finish sorting itself) Is this kind of bug

[flexcoders] Re: palin text printing in flex without dialogue box.

2008-11-03 Thread andrii_olefirenko
No, it's not possible in Flex (security restriction) and I guess the same for Air, but I saw Air application that managed to programmatically click Print button using some external software (it was kiosk application) Regards --- In flexcoders@yahoogroups.com, Jackson [EMAIL PROTECTED] wrote:

Re: [flexcoders] Re: palin text printing in flex without dialogue box.

2008-11-03 Thread Paul Andrews
I haven't needed to solve this problem in Flex, but it was a problem (in another life) with some other software that I used. I know that if we were building the system using Flex, our solution would work just as well. In essence we had an intranet based environment with networked printers (dot

RE: [flexcoders] Re: SWFLoader: access its contents right away

2008-11-03 Thread Keith Reinfeld
You didn't see that one come through either, did you? It's a gmail thing. You won't receive you own posts. Regards, -Keith http://keithreinfeld.home.comcast.net http://keithreinfeld.home.comcast.net/ _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

[flexcoders] Bandwidth limitation

2008-11-03 Thread Alexandre Conrad
Hello, I'm writing an application in AIR with which I need to control bandwidth usage during HTTP file transfers (download). Although, I'm not too sure how this can be achieved. - I looked at URLLoader but it doesn't allow me to control when bytes are read. - I looked at the lower level

[flexcoders] Problem working on FaceBook API

2008-11-03 Thread Vishal Jain
Hello Everyone, I am trying out the FaceBook ActionScript API. While working with the JavaScriptBridge session i am able to get the session back but i am not able to execute any methods using the API. I have tried out the example provided on the google code but that didn't works as it suppose

[flexcoders] reload app by refreshing browser increased memory usage

2008-11-03 Thread kkkenio
Hi all: everytime user fresh browser to reload our app, the FlashPlayer used memory will increase around 20MB. is that how the flash player works, or is this a bug of our app? What we want to do is reducing the memory usage by reloading the app when the app detect that it has touched a

[flexcoders] Getting data out of a FileSystemTree

2008-11-03 Thread Anthony Bouvier
I have a simple AIR app where you can drag a folder on to it and it populates a FileSystemTree. var files:Array = e.clipboard.getData(ClipboardFormats.FILE_LIST_FORMAT) as Array; myTree.directory = files[0]; Now that that has happened, I'd love to be able to get the tree structure back out in

[flexcoders] Problem displaying UIComponents in Sprite

2008-11-03 Thread Juan Andres
Hi, I am stuck in a strange problem. Anyone can help me with this?: Why can't I get the TextArea to display correct in a Sprite container This is my code ... var text:TextArea = new TextArea(); text.height = 500; text.width = 200; text.text = ... anything in TextArea... ; text.x = 10;

[flexcoders] Getting the selected text from HTML control

2008-11-03 Thread b_alen
Hi everybody, is there a way to get the selected text out of the HTML control? IF I select the text and right click on it I get a copy option. Is it possible to achieve the same by clicking on any button and copy the selection to clipboard? Cheers!

[flexcoders] Re: Flash player 10 required for my swf?

2008-11-03 Thread valdhor
My guess is that the users seeing this message have Flash 9.0.115 (Or less Installed). The wrapper sees that the SWF needs 9.0.124 (Or later) so the user needs an upgrade. It then asks the server what the latest version of the player is, finds out it is 10 and tells the user he needs to update to

[flexcoders] sqlite insert issue

2008-11-03 Thread Johannes Nel
Hi All I have a sql statement which runs sans any issues in my sqlite viewer, but when executed from within air it gives me the error SQLError: 'Error #3132: Data type mismatch.', details:'could not convert text value to numeric value.' this is the table schema CREATE TABLE category ( id

Re: [flexcoders] States and removechild in actionscript 3.0

2008-11-03 Thread Rob Kunkle
Instead of remove child, have you considered just making the component invisible or visible? I did something like this using actionscript code, I realize this code is pretty ugly, but it should give you an idea. Basically I'm creating the states in actionscript as I loop through XML. (In

[flexcoders] Specfic numbers for LCDS server usage

2008-11-03 Thread Gregor Kiddie
Afternoon (at least here it is!) all, I'm trying to hunt down some specific numbers for LCDS to satisfy our ravenous deployment team. Mainly what is the memory usage when a client registers / de-registers with a topic? In other words what exactly is persisted on the server (within LCDS)

[flexcoders] Flex application keyboard language!?

2008-11-03 Thread joyfulrodger
Hi there, Im sure this is a fairly simple issue to resolve, but i just cant seem to get it. The text inputs within my flex application have the at(@) sign and the quotation mark() sign mixed up. When i press ctrl 2 i get the @ sign when i should be getting the quotation marks and vice versa.

Re: [flexcoders] Disable Right-Click during Drag

2008-11-03 Thread Tom Chiverton
On Sunday 02 Nov 2008, jmfillman wrote: Is there a way to disable the right-click menu while dragging? You can disable the menu full stop. If not, how do I formally request this? Enter it in bugs.adobe.com, but don't be surprised if it's closed as 'wont fix' because there are 'issues'

[flexcoders] flex label printing...

2008-11-03 Thread Jackson
Hi All, I am trying to print text using a label printer (ZEBRA STRIPE).But i cannot send plain text or characters to the printer.How is it possible in flex/adobe Air application?. Thanks in Advance.. Abdul Jaleel C.

Re: [flexcoders] Flex builder 2 standalone - plugin wouldn't show up

2008-11-03 Thread Tom Chiverton
On Sunday 02 Nov 2008, rviswanathan wrote: I think I am missing something. Can someone please help? Have you attempted any debugging yourself ? -- Tom Chiverton Helping to preemptively innovate performance-oriented CEOs This email is

[flexcoders] How can I stop my HTTPService?

2008-11-03 Thread sailorsea21
Hi everyone, I have an HTTPService that I load in a module. When I unload the module the HTTPService keeps working... This is my HTTPService: mx:HTTPService url=test.php method=POST id=rate useProxy=false result=getRate(event) fault=FaultHandler() showBusyCursor=true/ I start my HTTPService

[flexcoders] Re: How can I stop my HTTPService?

2008-11-03 Thread florian.salihovic
How about the cancel method of HTTPService? Best regards. --- In flexcoders@yahoogroups.com, sailorsea21 [EMAIL PROTECTED] wrote: Hi everyone, I have an HTTPService that I load in a module. When I unload the module the HTTPService keeps working... This is my HTTPService:

[flexcoders] Re: Center Checkbox in DG Column

2008-11-03 Thread markgoldin_2000
Yes, that works, thanks. The only thing I dont understand, if I trace value I am getting as many rows as many rows visible in the DG at one time. Is that right? --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: Why are you using the label property? That property is not

[flexcoders] Re: How can I stop my HTTPService?

2008-11-03 Thread sailorsea21
It doesn't seem to work... When I try to reload my module and re- establish my HTTPService, it never connects... ? The cursor is always busy... Thanks. --- In flexcoders@yahoogroups.com, florian.salihovic [EMAIL PROTECTED] wrote: How about the cancel method of HTTPService? Best regards.

[flexcoders] States and removechild in actionscript 3.0

2008-11-03 Thread ashok
Hi, I have developed my application to contain multiple states. Each of the states displays custom components. before moving from one state to another, I need to remove the components in the previous, state. The problem is how do i use removechild call for different targets in the same state.

Re: [flexcoders] unable to open services-config.xml

2008-11-03 Thread Tom Chiverton
On Friday 31 Oct 2008, creativepragmatic wrote: I am developing on Windows machine to deploy on a remote Linux server that cannot be accessed locally. Does anybody know of a way to work around this? Take a copy of the file, store it with the source, and update the argument to use the local

RE: [flexcoders] Re: Center Checkbox in DG Column

2008-11-03 Thread Alex Harui
Yes, see the other item renderer posts on my blog From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Monday, November 03, 2008 5:05 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Center Checkbox in DG Column Yes, that works, thanks. The

RE: [flexcoders] Problem displaying UIComponents in Sprite

2008-11-03 Thread Alex Harui
Sprite is a flash.* class. So is TextField. The mx.* classes have some rules: Navigator children must be Containers Container children must be IUIComponents UIComponent parents must be IUIComponents From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Juan Andres Sent:

[flexcoders] Re: Problem displaying UIComponents in Sprite

2008-11-03 Thread Juan Andres
Thanks Alex for your reply, :(

[flexcoders] Re: AdvancedDataGrid update problems

2008-11-03 Thread kallebertell
I finally managed to reproduce the bug (or one of the bugs). By scrolling to the very bottom and sorting according to any column, it seems to sort, but the last items seen in the grid shouldn't be last. Turns out the grid just hasn't updated the view properly or too early somehow. A delayed call

RE: [flexcoders] reload app by refreshing browser increased memory usage

2008-11-03 Thread Alex Harui
I'm sure you realize that having an app reload unexpectedly could annoy users. A well-designed app should never run out of memory. Have you tried using the profiler to control memory usage? This post can help you get better results from the profiler and explains how to measure memory:

[flexcoders] Re: How can I stop my HTTPService?

2008-11-03 Thread nathanpdaniel
Why don't you move the HTTPService inside the Module? I think that would simplify development, make it stronger (it can stand on it's own...sorta) and easier to maintain. Then, you wouldn't really have the current issues you're having... Just a thought! :D --- In flexcoders@yahoogroups.com,

Re: [flexcoders] Disable Right-Click during Drag

2008-11-03 Thread Tom Chiverton
On Monday 03 Nov 2008, Tom Chiverton wrote: On Sunday 02 Nov 2008, jmfillman wrote: Is there a way to disable the right-click menu while dragging? You can disable the menu full stop. Oops, should be: You *can't* disable the menu full stop. -- Tom Chiverton Helping to appropriately reinvent

[flexcoders] Passing variables to HTTPService

2008-11-03 Thread oneworld95
Hi. How do you pass variables to an HTTPService call so that they can be read by Java? I've got this working with a URLRequest by using URLVariables but can't seem to get it working with an HTTPService. Here's my code, var params:Object = new Object(); params.serviceType = INITIALIZE;

[flexcoders] Re: flex label printing...

2008-11-03 Thread nathanpdaniel
Why can't you send plain text? The user is still prompted with the printer selection dialog (you can't control that anyway) - if the Label printer is selcted, it'll print whatever you send it (I've done it before...). You gotta know the Zebra printer language to have a shot at doing

[flexcoders] Re: LinkBar | mx:dataProvider | does not work

2008-11-03 Thread valdhor
HmmmI would have expected that to work. It seems you have to specify the dataprovider property as part of the LinkBar... ?xml version=1.0? !-- Simple example to demonstrate the LinkBar control. -- mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Panel title=LinkBar Control

RE: [flexcoders] Flex application keyboard language!?

2008-11-03 Thread Jim Hayes
Does it happen in pure html pages as well? In firefox? I had this happen due to accidentally hitting some key combo that changed the default keyboard setting *in the browser*. Trouble is, I've completely forgotten what it was (again). Sorry about that. -Original Message- From:

[flexcoders] Re: Passing variables to HTTPService

2008-11-03 Thread oneworld95
Changed the servlet to say this and it now works, serviceType = request.getParameter(serviceType); --- In flexcoders@yahoogroups.com, oneworld95 [EMAIL PROTECTED] wrote: Hi. How do you pass variables to an HTTPService call so that they can be read by Java? I've got this working with a

[flexcoders] rpc fault when testing LCDs with samples.war

2008-11-03 Thread datkangpeguy
I've installed JOTM 2.0.10 on Apache 6.0 with LCD ES 2.5.1 in hopes of developing apps in Flex Builder 3 that will use Data Management services. I'm able to run all the samples in the given samples.war testdrive file except the very last one, Sample 8: Data Management Service.the very service

[flexcoders] setting up tomcat 6 for Data Management services with LCDS ES 2.5.1

2008-11-03 Thread datkangpeguy
I've installed JOTM 2.0.10 on Apache 6.0 with LCD ES 2.5.1 in hopes of developing apps in Flex Builder 3 that will use Data Management services. I'm able to run all the samples in the given samples.war testdrive file except the very last one, Sample 8: Data Management Service.the very service

[flexcoders] Re: Flex builder 2 standalone - plugin wouldn't show up

2008-11-03 Thread valdhor
You are probably better off starting here: http://www.ibm.com/developerworks/library/os-eclipse-plugindev1/index.html --- In flexcoders@yahoogroups.com, rviswanathan [EMAIL PROTECTED] wrote: Hi I am new to plugin development and I startded off by creating a sample plugin using flex

Re: [flexcoders] flex label printing...

2008-11-03 Thread Tom Chiverton
On Monday 03 Nov 2008, Jackson wrote: I am trying to print text using a label printer (ZEBRA STRIPE).But i cannot send plain text or characters to the printer.How is it possible in flex/adobe Air application?. Assuming that printer appears to the O/S as a normal printer with funny size

Re: [flexcoders] Advanced Data Grid with Grouped Columns

2008-11-03 Thread Tom Chiverton
On Thursday 30 Oct 2008, grg_blls wrote: vertical scroll, it always throws a RTE. Guess: It's your customer editors. As this code self-evidently won't run as-is, and you've not included the full text of the RTE, it's hard to help. -- Tom Chiverton Helping to dynamically e-enable sticky

Re: [flexcoders] Re: Flash player 10 required for my swf?

2008-11-03 Thread Tom Chiverton
On Monday 03 Nov 2008, valdhor wrote: My guess is that the users seeing this message have Flash 9.0.115 (Or less Installed). The wrapper sees that the SWF needs 9.0.124 (Or later) so the user It's also possible to have multiple versions of the Flash plugin installed at once (say v8 and v9) by

[flexcoders] Re: flex label printing...

2008-11-03 Thread valdhor
I don't know if this is possible or not but if you could print to the Zebra from Java, then the Mepapi project may come in handy... http://www.merapiproject.net/ --- In flexcoders@yahoogroups.com, nathanpdaniel [EMAIL PROTECTED] wrote: Why can't you send plain text? The user is still

[flexcoders] MultipleEvents

2008-11-03 Thread Parkash
Hi every one i have one simple textfiled with focusout event and button with click event. Now when i entered some text in textinput and when clicks on button , according to me two events shoud be dispatched at a time ( plz correct me i am wrong ), one textfield focusout and second button

Re: [flexcoders] flex label printing...

2008-11-03 Thread Paul Andrews
They seem to have windows drivers, so there shouldn't be a problem, should there? My post about this subject was for a printer that had no windows drivers - this looks rather different. Paul - Original Message - From: Tom Chiverton [EMAIL PROTECTED] To: flexcoders@yahoogroups.com

[flexcoders] Re: sqlite insert issue

2008-11-03 Thread valdhor
From memory, a *nix timestamp is a Real so it is having trouble converting '2008-08-19 16:46:54.26' to a number. Have you tried converting it before adding it to the database? --- In flexcoders@yahoogroups.com, Johannes Nel [EMAIL PROTECTED] wrote: Hi All I have a sql statement which runs

[flexcoders] Re: How can I stop my HTTPService?

2008-11-03 Thread valdhor
disconnect() method? --- In flexcoders@yahoogroups.com, sailorsea21 [EMAIL PROTECTED] wrote: Hi everyone, I have an HTTPService that I load in a module. When I unload the module the HTTPService keeps working... This is my HTTPService: mx:HTTPService url=test.php method=POST id=rate

[flexcoders] Re: How can I stop my HTTPService?

2008-11-03 Thread valdhor
disconnect() method? rate.disconnect() --- In flexcoders@yahoogroups.com, sailorsea21 [EMAIL PROTECTED] wrote: Hi everyone, I have an HTTPService that I load in a module. When I unload the module the HTTPService keeps working... This is my HTTPService: mx:HTTPService url=test.php

[flexcoders] Data transfer choices...

2008-11-03 Thread chris
Thanks for the reply, Mike. And your patience with a newbie. To answer your questions: 1) what am I attempting to do - I would like, in the first instance to set up a portfolio, separated into various sections, and to be able to navigate - say from a video piece to an illustration or

Re: [flexcoders] Re: sqlite insert issue

2008-11-03 Thread Johannes Nel
i did try and pass it as a non string, which gave an error as well.as i said, weirdly it works when i use a sqlite tool, only from AS it fails. On Mon, Nov 3, 2008 at 7:54 PM, valdhor [EMAIL PROTECTED] wrote: From memory, a *nix timestamp is a Real so it is having trouble converting

RE: [flexcoders] Flex application keyboard language!?

2008-11-03 Thread Jim Hayes
It's ALT-SHIFT (I needed to know!) -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jim Hayes Sent: 03 November 2008 15:39 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex application keyboard language!? Does it happen in pure html

[flexcoders] Re: sqlite insert issue

2008-11-03 Thread valdhor
Nope - not as a non string. Make it a number! Try this... insert into category(id, version, name, ordering, external, createddate, modifieddate, createdby_id, modifiedby_id) values (477,14,'Leads',0,'false',NULL,1234567,NULL,1109); Does it work? If so, you will need to convert the string to a

[flexcoders] Re: Flex application keyboard language!?

2008-11-03 Thread joyfulrodger
Unfortunatley it doesn't appear in pure html pages. Its solely in this one flex application and the same in all browsers. Thanks for replying though. --- In flexcoders@yahoogroups.com, Jim Hayes [EMAIL PROTECTED] wrote: Does it happen in pure html pages as well? In firefox? I had this happen

[flexcoders] Re: rpc fault when testing LCDs with samples.war

2008-11-03 Thread datkangpeguy
This is what i found in my tomcat stdout log file: 11/03 10:14:56 INFO Loading configuration file C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\flex\WEB-INF\flex\flex-webtier-config.xml 11/03 10:14:56 INFO Loading configuration file C:\Program Files\Apache Software

[flexcoders] help setting up tomcat 6 for Data Management services with LCDS ES 2.5.1

2008-11-03 Thread datkangpeguy
I hope this extra info from my tomcat stdout log file helps: 11/03 10:14:56 INFO Loading configuration file C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\flex\WEB-INF\flex\flex-webtier-config.xml 11/03 10:14:56 INFO Loading configuration file C:\Program Files\Apache Software

[flexcoders] getting/settings explicit height/width for a custom toolTip?

2008-11-03 Thread djbrown_rotonews
I'm attempting to create a custom toolTip using a Text component (of varying length, depending on the underlying data) inside a VBox component (with no explicit height or width declared) that implements IToolTip. Inside the creationComplete handler for the VBox, I build out the contents of

[flexcoders] Setting up a date range picker

2008-11-03 Thread johngag6969
I made a blog post about how I set up date range pickers for a flex 3 dashboard. Let me know what you think or if you have any suggestions. http://www.cftips.net/post.cfm/setting-up-date-range-picker-in-flex-3 Thanks, John Gag

[flexcoders] Attach progress bar to copyto() ?

2008-11-03 Thread the_real_squidly_didly
We are building an internal application that copies files accross our network. Is it possible to attach a progress bar to the copyto() function? Thanks, Squid

[flexcoders] Using Flex for Webcast site

2008-11-03 Thread candysmate
Does anyone have experiences with using Flex as a client for webcasting, or know on any resouces I can refer to please?

[flexcoders] Reclaiming memory from removed viewstack children

2008-11-03 Thread achegedus
I have a fairly simple app that I made as a test, confirming what I've read elsewhere. It seems that when a layer is removed from a viewstack using removeChild or removeAllChildren the memory is not garbage collected. In this example i have a simple viewstack that adds a few layers of a

[flexcoders] Compare text and highlight the differences

2008-11-03 Thread nhid
Hello, We're trying to do a text comparision between 2 paragraphs and highlight only the words that are different in the paragraphs. How we are trying to accomplish this is by comparing the words from paragraph 1 to those in paragraph 2, keeping track of the matches as in a matrix, then use the

[flexcoders] flex label printing...

2008-11-03 Thread Jackson
Hi All, I am trying to print text using a label printer (ZEBRA STRIPE).But i cannot send plain text or characters to the printer.How is it possible in flex/adobe Air application?. Thanks in Advance.. Abdul Jaleel C.

[flexcoders] How to test for object and do other things

2008-11-03 Thread timgerr
Hello all, I have a question for ya, have an object and I want to test for a flex ui component with that name. Here is what I am trying to do. I have these flex UI items: mx:TextInput id=myInput1 text=Enter text here/ mx:TextInput id=myInput3 text=Enter text here/ mx:TextInput id=myInput5

[flexcoders] adding (none) option to comboboxes

2008-11-03 Thread Derrick Anderson
hi, i know this is probably a simple question- but what's the best way of adding a (none) label to a combobox. i have a setter for the dataprovider where I add an option for (None) in the list, but I don't actually want it in the dataprovider if that makes sense. Basically, I want (None) to

[flexcoders] Re: adding (none) option to comboboxes

2008-11-03 Thread Derrick Anderson
nevermind, i discovered the 'prompt' property :) On Mon, Nov 3, 2008 at 3:04 PM, Derrick Anderson [EMAIL PROTECTED] wrote: hi, i know this is probably a simple question- but what's the best way of adding a (none) label to a combobox. i have a setter for the dataprovider where I add an

[flexcoders] handle cancel from OS dialog with a file download.

2008-11-03 Thread dnk
Hi there... I have written a file download component with flex 3, and have my state reset upon completion, or if the flex cancel button is pressed. Now if someone starts a download, but then presses the cancel button (as opposed to save) from the OS browse dialog box... I can't reset my

RE: [flexcoders] handle cancel from OS dialog with a file download.

2008-11-03 Thread Tracy Spratt
On the FileReferenceList, add a listener for Event.CANCEL. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dnk Sent: Monday, November 03, 2008 3:38 PM To: Flexcoder List Subject: [flexcoders] handle cancel from OS dialog with a

Re: [flexcoders] handle cancel from OS dialog with a file download.

2008-11-03 Thread dnk
On 3-Nov-08, at 12:59 PM, Tracy Spratt wrote: On the FileReferenceList, add a listener for “Event.CANCEL”. Tracy DOH! Thanks I had defined open, complete and a progress one. DNK

[flexcoders] Flex developer and their hourly rate

2008-11-03 Thread hworke
Hi Devs, I do not have any idea about the market hourly rate that a Flex developer with 3 years experience charges in San Francisco bay area charges. Can someone please give me some idea? Best regards,

[flexcoders] Using an IFrame in an MDIWindow

2008-11-03 Thread lynnkuh
Has anyone gotten this work? If so, how did you do it? It doesn't position the IFrame in the correct place and when I move the IFrame, the window doesn't move with it. I also tried using URLRequest but that pops up a browser window only - it will not add it to the stage or addChild() for either

[flexcoders] switch label to textinput

2008-11-03 Thread frosifer
Does the concept of ItemRenderers and ItemEditor apply outside of a list-based control? What I would like is to have a label control (no border, etc) display some text, and then allow the user to change this text by making the label turn into a textinput control when it receives focus. This is

Re: [flexcoders] Using an IFrame in an MDIWindow

2008-11-03 Thread Brendan Meutzner
Lynn, Do you have the proper hooks setup in the external browser window to update the iFrame position via JavaScript when you move the MDIWindow instance? I haven't setup an IFrame within MDI, but have in the past used Panel popups to do this (which is basically the same thing), and the tricky

[flexcoders] Re: adding (none) option to comboboxes

2008-11-03 Thread Tim Hoff
Hi Derrick, The ComboBox prompt will not solve your problem here. It only appears when the selectedIndex==-1; Unless you want to subclass ComboBox, you're going to have to add none to the dataProvider, and implement custom logic to account for it. Since you're using the same dataProvider

[flexcoders] Does UIComponent.measureHTMLText(htmlText) method takes TextFormat.blockIndent value into the account when calculating width value of TextLineMetrics object?

2008-11-03 Thread Andriy Panas
Hi all, Accordingly to my tests, method textField.getLineMetrics(0) that lays in the core of UIComponent.measureHTMLText(htmlText) returns TextLineMetrics object with the value for the width property that is calculated regardless from the value specified for textFormat.blockIndent value

[flexcoders] Identifying which node is the drop target on Grouped ADG

2008-11-03 Thread Adrian Williams
Hi All, Having a fun one here...I have two ADG's that each have a list of individuals, in a hierarchical grouping collection and have drag drop enabled between the two ADG's. Basically the grouped ADG on the left shows people grouped by which project they are in...the one of the right

RE: [flexcoders] switch label to textinput

2008-11-03 Thread Tracy Spratt
This sounds like a job for states. But it would be a custom component as you say. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of frosifer Sent: Monday, November 03, 2008 4:56 PM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Re: adding (none) option to comboboxes

2008-11-03 Thread Alex Harui
An example of such on my blog From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff Sent: Monday, November 03, 2008 2:08 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: adding (none) option to comboboxes Hi Derrick, The ComboBox prompt will not solve your

RE: [flexcoders] How to test for object and do other things

2008-11-03 Thread Alex Harui
if(this[prop].text) { trace('found'); this[prop].text = obj[prop]; From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of timgerr Sent: Monday, November 03, 2008 11:36 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to test for object and do other things Hello all,

Re: [flexcoders] How to test for object and do other things

2008-11-03 Thread Josh McDonald
You want this[prop].text to get to the TextInputs. Also, to see if there is a field foo on object bar use: if (foo in bar) { //... } -Josh On Tue, Nov 4, 2008 at 9:55 AM, Alex Harui [EMAIL PROTECTED] wrote: if(this[prop].text) { trace('found'); this[prop].text = obj[prop];

Re: [flexcoders] switch label to textinput

2008-11-03 Thread Darron Schall
A long time ago Ely Greenfield wrote about In Place Editing components on his site. This should give you a good idea of how to accomplish what you're asking: http://www.quietlyscheming.com/blog/components/ipe-controls/ -d On Nov 3, 2008, at 4:55 PM, frosifer wrote: Does the concept of

[flexcoders] PyAMF and Google App Engine?

2008-11-03 Thread Josh McDonald
I know this is a long-shot, but is anybody using PyAMF with Google App Engine (their cloud offering)? Any thoughts / links you could share? -Josh -- Therefore, send not to know For whom the bell tolls. It tolls for thee. Like the cut of my jib? Check out my Flex blog! :: Josh 'G-Funk'

RE: [flexcoders] Does UIComponent.measureHTMLText(htmlText) method takes TextFormat.blockIndent value into the account when calculating width value of TextLineMetrics object?

2008-11-03 Thread Gordon Smith
It sounds like a Player quirk that the Flex framework needs to work around. I think a fix went in to the measure() method of UITextFormat recently for a similar problem with 'indent'. You should file a bug. And if you file a patch, it is likely to get fixed sooner. - Gordon From:

[flexcoders] Re: PyAMF and Google App Engine?

2008-11-03 Thread jason vancleave
this mentions it but I don't know if it uses it http://gaeswf.appspot.com/ --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: I know this is a long-shot, but is anybody using PyAMF with Google App Engine (their cloud offering)? Any thoughts / links you could share?

Re: [flexcoders] MultipleEvents

2008-11-03 Thread Paul Andrews
- Original Message - From: Parkash To: flexcoders@yahoogroups.com Sent: Monday, November 03, 2008 5:13 PM Subject: [flexcoders] MultipleEvents Hi every one i have one simple textfiled with focusout event and button with click event. Now when i entered some text in

[flexcoders] format code in FB3

2008-11-03 Thread vuthecuong
in eclipse (develop java), I just press ctrl+shift+F to format code. So what is the equavalent one in FF3 IDE? (in FF3 IDE, ctrl+shift+F open search box) regards -- View this message in context: http://www.nabble.com/format-code-in-FB3-tp20316059p20316059.html Sent from the FlexCoders mailing

[flexcoders] AdvancedDataGrid not redrawing properly

2008-11-03 Thread Randy Martin
I have an AdvancedDataGrid in an application in one of the states. The first time I display it, everything is fine. If I subsequently enter another state and then redisplay the AdvancedDataGrid, it shows up with any borders or grid lines. As soon as I populate it (assign a data provider), the

[flexcoders] Re: How to test for object and do other things

2008-11-03 Thread timgerr
Thnaks for the help, here is the problem that I am getting. I will show you my code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ public var obj:Object = new Object;

Re: [flexcoders] Re: How to test for object and do other things

2008-11-03 Thread Josh McDonald
When evaluate obj[foo] and there's no foo field on obj, you get undefined. And *this[prop].text * is the same as *(this[prop]).text* So when prop is the name of an invalid property (like myInput6), it's the same as calling: * (undefined).text* Which is never going to work. Replace your test

[flexcoders] Re: sqlite insert issue

2008-11-03 Thread jason_williams_mm
--- In flexcoders@yahoogroups.com, Johannes Nel [EMAIL PROTECTED] The confusion here is due to the affinities that you have selected. When the AIR embedded db cannot find the affinity specified it defaults to NUMERIC. There is no affinity called timestamp (or bigint for that matter) and you are

Re: [flexcoders] Flex developer and their hourly rate

2008-11-03 Thread Rich Rodecker
That's always a hard question, and mostly depends on a few major points: location, experience, and additional skill set. SF, and just about every major city is definitely going to get you a higher rate than say, Tennessee. How is your portfolio? If you have an impressive body of work that will

RE: [flexcoders] Identifying which node is the drop target on Grouped ADG

2008-11-03 Thread Alex Harui
I don't have time to see if ADG overrode this, but for regular DG, you could call calculateDropIndex From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Williams Sent: Monday, November 03, 2008 2:55 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Identifying