[flexcoders] Re: how to get data from DataGrid

2006-09-08 Thread keishichi2001
Thx Tracy. I've solved it using ArrayCollection. KC -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to:

Re: [flexcoders] Re: Launching App Without Toolbars, Address Bar, etc.

2006-09-08 Thread Nick Collins
You do it with _javascript_. Something like the followingwindow.open('somepage.htm','somewindow','toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=1,width=800,height=600'); On 9/7/06, jburkett7 [EMAIL PROTECTED] wrote: Hello Everyone Sounds

[flexcoders] Re: Fw: WatcherSetupUtil issue

2006-09-08 Thread maxym.hryniv
Thank you for reply. I described allready that I create flex-library (.swc) for every component and I get needed classes using ApplicationDomain.getDefinition(). So SystemManager doesn't know about these classes and doesn't initialize binding for them. I had conversation with Manish Jethani

Re: [flexcoders] Public getter, private setter?

2006-09-08 Thread Paul Andrews
Matt, what has made Adobe depart from what is standard behaviour in other languages. I'm having trouble understanding any reason for this than perhaps an implementation issue (ie, we would have preferred to support independent visibility but we preferred to get it out the door without

[flexcoders] Re: Dynamic assign itemRenderer to DataGridColumn

2006-09-08 Thread bhaq1972
you will need to do little bit more. try this var textbox:ClassFactory = new ClassFactory(TextInput); textbox.properties = { text:Write something here... }; columna.itemRenderer = textbox; columna.rendererIsEditor=true; etc or you could always put write something here... into a global

Re: [flexcoders] Re: Flash Quiz in Flex

2006-09-08 Thread Samuel Reuben
Have you been able to solve this problem by modifying the file? -sam On 9/6/06, flexnewbie06 [EMAIL PROTECTED] wrote: thanks for your thoughts...it is just a simple flash 8 quiz it wasn't made with flex.--- In flexcoders@yahoogroups.com, Samuel Reuben [EMAIL PROTECTED] wrote: I'm just

[flexcoders] Problems getting started with flashvars and Application.application.parameters

2006-09-08 Thread yaagcur
I'm trying to get started with passing paramaters to a flex project initially based on livedocs Using the Application.application.parameters object and Using flashVars as source the mxml for project applicationParameters is mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;

Re: [flexcoders] Dynamic Checkboxes

2006-09-08 Thread Phil Marston
Personally, and I'm no expert, my first thought would be to look at using the checkBoxes as an itemRenderer in one of the List based components you would have their properties determined by the dataProvider for the List and when you make changes to the dataProvider the checkBoxes as

Re: [flexcoders] AS3 Project directory structure question

2006-09-08 Thread Phil Marston
I hope I'm not stating the obvious here, but have you declared the namespace in the application tag? e.g. mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:myproject="com.mysite.projectname.*" / mx:HBox myproject:MyComponent / /mx:HBox /mx:Application HTH Phil Dr Van

[flexcoders] Re: Cairngorm... Where should this go?

2006-09-08 Thread grahampengelly
Hi BjornThanks for taking the time to throw some code into the discussion. The solution I ended up implementing was similar to the one you suggest. In my case the validation was simple, the user either supplies a number of answers to a question that is between the minimum and maximum allowed or

[flexcoders] Macromedia Flex 2.0 Charts Explorer

2006-09-08 Thread Pramod
Hi All, I found this link and for some strange reasons it dosent load any content in my system. Is it got something to do with the Browser settings? The link is as follows - http://weblogs.macromedia.com/flex_samples/charts_explorer/explorer.html Regards, Pramod -- Flexcoders Mailing List

Re: [flexcoders] ComboBox Multiple Selection

