[flexcoders] DYNAMIC actionscript child layout.

2009-02-15 Thread sailorsea21
Hi everyone, when I create my layout with mxml components, my layout is dynamic. If I resize my browser window, my components are also resized. How can I achieve this in actionscript using addChild??? var Layout:Canvas = new Canvas(); graphLayout.width=testlayout.width/2;

[flexcoders] Re: Help Me for SharedObject and registerClassAlias method

2009-02-15 Thread valdhor
I don't think you can do that. A SharedObject is just an object. What you would need to do is put the WindowInfo objects you want to store into an array and store the array in the SharedObject. When you want to retrieve the WindowInfo objects, read them into an array and coerce each array item

[flexcoders] help with datagrid cell custom itemrenderer

2009-02-15 Thread sbeausol
Hi- I've been able to implement a custom Text Color Item Renderer for a datagrid based off of this post Custom item renderer http://blogs.adobe.com/aharui/2007/03/thinking_about_item_renderers_1.h\ tml . I've added 2 classes, a ComputedStylesColumn and ComputedStylesRenderer and I can

[flexcoders] Re: Override drawHighlightIndicator

2009-02-15 Thread Brad Keck
--- In flexcoders@yahoogroups.com, Brad Keck bradley_k...@... wrote: I am having a weird problem. I have created a custom list class in order to customize the highlight behavior of the list. Everything seems to be working great EXCEPT when I use the *mouse wheel* to scroll, my

[flexcoders] Re: Air application and local hardware

2009-02-15 Thread valdhor
AFAIK Merapi just uses AMF to pass objects. If you don't want to develop in Java, you would need to develop a bridge API in your language of choice. Start with http://opensource.adobe.com/wiki/download/attachments/1114283/amf3_spec_05_05_08.pdf --- In flexcoders@yahoogroups.com,

[flexcoders] Re: help with datagrid cell custom itemrenderer

2009-02-15 Thread valdhor
dataGridColumn.itemRenderer = new ClassFactory(customItemRanderer); In your case: custColumn1.itemRenderer = new ClassFactory(ComputedStylesRenderer); --- In flexcoders@yahoogroups.com, sbeausol sbeausol...@... wrote: Hi- I've been able to implement a custom Text Color Item Renderer for

[flexcoders] Re: Socket communications in Flex

2009-02-15 Thread markgoldin_2000
I was able to create a server socket using VB code. I am sending data from a Flex test application to my server socket but cannot send any data to Flex. Any idea? --- In flexcoders@yahoogroups.com, Guy Morton g...@... wrote: As Tracy said, yes. A socket is just a network connection. Your

[flexcoders] Arrow on Multiple Column's Header in Flex2 DataGrid

2009-02-15 Thread Dharmendra Chauhan
Hi All, I have to show Sorting arrows(Up Down) on DataGrid(Hotfix2) Header for more than one Column.I want to show arrow based on underlying dataProvider Sorting ie if arrayCollection was sorted based on two column then two respective column in DG should show arrow on Header. Please do

[flexcoders] Dictionary memory leak

2009-02-15 Thread Gregor Kiddie
Anyone know if this has been fixed? There was a reported memory leak a while back (at least in my memory ;) ) and I'm trying to work out if it's safe to use Dictionarys again... Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a

[flexcoders] Showing grid in line series graph

2009-02-15 Thread Vik
Hie I have a line series graph. Doing a showAlldataTip gives a bad look to my graph. So i just want to show grid lines in the graph. is it possible? how? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com

[flexcoders] Re: Showing grid in line series graph

2009-02-15 Thread EddieBerman
Easy. Here are some links that should help: http://blog.flexexamples.com/2007/11/15/displaying-grid-lines-in-a- flex-linechart-control/ http://livedocs.adobe.com/flex/3/langref/mx/charts/GridLines.html -Eddie www.edberman.com --- In flexcoders@yahoogroups.com, Vik vik@... wrote: Hie I

[flexcoders] Re: Socket communications in Flex

