[flexcoders] Need to save Data in a database

2009-05-11 Thread Shabir Gilkar
I have a form in which i have taken Employee information in Flex builder 3 I need to first save this data in a database and then displaying this data in a datagrid. Can any body help? How to do that? -- With Regards Shabir Ahmad Gilkar Srinagar Kashmir JK Voice: +91 9419942501 email:

[flexcoders] Server Settings

2009-05-11 Thread Shabir Gilkar
Hi flexers! I have a Flex3 app and i have taken employee details fields as my required fields. I need to save this data now in a database. during first creation of my project i haven't defined the server settings. Now how to do that for my already existing project. -- With Regards Shabir

[flexcoders] Re: can I get flv duration metadata without playing the flv file?

2009-05-11 Thread hoytlee2000
I've tried this code below in a labelFunction for a dataGrid column where the datafield is sourcePath (the path to the flv file) var nc:NetConnection = new NetConnection(); nc.connect(null);

RE: [flexcoders] Source could not be found.... when I CTRL-CLICK on a chart Class???

2009-05-11 Thread Gregor Kiddie
Updating to a new sdk is what usually breaks the link for me, did you update your sdk when you did an update? Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577 Registered in

[flexcoders] CollectionEvent and Hierarchical Data ArrayCollection

2009-05-11 Thread grg_blls
Hi all, Is it that adding an event listener as: addEventListener(CollectionEvent.COLLECTION_CHANGE to ArrayCollection representing hierarchical data, will not work? This works fine in a flat data structure acting as dataProvider to ADG, but I can't get it work if this data structure is

[flexcoders] Dynamicaly shrink expand flex application

2009-05-11 Thread yossi.baram
Hi helper, Can I set my DataGrid to dynamicaly shrink expand as the browser changes its width? The flex engine expect width height in pixels when building the swf and not in %, thats what makes the swf static size, Can I make the swf to be of percentage size in the page? Thanks Jo

RE: [flexcoders] Re: drag drop tree to tree onto node, not between nodes

2009-05-11 Thread Yves Riel
Thanks Alan, I was about to refer to the archive but you beat me to it. http://www.mail-archive.com/flexcoders@yahoogroups.com/msg117508.html And to avoid any confusion ... Yves is a male name ;-) From: flexcoders@yahoogroups.com

[flexcoders] Flex builder and debugger

2009-05-11 Thread knottbrian
I guys I'm new to Flex and getting my feet wet. The issue I have at the moment is that the debugger does not work. I have installed the debug versiojn of the flash player (10,0,22,87) but it will not connect to Flex builder (3.0.2.214193). Flex Builder returns a message saying you need to

[flexcoders] IP Mapping FVNC

2009-05-11 Thread venkat eswar
I ahve done remote desktop feature using FVNC.It works inside our network.I want to know whether it will work outside our network.I didnt test it outside our network.That means will there be any mapping issues(between public ip and private ip).Please help me to solve my doubt.

[flexcoders] Re: Form layout question

2009-05-11 Thread valdhor
Can you show some code? --- In flexcoders@yahoogroups.com, markgoldin_2000 markgoldin_2...@... wrote: Somehow labels in my form are all left aligned, while according to this: Aligning and spacing Form container children All Form container labels are right-aligned, and all children are

[flexcoders] Re: Form layout question

2009-05-11 Thread markgoldin_2000
Sure. Here: mx:Form width=60% id=listterms horizontalGap=1 mx:FormItem direction=horizontal mx:Label text=Style color=#00/ mx:TextInput id=style text={pricelist.style}

Re: [flexcoders] Re: Form layout question

2009-05-11 Thread Charles Parcell
You do not have to make a separate label tag for your form items. In addition, FormItem can be styled using labelStyleName. Your TextInput is styled as normal. mx:FormItem direction=horizontal label=Style horizontalAlign=left mx:TextInput id=style

[flexcoders] Apply SDK changes

2009-05-11 Thread markgoldin_2000
If I change a line or two in SDKs source code how do I apply these changes to my project? Thanks

[flexcoders] Re: Form layout question

2009-05-11 Thread valdhor
The addition of the label is screwing it up. Just add the label property to the FormItem tag... mx:FormItem label=The Label: fontWeight=bold mx:TextInput id=anInput width=100 fontWeight=normal/ /mx:FormItem --- In flexcoders@yahoogroups.com, markgoldin_2000 markgoldin_2...@... wrote:

[flexcoders] Re: Form layout question

2009-05-11 Thread markgoldin_2000
A, I see, thanks. --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: The addition of the label is screwing it up. Just add the label property to the FormItem tag... mx:FormItem label=The Label: fontWeight=bold mx:TextInput id=anInput width=100 fontWeight=normal/

[flexcoders] Looking for syntatic sugar for getting an Class reference based on String

2009-05-11 Thread Todd
I have a long list string to graphic class mappings that are contained within a gigantic switch statement: case icon_1: selectedIcon = icon_1; break; case icon_2: selectedIcon = icon_2; break; I'm looking for a way to get an instance of an Class reference based on a string. I'm not

[flexcoders] Re: Looking for syntatic sugar for getting an Class reference based on String

2009-05-11 Thread Todd
I don't know what I was smoking, but my solution actually works as I'd expect. The following works (I was just off a bit in my syntax): var icon1:Class = getDefinitionByName(icon1) as Class; var currentIcon:Object = icon1 as Object; --- In flexcoders@yahoogroups.com, Todd tpreka...@...

[flexcoders] Source Not Found in Flex Builder Debug

2009-05-11 Thread markgoldin_2000
When I run my app from the Builder I am getting an SDK run-time error that does not open a source file but instead shows: Source not found How do I fix it? Thanks

Re: [flexcoders] Source Not Found in Flex Builder Debug

2009-05-11 Thread Daniel Freiman
It could be two things. You could be using a component/library that isn't open source (such as the flash.* packages or a third party component) or sometimes using the Flex RSL does this. If it's a standard open source Flex class, try incorporating the Flex code into your project instead of using

[flexcoders] Re: Source Not Found in Flex Builder Debug

2009-05-11 Thread markgoldin_2000
incorporating the Flex code into your project How do I do that? --- In flexcoders@yahoogroups.com, Daniel Freiman freima...@... wrote: It could be two things. You could be using a component/library that isn't open source (such as the flash.* packages or a third party component) or sometimes

RE: [flexcoders] Need to save Data in a database

2009-05-11 Thread Tracy Spratt
What is you server-side platform? .net? PHP?, Java? ColdFusion?, etc. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Shabir Gilkar Sent: Monday, May 11, 2009 2:56 AM To: flexcoders

RE: [flexcoders] Dynamicaly shrink expand flex application

2009-05-11 Thread Tracy Spratt
Yes, you can set the height and width to percentages and the DataGrid will expand and shrink with its container. Changing the swf size in the html wrapper will take some javascript. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com

RE: [flexcoders] Dynamicaly shrink expand flex application

2009-05-11 Thread Tracy Spratt
Yes, you can set the height and width to percentages and the DataGrid will expand and shrink with its container. Changing the swf size in the html wrapper will take some javascript. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com

RE: [flexcoders] Re: drag drop tree to tree onto node, not between nodes

2009-05-11 Thread Tracy Spratt
Thanks for that post, Yves. I may have to go back an update some of my previous apps. But I take exception to the idea that names can imply gender. ;) Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com

