[flexcoders] Viewstack problems

2007-11-19 Thread Rafael Faria
Hello all, I'm having a big trouble with a viewstack. I have this code mx:ViewStack id=vstack width=800 height=400 mx:Canvas id=step1 label=donor information mx:HBox

[flexcoders] Accessing Root from the packages

2007-11-19 Thread Rafael Faria
Hello again, I'm a old flash user so this migrate phase to flex is giving me a headache sometimes. Hopefully i can get some help from here. I'm having a hard time with hierarchy. I created a package and i built a massive form package that will be built dynamically from a XML. The problem is

[flexcoders] Re: Accessing Root from the packages

2007-11-19 Thread Rafael Faria
I got it working with the Application.aplication[data.eventlistener] Just wondering... what if i wanted to run it from a module?! Thanks --- In flexcoders@yahoogroups.com, Rafael Faria [EMAIL PROTECTED] wrote: Hello again, I'm a old flash user so this migrate phase to flex is giving me

[flexcoders] Re: Viewstack problems

2007-11-19 Thread Rafael Faria
mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com, Rafael Faria rafaelfaria.grupos@ wrote: Hello all, I'm having a big trouble with a viewstack. I have this code mx:ViewStack id=vstack width=800 height=400 mx:Canvas id=step1 label=donor

[flexcoders] Multi Validation

2007-11-20 Thread Rafael Faria
There is any way to validate one field with 2 or more types of validation? like i want a field that needs to be with max length of 30 char and all needs to be a number or i need to validate an email that needs to be maxlenght of 30 (just to give an example) how i would do that... because i

[flexcoders] XML

2007-11-20 Thread Rafael Faria
There is anyway to handle malformed XML? for instance: var loader:URLLoader = URLLoader(event.target); var responseXML:XML = new XML(loader.data); var xmlDoc:XMLDocument = new XMLDocument(responseXML); var decoder:SimpleXMLDecoder = new SimpleXMLDecoder(true); if loader.data comes with

[flexcoders] Re: Multi Validation

2007-11-20 Thread Rafael Faria
Knudsen [EMAIL PROTECTED] wrote: I'm guessing you are using a TextInput. Check the API http://livedocs.adobe.com/flex/2/langref/mx/controls/TextInput.html in particular, look at restrict property to restrict a field to whatever you want. DK On Nov 20, 2007 9:25 PM, Rafael Faria [EMAIL

[flexcoders] Flex Hierarchy

2007-11-21 Thread Rafael Faria
When i understand it my life will be so much easier... Look the code above... see that on the function test2 it doesnt return the proper object? I know that exist some kind of hierarchy but what i couldnt get it is how i get the object that is on the global scope. i tried this.parent,

[flexcoders] Re: Flex Hierarchy

2007-11-21 Thread Rafael Faria
compiles... Peter On Nov 22, 2007 12:59 AM, Alex Harui [EMAIL PROTECTED] wrote: I would avoid name collisions between functions and ids. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rafael Faria

[flexcoders] Re: Flex Hierarchy

2007-11-21 Thread Rafael Faria
=myCanvas mx:TextArea id=myTextArea / /mx:Canvas /mx:Application --- In flexcoders@yahoogroups.com, Sheriff [EMAIL PROTECTED] wrote: why can't you just do this.getChildByName(test_input); - Original Message From: Rafael Faria [EMAIL PROTECTED] To: flexcoders

[flexcoders] Re: Flex Hierarchy