2006-09-08 Thread Samuel Reuben
Hi Daniel, The combo box was not designed to do what you are trying to do. I suggest that you use a PopUpButton with a list popped up and you can set the allowMultipleSelection=true for the list. You will have to handle what happens when you make a selection(because everytime you select an

Re: [flexcoders] Re: Problem with Sortable Draggable DataGrid

2006-09-08 Thread Harish Sivaramakrishnan
This issue has been logged into our bugbase. Will get back to you once we have a resolution on the same.ThanksHarishOn 9/8/06, Harris Reynolds [EMAIL PROTECTED] wrote: Here's another question... when I drag a row to a different spot in the datagrid... how can

[flexcoders] Re: IE Only: Error #2032 (Flex 2.0)

2006-09-08 Thread vitopn
What exactly were the guilty headers? What headers did you replace them with? Thanx, -Vito --- In flexcoders@yahoogroups.com, dadrobson [EMAIL PROTECTED] wrote: RESOLVED! The issue had to do with HTTP cache control headers generated by the Spring framework. These headers got past

[flexcoders] Timeline Slider

2006-09-08 Thread Geoffrey
I'm trying to figure out how to make a custom slider... at least I think it's going to be a custom slider. What I want is a slider that allows me to select a time range based on a 24 hour clock. Here are the requirements: -Two thums on the slider(min, max) -Min value of 00:00:00 -Max value of

[flexcoders] [Charts] Lineseries property showDataEffect

2006-09-08 Thread adrien.schwartzentruber
Good morning, I have a problem with a Lineseries object because I don't know how affect the property showDataEffect. (I use Flex 2.0) Part of code : mychart.series = null; var line:LineSeries = new LineSeries(); line.xField=String(event.result.series.lineseries.xfield);

Re: [flexcoders] Re: Flex + .NET Web Services irritations

2006-09-08 Thread Sam Shrefler
John: You might want to also check out JSON + .NET + Flex. I've written a tiny little little tutorial to help get people started at: http://blog.shrefler.net/?p=5 Sam On 9/5/06, John C. Bland II [EMAIL PROTECTED] wrote: FLIPPIN' NAMESPACEI set the namespace and I'm rollin'! Now I

[flexcoders] Binding to static properties

2006-09-08 Thread Daniel Wabyick
Does anyone know if its possible to bind to static properties of a class? I can't seem to get this to work. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo!

[flexcoders] Re: Sorting data grid that has paging.

2006-09-08 Thread vuleman
In order for you to sort and still have paging, you will need to do the sort server-side. Everytime you click sort, you will need to disable the default client-side sorting, and send the sort request to the server. Paging is built into Flex Data Services (FDS), but it is not a real paging

Re: [flexcoders] Embeding Font unicodeRange Bug?

2006-09-08 Thread Daniel Wabyick
I found this bug as well ...If you define a Unicode range in your flex-config file, it will work. e.g.. languages language-range langBasic Latin/lang

Re: [flexcoders] Array Serialization .NET Web Service

2006-09-08 Thread Sam Shrefler
Graham: Have you looked into JSON? It will take care of the serialization/deserialization for you. I've posted a tutorial that could help you get started Hope it helps http://blog.shrefler.net/ Sam On 9/7/06, grahampengelly [EMAIL PROTECTED] wrote: HiI have a .NET web service I am

[flexcoders] movable object?

2006-09-08 Thread Thor
do anyone got a good source on how to make objects movable under runtime? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on

[flexcoders] Re: Pre-compiled applications unable to access FDS based message queues

2006-09-08 Thread dadrobson
I'm having a similar problem, but in my case the path to services-config.xml is set. The app works fine with the web-tier compiler, but when I pre-compile it, I get the error pasted below. There is one line in the error message (below) that caught my eye. It's the message broker URI:

[flexcoders] Re: Array Serialization .NET Web Service

2006-09-08 Thread ben.clinkinbeard
Hi Graham, While I've not experienced this exact problem, I did have a couple of issues very very similar to it, involving serializing an AS array into repeated nodes in the SOAP call. Adobe's support team has confirmed that the 3 issues I've run into are in fact bugs, and engineering is working

[flexcoders] Re: Launching App Without Toolbars, Address Bar, etc.

2006-09-08 Thread jburkett7
Nick: I thought it could be done with javascript, but what I really wanted to know was how or if it could done from FlexBuilder. Can it? Thanks, J --- In flexcoders@yahoogroups.com, Nick Collins [EMAIL PROTECTED] wrote: You do it with javascript. Something like the following

RE: [flexcoders] Newbie

2006-09-08 Thread Steven Webster
Your first post to the list is moderated; then once you have posted once, your posts should go straight through - it's a simple anti-spam measure. However, for some reason some people's mail clients don't allow Yahoo! to recognise them the 2nd, 3rd, etc time they post -- so every post

[flexcoders] Re: Array Serialization .NET Web Service

2006-09-08 Thread grahampengelly
Thanks Ben SamI read the thread with the problems that you had Ben and wandered if mine was part of the same set of bugs. I have also now read your blog post Sam on the JSON set up which looks interesting. I'll have a further noodle and apply one of your suggestions.I use web services quite

Re: [flexcoders] Public getter, private setter?

2006-09-08 Thread Christian Edward Gruber
Hey Paul, I can't speak for Adobe, but in many other languages, accessors/mutators are simply conventions, not actual language constructs.  Java, for example, has no understanding that a method is an accessor.  It is merely a "bean" convention that getFoo/setFoo are getters and settors

Re: [flexcoders] Newbie

2006-09-08 Thread Phil Marston
Possibly a fluky perspective - there are over 4000 members I think - I see over 100 messages a day so the list is very busy and things get missed or even forgotten. Also sometimes things just seem to get ignored when it's clear that someone hasn't even bothered to read the most basic

[flexcoders] Re: Dynamic assign itemRenderer to DataGridColumn

2006-09-08 Thread Daniel
That was really helpful! I thank you for that. However, when I do this: - var dataprovider:Array = [{label:algoA1,data:algoA1},{label:algoB1,data:algoB1}]; columna.rendererIsEditor = true; var combo:ClassFactory = new ClassFactory(ComboBox); combo.properties =

RE: [flexcoders] File Download: Can scriptTimeLimit only be set globally?

2006-09-08 Thread Stacy Young
Hi Michael, I’m not sure I follow …any chance you could provide some additional detail? I was thinking of trying a setInterval function while the client awaits download …not sure yet if that would fool the player into thinking its not hung. Stace From:

[flexcoders] SOS! Fatal FDS Error!!!

2006-09-08 Thread dreuimar
Hey everyone, The production team at my work is flipping out at the fact that my FDS application keeps losing data. The application allows insertation of keywords and ads into a datagrid. In testing, we usually go in, test adding stuff, refresh, and check to see if the data's still there. This

[flexcoders] Re: Dynamic assign itemRenderer to DataGridColumn

2006-09-08 Thread bhaq1972
Not surecan you create a little test app, to demonstrate the problem (doesnt have to be a dynamically created datagridcolumn). are you saying the combobox renderer should be set to the datagrid's dataprovider? if that the case, one solution might be to create your own myComboBox (extending

RE: [flexcoders] Re: Pre-compiled applications unable to access FDS based message queues

2006-09-08 Thread Peter Watson
You need to provide mxmlc with the context root for the FDS application -compiler.context-root context-path Ie. compiler.context-root /flex Then you should see the correct path for the message broker endpoint in the console output. regards, peter From:

Re: [flexcoders] File Download: Can scriptTimeLimit only be set globally?

2006-09-08 Thread Michael Schmalle
Ok,Before I go into detail, I use it for actual procssesing in the player.I am a bit confused on what you would use the setInterval() for.How about you just describe what exactly your program flow is so I can see if what I am saying applies to your situation. Peace, MikeOn 9/8/06, Stacy Young

[flexcoders] synchronization between server and client classes

2006-09-08 Thread rahul_asanikar
Hello everyone, I am a Java/Php programmer and relatively new to flex. I have played around actionscript classes and event handling. I wonder if there is a way to avoid mannual data synchronization between server side beans and action script beans. I feel this is double work and should be

RE: [flexcoders] File Download: Can scriptTimeLimit only be set globally?

2006-09-08 Thread Stacy Young
I’m using FileReference to initiate a file download from a servlet. Server-side in some cases may take 15+ mins to construct the file/report After a certain amount of secs (I think 30) flash player throws an exception that a script timeout has occurred Process

Re: [flexcoders] Re: Pre-compiled applications unable to access FDS based message queues

2006-09-08 Thread Mete Atamel
As somebody already pointed out, you need to use --compiler.services path_to_services-config.xml during compilation.-Metedadrobson [EMAIL PROTECTED] wrote: I'm having a similar problem, but in my case the path to services-config.xml is set. The app works fine with

Re: [flexcoders] Re: Launching App Without Toolbars, Address Bar, etc.

2006-09-08 Thread Abdul Qabiz
I don't think FlexBuilder does it by default. But I am sure you can extend FlexBuilder by having some custom html templates...-abdulOn 9/8/06, jburkett7 [EMAIL PROTECTED] wrote: Nick: I thought it could be done with _javascript_, but what I really wanted to

Re: [flexcoders] movable object?

2006-09-08 Thread Abdul Qabiz
What you mean movable? Translation of sprites (visual objects)..You can move objects in absolute layout containers f.ex Canvas..Each visual object have x, y properties and you can change it to translate it to new position. You can use timer or enterFrame event to update the position of

Re: [flexcoders] File Download: Can scriptTimeLimit only be set globally?

2006-09-08 Thread Michael Schmalle
Ah, I see, so you are waiting for a result handler right?Well, I don't think this would help becasue I was using proccessing in the player, like cutting loops into sectors.What exact part of the app is hanging Flash?, I am playing dumb here, is it the result handler? Peace, MikeOn 9/8/06, Stacy

[flexcoders] Re: Pre-compiled applications unable to access FDS based message queues

2006-09-08 Thread dadrobson
Mete: As I noted in the first line of my post, I *did* set the path to services-config.xml. But the issue persists. Any other thoughts? Jim --- In flexcoders@yahoogroups.com, Mete Atamel [EMAIL PROTECTED] wrote: As somebody already pointed out, you need to use --compiler.services

[flexcoders] ControlBar

2006-09-08 Thread gustavo.saume
Hello all, is there a way to create a controlBar in a script and assign it to a Panel?? i´ve tryed the following with not success: mx:Panel xmlns:mx=http://www.adobe.com/2006/mxml; initialize=init (); layout=vertical width=100% height=100% mx:Script ![CDATA[

[flexcoders] Has anyone tried using a custom Component for a headerRender

2006-09-08 Thread rodneyjlucas
Instead of extending mx:Label I would like to extend something like mx:Grid. My goal is to dynamically change the text value/values by using a grid's spacing capabilities while keeping a single column in the parent DataGrid. Rodney -- Flexcoders Mailing List FAQ:

RE: [flexcoders] File Download: Can scriptTimeLimit only be set globally?

2006-09-08 Thread Stacy Young
To be honest at the moment I’m not sure what caused the script timeout exception …my last test actually worked (5 min download) Going to experiment some more and see if this was user error ;-) I appreciate the help! Stace From: flexcoders@yahoogroups.com

