[flexcoders] Re: formating string

2005-07-22 Thread Miguel Diaz Valenzuela
ok, actually I have a function in .NET to do that, but I can´t find
some sub-functions in Actionscript

for example 

Vble = Mid(palabra, Contador, 1)   I can find function Mid() in
actionscript, and some others too

I will try it that you are telling to me though

thanks

--- In flexcoders@yahoogroups.com, Fernando Lobos [EMAIL PROTECTED]
wrote:
 Use foxpro function proper()
 
 On 7/21/05, Miguel Diaz Valenzuela [EMAIL PROTECTED] wrote: 
  
  Hi dudes
  
  I want to modify an string on a textbox after to lost focus
  I need to change the first character to a capital letter
  
  for example
  
  txt_example.text before = hello world
  txt_example.text after= Hello World
  
  some ideas?
  
  i need the .as code
  
  thanks in advance 
  
  
  
  
  
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  
  
  
  SPONSORED LINKS 
Computer software
testinghttp://groups.yahoo.com/gads?t=msk=Computer+software+testingw1=Computer+software+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93.sig=kh2CguJwmatU5oBXjFo9Rg
Macromedia 
 
flexhttp://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Computer+software+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93.sig=dAUcEV7do91-wrRtVS641g

 
Developmenthttp://groups.yahoo.com/gads?t=msk=Developmentw1=Computer+software+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93.sig=AlxNUQBOI7Io7S7nhmxV0Q
 Software 
 
developerhttp://groups.yahoo.com/gads?t=msk=Software+developerw1=Computer+software+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93.sig=QWIit8JayomoIHLVkV3FDg

   --
  YAHOO! GROUPS LINKS 
  
  
 - Visit your group
flexcodershttp://groups.yahoo.com/group/flexcoders 
 on the web.
  - To unsubscribe from this group, send an email to:

[EMAIL PROTECTED][EMAIL PROTECTED]
  - Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
 Service http://docs.yahoo.com/info/terms/. 
  
  
   --
 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] formating string

2005-07-21 Thread Miguel Diaz Valenzuela
Hi dudes

I want to modify an string on a textbox after to lost focus
I need to change the first character to a capital letter

for example

txt_example.text before = hello world
txt_example.text after= Hello World

some ideas?

i need the .as code

thanks in advance 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: recompile xml

2005-03-04 Thread Miguel Diaz Valenzuela

Or is it that you want your UI to refresh when a WebService has
executed? === i need to do this


--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:
 I'm not sure what you're trying to achieve. You want the MXML file to
 re-compile based on you selecting something? Or is it that you want
your UI
 to refresh when a WebService has executed? Sorry, I'm just not sure
what
 you're going for here.
 
  
 
 Matt
 
  
 
 _  
 
 From: Miguel Diaz Valenzuela [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, March 02, 2005 1:43 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] recompile xml
 
  
 
 

 hi coders, i´m here again
 
 I don´t know exactly if i´m right, but the flex-config.xml file allow
 me to set a lot of options. I´m search one specifically. I need that
 all mxml request (webservice, and consequently, the xml file) refresh
 automatically after execute a specifically opcion. 
 
 Well, I don´t if this question is too stupid, I hope no
 
 thanks a lot in advance
 
 
 
 
 
 
 
 
 Yahoo! Groups Sponsor
 
 
 
 ADVERTISEMENT
  

http://us.ard.yahoo.com/SIG=1295tevo8/M=298184.6018725.7038619.3001176/D=gr