2007-11-21 Thread Rafael Faria
you know the name of/id but you dont know the name/id of the form itself? - Original Message From: Rafael Faria [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, November 21, 2007 10:19:28 PM Subject: [flexcoders] Re: Flex Hierarchy

[flexcoders] Re: Flex Hierarchy

2007-11-22 Thread Rafael Faria
; ipt.addEventListener(Event.ADDED_TO_STAGE,traceInput); c4.addChild(ipt); } private function traceInput(evt:Event):void { trace(evt.currentTarget); } - Original Message - From: Rafael Faria [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday

[flexcoders] Re: Accessing Components By Dynamically generated IDs

2007-11-22 Thread Rafael Faria
I got the same problem... and solve with this function function $(object:String,container:DisplayObjectContainer = null) { if (container == null) container = this; for (var i:uint=0; i container.numChildren; i++) { var child:DisplayObject = container.getChildAt(i);

[flexcoders] FormItem problem

2007-11-22 Thread Rafael Faria
Hello, has anyone succesfully implemented a FormItemLabel that can have text on multiple lines instead of single line label?

[flexcoders] Helpers - Global function

2007-11-25 Thread Rafael Faria
There is any way to create helpers? like... functions that will be seen on any component or class? how and where i declare this kind of function to be shown outside the scope i'm declaring?!

[flexcoders] Re: Helpers - Global function

2007-11-26 Thread Rafael Faria
, 2007 6:56 AM, Rafael Faria [EMAIL PROTECTED] wrote: There is any way to create helpers? like... functions that will be seen on any component or class? how and where i declare this kind of function to be shown outside the scope i'm declaring?! -- Ralf Bokelberg

[flexcoders] packages adding child to stage

2007-11-27 Thread Rafael Faria
I'm coding a package. Lets say i want to add something to the stage, how would i do that? this.addChild inside the package doesnt work. any ideas? raf

[flexcoders] Re: packages adding child to stage

2007-11-27 Thread Rafael Faria
() { var i:TextInput = new TextInput(); addChild(i); } } } --- In flexcoders@yahoogroups.com, Rafael Faria [EMAIL PROTECTED] wrote: I'm coding a package. Lets say i want to add something to the stage, how would

[flexcoders] Re: packages adding child to stage

2007-11-27 Thread Rafael Faria
] wrote: Hi, U can't add a text directly to the application . U must have a container. Add that. In that container add this textInput or text box whatever. Thanks, withregards, JJain Rafael Faria [EMAIL PROTECTED] wrote: I created something very simple

[flexcoders] getElement from scope

2007-11-27 Thread Rafael Faria
Friends, I'm aware that if all the elements are in the stage to get its object just use its id. Like if i create a mx:TextInput id=foo / to work with it on the actionscript just use foo.text = 'bla' for example. The thing is i'm creating a lot of forms dynamically and i'm struggling myself with

[flexcoders] Re: ***********************************************how to wrap of text of Label*

2007-11-27 Thread Rafael Faria
I don't think you can. Try use Text tag mx:Text text=Rafael Rafael Rafael Rafael Rafael Rafael Rafael Rafael Rafael Rafael Rafael Rafael Rafael Rafael Rafael Rafael Rafael Rafael Rafael Rafael Rafael Rafael Rafael Rafael Rafael Rafael Rafael Rafael Rafael Rafael Rafael Rafael Rafael Rafael Rafael

[flexcoders] Re: getElement from scope

2007-11-28 Thread Rafael Faria
Johan, Thanks for your useful reply. I will try to work with the dictionary as well but i was hopping you could explain me what does item.modelns::name.text(); mentioned on the article means. Sorry, i didnt work with this object before and i try to google it but i didnt get nothing.

[flexcoders] Re: getElement from scope

2007-11-28 Thread Rafael Faria
. =/ --- In flexcoders@yahoogroups.com, Rafael Faria [EMAIL PROTECTED] wrote: Johan, Thanks for your useful reply. I will try to work with the dictionary as well but i was hopping you could explain me what does item.modelns::name.text(); mentioned on the article means. Sorry, i didnt work

[flexcoders] Re: accessing text property via id