RE: [flexcoders] Why is import mandatory?

2006-09-08 Thread Franck de Bruijn
Ok, that explains. Its a pity though, especially if you want to do code generation. Thanks, Franck From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Thursday, September 07, 2006 10:42 PM To: flexcoders@yahoogroups.com

RE: [flexcoders] Why is import mandatory?

2006-09-08 Thread Franck de Bruijn
For sure, this will come in later versions of the Builder. H maybe not for sure, but I truly hope so! From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Robert Stuttaford Sent: Thursday, September 07, 2006 11:11 PM To:

RE: [flexcoders] Re: Pre-compiled applications unable to access FDS based message queues

2006-09-08 Thread Peter Watson
Jim, Did you see my reply before Metes? Ill repost You need to provide mxmlc with the context root for the FDS application -compiler.context-root context-path Ie. compiler.context-root /flex Then you should see the correct path for the message broker endpoint in the console

[flexcoders] Creating forms at runtime

2006-09-08 Thread kristian_wright2002
I'm trying to create a form based on certain restrictions that are returned from a ColdFusion CFC. I only want certain form elements to be rendered depending on these restrictions, and these restrictions will only be known at run time. Can anyone give me an example of how this might be achieved?

Re: [flexcoders] Re: Pre-compiled applications unable to access FDS based message queues