2009-02-15 Thread markgoldin_2000
Link is not working for me. --- In flexcoders@yahoogroups.com, Weyert de Boer w...@... wrote: Have a look at: http://www.innerfuse.biz/dropbox/WebDU 2007 Leveraging Apollo Runtime.zip Shows how you can make a socket server in Ruby and talk with a Bluetooth GPS device.

Re: [flexcoders] Re: Showing grid in line series graph

2009-02-15 Thread Vik
Hie That worked thankx.. but the grid lines are very light. almost hard to see.. how to make them look a bit bold? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Sun, Feb 15, 2009 at 11:49 PM, EddieBerman eddieberman2...@hotmail.comwrote: Easy. Here are some

Re[flexcoders] moteObject help

2009-02-15 Thread Sceneshift
I'm trying to create a RemoteObject singleton class which I can reference throughout my project, and make simple calls to the serverside code using WebOrb. The singleton extends RemoteObject, but I am having trouble passing arguments across. I'd like to be able to call the RemoteObject class

[flexcoders] Re: Dragging an image out of a tilelist

2009-02-15 Thread lanekelly5
Here's the mouseOverHandler function that is throwing the type conversion error. It's basically copied from the docs example Specifying the drag proxy. Not sure how to reference the image portion of the TileList element so that I'm not converting TileList to Image... private function

[flexcoders] Detect keyboard layout in AIR or Flex ?

2009-02-15 Thread Adnan Doric
Hello, Capabilities.language returns the language, that's great but... Is it possible with AIR to look into OS (Windows, linux or MacOS) and retrieve the actual keyboard layout (qwerty, azerty atc.) ? TIA :)

[flexcoders] Re: Socket communications in Flex

2009-02-15 Thread valdhor
Copy and paste (Including the spaces) --- In flexcoders@yahoogroups.com, markgoldin_2000 markgoldin_2...@... wrote: Link is not working for me. --- In flexcoders@yahoogroups.com, Weyert de Boer wdb@ wrote: Have a look at: http://www.innerfuse.biz/dropbox/WebDU 2007 Leveraging Apollo

Re: [flexcoders] Re: Socket communications in Flex

2009-02-15 Thread Guy Morton
Firewall? Is the port you're using open? Is the data event firing at all? If so, what's in it? If not, either your server is not serving data like you think it is, or the data can't get to your flex app because there's something in the way. On 16/02/2009, at 3:50 AM, markgoldin_2000

Re: [flexcoders] DYNAMIC LINKBUTTONS styleNames.