2007-11-28 Thread Rafael Faria
try public function $(object:String,container:DisplayObjectContainer = null) { if (container == null) container = this; for (var i:uint=0; i container.numChildren; i++) { var child:DisplayObject = container.getChildAt(i); if (child.name== object) {

[flexcoders] Re:Accessing properties of an Item Renderer

2007-12-17 Thread Rafael Faria
Alex, Could you be more clear? I'm using LIST with an itemrenderer containing some textinput inside of each item. how do i get the text of the textinput? please, dont send me to your blog, its a particular question not general. someone else have an answer? Thanks Raf --- In

[flexcoders] Re:Accessing properties of an Item Renderer

2007-12-17 Thread Rafael Faria
Ok i find out.. LIST_ID.indexToItemRenderer(NUMBER_OF_INDEX).document.ID_FROM_MY_TEXTBOX.text hope this helps someone else too!! raf --- In flexcoders@yahoogroups.com, Rafael Faria [EMAIL PROTECTED] wrote: Alex, Could you be more clear? I'm using LIST with an itemrenderer containing

[flexcoders] Re:Accessing properties of an Item Renderer

2007-12-17 Thread Rafael Faria
How can i get around the recycled thing?! Is there anyway to cache it or not recycle it? thanks Raf --- In flexcoders@yahoogroups.com, Rafael Faria [EMAIL PROTECTED] wrote: Ok i find out.. LIST_ID.indexToItemRenderer(NUMBER_OF_INDEX).document.ID_FROM_MY_TEXTBOX.text hope this helps

[flexcoders] Re:Accessing properties of an Item Renderer

2007-12-17 Thread Rafael Faria
of the list-based components. That's how a DataGrid with 1,000,000 rows can perform well. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rafael Faria Sent: Monday, December 17, 2007 9:25 PM To: flexcoders@yahoogroups.com

[flexcoders] get element type

2007-12-18 Thread Rafael Faria
There is anyway to get the type of an element? Like if i have mx:Button id=bt / how would i do to get that the element bt is a Button? I don't want to test if bt is Button i want to know that it is a button... something like you can do with variables. like typeof(variable) == string any

[flexcoders] Checking if a property exists

2007-12-20 Thread Rafael Faria
in the following code i'm trying to test if the property of an object exists but it doesnt work, how can i do that? i'm getting an error and i'm trying to handle that because sometimes it will have the property sometimes not... var bla:Object; if

[flexcoders] Re: Checking if a property exists

2007-12-20 Thread Rafael Faria
or not... and if i do if(object.property) returns error 1009. There is any other way to test if it exists? thnks --- In flexcoders@yahoogroups.com, Rafael Faria [EMAIL PROTECTED] wrote: in the following code i'm trying to test if the property of an object exists but it doesnt work, how can i do that? i'm

[flexcoders] Re: Checking if a property exists

2007-12-20 Thread Rafael Faria
sweet... exactly what i needed :) thanks very much! :) --- In flexcoders@yahoogroups.com, rueter007 [EMAIL PROTECTED] wrote: use bla.hasOwnProperty('test') - venkat http://www.venkatj.com --- In flexcoders@yahoogroups.com, Rafael Faria rafaelfaria.grupos@ wrote: in the following

[flexcoders] Binding data

2007-12-20 Thread Rafael Faria
I have this button and to set it enabled i have to check between 2 variables if both of them are true... it doesnt work in the following example... any clues? mx:Button enabled={variable1 == true variable2 == true} /

[flexcoders] Re: Binding data

2007-12-23 Thread Rafael Faria
expression in MXML, you have to use the amp; equivalent instead of the ampersand. HTH, Randy _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rafael Faria Sent: Friday, December 21, 2007 12:03 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Binding

[flexcoders] UPLOAD

2008-01-17 Thread Rafael Faria
I'm trying to build this upload app but i'm getting an error that there is no way i can handle. bubbles = false cancelable = false currentTarget = (flash.net::FileReference)#1 creationDate = Tue Feb 13 14:40:42 GMT+1100 2007 creator = XCEL modificationDate = Wed Feb 14 15:23:29 GMT+1100 2007

[flexcoders] Blue hightlight

2008-02-03 Thread Rafael Faria
Does anyone else is getting a blue hightlight at the mxml editor after install flex 3 beta 3? If you do, how to turn this annoying thing off? Thanks

[flexcoders] Re: Blue hightlight

2008-02-03 Thread Rafael Faria
anyone has the same problem!? --- In flexcoders@yahoogroups.com, Rafael Faria [EMAIL PROTECTED] wrote: Does anyone else is getting a blue hightlight at the mxml editor after install flex 3 beta 3? If you do, how to turn this annoying thing off? Thanks

[flexcoders] Re: Blue hightlight

2008-02-03 Thread Rafael Faria
. The icon is on the top toolbar and looks like a highlighter. It's right after all the green play buttons, and it's the only one in the toolbar that looks like it's switched on Rafael Faria wrote: anyone has the same problem!? --- In flexcoders@yahoogroups.com mailto:flexcoders

[flexcoders] Tree

2008-02-03 Thread Rafael Faria
I'm working on a tree based menu. My problem is, whenever i drag and drop some child from a main folder, instead of continues as a folder icon it automatically transform in a page icon... how can i prevent that?

[flexcoders] Re: Tree

2008-02-04 Thread Rafael Faria
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rafael Faria Sent: Sunday, February 03, 2008 10:14 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Tree I'm working on a tree based menu. My problem is, whenever i drag and drop some child from

[flexcoders] Re: Tree

2008-02-04 Thread Rafael Faria
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rafael Faria Sent: Sunday, February 03, 2008 10:14 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Tree I'm working on a tree based menu. My problem is, whenever i drag and drop some

[flexcoders] TreeItemRenderer

2008-02-04 Thread Rafael Faria
I'm building my first component using actionscript. I'm trying to set some default values or call automatically some functions whenever i instantiate the Tree. How i would set the itemRenderer inside my custom Tree component? I know if i set the custom:MyTree itemRender=myItemRender / it will

[flexcoders] Re: TreeItemRenderer

2008-02-04 Thread Rafael Faria
PROTECTED] wrote: so are you extending the tree? if so you can just do itemRenderer= - Original Message From: Rafael Faria [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, February 4, 2008 10:57:53 PM Subject: [flexcoders] TreeItemRenderer I'm building my first

[flexcoders] Re: TreeItemRenderer

2008-02-05 Thread Rafael Faria
: Rafael Faria [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, February 4, 2008 11:21:00 PM Subject: [flexcoders] Re: TreeItemRenderer Yeah, i'm extending the Tree but if i do itemRenderer = what would be the value? my TreeItemRenederer is another package called TreeRender

[flexcoders] Still Tree

2008-02-05 Thread Rafael Faria
I think is better to post most of my questions and if anyone can help just reply with an answer :) I'm still struggling myself with packages so if someone has a good article about it or where i can find a good material about packages it would be very helpful as well. 1 - There is anyway to set

[flexcoders] Re: Still Tree

2008-02-05 Thread Rafael Faria
The double click problem i solved using updateList(); --- In flexcoders@yahoogroups.com, Rafael Faria [EMAIL PROTECTED] wrote: I think is better to post most of my questions and if anyone can help just reply with an answer :) I'm still struggling myself with packages so