2006-09-08 Thread Mete Atamel
Ok. This is page 163 of Flex2 Build and Deploy guide: You must remember that the context root of an application is only valid in the context of a web application. If you are using the command-line compiler or the offline Flex Builder compiler, you must manually specify it using the context-root

RE: [flexcoders] Why is import mandatory?

2006-09-08 Thread Franck de Bruijn
Thanks, Matt. Im from the JAVA-area and there you dont need an import statement if you fully qualify your types. I more or less expected ActionScript to behave similarly. Good that you managed the wildcard thing, that helps in my case, although its a not-so-nice solution.

RE: [flexcoders] [Charts] Lineseries property showDataEffect

2006-09-08 Thread Ely Greenfield
showDataEffect is a style, not a property. so you need to setStyle(...) it. Also, don't push directly onto the chart series array. Instead, grab that value of series, push onto that, and reassign it back to series. See my earlier post on both topics. Ely. From:

[flexcoders] comparing substrings case sensitively?

2006-09-08 Thread Clare Todd
I'm trying to look for instances of characters in a String, using myString.indexOf() I was hoping to find there was a case sensitivity flag in there, but there isn't so it finds "Todd" in the string "My name is todd", which is not what I want in this specific index. Anyone have an easy way to

Re: [flexcoders] Data interpolation in ColumnSets