oups/S=1705007207:HM/EXP=1109876570/A=2593423/R=0/SIG=11el9gslf/*http:/www.n
 etflix.com/Default?mqso=60190075 click here
 
 
  

http://us.adserver.yahoo.com/l?M=298184.6018725.7038619.3001176/D=groups/S=
 :HM/A=2593423/rand=334205276 
 
  
 
 _  
 
 Yahoo! Groups Links
 
 * To visit your group on the web, go to:
 http://groups.yahoo.com/group/flexcoders/
 http://groups.yahoo.com/group/flexcoders/ 
   
 * To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] 
   
 * Your use of Yahoo! Groups is subject to the Yahoo!
 http://docs.yahoo.com/info/terms/ Terms of Service.







Re: how can I refresh a datagrid?

2005-03-02 Thread Miguel Diaz Valenzuela

that modelChanged event should be created or what?


--- In flexcoders@yahoogroups.com, Manish Jethani
[EMAIL PROTECTED] wrote:
 Dimitrios Gianninas wrote:
  Just change the dataProvider and the DataGrid will refresh itself.
 
 I think firing the 'modelChanged' event on the data provider will also 
 do the trick.
 
 myDataProvider.dispatchEvent({type: modelChanged});
 
 Manish







recompile xml

2005-03-02 Thread Miguel Diaz Valenzuela

hi coders, i´m here again

I don´t know exactly if i´m right, but the flex-config.xml file allow
me to set a lot of options. I´m search one specifically. I need that
all mxml request (webservice, and consequently, the xml file) refresh
automatically after execute a specifically opcion. 

Well, I don´t if this question is too stupid, I hope no

thanks a lot in advance







alert specified place

2005-03-01 Thread Miguel Diaz Valenzuela

hi coders, here i´m again

I have to specify 'x' and 'y' value to display an alert
I want to display an alert message but if I don´t set a specific place
in screen

sorry for my very poor english







datetime format

2005-02-28 Thread Miguel Diaz Valenzuela

well, i´m again with another question to you coders

i have a datetime row, with following format: 25/02/2005 12:57:00

how can I format this one and change it in Macromedia Flex to this:
25/02/2005

thanks in advance for all reply







Re: datetime format

2005-02-28 Thread Miguel Diaz Valenzuela

ok, but what happen if datetime I want to format is on a datagrid?

--- In flexcoders@yahoogroups.com, Clint Tredway [EMAIL PROTECTED] wrote:
 Here is a cell renderer that I use:
 ?xml version=1.0 encoding=iso-8859-1?
 mx:Canvas xmlns:mx=http://www.macromedia.com/2003/mxml;
 mx:Script
 ![CDATA[
 
 function setValue(str:String, item:Object, sel:Boolean):Void {
 date_txt.text = StandardDateFormat.format(item.date);
 }
 
 ]]
 /mx:Script
 !-- Declare a formatter and specify formatting properties. --
 mx:DateFormatter id=StandardDateFormat formatString=M/DD//
 
 !-- Trigger the formatter while populating a string with data. --
 mx:Text id=date_txt/ 
 
 /mx:Canvas
 
 Just change the formatString to how you want to format your date
 
 -Original Message-
 From: Miguel Diaz Valenzuela [mailto:[EMAIL PROTECTED]
 Sent: Monday, February 28, 2005 12:39 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] datetime format
 
 
 
 
 well, i´m again with another question to you coders
 
 i have a datetime row, with following format: 25/02/2005 12:57:00
 
 how can I format this one and change it in Macromedia Flex to this:
 25/02/2005
 
 thanks in advance for all reply
 
 
 
 
 
  
 Yahoo! Groups Links







refresh datagrid

2005-02-25 Thread Miguel Diaz Valenzuela

hi coders

now i need to refresh a datagrid after click on it. how can I do this?

at the moment I have tried with following:

function valida_datos_2(){ - this function is executed in
cellPress event on datagrid
dg.removeAllColumns();--- dg = datagrid`s name
llena_datagrid.send();  this is a webservice that send  
   
rows to flex. result event is  
the following function
}

function devuelve_datos_dg(event){
var arreglo2:Array

arreglo2 = mx.utils.ArrayUtil.toArray(event.result.fucs.fuc);
dg.dataProvider = mx.utils.ArrayUtil.toArray(event.result.fucs.fuc)
}

but this not works fine.

i´m waiting for your help, thanks in advance









Re: RES: [flexcoders] clickig datagrid

2005-02-24 Thread Miguel Diaz Valenzuela

ok man, many thanks to you
and If I need to know what item was click?

-- In flexcoders@yahoogroups.com, Kleber Henrique Voigt Pereira
[EMAIL PROTECTED] wrote:
 use:
 
 cellPress={yourFunction()} in datagrid tag
 
 -Mensagem original-
 De: Miguel D�az Valenzuela [mailto:[EMAIL PROTECTED]
 Enviada em: quinta-feira, 24 de fevereiro de 2005 10:43
 Para: flexcoders@yahoogroups.com
 Assunto: [flexcoders] clickig datagrid
 
 
 
 
 hi coders
 
 I have a question. I need to execute a fuction when I click some item
 in a datagrid. What event can I use?
 
 thanks in advance for all help
 
 
 
 
 
 
 Yahoo! Groups Links







Re: RES: RES: [flexcoders] clickig datagrid

2005-02-24 Thread Miguel Diaz Valenzuela

that works very well, thanks a lot yo tou again man
your help is very appreciated

--- In flexcoders@yahoogroups.com, Kleber Voigt [EMAIL PROTECTED]
wrote:
 in flash I use:
 
 function getCellData(){
 trace(datagrid.selectedItem.YourColumnName);
 }
 
 I think that's the same thing!
 
 -Mensagem original-
 De: Miguel Diaz Valenzuela [mailto:[EMAIL PROTECTED]
 Enviada em: quinta-feira, 24 de fevereiro de 2005 11:14
 Para: flexcoders@yahoogroups.com
 Assunto: Re: RES: [flexcoders] clickig datagrid
 
 
 
 
 ok man, many thanks to you
 and If I need to know what item was click?
 
 -- In flexcoders@yahoogroups.com, Kleber Henrique Voigt Pereira
 [EMAIL PROTECTED] wrote:
  use:
 
  cellPress={yourFunction()} in datagrid tag
 
  -Mensagem original-
  De: Miguel D�az Valenzuela [mailto:[EMAIL PROTECTED]
  Enviada em: quinta-feira, 24 de fevereiro de 2005 10:43
  Para: flexcoders@yahoogroups.com
  Assunto: [flexcoders] clickig datagrid
 
 
 
 
  hi coders
 
  I have a question. I need to execute a fuction when I click some item
  in a datagrid. What event can I use?
 
  thanks in advance for all help
 
 
 
 
 
 
  Yahoo! Groups Links
 
 
 
 
 
 
 Yahoo! Groups Links







change row´s text

2005-02-24 Thread Miguel Diaz Valenzuela

Hi coders

I have this problem now. I need to change text displayed in a row of
datagrid depending specified row value. 
Other thing that I don´t know how do, is to prohibit to users to be
able to change the columns width. 







Re: change row´s text

2005-02-24 Thread Miguel Diaz Valenzuela

problem fixed, thanks man. Now i´m wating for some response for the
other problem

--- In flexcoders@yahoogroups.com, Deepa Subramaniam [EMAIL PROTECTED]
wrote:
 Other thing that I don´t know how do, is to prohibit to users to be
 
 able to change the columns width.
 
  
 
 If you set resizableColumns=false on the DataGrid, the user will not
be able
 to stretch the columns by dragging on the grid lines between the
headers. 
 
  
 
 -Original Message-
 From: Miguel Diaz Valenzuela [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, February 24, 2005 12:03 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] change row´s text
 
  
 
  
 
  
 
 Hi coders
 
  
 
 I have this problem now. I need to change text displayed in a row of
 
 datagrid depending specified row value. 
 
 Other thing that I don´t know how do, is to prohibit to users to be
 
 able to change the columns width. 
 
  
 
  
 
  
 
  
 
  
 
  
 
 Yahoo! Groups Links
 
  
 
 http://groups.yahoo.com/group/flexcoders/
 
  
 
 [EMAIL PROTECTED]
 
  
 
 http://docs.yahoo.com/info/terms/