[flexcoders] Re: Still Tree

2008-02-05 Thread Rafael Faria
For some reason whenever i use setItemIcon on a function set for a iconFunction its behavior is very weird. --- In flexcoders@yahoogroups.com, Rafael Faria [EMAIL PROTECTED] wrote: I think is better to post most of my questions and if anyone can help just reply with an answer :) I'm still

[flexcoders] Re: Still Tree

2008-02-05 Thread Rafael Faria
Would be this a bug? Because i tried to change the icon inside the itemrenderer but its behaving weird as well. --- In flexcoders@yahoogroups.com, Rafael Faria [EMAIL PROTECTED] wrote: For some reason whenever i use setItemIcon on a function set for a iconFunction its behavior is very weird

[flexcoders] Re: Still Tree

2008-02-06 Thread Rafael Faria
, updateDisplayList) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rafael Faria Sent: Tuesday, February 05, 2008 5:05 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Still Tree For some reason whenever i use

[flexcoders] Re: Still Tree

2008-02-06 Thread Rafael Faria
:[EMAIL PROTECTED] On Behalf Of Rafael Faria Sent: Tuesday, February 05, 2008 5:05 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Still Tree For some reason whenever i use setItemIcon on a function set for a iconFunction its behavior is very weird. --- In flexcoders

