[flexcoders] events

2009-06-22 Thread stinasius
i have an array collection that populates a gallery. my arraycollection is in turn populated when i click an item in a tile list, so whenever i click on a new item in the tilelist, the data for the array collection is supposed to change but nothing seems to change. any help?

[flexcoders] controling mxml component layout at runtime.

2009-06-22 Thread Thibaud Van Vreckem
Simple question: I have a vBox with various mxml component in it. I would like to be able to determine their order in the vbox at runtime. is this possible at All ? Thanks. Thibaud

[flexcoders] Re: controling mxml component layout at runtime.

2009-06-22 Thread Thibaud Van Vreckem
Never mind, I figured it out. Somehow i didn't realize that display list methods worked fine with mxml objects. just as it should :) On Mon, Jun 22, 2009 at 12:20 PM, Thibaud Van Vreckem thibaudm...@gmail.com wrote: Simple question: I have a vBox with various mxml component in it. I would

Re: [flexcoders] Re: Radio Button in DataGrid urgent Plz

2009-06-22 Thread Harish Sivaramakrishnan
Use a boolean property (ex: selected) in the dataProvider Object and bind the CheckBox in the itemRenderer's 'selected' property to {data.selected} Cheers Harish On Sun, Jun 21, 2009 at 12:37 PM, vin.flex vin.f...@yahoo.com wrote: Thanks for your response Harui. I have tried your checkbox

[flexcoders] domain problem in remoteobject application

2009-06-22 Thread Vikram Singh
Hello friends, I have a query regarding domain problem. My database is at primarydomain (www.primarydomain.com) I also have subdomain and place all at subdomain directory. like this.. scenario 1: Current file arrangement is: Exported release build flex project at

[flexcoders] How do you enable wmodes in an AIR app?

2009-06-22 Thread Sascha
Ok, I've search the web up and down for this ... I know for the standalone Flash Player there is no option to enable wmodes like gpu or direct for testing but how do you enable them in an AIR app? Or are they actually somehow enabled or configured automatically in an AIR desktop app? Sascha

Re: [flexcoders] domain problem in remoteobject application

2009-06-22 Thread Pedro Sena
You can configure in amfphp where your 'services' would be. Take a look at documentation, I think that your idea is to have just one amfphp directory for every project, if so, You can reference external directories in a way that amfphp would search for them. HTH On Mon, Jun 22, 2009 at 9:07 AM,

[flexcoders] prevent text from scrolling

2009-06-22 Thread thomas parquier
Hello, I've developped a list item renderer which embeds a mx:Text component, some text have two lines. How to prevent texts with two lines from being scrolled when list is scrolled whit mouse wheel ? thomas --- http://www.web-attitude.fr/ msn : thomas.parqu...@web-attitude.fr softphone :

[flexcoders] Re: Accurate way of measuring a datagrid

2009-06-22 Thread valdhor
I have never found one that is reliable. What I have had to resort to is doing my own counting of lines as I go then multiplying that by line height, adding in various padding numbers, sacrificing a chicken and hoping for the best. --- In flexcoders@yahoogroups.com, djhatrick djhatr...@...

[flexcoders] IP Adress

2009-06-22 Thread christophe_jacquelin
Hello, Is it possible to get the IP adress or the computer name on the client side from a flex application ? Thank you, Christophe,

[flexcoders] Set the height of a custom itemRenderer to its children