2006-09-08 Thread Tom Fitzpatrick
Bump. So, is it clear from this error message that this is the same bug, or is there a way around it? Thanks. - Tom Tom Fitzpatrick wrote: OK - assuming the right way to do this is to call the showDataEffect functon on the ColumnSet, here's the error message I receive: TypeError: Error

Re: [flexcoders] ControlBar

2006-09-08 Thread Abdul Qabiz
If control-bar is not last child of Panel in MXML, it is rendererd as normal children. Which means, ControlBar as control-bar in Panel is special case and handled differently.If you want to add control-bar to Panel using ActionScript, you need to follow these steps:- 1) Add controlBar instance

RE: [flexcoders] Data interpolation in ColumnSets

2006-09-08 Thread Ely Greenfield
Hi Tom. I'm not sure, but that actually doesn't look like it's the same problem. Can you send me a simple 1-file sample offline? Thanks. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom FitzpatrickSent: Friday, September 08, 2006 9:50 AMTo:

Re: [flexcoders] ControlBar

2006-09-08 Thread Rogerio Gonzalez
How about this way:?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute initialize=init(); mx:Script![CDATA[import mx.controls.Button;import mx.containers.ControlBar;private function init():void{ var btnSave:Button = new Button(); btnSave.label

Re: [flexcoders] Binding to static properties

2006-09-08 Thread Abdul Qabiz
Why would want to do that? Can you give the use-case?-abdulOn 9/8/06, Daniel Wabyick [EMAIL PROTECTED] wrote: Does anyone know if its possible to bind to static properties of a class? I can't seem to get this to work.

[flexcoders] Error 1009 in Flex 2

2006-09-08 Thread Greg Morphis
I'm playing around with a remote object and in the handleResult function Flex is giving me this 1009 error when I try to refer to the variable I assigned to the event.result. If I do Alert.show(event.result[0].QUESTION.toString()); then I get the right result. However if I assign event.result to a

[flexcoders] Setting breakpoints while debugging?

2006-09-08 Thread Douglas McCarroll
Hi All, As far as I can see there's no way to set a breakpoint once I've started debugging. Is this correct? If not, how can I do this? TIA! Douglas -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] Re: Error 1009 in Flex 2

2006-09-08 Thread thunderstumpgesatwork
event.result must not be an array. when you are assigning it as Array it is returning null. use the debugger to determine the actual datatype of event.result. I would guess it is an ArrayCollection, not an Array. But it could be some other kind of list or object too. (XMLList, etc). Hard to tell

[flexcoders] drawing api

2006-09-08 Thread Chad Callahan
I need to make a custom class that draws shapes but I cant seem to get the drawing api to work at all. In AS2 it was very simple, just using a beginFill and lineTos and wala. I see there are a lot of container classes (Sprite, DisplayObject, etc). How do I go about say just drawing a

[flexcoders] Re: Error 1009 in Flex 2

2006-09-08 Thread Geoffrey Williams
'event.result as Array' is returning null because event.result is not an Array. Is it an ArrayCollection or XML/XMLList perhaps? --- In flexcoders@yahoogroups.com, Greg Morphis [EMAIL PROTECTED] wrote: I'm playing around with a remote object and in the handleResult function Flex is giving me

Re: [flexcoders] Re: Error 1009 in Flex 2

2006-09-08 Thread Greg Morphis
Yeah, thats it.. it's not an Array, it's an Object.. once I changed that around it starting working fine. Thanks! On 9/8/06, thunderstumpgesatwork [EMAIL PROTECTED] wrote: event.result must not be an array. when you are assigning it as Array it is returning null. use the debugger to

[flexcoders] Re: Pre-compiled applications unable to access FDS based message queues

2006-09-08 Thread dadrobson
Peter and Mete: Thank you! You were right -the context root was the problem. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group

RE: [flexcoders] synchronization between server and client classes

2006-09-08 Thread Jeff Vroom
For Java, check out: http://joeberkovitz.com/blog/2006/04/14/xdoclet2-update Jeff From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of rahul_asanikar Sent: Friday, September 08, 2006 7:13 AM To: flexcoders@yahoogroups.com Subject:

[flexcoders] Re: Problems getting started with flashvars and Application.application.paramete

2006-09-08 Thread yaagcur
--- In flexcoders@yahoogroups.com, Adam Dorritie [EMAIL PROTECTED] wrote: On 9/8/06, yaagcur [EMAIL PROTECTED] wrote: I'm trying to get started with passing paramaters to a flex project initially based on livedocs Using the Application.application.parameters object and Using

[flexcoders] Re: ControlBar

2006-09-08 Thread gustavo.saume
Thanks everybody... i've solve it using the addChild method... but it has to be the last child in order to work properly. --- In flexcoders@yahoogroups.com, Rogerio Gonzalez [EMAIL PROTECTED] wrote: How about this way: ?xml version=1.0 encoding=utf-8? mx:Application

Re: [flexcoders] drawing api

2006-09-08 Thread Daniel Freiman
check the Graphics class. every DisplayObject has a graphics property which holds an instance of the class for that object.On 9/8/06, Chad Callahan [EMAIL PROTECTED] wrote: I need to make a custom class that draws shapes but I can't seem to get the drawing api to work at all.

RE: [flexcoders] Setting breakpoints while debugging?

2006-09-08 Thread Franck de Bruijn
Click the row in which you would like to have a breakpoint and press CTRL-SHIFT-B, or use Run-Toggle Breakpoint from the menu. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Douglas McCarroll Sent: Friday, September 08, 2006 7:05 PM To:

RE: [flexcoders] SOS! Fatal FDS Error!!!

2006-09-08 Thread Jeff Vroom
Are you using RTMP? Are you using the data management services or just doing this all via remote object? If you are using RTMP, by default, there is an idle subscription timeout on the channel of 20 minutes. At this point, the client should receive a fault event and though it

[flexcoders] Any way to define CategoryAxis label spacing?

2006-09-08 Thread klumikaze
I'm looking for a way to only display a few CategoryAxis labels (instead of all of them). Currently I have a labelFormat function that takes a unix timestamp, converts it to a shorter, more readable format, and then displays it on the horizontalAxis of the graph. The problem is that it's a time

RE: [flexcoders] drawing api

2006-09-08 Thread Matt Horn
One way to do it is to create a new UIComponent and then call addChild on it to add it to the display list: public function drawSomething():void { var circle:UIComponent = new UIComponent(); var xPos:Number = 100; var yPos:Number = 100;

RE: [flexcoders] Re: Problems getting started with flashvars and Application.application.paramete

2006-09-08 Thread Franck de Bruijn
I just did this myself today, so here is my solution: In the file html-template/index.template.html in the section else if (hasReqestedVersion) I modified the line with flashVars as follows: flashvars,'historyUrl=history.htm?lconid=' + lc_id +'' + 'wsPrefix=' + wsPrefix + '',

RE: [flexcoders] Any way to define CategoryAxis label spacing?

2006-09-08 Thread Matt Horn
You could use a custom data provider to define the axis labels, as described here: http://livedocs.macromedia.com/flex/2/docs/1253.html Just set the labels you don't want to empty strings. hth, matt horn flex docs -Original Message- From: flexcoders@yahoogroups.com

Re: [flexcoders] drawing api

2006-09-08 Thread greg h
Chad, Search the docs on drawCircle(). Runnable example on the bottom of the Language Reference for Class Graphics: http://livedocs.macromedia.com/flex/2/langref/flash/display/Graphics.html You know the old saying ... RTM. As a courtesy to others on the list, please check the docs before

Re: [flexcoders] Re: Problems getting started with flashvars and Application.application.paramete

2006-09-08 Thread Adam Dorritie
On 9/8/06, yaagcur [EMAIL PROTECTED] wrote: Thanks Adam - remarkably similar:) Not sure if that thread sorted Kyle out but I'm not quite clear how my HTML is falling short. How does the javascipt AC_FL_RunContent section need amending? The src and flashvars are already included Franck

RE: [flexcoders] Any way to define CategoryAxis label spacing?

2006-09-08 Thread Ely Greenfield
Two easy options: 1) set 'canDropLabels' on your axisRenderer to true. Then the axis will try to drop the labels instead of making them smaller. Since the axis doesn't generally know anything about the contents of a CategoryAxis, it can't assume that dropping category names won't lose

[flexcoders] Re: loading whole Application

2006-09-08 Thread yaagcur
Yep I guess its all there if you dig around but for instance default colors of the lines on a multi-series chart didnt come out and hit me (though it probably will as soon as I send this message) --- In flexcoders@yahoogroups.com, Stephen Gilson [EMAIL PROTECTED] wrote: Were you not able to

[flexcoders] Re: Datagrid: Setting verticalscrollposition to where selectedIndex is

2006-09-08 Thread j_sevlie
I appreciate the response. However, what happens when grid1 is sorted differently than grid2? For example, an item (let's call it A) might exist at the top of grid1, but in grid2, A exists at the bottom (because the user has sorted the columns differently. In this case, setting the

Re: [flexcoders] Re: Cairngorm... Where should this go?

2006-09-08 Thread Douglas Knudsen
ok, stupid question, this is a great example, but how do you get this to utilise all those fancy vaildation messages in the Flex SDK. I'm talking about the ones that change the control to red borders and the fly-out error message. DKOn 9/8/06, grahampengelly [EMAIL PROTECTED] wrote: Hi

Re: [flexcoders] Any way to define CategoryAxis label spacing?

2006-09-08 Thread Brian Dunphy
Thanks very much Ely, much appreciated.I knew I had seen this functionality before, but I had no idea where it was controlled from.Cheers,BrianOn 9/8/06, Ely Greenfield [EMAIL PROTECTED] wrote: Two easy options: 1) set 'canDropLabels' on your

[flexcoders] Re: Problems getting started with flashvars and Application.application.paramete

2006-09-08 Thread yaagcur
Thanks very much Franck and Adam - that solution worked fine As you can probably imagine that was a baby step towards a more dynamic solution so i was intrigued by your Cold Fusion reference, Adam What I would like to do is be able to launch the Flex page based on the paramaters chosen .e.g.

[flexcoders] Installation recommendations

2006-09-08 Thread carl_steinhilber
I just got to the point where I thought I knew what I was doing when I did an install of Flex 1.5... and along comes v2.0, throwing me back to feeling like a complete installation newbie. Here's what I want to do: - serve a dev site on localhost:80 with Apache (specifically, WAMPserver 1.6) -

[flexcoders] Ant task that reads the Flex Builder project files?

2006-09-08 Thread Lance Linder
Anyone know of an Ant or NAnt task or even a command line program that can read and compile the Eclipse/Flex Builder project files? My idea is much like MSBuild or the solution task for NAnt that can inspect .NET solution and project files and build all dependencies defined in these

[flexcoders] Re: Datagrid: Setting verticalscrollposition to where selectedIndex is

2006-09-08 Thread Tim Hoff
Round two. You might want to adjust the position if the item is at the bottom of the list. public function keepSelected(event:ListEvent):void { if (grid1.selectedIndex = 0) { grid2.selectedItem = grid1.selectedItem; grid2.verticalScrollPosition = grid2.selectedIndex; } } -TH ---

[flexcoders] Re: Tree item renderer's scrolling with mousewheel

2006-09-08 Thread lyon.james
I found that Ascii characters were sneaking in (thanks to our data input personnel using copy paste from excel). After stripping out the /n/r from the db it works and looks great. --- In flexcoders@yahoogroups.com, Marcel Fahle [EMAIL PROTECTED] wrote: Hi, did you found a solution on that

[flexcoders] Re: Launching App Without Toolbars, Address Bar, etc.

2006-09-08 Thread jburkett7
Abdul I looked around in FlexBuilder and did not find anything. I use IE as my default browser and just click on run to load the app. Don't know how to create HTML template or how tell FlexBuilder to load one. Can you direct me to some docs or web site? Thanks, J --- In

[flexcoders] Re: Launching App Without Toolbars, Address Bar, etc.

2006-09-08 Thread Tim Hoff
Going back to the original question, if you launch jamjar without any parameters, you will have all of the browser menu options. You can then view source to see how they created the full screen effect. http://www.adobe.com/go/labs_jamjar_launch To add this kind of functionality to your site,

[flexcoders] Re: Cairngorm... Where should this go?

2006-09-08 Thread bjorn.schultheiss
You are correct, It is a bit of a stupid question. TextField.setStyle('borderColor', 0xFF); TextField.setStyle('borderThickness', 2); Alert.show('FIX THIS FORM'); TextField.toolTip There are a heap of different ways Personal Implementation --- In flexcoders@yahoogroups.com, Douglas

[flexcoders] Re: Cairngorm... Where should this go?

2006-09-08 Thread Tim Hoff
No really so stupid. The default way would be to set the errorString of the control: myTextInput.errorString = Enter something here dummy!; This will automatically add the red border and display the red error message when the cursor is over the control. To remove the border and the message,

[flexcoders] Re: Cairngorm... Where should this go?

2006-09-08 Thread Tim Hoff
Not really so stupid. The default way would be to set the errorString of the control: myTextInput.errorString = Enter something here dummy!; This will automatically add the red border and display the red error message when the cursor is over the control. To remove the border and the message,

RE: [flexcoders] Public getter, private setter?

2006-09-08 Thread Matt Chotin
So actually we investigated further and it turns out this is a bug. The engineer on the language team said that using mixed visibility is supposed to be allowed (I was wrong, this happens occasionally). We have a bug filed. Thanks for pointing it out Thunder! J Matt From:

RE: [flexcoders] Macromedia Flex 2.0 Charts Explorer

2006-09-08 Thread Matt Chotin
That was meant for an old beta. We should take it down. The proper samples are all linked from the dev center: http://www.adobe.com/devnet/flex/?tab:samples=1 From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pramod Sent: Friday, September 08,

[flexcoders] Moving flexcoders to Google Groups- would you come along?

2006-09-08 Thread ben.clinkinbeard
Hello all, Frustrations with Yahoo's boards seems to be a fairly universal sentiment here on flexcoders. The comments to Alistair McLeod's latest blog post (http://weblogs.macromedia.com/amcleod/archives/2006/09/flexcoders_post.cfm - discussing the explosion of growth flexcoders has seen

[flexcoders] Re: Launching App Without Toolbars, Address Bar, etc.

2006-09-08 Thread jburkett7
Tim: Thanks for the info. I look at both. J --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Going back to the original question, if you launch jamjar without any parameters, you will have all of the browser menu options. You can then view source to see how they

RE: [flexcoders] Re: Problems getting started with flashvars and Application.application.paramete

2006-09-08 Thread Franck de Bruijn
In my case, the parameter I add to my Flex app is simply calculated in the HTML wrapper page. If it needs to be more dynamic (as you point out), my recipe would be something like this (I use basic J2EE stuff): Somehow the server would receive an HttpServletRequest containing

RE: [flexcoders] Re: Problems getting started with flashvars and Application.application.paramete

2006-09-08 Thread Franck de Bruijn
I tried it, and it works nice. Thanks for the tip. It keeps the page cleaner. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Adam Dorritie Sent: Friday, September 08, 2006 9:21 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: