[flexcoders] Space in TextInput

2009-10-10 Thread yogesh patel
Hi,     I have textInput ,i do not want to allow space in this textinput- i dont want space,how to do this? Thanks Regards, Yogesh Patel Connect more, do more and share more with Yahoo! India Mail. Learn more. http://in.overview.mail.yahoo.com/

[flexcoders] Re: Space in TextInput

2009-10-10 Thread Flex Boy
Hi mister.. put all the characters taht are allowed in the restrict parameter if you use it as in Flex Doc. The following code allows the user to enter only uppercase letters (and not numbers or special characters) in the text field: A-Z , so if you are only restriting the Space you have to

[flexcoders] what is wrong with this code?

2009-10-10 Thread funandlearning3
public var str:String = Area = ; public var area:Number = Math.PI * Math.pow(3, 2); str = str + area; I am getting an error that str and area variable do not exist...

[flexcoders] 2 strange issues for begginer in action script ref

2009-10-10 Thread dennis
Hello. I am new to action script and I am (pretty) confused. so any help is valuable!!! --- issue 1 - I have the follow code. and I get blank page. nothing is appeared on the stage at all!!! For god's sake, what is

[flexcoders] Prevent de-selecting item in Combobox with control-mouse click

2009-10-10 Thread ropoboy
Hi, I was surprised to learn that the selected item in a combobox can be de-selected using ctrl-mouse. I think there should be an attribute to turn this behaviour off, but I could not find it. Where is it? Thanks, Roland

Re: [flexcoders] Re: Space in TextInput

2009-10-10 Thread Roman Protsiuk
Hi, Take a look at the docs: http://livedocs.adobe.com/flex/3/langref/mx/controls/TextInput.html#restrict For your case the solution might look like: mx:TextInput restrict=^ / Roman Protsiuk Software Engineer/Engineering Team Lead http://under.in.ua Kyiv, Ukraine (GMT+2) mobile: +38 097 321

[flexcoders] Re: Space in TextInput

2009-10-10 Thread Flex Boy
It works, definitely a better way to do it:) --- In flexcoders@yahoogroups.com, Roman Protsiuk roman.prots...@... wrote: Hi, Take a look at the docs: http://livedocs.adobe.com/flex/3/langref/mx/controls/TextInput.html#restrict For your case the solution might look like: mx:TextInput

[flexcoders] Re: Flex 4 - data push

2009-10-10 Thread fgnowfg
I guess it doesn't exist, then. Here's an example of the real-time feature I am seeking: I created the app and am connected w/ my mysql database. I open two browsers and changes made in browser 1 appear in browser 2. So far, so good. However, if I bypass the flex app completely and make a

[flexcoders] ColumnChart LineSeries Bug?

2009-10-10 Thread Angelo Anolin
Hi FlexCoders, I wonder if any of you came up with this bug in ColumnChart. In my ColumnChart, I have the following MXML: ComboBox dataProvider={['overlaid','clustered','stacked','100%']} id=stackType selectedItem=clustered / ColumnChart id=myChart2 type={stackType.value} showDataTips=true

Re: [flexcoders] Re: Flex 4 - data push

2009-10-10 Thread Jeffrey Vroom
LCDS won't automatically pick up changes from the database unfortunately. There is an api you can use if you control the code making the changes - see flex.data.DataServiceTransaction. You also could do some kind of polling on the server using the DataServiceTransaction.refreshFill method... it

[flexcoders] Re: Flex 4 - data push

2009-10-10 Thread fgnowfg
Are there any tutorials on the methods you suggest? I can't find any good explanations on how to implement it w/ mysql --- In flexcoders@yahoogroups.com, Jeffrey Vroom j...@... wrote: LCDS won't automatically pick up changes from the database unfortunately. There is an api you can use if you

[flexcoders] Re: ColumnChart LineSeries Bug?

2009-10-10 Thread EddieBerman
It's a flex bug. It fails in applySeriesSet() in ColumnChart.as. The case statement for stacked and 100% assumes that the series is a column series and chokes on the line: seriesSet[i].offset = 0; as there's no offset for lines series. You can get past this problem by extending ColumnChart.as

[flexcoders] Re: Trees are killing me

2009-10-10 Thread max.nachlinger
Here's a bit of code that might help. Silly test app: - ?xml version=1.0 encoding=utf-8? Application xmlns=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=_onLoad() xmlns:local=* Script ![CDATA[ import mx.events.*; import

Re: [flexcoders] Re: Flex 4 - data push

2009-10-10 Thread Jeffrey Vroom
There is this blog post which has the basic code you'd need: http://viconflex.blogspot.com/2007/12/dataservicetransaction-lcds.html If you are using the new LCDS that comes with Flex 4, there should be an option in the api which lets you both send calls to the DB and send them to clients (which

[flexcoders] Re: Flex 4 - data push

2009-10-10 Thread fgnowfg
Can I just turn on polling somehow? Would that do it? --- In flexcoders@yahoogroups.com, fgnowfg fgno...@... wrote: Are there any tutorials on the methods you suggest? I can't find any good explanations on how to implement it w/ mysql --- In flexcoders@yahoogroups.com, Jeffrey Vroom jeff@

[flexcoders] Re: SQLite:Simultaneous multiple-insert in async mode with a single DB connectio

2009-10-10 Thread handitan
Ugh, I forgot that I wrote this thread. Amy, thx for the reply. Sorry, I have been busy with other projects. I really appreciate your reply. From what I remember, this is having to do with different tables. If you do insertion to table A, B, C, etc simultaneously, your app will hung-up. I made

[flexcoders] ADOBE AIR: Is it possible to move some files to appStorage during installation?

2009-10-10 Thread handitan
Hi all, To my knowledge, it's not possible unless it's being done through programmatically. I have some sqlite DBs as part of my AIR package. I would like to have those DBs completely moved to the application storage when the package is installed on my client computer. Any ideas? Thx!

Re: [flexcoders] what is wrong with this code?

2009-10-10 Thread Sam Lai
2009/10/10 funandlearning3 funandlearni...@yahoo.com: public var str:String = Area = ; public var area:Number = Math.PI * Math.pow(3, 2); str = str + area; I am getting an error that str and area variable do not exist... Is the last line located elsewhere in your code? Does the code appear

[flexcoders] Re: ADOBE AIR: Is it possible to move some files to appStorage during installati

2009-10-10 Thread handitan
Ugh, I just tried moving file programmatically from app to appStorage. It gave me security error. Please enlighten me. --- In flexcoders@yahoogroups.com, handitan handi...@... wrote: Hi all, To my knowledge, it's not possible unless it's being done through programmatically. I have

Re: [flexcoders] Re: ColumnChart LineSeries Bug?

2009-10-10 Thread Angelo Anolin
Hi Eddie, Thanks for the pointers. Care to show some sample code on how I may be able to achieve extending the ColumnChart.as? I am quite new with Flex and would appreciate a lot if you could provide me some further directions to achieve this. Thanks a lot. Rgds, Angelo

[flexcoders] Flex4 for building Flex3 projects?

2009-10-10 Thread reflexactions
I know Flex4 is still very much a beta product at this stage and that usually means not stable, not working, not suitable for production etc. etc. But I wondered about how stable it is in building Flex SDK3 projects, I mean compiling to say Flex SDK3.2. To be honest I can't see that we