2009-02-15 Thread - -
Hi Tracy, I have a little more complicated situation... My linkButtons are now created with actionScript (addChild). I set their IDs before adding them to their parent. My action script also fills up my Array of linkButton IDs called buttons. [Bindable]privatevarbuttons:Array = newArray(); {

[flexcoders] Disabling copy with dragDrop/dragEnabled

2009-02-15 Thread Tim Rowe
Currently an app I'm working on has a traditional two-column set of lists - on the left our unassigned items, on the right the assigned ones. Flex allows you to drag features from one to the other, and these datasets are bound, so it's all handled internally, but unfortunately Flex/Air also

[flexcoders] E4X help?

2009-02-15 Thread flexaustin
Is it possible to get the value of type from this XML? node id=2 data key=nameEd/data data key=typeM/data /node #8722; node id=3 data key=nameChristiaan/data data key=typeM/data /node So in this example end up with M for both?

Re: [flexcoders] E4X help?

2009-02-15 Thread Josh McDonald
Not sure exactly what you mean. Have you tried this: var typeNodes : XMLList = node.data.(attribute(key)==type); -Josh On Mon, Feb 16, 2009 at 9:58 AM, flexaustin flexaus...@yahoo.com wrote: Is it possible to get the value of type from this XML? node id=2 data key=nameEd/data data

[flexcoders] HOW?: DnD within grid to move AND have DnD from the grid to list be a copy.

2009-02-15 Thread David Kramer
Hey folks, I need some guidance/solution to a Drag and Drop scenario... I have a list and a grid. You can drag and drop from the grid to the list, and you can drag and drop within the grid to change the sort order. However, If you drag and drop within the grid it does an automatic copy instead of

[flexcoders] [SebCoverFlow] opacity/alpha on non-selected items in the array

2009-02-15 Thread David Kramer
Anyone know how to change the opacity/alpha of the non-selected items (to be grayed out) when rendered in Seb's CoverFlow? Thanks! Dave

RE: [flexcoders] DYNAMIC LINKBUTTONS styleNames.

2009-02-15 Thread Tracy Spratt
...set their IDs... That does not work in actionscript, only in mxml. You need to take the reference from addChild, and put in your array. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com

[flexcoders] RE: Disabling copy with dragDrop/dragEnabled

2009-02-15 Thread Alex Harui
Do you need to drag outside of Flex? If not, I think there's documentation on how to use the non-AIR mx.managers.DragManager which should give you better control. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From:

[flexcoders] RE: Dictionary memory leak

2009-02-15 Thread Alex Harui
I don't know of any leaks. Got a bug report? Test case? Most common problem is not understanding that only the keys are weak referenced. The values are strong references. Var obj:Object Var dict:Dictionary dict[obj] = 1; // weak reference dict[1] = obj; // strong reference and memory leak

Re: [flexcoders] RE: Dictionary memory leak

2009-02-15 Thread Josh McDonald
I use Dictionary as a non-leaking map all over the place and I definitely don't have any problems with it (Player 10, Mac). -Josh On Mon, Feb 16, 2009 at 4:00 PM, Alex Harui aha...@adobe.com wrote: I don't know of any leaks. Got a bug report? Test case? Most common problem is not

RE: [flexcoders] Arrow on Multiple Column's Header in Flex2 DataGrid

2009-02-15 Thread Alex Harui
Custom headerrenderer. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Dharmendra Chauhan Sent: Sunday, February 15, 2009 9:18 AM To:

Re: Re: [flexcoders] AIR Application is not Appearing

2009-02-15 Thread verma . lucky
Hello Kevin, Yes, you are right I am using SDK 3.2. I have changed the namespace to 1.5 in App xml but still it's not appearing on new machine. Pls tell me what to do. Best, Ashish On Feb 14, 2009 9:27pm, Kevin Benz kb...@passalongnetworks.com wrote:

[flexcoders] Re: HOW?: DnD within grid to move AND have DnD from the grid to list be a copy.

2009-02-15 Thread dmkramerica
Got it. Ctrl+drag. Duh. --- In flexcoders@yahoogroups.com, David Kramer kramer.da...@... wrote: Hey folks, I need some guidance/solution to a Drag and Drop scenario... I have a list and a grid. You can drag and drop from the grid to the list, and you can drag and drop within the grid to

[flexcoders] Re: DYNAMIC actionscript child layout.

2009-02-15 Thread sunild999999
In Actionscript, you can use the percentWidth and percentHeight properties to specify width and height of your components. --- In flexcoders@yahoogroups.com, sailorsea21 sailorse...@... wrote: Hi everyone, when I create my layout with mxml components, my layout is dynamic. If I resize my

[flexcoders] Re: Showing grid in line series graph

2009-02-15 Thread sunild999999
You need to specify a Stroke to use for the grid lines. You can make the Stroke for the grid lines bolder by setting the weight property of the Stroke to a number greater than 1. If you view the source of this example, you can see one way of doing this:

Re: [flexcoders] E4X help?

2009-02-15 Thread claudiu ursica
node.da...@key == type ? If U want both values you should iterate ... Claudiu From: flexaustin flexaus...@yahoo.com To: flexcoders@yahoogroups.com Sent: Monday, February 16, 2009 1:58:46 AM Subject: [flexcoders] E4X help? Is it possible to get the value of

RE: [flexcoders] RE: Dictionary memory leak

2009-02-15 Thread Gregor Kiddie
Sweet, and I can't find the reference I'd made to it previously, which means it was all in my head or a mysterious conspiracy. I'd probably vote for the former! Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London