RE: [flexcoders] The supplied DisplayObject must be a child of the caller

2009-09-08 Thread Alex Harui
Maybe publish a full test case in 20 lines or so. What is this.numChildren? Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of jmfillman Sent: Tuesday, Sept

[flexcoders] The supplied DisplayObject must be a child of the caller

2009-09-08 Thread jmfillman
So I'm trying to remove a child from a canvas container. trace (this.getChildAt(6)); this.removeChild(this.getChildAt(6)); this.removeChildAt(6); The trace statement returns the path to the correct child, but when I try removeChild() or removeChildAt(), I get: The supplied DisplayObject must be

[flexcoders] how to join this code

2009-09-08 Thread cholid cholid
hi all i've new problem i've two code the one's to draw an Icon an the other's to draw a circle how to make it work together, the circle be a background of Icon 1.img = RendererIconFactory.createIcon(this.data.da...@nodeicon,32); 2.cc = RendererIconFactory.createIcon("primitive::circl

[flexcoders] Re: Accessing DataProvider from GroupingCollection

2009-09-08 Thread fumeng5
I can do it this way but it seems totally wonky to me: i override set data(): var appListData:AdvancedDataGridListData = AdvancedDataGridListData(listData); (appListData.owner as AdvancedDataGrid).dataProvider.source.source --- In flexcoders@yahoogroups.com, "fumeng5" wrote: > > Hi, > > I have a

[flexcoders] Accessing DataProvider from GroupingCollection

2009-09-08 Thread fumeng5
Hi, I have an AdvancedDataGrid with a Grouping Collection to make my flat data into a hierarchy. I also have another column of data next to (on the same level) as the group. I need to access the column data there but I can't and I'm guessing it's because the dataProvider is now restructured a

Re: [flexcoders] FlexBuilder Shortcuts

2009-09-08 Thread Wesley Acheson
Only one here ALT-SHIFT-L will list all shortcuts for the current view your in. Search for eclipse shortcuts. > Anybody having FlexBuilder Shortcuts > > Please post... > > > Thanks inAdvance > సతీష్ > > -- > Love Cricket? Check out live scores, photos, video highli

Re: [flexcoders] DataGrid Check box State problem

2009-09-08 Thread Wesley Acheson
If checkboxes appear checked when loading the xml but not when changing a value in the xml. Try wrapping the xml list in an XMLListCollection and using that as your dataprovider. If that doesn't work when you programatically change the value refresh the XMLListCollection. I believe you should eit

[flexcoders] Background colour in htmlText

2009-09-08 Thread Richard Rodseth
Am I right that the html rendering in the Flex text control does not support the style attribute of the tag? I need to delimit sections of a string by background color, but still get the automatic ellipsis behaviour if the string is too long.

[flexcoders] FlexBuilder Shortcuts

2009-09-08 Thread Satish Chowdary
Hi All, Anybody having FlexBuilder Shortcuts Please post... Thanks inAdvance సతీష్ Love Cricket? Check out live scores, photos, video highlights and more. Click here http://cricket.yahoo.com

[flexcoders] Help with LazyLoading in AdvancedDataGrid

2009-09-08 Thread Santosh Varghese
Hi, > > I am new to Flex development. I wanted to use the AdvancedDataGrid to > display data in a tree structure. coming from a remoteobject . The remote > object is a java Collections object. I could read this data and get into > Flex ArrayCollection. The data in the ArrayCollectio

[flexcoders] XML Parsing Questions

2009-09-08 Thread stldvd
Hi all, I'm working with httpservice and a rich text area. I pull in the xml via httpservice, then parse out all xml tags. However, dependent on the XML I need to do various things, such as if the text is in an tag, then make it bold; if it's in an tag, then I'll italicize it, then display it

[flexcoders] Re: Referencing dynmically created controls

2009-09-08 Thread valdhor
This should give you an idea... var searchcanvasChildren:Array = searchcanvas.getChildren(); for(var i:int = 0 ; i < searchcanvasChildren.length ; i++) { if( searchcanvasChildren[i] is TextInput) { Alert.show(( searchcanvasChildren[i] as TextInput).id + ":" + ( searchcan

[flexcoders] Re: Referencing dynmically created controls

2009-09-08 Thread trefalgar
--- In flexcoders@yahoogroups.com, "trefalgar" wrote: > It works just fine. On the panel I get a list of {text}:, followed by the > actual textinput field. The only problem is I can't figure out how to > reference those textinputs now that they're created! I've searched through a > debug sessio

[flexcoders] Referencing dynmically created controls

2009-09-08 Thread trefalgar
I'm striking out finding an answer elsewhere, so here goes ;) I am taking an array of objects and using it to dynamically create a list of text and textinputs: searchcanvas.removeAllChildren(); var fields:Array = ArrayUtil.toArray(event.result.fields); if ( fields.length > 1 ) { for each

RE: [flexcoders] Disabling Data Grid Rows

2009-09-08 Thread Alex Harui
There is a disabling list selection post on my blog that might help Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of ui.smart Sent: Tuesday, September 08,

RE: [flexcoders] Re: ApplicationDomain, parent not equal for child of same parent.

2009-09-08 Thread Alex Harui
Check the link report for the main app that loads the modules and your setting when loading the modules. If the main app already has those definitions, the module will use those definitions. Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aha

[flexcoders] Drag and Drop to DataGrid errors

2009-09-08 Thread tex_learning_flex
I found the code at the end of this post while trying to learn about drag and drop to an Air app. It looks like it should do what I want, but generates two errors that I have been unable to solve (I am still very much a newbie). the errors are: [SWF] DragDrop.swf - 1,284,532 bytes after decompressi

[flexcoders] File Upload with FireFox on SunRay Fails-we need this to work

2009-09-08 Thread adebonis
Hope someone out there an help us with this issue. We can't get File upload to work with a Browser Running under SunRays on FireFox We have finally identified the http problem (http 417) which is causing the IO flash error. We tried this on FireFox 3.0 as well as FireFox 3.5.3 both with the sam

[flexcoders] GetCamera returning null

2009-09-08 Thread roly445
Hello everyone, I'm having a problem with the Camera.getCamera function. When I use it, I call Camera.getCamera it returns the first camera in my system which is a tv card. So i pass it in the name of my camera 'HP Webcam' and returns null. If I create cameras by looping through the camera.nam

[flexcoders] DataGrid Check box State problem

2009-09-08 Thread Satish Chowdary
Hi All, I am facing the problem with datagrid itemrenderer checkbox my data provider is xmllist and wrote select all checkboxes functionality when trace the application the values is assigned but check box state not changed . help me out Thanks inAdvance సతీష్ See the Web's breakin

[flexcoders] Re: http request erro

2009-09-08 Thread valdhor
So, first thing is to add the crossdomain.xml file to your server. Once that is done, check the error (If there is one) and post that. --- In flexcoders@yahoogroups.com, Vik wrote: > > Hie > so after putting a breakpoint i could see following error text > Error #2032: Stream Error. URL: > http:

[flexcoders] soap and cookies with webservice

2009-09-08 Thread stephen_anson
Hi, is it possible to send and receive cookies along with a WebService in Flex a flex application (note that it will be in a standalone player) any help really appreciated Steve

[flexcoders] Re: ApplicationDomain, parent not equal for child of same parent.

2009-09-08 Thread sehrawat_raj
Hello Alex, I created two modules and loaded them in different child application domains. But get the same instance of class definitions, which were defined in both the modules. I tried to debug into ModuleManager, but could not figure out why the class definitions are same. Any suggestions,

[flexcoders] Re: Dot NET or JAVA example to give output as WSDL

2009-09-08 Thread valdhor
I think you are making it way too hard for your self. If you are the only one consuming the data, why go to all the trouble of creating a SOAP service? If it were me, I would use remote objects using a gateway (Such as WebORB - http://www.themidnightcoders.com/products/weborb-for-net/overview.h

[flexcoders] Re: Hello everyone hope all is well.

2009-09-08 Thread valdhor
Use HTTPService - http://livedocs.adobe.com/flex/3/langref/mx/rpc/http/mxml/HTTPService.html --- In flexcoders@yahoogroups.com, "mlow7920" wrote: > > Although i been a member of the group for a while I havent participated much. > But now im actually building a RIA program and i need a little he

Re: [flexcoders] Code analyzer

2009-09-08 Thread Xavier Agnetti
Here you go: http://blogs.adobe.com/xagnetti/flexpmd/ On Wed, Aug 5, 2009 at 5:10 PM, gregholliday wrote: > > > I was recently introduced to a tool called PMD ( > http://pmd.sourceforge.net/) which analyzes java code. I was wondering if > anyone knew of a similar tool for Flex code. > > > --

Re: [flexcoders] Flex PMD forum?

2009-09-08 Thread Xavier Agnetti
This issue has been fixed against trunk. It will be released part of RC4. Thanks Xavier On Mon, Sep 7, 2009 at 6:04 PM, Magnus Lassi wrote: > > > Unfortunately I don't get a lot of information in the Console, all I get is > this: > > flexPmdWithDefaultRuleset: > [flexPmd] Sep 7, 2009 10:55:5

Re: [flexcoders] About Flex 4 release time

2009-09-08 Thread Ivan Wang
Thanks, C ! Then I'll pick Flex 4, for the new skin and effect :) - Original Message - From: claudiu ursica To: flexcoders@yahoogroups.com Sent: Tuesday, September 08, 2009 7:44 PM Subject: Re: [flexcoders] About Flex 4 release time Release date is early 2010, that is

Re: [flexcoders] About Flex 4 release time

2009-09-08 Thread claudiu ursica
Release date is early 2010, that is probably in the first quarter C From: ivan.wang2010 To: flexcoders@yahoogroups.com Sent: Tuesday, September 8, 2009 2:36:53 PM Subject: [flexcoders] About Flex 4 release time Hi, all I'm about to start a new project

[flexcoders] About Flex 4 release time

2009-09-08 Thread ivan.wang2010
Hi, all I'm about to start a new project, and I've no idea whether to choose flex 4 or flex 3. Although Flex 4 has a great advantage over the previous one, but I can't rely on a beta version to make the product. So does any one know the official release time of Flex 4? If it is quite close

[flexcoders] Disabling Data Grid Rows

2009-09-08 Thread ui.smart
I have combo Box with two options on top of a DataGrid,on selection of combobox option ,some rows of the DataGrid should be disabled.I am using ItemRenderer(as Action Script Class)for all columns in DataGrid.How to do this.Please give suggestion how to achive this. Thanks in Advance

[flexcoders] Dynamically Created Components Added to Custom Components

2009-09-08 Thread Michael Ridland
Hi I am created a dynamically adding a VBox, that contains two images. Into a Custom Component that is derived from UIComponent. The problem is the Vbox that contains the two image is only a really tiny size. I would like the VBox stretch to the size of the two images. This is how I am creating t

Re: [flexcoders] Implement Multiple Interfaces in a MXML component

2009-09-08 Thread Michael Ridland
Thanks, I should of thought about that. On Tue, Sep 8, 2009 at 7:54 PM, Johannes Nel wrote: > > > only one attribute, but comma deliminated interface paths in that > attributes text > > > > On Tue, Sep 8, 2009 at 11:48 AM, Michael Ridland wrote: > >> >> >> Hi >> >> I want to be able to implem

Re: [flexcoders] Implement Multiple Interfaces in a MXML component

2009-09-08 Thread claudiu ursica
do implements implements="lib.ISurfaceObject, lib.ISurfaceObject2" TH, C From: Michael Ridland To: flexcoders@yahoogroups.com Sent: Tuesday, September 8, 2009 1:08:50 PM Subject: Re: [flexcoders] Implement Multiple Interfaces in a MXML component Thanks.. I

Re: [flexcoders] Implement Multiple Interfaces in a MXML component

2009-09-08 Thread Michael Ridland
Thanks.. I didnt think this question needed sample code. Here is a sample... http://www.adobe.com/2006/mxml"; implements="lib.ISurfaceObject" implements="lib.ISurfaceObject2" verticalScrollPolicy="off" > On Tue, Sep 8, 2009 at 8:04 PM, Fidel Viegas wrote: > > > Hi Michael, > > > On Tue

Re: [flexcoders] Implement Multiple Interfaces in a MXML component

2009-09-08 Thread Fidel Viegas
Hi Michael, On Tue, Sep 8, 2009 at 10:48 AM, Michael Ridland wrote: > > > Hi > > I want to be able to implement multiple interfaces in a MXML Component. But > I get this error, 'Attribute "implements" was already specified for element > "mx:Canvas".'. Without the sample code, it is really difficu

Re: [flexcoders] Implement Multiple Interfaces in a MXML component

2009-09-08 Thread Johannes Nel
only one attribute, but comma deliminated interface paths in that attributes text On Tue, Sep 8, 2009 at 11:48 AM, Michael Ridland wrote: > > > Hi > > I want to be able to implement multiple interfaces in a MXML Component. But > I get this error, 'Attribute "implements" was already specified fo

[flexcoders] Implement Multiple Interfaces in a MXML component

2009-09-08 Thread Michael Ridland
Hi I want to be able to implement multiple interfaces in a MXML Component. But I get this error, 'Attribute "implements" was already specified for element "mx:Canvas".'. Thanks in Advance. Michael