[flexcoders] Re: Still Tree

2008-02-06 Thread Rafael Faria
file then it won't be found in the destination tree From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rafael Faria Sent: Wednesday, February 06, 2008 3:27 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Still Tree

[flexcoders] Tab Navigator (BUG???)

2008-02-10 Thread Rafael Faria
Hi all, I'm not sure if it's a bug, but i created a module and inside it i have a lot of panels, vbox, and all kind of components. For some reason when the module loads it was sending to my index page with a hash symbol like http://mydomain.com/# Although this wasn't happening when i test

[flexcoders] Re: Tab Navigator (BUG???)

2008-02-10 Thread Rafael Faria
Alex? --- In flexcoders@yahoogroups.com, Rafael Faria [EMAIL PROTECTED] wrote: Hi all, I'm not sure if it's a bug, but i created a module and inside it i have a lot of panels, vbox, and all kind of components. For some reason when the module loads it was sending to my index page

[flexcoders] Re: Tab Navigator (BUG???)

2008-02-11 Thread Rafael Faria
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rafael Faria Sent: Sunday, February 10, 2008 6:57 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Tab Navigator (BUG???) Alex? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Rafael Faria

[flexcoders] Text Rich Editor

2008-02-13 Thread Rafael Faria
I know this had been a big subject of discussion in the past but i want to bring it up again. Does anybody found a good solution to implement TRE in flex? I tried the iframe solution but it seems that it has some problems with rendering, someone work it out how to fix it? I know there is some

[flexcoders] Rich Text Editor

2008-02-13 Thread Rafael Faria
I know this had been a big subject of discussion in the past but i want to bring it up again. Does anybody found a good solution to implement RTE in flex? I tried the iframe solution but it seems that it has some problems with rendering, someone work it out how to fix it? I know there is some

[flexcoders] Re: Rich Text Editor

2008-02-14 Thread Rafael Faria
improvements. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rafael Faria Sent: Wednesday, February 13, 2008 4:47 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Rich Text Editor I know this had been a big

[flexcoders] HTTPService - POST problem

2008-02-14 Thread Rafael Faria
any idea why the following code wont post any data? var formValues:Object = {submit: 'submit'}; var submit:HTTPService = new HTTPService(); submit.url = 'http://myurl.com/service'; submit.resultFormat = object; submit.method = POST;

[flexcoders] Re: HTTPService - POST problem

