[flexcoders] popup a module

2007-05-21 Thread Luis Eduardo
Hello, i am trying to do a mx:Module being Popuped but i am finding this very dificult. My classes are like this: MyWindow - MyTitleWindow - mx:TitleWindow The code works very fine if i run it all together (without modules). But when i split the swf i cannot popup MyWindow class.

Re: [flexcoders] popup a module

2007-05-21 Thread Luis Eduardo
: There’s an example on my blog blogs.adobe.com/aharui *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Luis Eduardo *Sent:* Monday, May 21, 2007 6:10 PM *To:* flexcoders@yahoogroups.com *Subject

Re: [flexcoders] popup a module

2007-05-21 Thread Luis Eduardo
managers (dragManager and popupManager) and yet didnt work. Can you explain how to make the new poped-up window be free to move with user mouse interaction? many thanks! Luís Eduardo. Luis Eduardo escreveu: Cool! i was able to find just the .ppt presentation before. Now that you

[flexcoders] uploading file flex - servlet

2007-05-12 Thread Luis Eduardo
Hello, can some one send me just a bit of code regard of how to make a servlet handle a fileupload coming from flex? To flex send the file appear to be ok... but my servlet simple appear to not know how to get the data of the image being uploaded. i already search and read a lot but

Re: [flexcoders] uploading file flex - servlet

2007-05-12 Thread Luis Eduardo
Sry, never mind. after searching with some more faith :) i discover the o'reilly servlet multipart API on http://servlets.com/cos/ that, with some black magic, did the trick! Luis Eduardo escreveu: Hello, can some one send me just a bit of code regard of how to make a servlet

Re: [flexcoders] youtube

2007-05-05 Thread Luis Eduardo
OpenLaszlo has already an application that load FLVs directly from the server and plays it. (so its possible) heres the link for the demo: http://www.openlaszlo.org/demos#YouTube perhaps here is a good start to do in the flex. http://www.youtube.com/dev in time: with a small google,

Re: [flexcoders] Preventing IE to cache Flex

2007-04-25 Thread Luis Eduardo
Nice Manish! ty very much. it explained a problem i was postponing here ;) Manish Jethani escreveu: For general cache issues with IE, check this out: http://en.wikipedia.org/wiki/XMLHttpRequest#Microsoft_Internet_Explorer_cache_issues

Re: [flexcoders] Re: Using TabNavigator to switch view states

2007-04-22 Thread Luis Eduardo
Luckly i was doing something last week that i think can help you. (or at least give you some directions) here is the code. try change the tabs to see the resize. i dont know yet how to find the amount to shrink automaticly... if you or someone find the answer and share with us that

Re: [flexcoders] boolean not casting ok from string

2007-04-20 Thread Luis Eduardo
btest:Boolean = someString == true; - Gordon *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Luis Eduardo *Sent:* Thursday, April 19, 2007 7:32 AM *To:* flexcoders@yahoogroups.com *Subject

Re: [flexcoders] boolean not casting ok from string

2007-04-19 Thread Luis Eduardo
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Luis Eduardo *Sent:* Wednesday, April 18, 2007 9:06 PM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] boolean not casting ok from string yeah shaun, you are rigth. After

[flexcoders] Model and Forms

2007-04-18 Thread Luis Eduardo
Is there a way to bind the maxChars of a TextInput on an entry of my Model? the length of the data should be defined in the model, i think. (not on a validator. perhaps the validator should take this information from the model) rigth?

[flexcoders] boolean not casting ok from string

2007-04-18 Thread Luis Eduardo
hi, this simple code dont work. var btest:Boolean = new Boolean(); btest = true; trace(btest = +btest); btest = false; trace(btest = : +btest); there are a compile warning telling me that: 3590: String used were a Boolean value was expected. The expression will be type coerced to Boolean

Re: [flexcoders] boolean not casting ok from string

2007-04-18 Thread Luis Eduardo
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Luis Eduardo *Sent:* Wednesday, April 18, 2007 4:54 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] boolean not casting ok from string hi, this simple code

Re: [flexcoders] boolean not casting ok from string

2007-04-18 Thread Luis Eduardo
yeah shaun, you are rigth. After follow your sugestion i searched in the docs and found what you mean here: http://livedocs.adobe.com/flex/201/langref/package.html#Boolean() Boolean its a function that have the same behavior than the Boolean constructor that take a non-empty string and