2009-06-22 Thread lambovell
The class below is being used as a custom itemRenderer, and I want to set the height of the VBox to that of its contents (children). public class MyDynamicLayout extends VBox { // .. code removed for brevity override protected function measure():void {

[flexcoders] Drag Drop Panel placement

2009-06-22 Thread suba_be
Hi , We have the folowing requirement: There are two canvas containers within a HDividedBox and a drag drop panel in the application. On moving the divider of the Hdividedbox, the drag drop panel should align itself to the second canvas dynamically. We tried to get the container's x,y value

[flexcoders] Export Datagrid Flex to Excel file using JSP

2009-06-22 Thread Josh
Hi... I want to ask about how to export datagrid in flex into excel file using JSP.. I'm really appreciated for your help... Thanx.. (^_^)

[flexcoders] The Blueprint Eclipse plug-in is live on Adobe Labs

2009-06-22 Thread jrunrandy
If you get a minute, please check out Blueprint, which we released on Adobe Labs a couple of weeks ago. Blueprint is an innovative code-centric search application, initially delivered as an Eclipse plug-in. It is a custom search tool that searches only for code (for now, it searches just for

Re: [flexcoders] IP Adress

2009-06-22 Thread Jeffry Houser
No! CGI variables will have it, but that is client side. What I've done in the past is use my server code code that accesses the CGI variable and create a JavaScript function that returns the IP address. Then call that function w/ an external interface. [This is the point where 100

[flexcoders] Compressing the Axis in a Chart [1 Attachment]

2009-06-22 Thread Sherif Abdou
hello, Quick question. I have a chart graph/Picture is attatched. I want to compress the graph a bit/shift the axis to the left so I can see to the end of the line. Is there a function i can use to adjust? So pretty much I want extra room at the end. Thanks

Re: [flexcoders] Need help tranforming some XML

2009-06-22 Thread Ian Thomas
Oh *sigh* - mind the line breaks. Ian On Mon, Jun 22, 2009 at 6:25 PM, Ian Thomasi...@eirias.net wrote: Hi Jason,  Stepping through it, it works when you break that long line of E4X into separate components. (For some reason people seem to want to write really long E4X statements - I'm not

Re: [flexcoders] Need help tranforming some XML

2009-06-22 Thread Ian Thomas
Hi Jason, Stepping through it, it works when you break that long line of E4X into separate components. (For some reason people seem to want to write really long E4X statements - I'm not quite sure why...) Like this, your loop works. for each (var contentRowItem:XML in _contentXML..row) {

RE: [flexcoders] prevent text from scrolling

2009-06-22 Thread Alex Harui
The default renderer can have multiple lines of text and is smaller and faster than one that uses mx:Text. If you look at the code (mx.controls.listClasses.ListItemRenderer) you’ll see that it uses the explicitWIdth to set the width of the text widget before measuring. That is required

[flexcoders] Re: Need help tranforming some XML

2009-06-22 Thread Jason
Oh *sigh* - mind the line breaks. Ian Ian, I didn't insert those line breaks. I wrote this e-mail from Outlook and sent it directly to this list and it looked beautiful on the way out. I was just as disappointed with the way the formatting came out as you apparently were. Jason

[flexcoders] Re: Need help tranforming some XML

2009-06-22 Thread Jason
--- In flexcoders@yahoogroups.com, Ian Thomas i...@... wrote: Oh *sigh* - mind the line breaks. Ian Oh, heh heh, regards to formatting, you're rerferring to YOUR post, not my original. Yeah, sucks how bad Yahoo manages to mess up formatting eh? Thanks for the post, trying it out now.

Re: [flexcoders] prevent text from scrolling

2009-06-22 Thread thomas parquier
Well I will use mx:UITextField if faster... but I have to use custom itemrenderer because of complex data to display. The scrolling I described occurs only on mousewheel, and there's no scrollbar. The measures are not wrong and the area for the text can expand, so the problem is not measurement :

[flexcoders] Re: Need help tranforming some XML

2009-06-22 Thread Jason
I'd include a bit of error checking for those XMLLists... for each (var contentRowItem:XML in _contentXML..row) { var moduleName:String = contentRowItem.Module; var topicXML:XML = new XML(topic /); topicx...@title = contentRowItem.LinkTitle; var

[flexcoders] Re: IP Adress

2009-06-22 Thread valdhor
For IP address use Javascript (example at http://javascript.internet.com/user-details/ip-address.html) and external interface. I don't believe it is possible to get the computer name. --- In flexcoders@yahoogroups.com, christophe_jacquelin christophe_jacque...@... wrote: Hello, Is it

[flexcoders] Re: Need help tranforming some XML

2009-06-22 Thread Jason
Wait - I figured out I was not adding in the topics / node. So I am almost there now, this is working, EXCEPT the code only inserts one topic per subtopic, even though there are more row nodes that are tagged to the same subtopic in the same module. If more than one topic belongs to a topics

[flexcoders] Re: Performance improvement recommendation

2009-06-22 Thread yial2
Hi Alex, Thank you for your suggestion. I did use profiler to check, and yes, it was rendering of post that is taking most of the time. I did my best to make the render as light weight as possible by extending from UIComponent, but as you can see, the post render did not only include text and

[flexcoders] Re: Performance improvement recommendation

2009-06-22 Thread yial2
One thing the OP might want to try in addition to lightening the repeated components is to use a repeater and start out by just loading 5 (or however many are visible without scrolling), and then add to the collection after those are drawn. Amy, thank you for your suggestion. I have one

[flexcoders] Recommended library to render and manipulate graphs?

2009-06-22 Thread Leo Soto M.
Hello, I've googled a bit a found different graphs visualization libraries (the most promising being SpringGraph and RaVis). Do you have experience using any visualization libraries? And, if so, which one would you recommend? (or not recommend!) -- Leo Soto M. http://blog.leosoto.com

[flexcoders] Re: Charting questions

2009-06-22 Thread Amy
--- In flexcoders@yahoogroups.com, inevative inevat...@... wrote: Thanks for that. I had not embeded the font which seemed to be the issue. Any ideas on the other ones? especially getting the color being used in the legend. This might help

[flexcoders] Re: Set the height of a custom itemRenderer to its children

2009-06-22 Thread Amy
--- In flexcoders@yahoogroups.com, lambovell lambov...@... wrote: The class below is being used as a custom itemRenderer, and I want to set the height of the VBox to that of its contents (children). public class MyDynamicLayout extends VBox { // .. code removed for brevity

Re: [flexcoders] prevent text from scrolling

2009-06-22 Thread Andriy Panas
Hi Thomas, Have a look at this discussion: http://www.actionscript.org/forums/showthread.php3?t=160802 You can start from listening to event Event.SCROLL as was pointed at that discussion: http://livedocs.adobe.com/flex/2/langref/flash/text/TextField.html#event:scroll May be this workaround

[flexcoders] Re: Set the height of a custom itemRenderer to its children

2009-06-22 Thread lambovell
Thanks for the response, droponrcll. Actually, if I just had the VBox only that would have been fine, but my VBox is actually an itemRenderer for a List control. The List control is automatically scaling the width and height of the VBox to 100% of the List controls' row. Any idea how to get

[flexcoders] Re: htmlText truncation when changing from embedded to device font

2009-06-22 Thread Tim Hoff
I'll let the engineers let you know why this is happening. But, you can get it to work with the following steps (hack): 1) Remove height=200 from the test Text control. 2) Add this function: private function updateTextSize():void { test.invalidateSize(); } 3) On the ComboBox change

[flexcoders] Using states is better than modules ?

2009-06-22 Thread j2me_soul
I have a small project to do. I worder which method is better ? states or modules ?

[flexcoders] Re: Using states is better than modules ?

2009-06-22 Thread otunazero
if size is an issue use module, if not use state. Module will allow you to load the content later while with state the component is already inside the main application so it will run faster but maybe cause your swf to be big --- In flexcoders@yahoogroups.com, j2me_soul j2me_s...@... wrote: I

[flexcoders] Announcing FlexDataPaging for flex 4

2009-06-22 Thread otunazero
I know there are few flex paging components out there some good some bad. well check the screen shot of this one out and tell me what you think. More info coming soon check out the screen shot at http://otunazero.wordpress.com

Re:[flexcoders] Re: Using states is better than modules ?

2009-06-22 Thread j2me_soul
Can use effects on module loaded or unloaded etc. like using state ? 在2009-06-23,otunazero otunaz...@yahoo.com 写道: if size is an issue use module, if not use state. Module will allow you to load the content later while with state the component is already inside the main application so it

Re: [flexcoders] domain problem in remoteobject application

2009-06-22 Thread Vikram Singh
I am not getting excetly what you are trying to say me. Can you please tell me in some detail which/how configure in amfphp? I am little bit freshers for this stuff. Thanks. From: Pedro Sena sena.pe...@gmail.com To: flexcoders@yahoogroups.com Sent: Monday, 22

RE: [flexcoders] Need help tranforming some XML

2009-06-22 Thread Tracy Spratt
... break that long line of E4X into separate components... I am with you here. Do it one step at a time and check each step with a trace(xml.toXMLString()). If you really like concise, hard to read code, you can squash it back together once you get it working. Tracy Spratt, Lariat Services,