[flexcoders] Extending ColumnSeries to force labels to always display vertically.

2009-05-11 Thread sailorsea21
Hi everyone, is it possible to create a class which extends ColumnSeries to force all the labels in my ColumnChart to rotate vertically? I am unable to accomplish this... Any thoughts or ideas??? Thanks everyone.

RE: [flexcoders] Source Not Found in Flex Builder Debug

2009-05-11 Thread Jake Churchill
It probably means the error is from a class in a SWC file. Are you importing any SWC files? This happens to me if I screw something up in Cairngorm or FlexLib (both SWC files) Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733

[flexcoders] Re: Source Not Found in Flex Builder Debug

2009-05-11 Thread markgoldin_2000
The error I am getting is a run-time error from SDK. --- In flexcoders@yahoogroups.com, Jake Churchill j...@... wrote: It probably means the error is from a class in a SWC file. Are you importing any SWC files? This happens to me if I screw something up in Cairngorm or FlexLib (both SWC

Re: [flexcoders] Re: Source Not Found in Flex Builder Debug

2009-05-11 Thread Daniel Freiman
Project Properties - Flex Build Path - Library Path - Framework Linkage - Merged Into Code On Mon, May 11, 2009 at 11:17 AM, markgoldin_2000 markgoldin_2...@yahoo.com wrote: incorporating the Flex code into your project How do I do that? --- In flexcoders@yahoogroups.com

[flexcoders] Re: Source Not Found in Flex Builder Debug

2009-05-11 Thread markgoldin_2000
Well, that what it says. I am not modifying that for any of my projects. --- In flexcoders@yahoogroups.com, Daniel Freiman freima...@... wrote: Project Properties - Flex Build Path - Library Path - Framework Linkage - Merged Into Code On Mon, May 11, 2009 at 11:17 AM, markgoldin_2000

[flexcoders] Loader coming back with incorrect dimensions

2009-05-11 Thread Jonathon Stierman
Has anyone run across a Loader instance incorrectly reporting the width/height of the SWF file it is loading? Information about the application: 1. The SWF files I am loading are generated via a FileExport command out of Adobe Illustrator. This causes it to come out as an AVM1Movie. 2. I am

Re: [flexcoders] Re: Source Not Found in Flex Builder Debug

2009-05-11 Thread Daniel Freiman
What actual class is throwing the error? On Mon, May 11, 2009 at 11:55 AM, markgoldin_2000 markgoldin_2...@yahoo.com wrote: Well, that what it says. I am not modifying that for any of my projects. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Daniel Freiman

Re: [flexcoders] Re: Source Not Found in Flex Builder Debug

2009-05-11 Thread Daniel Freiman
Sorry, check that. What actual class is not showing the source? On Mon, May 11, 2009 at 11:57 AM, Daniel Freiman freima...@gmail.comwrote: What actual class is throwing the error? On Mon, May 11, 2009 at 11:55 AM, markgoldin_2000 markgoldin_2...@yahoo.com wrote: Well, that what it

[flexcoders] Dictionary class?

2009-05-11 Thread luvfotography
What are some good uses for the dictionary class? I haven't used it yet, but I'm sure if I knew more, I might. . . .

RE: [flexcoders] Loader coming back with incorrect dimensions

2009-05-11 Thread Tracy Spratt
There are timing issues with SWFLoader. Perhaps the loaded swf has not completed its layout when you check the size? A loaded swf is not ready on the loader.complete event, you must wait for the applicationComplete event. Tracy Spratt, Lariat Services, development services available

RE: [flexcoders] Loader coming back with incorrect dimensions

2009-05-11 Thread Jonathon Stierman
Thanks, Tracy -- Does that still apply even when the loaded SWF is not built with the Flex framework? Note - I am actually not using the Flex framework at all in this project. It's a pure AS3 application. Sorry, I forgot to mention that. My specific code looks like this: var

RE: [flexcoders] Loader coming back with incorrect dimensions

2009-05-11 Thread Tracy Spratt
I do not really know, but it might be worth investigating. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Jonathon Stierman Sent: Monday, May 11, 2009 12:21 PM To:

[flexcoders] Re: Source Not Found in Flex Builder Debug

2009-05-11 Thread markgoldin_2000
I have added a path to Flex SDK under project's Run/Debug Settings Edit /Source. Now I see source code. Actual class is AdvancedDataGridBaseEx from SDK 4. --- In flexcoders@yahoogroups.com, Daniel Freiman freima...@... wrote: Sorry, check that. What actual class is not showing the source?

Re: [flexcoders] ADG header appearance

2009-05-11 Thread Richard Rodseth
Thanks! On Sun, May 10, 2009 at 9:51 PM, Tracy Spratt tr...@nts3rd.com wrote: Set sortExpertMode=”true”. Not exactly intuitive, is it? Tracy Spratt, Lariat Services, development services available -- *From:* flexcoders@yahoogroups.com

[flexcoders] AmFast Python remoting framework version 0.3 Released.

2009-05-11 Thread limscoder
AmFast http://code.google.com/p/amfast/ is Flash remoting package for Python. AmFast http://code.google.com/p/amfast/ version 0.3 has been released. In addition to the changes listed below, the documentation http://code.google.com/p/amfast/wiki/Documentation has been updated, and several new

Re: [flexcoders] Dictionary class?

2009-05-11 Thread Alan Klement
One case is if you don¹t want to use loops. On 5/11/09 12:11 PM, luvfotography ygro...@all-digital-links.com wrote: What are some good uses for the dictionary class? I haven't used it yet, but I'm sure if I knew more, I might. . . .

RE: [flexcoders] Dictionary class?

2009-05-11 Thread Tracy Spratt
Dictionary is similar to Associative Aarray (Object, hashtable) except that it can use an object reference as a key. You might use to associate some data, perhaps an isModified flag with some instance of a class, perhaps an item in a dataProvider. Tracy Spratt, Lariat Services,

Re: [flexcoders] Dictionary class?

2009-05-11 Thread Manish Jethani
On Mon, May 11, 2009 at 9:41 PM, luvfotography ygro...@all-digital-links.com wrote: What are some good uses for the dictionary class? I haven't used it yet, but I'm sure if I knew more, I might. . . . One of the things I use Dictionary for is for storing weak references to objects.

Re: [flexcoders] Apply SDK changes

2009-05-11 Thread Rick Winscot
In the Flex SDKs source? Are you monkey patching (underridding) a control / class? ...a little more info about your setup would be helpful. Rick Winscot On 5/11/09 9:49 AM, markgoldin_2000 markgoldin_2...@yahoo.com wrote: If I change a line or two in SDKs source code how do I

Re: [flexcoders] Loader coming back with incorrect dimensions

2009-05-11 Thread Manish Jethani
On Mon, May 11, 2009 at 9:27 PM, Jonathon Stierman jonat...@wolfmotell.com wrote: Has anyone run across a Loader instance incorrectly reporting the width/height of the SWF file it is loading? I think the original width/height of the loaded content is always available through the LoaderInfo

[flexcoders] Re: Apply SDK changes

2009-05-11 Thread markgoldin_2000
Oh, sure. Iam trying to recompile one of my projects currently written for 3.3 into SDK 4. While I was able to set things up to get thru compiling I am getting a run-time error when an application uses ADG. Here is the error: TypeError: Error #1007: Instantiation attempted on a non-constructor.

[flexcoders] Chart tooltip issue

2009-05-11 Thread richmcgillicuddy
Using a standard line chart with a separate data tip renderer dataTipRenderer=SimpleDataPointTip. I don't currently move it or modify it at all except to place data in it. The problem is that the tooltip goes off the screen for the data points on the far right. Is there something I need to set

[flexcoders] Re: scrollbar inside 100% sized background image in container?

2009-05-11 Thread gwangdesign
Hi Charles, Thanks. I finally get it to work. I didn't get it at first since I thought I have to use the scrollbars on the outer Canvas, as opposed to the inner Canvas. Besides this, you will have to set the percentage width and height both to 100% for the inner Canvas to get it work right.

[flexcoders] Custom component itemRenderer

2009-05-11 Thread kpjj31
Is it possible to pass data into an itemRenderer that is not apart of the dataProvider. The component I am using as an does not seem to except bindable data when it's used as an item Renderer. coursedays and unittypes are both arrayCollections from remoteObjects. The itemRender is using data.

Re: [flexcoders] Custom component itemRenderer

2009-05-11 Thread Jeffry Houser
kpjj31 wrote: Is it possible to pass data into an itemRenderer that is not apart of the dataProvider. Yes, but I would not consider it trivial. You must extend the component creating the itemRenderers and modify it to pass in your additional data. Most itemRenderers also have a

RE: [flexcoders] using as breaks data binding?

2009-05-11 Thread Alex Harui
I didn't get any warnings like you did so I couldn't investigate further. 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 Pan Troglodytes Sent: Saturday,

RE: [flexcoders] Custom component itemRenderer

2009-05-11 Thread Tracy Spratt
Speaking only from what I have read here, I believe if you set the renderer using ActionScript and the ClassFactory, you can set properties on the renderer. Ah, from one of alex's posts: If you look at ClassFactory, it has a properties map that will copy any properties in the map to each

Re: [flexcoders] Custom component itemRenderer

2009-05-11 Thread Jeffry Houser
I didn't know that, definitely gonna have to check that out. Tracy Spratt wrote: Ah, from one of alex's posts: If you look at ClassFactory, it has a properties map that will copy any properties in the map to each instance. -- Jeffry Houser, Technical Entrepreneur Adobe Community Expert:

[flexcoders] Component inheritance is now available in Flex 3.0

2009-05-11 Thread uroojy2002
Just checking if inheritance is supported in FLEX 3.0. I keep getting: multiple sets of visual children have been specified

[flexcoders] Component inheritance is now available in Flex 3.0

2009-05-11 Thread uroojy2002
Is there custom component inheritance in FLEX 3.0?

RE: [flexcoders] Component inheritance is now available in Flex 3.0

2009-05-11 Thread Tracy Spratt
Yes. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of uroojy2002 Sent: Monday, May 11, 2009 3:27 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Component inheritance is now

[flexcoders] Tracy's search tree solution question ...

2009-05-11 Thread Mic
http://www.cflex.net/showFileDetails.cfm?ObjectID=554 I got the example to work perfectly, but in my code where the xml is more complex, it only selects/highlights the last match. allowMultipleSelection = true but when I step through I can see that the array tree.selectedItems only holds the

[flexcoders] chart presentation problem

2009-05-11 Thread Vikram Singh
Hello Flexers, I am representing data using Chart and want to display Horizontal axis label at some specific angle rotation. i have try this. but not getting perfect output. Horizontal axis label are of long text. mx:ColumnChart id=DataChart showDataTips=true width=100% height=100%