Re: [flexcoders] Coming from Laszlo background - anyone know some migration tips?

2007-04-17 Thread Luis Eduardo
, Luis Eduardo wrote: datapointers dont have equivalent in flex. U have to connect it by hand. (edit.text = datareturned.text or something like that..) Umm... mx:Text id=edit text={ datareturned.text }/ ? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders

Re: [flexcoders] Coming from Laszlo background - anyone know some migration tips?

2007-04-16 Thread Luis Eduardo
Don't know if its this that u mean,but... the name attribute on laszlo is equivalent to idon flex. the dataset on laszlo is more or less equivalent than httpservices on flex, but the databindings are very diferent. In fact, i do prefer the way laszlo handle databinding, but, its my

Re: [flexcoders] Full Screen Projector File for Flex 2 Swf

2007-03-15 Thread Luis Eduardo
Cool, that worked for me. ty! We Made That design escreveu: I just finished building an .exe that launched full screen in flex 2. From within flex add fscommands into your initialize function. fscommand(fullscreen , true). Now compile your swf. Once you have your swf. you launch

[flexcoders] webtops ?

2007-03-03 Thread Luis Eduardo
is there anything like this in flex word? http://g.ho.st/ this one is pre-release (will be publicly launched in april, accord to the autors) and is made in OpenLaszlo. i found it pretty impressive. *in time* can someone figure out how they could make the fullscreen effect AND

[flexcoders] flexcoders == jupiter