2008-02-14 Thread Rafael Faria
It didnt do anything. --- In flexcoders@yahoogroups.com, Sherif Abdou [EMAIL PROTECTED] wrote: add a fault listener and see if that does anything - Original Message From: Rafael Faria [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, February 14, 2008 6:41:05 PM

[flexcoders] Re: Tree Branch???

2008-02-17 Thread Rafael Faria
actually you can define a function to labelFunction. Check http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/ raf --- In flexcoders@yahoogroups.com, xmwang1982 [EMAIL PROTECTED] wrote: Hi experts, Can we determine the isBranch property of a

[flexcoders] Re: Tree nodes expansion

2008-02-17 Thread Rafael Faria
Try TreeForm.updateList(); Raf --- In flexcoders@yahoogroups.com, Tom Preet [EMAIL PROTECTED] wrote: Hi All, In my application am using Tree with nodes when I click on the node it was displaying the alert, but when I selected the first node the related page was displaying, next time

[flexcoders] Extending Tree component

2008-02-17 Thread Rafael Faria
I'm extending the Tree component and i have had some great progress with it. Somethings still bug me like the place you will drop the item. Whenever you drag an item, a thick black line show marking where will be drop it. The thing is, sometimes i'm positioning the element over the element i want

[flexcoders] Re: Extending Tree component

2008-02-18 Thread Rafael Faria
: Rafael Faria [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, February 18, 2008 5:20:03 PM Subject: [flexcoders] Re: Extending Tree component you mean showDropFeedback? Another problem im having is, whenever you try to drop from one tree to another, the event DRAG_COMPLETE

[flexcoders] Re: Extending Tree component

2008-02-18 Thread Rafael Faria
How can i get the Tree control i'm dropping at the DragComplete? raf --- In flexcoders@yahoogroups.com, Rafael Faria [EMAIL PROTECTED] wrote: I read that too but the thing is i need to perform an action after i drop the element, not ondrop. This text suggest that if i'm draging from one tree

[flexcoders] Re: Tree Branch???

2008-02-19 Thread Rafael Faria
@ wrote: Thanks Raf, However, what I need is something called isBranchFunction, in which we can set isBranch property base on e.g. node name. Thanks. --- In flexcoders@yahoogroups.com, Rafael Faria rafaelfaria.grupos@ wrote: actually you can define a function

[flexcoders] Tree

2008-02-19 Thread Rafael Faria
How to get the updated XML after i drag and drop some elements inside the tree?

[flexcoders] Tree descendants

2008-02-19 Thread Rafael Faria
I'm trying to get the descendants from my XML which has the attribute enabled = true if i try XML(dataProvider).descendants().(@enabled = true) i get an error A term is undefined and has no properties. which is understandable because not every node has the enabled attribute. The question is

[flexcoders] Re: Tree descendants

2008-02-20 Thread Rafael Faria
. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rafael Faria Sent: 20 February 2008 05:55 To: flexcoders@yahoogroups.com Subject: [flexcoders] Tree descendants I'm trying to get the descendants from my XML which has the attribute enabled

[flexcoders] Re: Tree descendants

2008-02-20 Thread Rafael Faria
to false but it doesnt really change it. this is killing me =/ --- In flexcoders@yahoogroups.com, Rafael Faria [EMAIL PROTECTED] wrote: Not really. Got an error as well. someone else can help me out?? raf --- In flexcoders@yahoogroups.com, Jim Hayes jim@ wrote: I think it's XML

[flexcoders] Re: Tree descendants

2008-02-20 Thread Rafael Faria
; } :P Thanks for your help. It put me on the right track :P raf --- In flexcoders@yahoogroups.com, Rafael Faria [EMAIL PROTECTED] wrote: Ok you got it almost right like you said. instead of attributes use attribute. var list:XMLList = XML(dataProvider

[flexcoders] Re: Tree descendants

2008-02-20 Thread Rafael Faria
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rafael Faria Sent: 20 February 2008 23:38 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Tree descendants Ok you got it almost right like you said. instead of attributes use attribute. var list:XMLList = XML(dataProvider

[flexcoders] Selecting a Item on a Tree Control

2008-02-20 Thread Rafael Faria
I was reading blog.flexexamples and i saw an example of what i need. But it was quite exactly. The following example is Opening nodes on a tree control. http://blog.flexexamples.com/2007/11/29/opening-nodes-in-a-flex-tree-control-using-the-expanditem-method/ What i need is basically the same

[flexcoders] Tree Bug?

2008-03-02 Thread Rafael Faria
I'm almost finished with my Tree custom component. Just 2 things are bugging me a lot. Firstly, when i select a node (not editing), change tab on my firefox, and come back, it enters to editing mode without touching anything. Secondly, when i'm in the editing a node, and double click inside

[flexcoders] Re: Tree Bug?

2008-03-02 Thread Rafael Faria
anyone? --- In flexcoders@yahoogroups.com, Rafael Faria [EMAIL PROTECTED] wrote: I'm almost finished with my Tree custom component. Just 2 things are bugging me a lot. Firstly, when i select a node (not editing), change tab on my firefox, and come back, it enters to editing mode without

[flexcoders] Re: Tree Bug?

2008-03-03 Thread Rafael Faria
] wrote: u have a link or a bit of source code? try removing focus on the editing by listeneing to the stage leave - Original Message From: Rafael Faria [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, March 2, 2008 10:12:00 PM Subject: [flexcoders] Re: Tree Bug

[flexcoders] Re: Tree Bug?

2008-03-03 Thread Rafael Faria
Sorry... when i say tabs... i mean browser tabs... raf eNilsson Asia Pacific http://www.enilsson.com/blog/ --- In flexcoders@yahoogroups.com, Rafael Faria [EMAIL PROTECTED] wrote: Hi sherif... Please check this http://www.enilsson.com/assets/examples/menuTree.html Select some items

[flexcoders] Tree SelectedItem

2008-03-12 Thread Rafael Faria
If i'm dragging a item from tree1 to tree2 how do i select the item after i drop it on tree2?

[flexcoders] Sound Recorder

2008-03-27 Thread Rafael Faria
Is there any way to record anything on the client and save it on the server? have anyone done that? if yes, can you help me?

[flexcoders] Charting...

2008-04-15 Thread Rafael Faria
What am i doing wrong? The chart works fine but there is no effect... not matter what i do it just doesnt play. Can someone help me to apply the Series Slide on this chart?! do i have to do something else? i set the style but doesnt work =/ var bss:SeriesSlide = new SeriesSlide(); bss.duration

[flexcoders] Re: Charting...

2008-04-15 Thread Rafael Faria
it work... weird... --- In flexcoders@yahoogroups.com, Rafael Faria [EMAIL PROTECTED] wrote: What am i doing wrong? The chart works fine but there is no effect... not matter what i do it just doesnt play. Can someone help me to apply the Series Slide on this chart?! do i have to do

[flexcoders] Re: Charting...

2008-04-15 Thread Rafael Faria
messing about with the order in which you're setting various properties - perhaps just setting the provider last will do it? Also if that doesn't work, try using callLater() instead of a 1ms timer. -J On Wed, Apr 16, 2008 at 11:40 AM, Rafael Faria [EMAIL PROTECTED] wrote: For some

[flexcoders] Chart effects

2008-04-15 Thread Rafael Faria
Any suggestion which effects is good for area or line charts?

[flexcoders] Showroot - Tree control

2008-04-21 Thread Rafael Faria
?xml version=1.0? !-- dpcontrols/TreeSimple.mxml -- mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Tree id=tree1 labelField=@label showRoot=false width=160 mx:XMLListCollection id=MailBox mx:XMLList folder label=Mail

[flexcoders] Re: Showroot - Tree control

2008-04-22 Thread Rafael Faria
any help?! im really tight on it. =/ Thanks Raf --- In flexcoders@yahoogroups.com, Rafael Faria [EMAIL PROTECTED] wrote: ?xml version=1.0? !-- dpcontrols/TreeSimple.mxml -- mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Tree id=tree1 labelField=@label showRoot=false width

[flexcoders] Drag and Drop question

2008-05-01 Thread Rafael Faria
If i'm dragging an element from one tree to another. How do i get the updated xml of the tree i'm dragging off? For instance TREE 1 - Element 1 - Element 2 TREE 2 if i get the xml from tree 1 it would be something like root element label=Element 1 / element label=Element 2 / /root

[flexcoders] Re: Drag and Drop question

2008-05-01 Thread Rafael Faria
to automatically delete nodes from your XML, you need to do that yourself in your drop handler. -J On Thu, May 1, 2008 at 4:36 PM, Rafael Faria [EMAIL PROTECTED] wrote: If i'm dragging an element from one tree to another. How do i get the updated xml of the tree i'm dragging off

[flexcoders] Re: Showroot - Tree control

2008-05-01 Thread Rafael Faria
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rafael Faria Sent: Tuesday, April 22, 2008 7:13 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Showroot - Tree control any help?! im really tight on it. =/ Thanks Raf --- In flexcoders@yahoogroups.com

[flexcoders] Re: Drag and Drop question

2008-05-01 Thread Rafael Faria
?! Thanks --- In flexcoders@yahoogroups.com, Rafael Faria [EMAIL PROTECTED] wrote: I wouldn't say voodoo but if you drag an item from tree 1 to tree 2 the dataprovider should not contain the item you've dragged to the other tree... am i wrong? rafael --- In flexcoders@yahoogroups.com, Josh

[flexcoders] Re: Drag and Drop question

2008-05-01 Thread Rafael Faria
question I'm fairly certain that there's no voodoo to automatically delete nodes from your XML, you need to do that yourself in your drop handler. -J On Thu, May 1, 2008 at 4:36 PM, Rafael Faria [EMAIL PROTECTED] wrote: If i'm dragging an element from one tree to another. How

[flexcoders] Re: Drag and Drop question

2008-05-01 Thread Rafael Faria
:57 AM, Rafael Faria [EMAIL PROTECTED] wrote: That's nice that everybody is learning from my question :p I'm hereee o/ ehheheh someone can help me? :0 i still don't know how to get an updated tree after i move the node... or there is any easy way to remove a node from an xml

[flexcoders] Re: Drag and Drop question

2008-05-01 Thread Rafael Faria
The thing is ... if the dataprovider is blank and i drop some element there, i'm not able to retrieve it. For instance i create a tree 1 and i set the dataprovider root element label=test 1 / element label=test 2 / /root and create a second tree without any dataprovider. At the moment i drop

[flexcoders] Re: Drag and Drop question

2008-05-01 Thread Rafael Faria
So here is a example to what i'm talking about. someone can tell me why: 1 - First test on this example if i drag an item from a branch(NOT the WHOLE BRANCH) from tree1 and drop to tree2, and than click on get elements from tree 2 button. it shows nothing... and if you keep adding elements it

[flexcoders] Re: How can i refresh the mx:XML runtime.

2008-05-01 Thread Rafael Faria
hi Swamy, i'm not sure if i got that right, but you can try to use callLater functin. callLater(function():void { functionyouload() }); or set the dataprovider with the xml you load again. like i said, it's not clear what you want, but i think that one of those solution might work. good lucky

[flexcoders] Drop Handler

2008-05-14 Thread Rafael Faria
When i drop an item from a tree to another, on the drop handler how do i get the SOURCE tree object? i know how to get the target (event.target or event.currentTarget) but how do i get the source? Rafael

[flexcoders] Tree duplicating items - desperate!!!

2008-05-30 Thread Rafael Faria
fellows, i have been bugging you guys about my tree component for a quite long time and i'm almost finish. the only thing i still have to deal is a bug that's happening. What happen is, i have to create branches on the fly, dynamically whenever i dragover a item. here is the code to do that

[flexcoders] Re: Tree duplicating items - desperate!!!

2008-06-01 Thread Rafael Faria
are the four lines? If you remove them what happens? Step through dragCompleteHandler. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rafael Faria Sent: Thursday, May 29, 2008 11:14 PM To: flexcoders@yahoogroups.com Subject

[flexcoders] Re: Tree duplicating items - desperate!!!

2008-06-02 Thread Rafael Faria
expect From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rafael Faria Sent: Sunday, June 01, 2008 5:18 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Tree duplicating items - desperate!!! If i remove those lines

[flexcoders] Flex deleting files

2008-06-10 Thread Rafael Faria
How weird it is if you create folder, files on your explorer on flex framework and do control (in my case on mac command) + Z it just disappear with the files without any notice? anyone else had this problem?! I had to undo some changes on my code but didnt realize that the cursor was outside my

[flexcoders] HTTPService Bug

2008-06-11 Thread Rafael Faria
Any reason why HTTPService when return my XML as an Object transform the following array into strings that was suppose to contain strings item key=version label![CDATA[Version]]/label type![CDATA[dropdown]]/type source item

[flexcoders] Re: HTTPService Bug

2008-06-11 Thread Rafael Faria
--- In flexcoders@yahoogroups.com, LazerWonder [EMAIL PROTECTED] wrote: Wherever you get the returned XML object from... does it pass in a 1 or 2? Or does it pass a 1.0 / 2.0. As far as I know, HTTPService does not transform data (some one more experience can correct me if I am wrong).

  1   2   >