2007-01-12 Thread Luis Eduardo
This list is becomming HUGE! it is hard to read all messages. just one idea... why u guys (admin) dont split it ? Perhaps one mailist for Flex Builder (the IDE for flex related.) one for Cairgorm one for Charting and the flexcoders to the core ? (perhaps one for FDS too, dont

[flexcoders] encodings problem

2006-11-08 Thread Luis Eduardo
hi, my flex app talks to my servlets sending xml with á é õ characters using utf-8 and all is ok. but when i use the capital version of these characters it fails. Á É simple dont work. i searched trough the web but cant found a solution... can someone give (at least) an idea of how

[flexcoders] minor bug at combobox

2006-11-07 Thread Luis Eduardo
hi, if you execute this sample app, you will find strange gaps inside the dropdwon list of the combobox as you move the scrollbar. i really dont know why this but i think that is a bug. ?xml version=1.0? mx:Applicationxmlns:mx=http://www.adobe.com/2006/mxml; width=100% height=100%

Re: [flexcoders] Re: DataGrid not displaying nested data

2006-10-31 Thread Luis Eduardo
Tracy, after some search and tests i found: - labelFunction indeed works. But it is a implicit workaround for one limitation of the actionscript 3 and not the Datagrid itself. (there is one line of code inside the datagrid class that take the data using: data = data[dataField] and if

Re: [flexcoders] a ghost function

2006-10-30 Thread Luis Eduardo
. On 10/30/06, *Luis Eduardo* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: while i was looking on documentations i found a strange thing. on validator class ( http://livedocs.macromedia.com/flex/2/langref/mx/validators/Validator.html http://livedocs.macromedia.com

[flexcoders] a ghost function

2006-10-29 Thread Luis Eduardo
while i was looking on documentations i found a strange thing. on validator class ( http://livedocs.macromedia.com/flex/2/langref/mx/validators/Validator.html ) it clearly show us a function called validateAll. when u go inside the Validator class, on the Validator.as file, u really

Re: [flexcoders] += operator is changing the encodings

2006-10-28 Thread Luis Eduardo
, which is similar to what you're doing extract one XML from the XMLListCollection at a time. - Gordon *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Luis Eduardo *Sent:* Wednesday

Re: [flexcoders] Re: datagrid and dataField

2006-10-28 Thread Luis Eduardo
with an itemRenderer or a labelFunction. So: public function myLabelFunc( row:Object, column:DataGridColumn ):String { return deriveComplexColumn( row, column.dataField ) as String; } Have fun, Mike --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com, Luis Eduardo [EMAIL

Re: [flexcoders] Re: datagrid and dataField

2006-10-28 Thread Luis Eduardo
will post the solution to the sorting problem you had as well. Mike --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com, Luis Eduardo [EMAIL PROTECTED] wrote: Michael, i subclassed the datagrid and the datagridcolumn because i saw too much issues being resolved

Re: [flexcoders] Localizing using different languages

2006-10-27 Thread Luis Eduardo
i dont know how to do this, but when i was searching for another issue on the internal of datagridcolumn class i found a comment that perhaps ca give you some ideas... here it is: (DataGridColumn.as) //-- // imeMode

Re: [flexcoders] datagrid and dataField

2006-10-27 Thread Luis Eduardo
--- Luis Eduardo escreveu: hi, i dont know why but my datagrid cant bind well when the format of one XML have childrens. i borrow the example on the documentation and make a test to you guys see what i am talking about. to see the issue, just select one row

Re: [flexcoders] Re: datagrid and dataField

2006-10-27 Thread Luis Eduardo
@yahoogroups.com mailto:flexcoders%40yahoogroups.com, Luis Eduardo [EMAIL PROTECTED] wrote: i could solve part of my problem with a workaround, but not all is working ok. (i could display the data but the sorting capability is gone). someone have an ideia of how to make this on the rigth

[flexcoders] how to initialize all accordion tabs?

2006-10-26 Thread Luis Eduardo
i am needing to set up some components of a closed tab on an accordion, but it appears that only the openned tab is well initialized. the components on the closed tabs remain all with NULL values until i open the tab. how can i tell to accordion to initialize all tabs any time before user

Re: [flexcoders] how to initialize all accordion tabs?

2006-10-26 Thread Luis Eduardo
Dave, works as a charm !!! thank you very much! Luís Dave Carabetta escreveu: On 10/25/06, Luis Eduardo [EMAIL PROTECTED] mailto:illogic_code%40yahoo.com.br wrote: i am needing to set up some components of a closed tab on an accordion, but it appears that only

[flexcoders] datagrid and dataField

2006-10-26 Thread Luis Eduardo
hi, i dont know why but my datagrid cant bind well when the format of one XML have childrens. i borrow the example on the documentation and make a test to you guys see what i am talking about. to see the issue, just select one row and watch the Labels get the gender property on the

[flexcoders] += operator is changing the encodings

2006-10-25 Thread Luis Eduardo
hi, In my app, when i use the += operator, the data inside xmls turns with diferent encoding. The and caracters become wierds like lt and gt respectively. How can i fix this? this is the code: public function doGravar():void { var xgravar:XMLList = new

[flexcoders] bug in the XMLListCollection ?

2006-10-25 Thread Luis Eduardo
hello people, i am adding one XML item at one XMLListCollection but the collectionChange event dont fire. i am using the follow code: var xn:XML = new XML(); xn = TipoVeiculo Id= Nome={edtNome.text} Descricao={edtDescricao.text}/; XMLLC.addItem(xn); the XMLListCollection was

Re: [flexcoders] Re: bug in the XMLListCollection ?

2006-10-25 Thread Luis Eduardo
mailto:flexcoders%40yahoogroups.com, Igor Costa [EMAIL PROTECTED] wrote: Does this compile? On 10/24/06, Luis Eduardo [EMAIL PROTECTED] wrote: hello people, i am adding one XML item at one XMLListCollection but the collectionChange event dont fire. i am using

Re: [flexcoders] += operator is changing the encodings

2006-10-25 Thread Luis Eduardo
. and converted to lt and gt } On 10/24/06, *Luis Eduardo* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: hi, In my app, when i use the += operator, the data inside xmls turns with diferent encoding. The and caracters become wierds like lt and gt respectively

Re: [flexcoders] Binding the backgroundColor of a DataGridColumn

2006-10-25 Thread Luis Eduardo
i wonder why this why i need to extend my datagrid to make this functionality to work. so many people asks for this... it appear to be so obvious that people would need it. will adobe make this issue on the next patch for flex 2.0 ? (is there some place that we can asks for this?)

Re: [flexcoders] Re: FlexBuilder refusing to Build newer versions of .mxml files !!!

2006-10-25 Thread Luis Eduardo
FlexBuilder will not compile if there are, even a minimal error issue. to me ensure all compile is really made, i put a label with a number that i increase everytime i have some doubt about the compilation. []'s, Luís Eduardo. Tom Chiverton escreveu: On Wednesday 25