[flexcoders] AIR app as a controlled desktop

2009-07-21 Thread simonjpalmer
I have a requirement to prohibit users from accessing the desktop while using my app (it is for sitting exams). Is there a way to get an AIR app to maximise itself, or to control the entire desktop region, capturing all clicks? I want to be able to start my app, have it take over the user

[flexcoders] Re: AIR architectural pointers for a Flex developer

2009-07-17 Thread simonjpalmer
-resources.html RG --- In flexcoders@yahoogroups.com, simonjpalmer simonjpalmer@ wrote: I have built quite a few apps with Flex 2 over the last few years and have been using using a Java (JBoss) back end. I have a new requirement for an app which needs to be able to run

[flexcoders] AIR architectural pointers for a Flex developer

2009-07-16 Thread simonjpalmer
I have built quite a few apps with Flex 2 over the last few years and have been using using a Java (JBoss) back end. I have a new requirement for an app which needs to be able to run on- and off-line and deliver an identical user experience. My limited understanding of AIR is that this is

[flexcoders] Re: AIR architectural pointers for a Flex developer

2009-07-16 Thread simonjpalmer
@yahoogroups.com, grenma gre...@... wrote: Beside Adobe, you could probably start here: http://www.smashingapps.com/2009/03/06/25-excellent-and-useful-adobe-air-tutorials-resources.html RG --- In flexcoders@yahoogroups.com, simonjpalmer simonjpalmer@ wrote: I have built quite a few apps

[flexcoders] Eclipse WTP and FlexBuilder 3

2009-07-15 Thread simonjpalmer
Has anyone managed to get WTP working in FlexBuilder 3, or to get FlexBuilder 3 working in Eclipse with WTP also in play? Are there any good resources to say how this works, or why it doesn't? I had this working fine in FlexBuilder 2.

[flexcoders] Re: Eclipse WTP and FlexBuilder 3

2009-07-15 Thread simonjpalmer
with Flex Builder 3 for our Flex projects. What kind of issue do you encounter ? 2009/7/15 simonjpalmer simonjpal...@... Has anyone managed to get WTP working in FlexBuilder 3, or to get FlexBuilder 3 working in Eclipse with WTP also in play? Are there any good resources to say how

[flexcoders] Re: Eclipse WTP and FlexBuilder 3

2009-07-15 Thread simonjpalmer
/downloads/drops/R2.0/R-2.0.1-20070926042742/ To find out what version of Eclipse you're using, in FB3, go: Help Product Details Click on the Eclipse icon at the bottom to see the version details. regards, Muzak - Original Message - From: simonjpalmer simonjpal

[flexcoders] Pasting data into a client datagrid

2009-01-16 Thread simonjpalmer
Hi, Is there any way to allow a user to populate a datagrid from a paste operation? I can think of all sorts of cunning ways to have them send a file to the server and thereafter bounce it to the client, but the most intuitive and best way for the user is just to be able to paste into a datagrid.

[flexcoders] Passing a function reference to an item renderer

2009-01-14 Thread simonjpalmer
I have an item renderer for a list control and I want to delegate the editing of the object that the item renderer is showing to its containing control - in fact to the custom control that contains the list that the item renderer belongs to. I have set up the item renderer inline something like

[flexcoders] [Resolved] Passing a function reference to an item renderer

2009-01-14 Thread simonjpalmer
and /mx:Component tags. To access elements outside of the local scope of the item renderer or item editor, you prefix the element name with the outerDocument keyword. Paul - Original Message - From: simonjpalmer simonjpal...@... To: flexcoders@yahoogroups.com Sent: Wednesday

[flexcoders] chaining effects together

2009-01-09 Thread simonjpalmer
I have two custom controls which I want to fade in and out in response to a button click, so, control A is showing, press the B button, A fades out and control B fades in. I know how to set show and hide effects but they seems to happen simultaneously, which is really ugly. How do I make B's

[flexcoders] Controlling browser window state during navigateToURL

2008-12-30 Thread simonjpalmer
Hi, I want to place a link on my app which starts a static HTML help page in a new broswer window and I want to control the appearance of the browser window that gets created. If I were doing this in HTML I would use JavaScript window.open and set the config parameter, e.g. SCRIPT

[flexcoders] Re: Controlling browser window state during navigateToURL

2008-12-30 Thread simonjpalmer
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of simonjpalmer Sent: Tuesday, December 30, 2008 10:11 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Controlling browser window state during navigateToURL Hi, I want to place a link on my app which

[flexcoders] Re: Controlling browser window state during navigateToURL

2008-12-30 Thread simonjpalmer
wait... I just figured it out. The wrapper is the html template that is used to embed my swf and it is invoked using ExternalInterface. Working like a charm Thanks for the help. --- In flexcoders@yahoogroups.com, simonjpalmer simonjpal...@... wrote: There are a couple of things I'm

[flexcoders] hiding parts of controls across the edges of their parents (masking?)

2008-12-08 Thread simonjpalmer
I have a canvas within a canvas and the outer canvas has rounded corners. The inner one is basically a strip along the right hand side of the outer canvas which I fill with a colour depending on the state of some internal variable. There are a couple of text fields in the outer canvas too, but

[flexcoders] Flex 2: rotating text

2008-12-06 Thread simonjpalmer
I have the requirement for a button which has text writton on it like the spine of a book, so rotated clockwise by 90 degrees. I have been looking at threads about text rotation but haven't found anything which exactly matches my requirement. Anyone know how to do this in Flex 2? Or know of a

[flexcoders] Generic itemRenderer for Canvas based controls

2008-12-04 Thread simonjpalmer
I have a TileList control that I want to populate at runtime with a collection of custom controls determined by preferences held on the user which I retrieve after they log in. All of the custom controls are based on Canvas. My current approach is to have an Array into which I push the

[flexcoders] Re: Flex and Java Communication

2008-12-04 Thread simonjpalmer
--- In flexcoders@yahoogroups.com, saritha [EMAIL PROTECTED] wrote: Hi, How to communicate between Flex and Java? There are two main ways and which you choose depends largely on the future needs of your clients. If you need a generic API on your server because you are going to implement

[flexcoders] Re: Footer row with a DataGrid

2008-12-04 Thread simonjpalmer
I also looked at Alex's code and decided I wanted something a little more suited to my peculiar needs. I implemented a custom control which has two data grids, one for the data and one for the totals at the bottom. I also added some fancy code to cope with making totals in different ways (e.g.

[flexcoders] Re: Draw a threshold line on a chart

2008-12-04 Thread simonjpalmer
Try Ely Greenfield's DataDrawingCanvas which is available on quietlyscheming.com. You can put pretty much what you want where you want with that approach. --- In flexcoders@yahoogroups.com, lyonjudah [EMAIL PROTECTED] wrote: Hello, I need to be able to draw a horizontal line (threshold)

[flexcoders] Can a control be a child of more than one parent?

2008-12-04 Thread simonjpalmer
I have a set of controls that I want to share between two different containers, one ViewStack and one Repeater. I create the controls inline as children of the ViewStack and then I pass their references to a custom ItemRenderer in the Repeater. In the custom ItemRenderer I add them as a child.

[flexcoders] Invalid Login error connecting to salesforce.com using as3salesforce.swc

2008-12-03 Thread simonjpalmer
Perhaps slightly off-topic, but I am running out of places to turn. I am suddenly receiving an error from the salesforce.com web api saying that my credentials have expired - which they have not. I am connecting through the as3salesforce.swc library provided by Adobe, which has HTTPService at

[flexcoders] Repeater with controls of different heights (Flex 2)

2008-08-25 Thread simonjpalmer
Hi, I have a custom control which determines it height from a member variable in a value object that it is passed. I want a collection of these controls to appear in a vertical list on a page, each control being a different height. In the past I have been using a Repeater, and that works great

[flexcoders] Re: Repeater with controls of different heights (Flex 2)

2008-08-25 Thread simonjpalmer
can a vbox contents be driven the same way as a repeater, i.e. databound to a collection of objects? --- In flexcoders@yahoogroups.com, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, simonjpalmer simonjpalmer@ wrote: Hi, I have a custom control which determines

[flexcoders] Re: Repeater with controls of different heights (Flex 2) [Resolved]

2008-08-25 Thread simonjpalmer
VBox was the right answer... --- In flexcoders@yahoogroups.com, simonjpalmer [EMAIL PROTECTED] wrote: Hi, I have a custom control which determines it height from a member variable in a value object that it is passed. I want a collection of these controls to appear in a vertical list

[flexcoders] Re: way way OT: another flex?

2008-06-19 Thread simonjpalmer
Looks more like the left-overs from the Range Rover parts bin... http://www.autobytel.com/images/carcom/06_LandRover_RangeRover/400/06_RANGE_ROVER_RngRvr_exfrpass34.jpg --- In flexcoders@yahoogroups.com, Paul Hastings [EMAIL PROTECTED] wrote: found this serendipitously while googling for

[flexcoders] Ely's DataCanvas with a DateTimeAxis

2008-06-19 Thread simonjpalmer
Anyone managed to get Ely's DataCanvas working with a Horizontal DateTimeAxis? I can't get it to render anything, all the cached coordinates are NaN... Can post code...

[flexcoders] Diagonal (hatched) fill

2008-06-18 Thread simonjpalmer
anyone know whether there is built in support for a fill containing diagonal lines? I want to have a stacked bar chart with the upper portion of the stack being hatched. Any clues? I can't find anything. Thx

[flexcoders] Re: Benchmark charting

2008-05-02 Thread simonjpalmer
sure, calculate the percentages and draw them on the line chart --- In flexcoders@yahoogroups.com, Niraj Bothra [EMAIL PROTECTED] wrote: Hi: I am trying to benchmark a line chart with another line chart, but am not able to figure out how to do it. Can someone help me here. I have attached a

[flexcoders] Re: Creating and downloading a file in client or alternatives

2008-04-30 Thread simonjpalmer
you can do this as a comma separated or tab separated stream of text prepared on the client then sent to a very simple jsp page on the server which bounces it back as a response with the file name and mime type set correctly so the client gets a download file dialog from the browser. We do this

[flexcoders] Re: Flex Charting with MySQL datetime field

2008-02-24 Thread simonjpalmer
I've been lookikng for a similar chart type and haven't yet found one. I was just about to write one myself. What I need - and what I think you are asking for - is like an x-y scatter plot with lines between the data points. This chart type is available in Excel and I use it a lot for

[flexcoders] Re: Multiple popups in flex application

2008-02-19 Thread simonjpalmer
there's a flag to control modality on both createPopUp and addPopUp in the PopUpManager --- In flexcoders@yahoogroups.com, Danish Tehseen [EMAIL PROTECTED] wrote: Is it possible to open multiple popups from different modules, without bluring the background? i.e. non-modal popups. Danish

[flexcoders] Re: Any way to version a swf with major and minor

2008-02-19 Thread simonjpalmer
...that's what CruiseControl is for. Updating versions by hand is not reliable enough and there's nothing worse than not knowing which version of code is in which build. This goes for testing just as much as for customers logging issues. If you have appropriate separation between your

[flexcoders] Re: BubbleChart bubble selection

2008-02-19 Thread simonjpalmer
here's an idea if you have a strongly typed domain model... 1) create yourself a bubble item renderer 2) override set data() 3) add a transient variable to the objects in your domain model which are in the data provider 4) in the set data() override get the bubble renderer to put itself onto the

[flexcoders] Re: BlazeDS mailing list?

2008-02-19 Thread simonjpalmer
Are you migrating from LCDS or FDS? I'd be interested to know how you got in if you are. --- In flexcoders@yahoogroups.com, Daniel Freiman [EMAIL PROTECTED] wrote: That's fair point/concern. In my couple weeks of working with Blaze all of my questions have been about server-side issues, but

[flexcoders] Re: Any ArrayCollection tricks?

2008-02-19 Thread simonjpalmer
ListCollectionView and separate filter functions --- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote: Unsurprisingly, my Flex applications tend to have a common theme - many components driven from the same data, but with different filter functions. With ArrayCollections

[flexcoders] Re: Is it possible to have 2 items in viewstack visible?

2008-02-19 Thread simonjpalmer
can you not use mx:WipeLeft as a hideEffect on a canvas in your viewstack? --- In flexcoders@yahoogroups.com, Max Frigge [EMAIL PROTECTED] wrote: Hi, I am trying to create a slide effect for a ViewStack. Therefor I would need to have 2 children visible at the same time, so that you can

[flexcoders] Re: do you need CS Degree to get a job?

2008-02-19 Thread simonjpalmer
I would say a definite no. I would pick a self-taught Molecular Biologist over a green CS pretty much every day. I don't know whether the employers you cite would require it, but they shouldn't (and if they do you should consider whether you would want to work for someone with such a narrow view

Re: [flexcoders]Flex Charting - Export to PDF and Images

2008-02-17 Thread simonjpalmer
we convert to a png using this... http://www.kaourantin.net/2005/10/png-encoder-in-as3.html --- In flexcoders@yahoogroups.com, Eduardo Dias [EMAIL PROTECTED] wrote: Ok, and what about converting a Flex chart into a JPG or other image? Does ALDS do that too? Or, some other Adobe tool? On Feb

[flexcoders] Re: Why upgrade to FB3?

2008-02-16 Thread simonjpalmer
] wrote: - Original Message - From: simonjpalmer [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, February 16, 2008 1:18 AM Subject: [flexcoders] Re: Why upgrade to FB3? Sorry to say it, and please don't be offended, but this is classic illogic posing

[flexcoders] Re: Editor commands in code

2008-02-16 Thread simonjpalmer
In Visual Developer, one can insert markings that allow one to collapse sections of code (expand, collapse). Does the Flex 2 IDE have something like that? I'm getting tired of paging through long sections of code. Yes, although it behaves slightly differently between .as and .mxml files.

[flexcoders] Re: Splitting Array Content , keyword by field content

2008-02-15 Thread simonjpalmer
:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Wednesday, February 13, 2008 4:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Splitting Array Content , keyword by field content ListCollectionView and a filter function? --- In flexcoders@yahoogroups.com mailto:flexcoders

[flexcoders] Re: Checkbox with function problem

2008-02-15 Thread simonjpalmer
is your problem that the checkbox is checked by default? --- In flexcoders@yahoogroups.com, steven pollard [EMAIL PROTECTED] wrote: same result. I accidently left that true in there by mistake was testing. thanks To: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Fri, 15 Feb 2008

[flexcoders] Re: Any way to version a swf with major and minor

2008-02-15 Thread simonjpalmer
this is exactly what we do too, except we use cruisecontrol to update a build version rather than use an svn rev. We show our version in the UI. --- In flexcoders@yahoogroups.com, Samuel Neff [EMAIL PROTECTED] wrote: We have a Version.as class which defines a version number in a constant and

[flexcoders] Re: Why upgrade to FB3?

2008-02-15 Thread simonjpalmer
Wait. I can understand your company's reticence. It's normally a pretty empty promise to say that developers productivity will be greatly improved by spending money on a new version of an IDE. Even if it were, that rarely translates into either lower costs, faster development times or higher

[flexcoders] Re: Why upgrade to FB3?

2008-02-15 Thread simonjpalmer
the cost. You do not need to maigrate your apps immediately, but can continue to compile them under the 2x sdk. Best of both worlds. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent

[flexcoders] Re: Eclipse Crashes in Flex Development perspective

2008-02-14 Thread simonjpalmer
I don't think it is just a memory issue, although that does improve it (I went up as far a 2Gb). I have found that Flex design view is quite unstable and mixing that and J2EE perspective basically doesn't work in FB2. I can reliably crash Eclipse with a single file open. I am in the practice of

[flexcoders] Has anyone made the transition from FDS 2 to BlazeDS?

2008-02-14 Thread simonjpalmer
I am contemplating the switch over and wondered if anyone would be willing to share their experiences.

[flexcoders] Re: Splitting Array Content , keyword by field content

2008-02-13 Thread simonjpalmer
ListCollectionView and a filter function? --- In flexcoders@yahoogroups.com, Harry Saputra [EMAIL PROTECTED] wrote: Max 20 record. Not big. May I ? When try to manipulate data on server side, I must create a more function ( service ) and on my flex I must create more remoteObject method.

[flexcoders] Re: Questions about FB / Eclipse

2008-02-13 Thread simonjpalmer
You know you can create custom perspectives? Window - Save Perspective As... You could have one optimised for home and one for the office. Better still, take your 17 monitor to the office. Or just stay at home! --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: Hi

[flexcoders] Re: DataGrid limit on amount of records or data?

2008-02-12 Thread simonjpalmer
Have you ever been presented with a tree containing 1000 items? It is a horrible experience. Given that is sounds like you are in the fortunate position to be in a design phase with your UI then do your users a huge favour and give them search. Whatever you do - tree or grid - don't show them

[flexcoders] Re: Any Flex Math Tutorials out there

2008-02-12 Thread simonjpalmer
There's a good little book called Flash Hacks published by O'Reilly that has some maths intros in it for motion, effects and perspective etc. If you really want the maths then try Numerical Recipes for C - it's not too hard to make the mental translation to AS3, after all the maths is universal.

[flexcoders] Help! as3salesforce.com login issue (James Ward, are you there?)

2008-02-12 Thread simonjpalmer
Hi, anyone else using the as3salesforce.swc library to talk to salesforce.com? I am having trouble logging in to regualr european sf.com accounts. I can successfully connect to a North American developer account but every other account I try fails with this error: sf.com login failed :

[flexcoders] Re: Help! as3salesforce.com login issue (James Ward, are you there?)

2008-02-12 Thread simonjpalmer
difference to your arithmetic on cost/benefit, I think that is about 15% of their installed base. James, you are off the hook. --- In flexcoders@yahoogroups.com, simonjpalmer [EMAIL PROTECTED] wrote: Hi, anyone else using the as3salesforce.swc library to talk to salesforce.com? I am having

[flexcoders] Re: Disable screen interaction while cursor in busy mode

2008-02-12 Thread simonjpalmer
pop up a modal dialog with a progress bar and remove it when the response returns --- In flexcoders@yahoogroups.com, Alexander Tsoukias [EMAIL PROTECTED] wrote: I would like each time i made a SOAP call and set the Cursor to busy for the screen to get disabled while cursor in busy mode. Any

[flexcoders] Re: How can I FORCE a REDRAW of a DATAGRID

2008-02-12 Thread simonjpalmer
I do similar computational updates of datagrid and it works fine, I never explicitly update the grid, just the data behind it and I rely on databinding to invalidate the grid. I tend to make sure that the fields I bind to are in plain view of the binding, so no getters or properties of

[flexcoders] Re: Load data from datagrid to combobox

2008-02-06 Thread simonjpalmer
set the dataProvider for the combo to be the selectedItem from the datagrid? --- In flexcoders@yahoogroups.com, shrikant.patil [EMAIL PROTECTED] wrote: hi, to load data for datagrid u use a data provider right?.. which holds all the contents and value which u want to show in

[flexcoders] Re: How to Validate the Text Box

2008-02-05 Thread simonjpalmer
http://livedocs.adobe.com/flex/2/langref/mx/validators/StringValidator.html --- In flexcoders@yahoogroups.com, Ganesh Suyampirakasam [EMAIL PROTECTED] wrote: Hi I want to Validate the First Name Text box When the User enters Numbers then it has to display the Alert.. Pls help me in

[flexcoders] Re: Datagrid Counting row and total value

2008-02-04 Thread simonjpalmer
I haven't seen a really simple way and it is not natively supported by the datagrid component. You may want to check out the advanced data grid, which I haven't used and I'm sure others can comment on. I ended up writing a custom component which has two data grids, one containing the data and

[flexcoders] Re: creating a new Livecycle DS project

2008-02-04 Thread simonjpalmer
If you are using a J2EE server like JBoss rather than ColdFusion, then you need to supply a full file path so that the compiler can upload the flex-config.xml file and build in connections to your services at compile time. I understand that you may be sharing a server for deployment, but I think

[flexcoders] Re: Keyboard navigation to objects within components

2008-02-04 Thread simonjpalmer
seems like you want to tab through the columns of the selected row, I have not seen any way of doing that an somewhat inelegant brute force method would be to define shortcuts to the buttons in your columns and trap those shortcuts as key presses in the component, check which row is selected, get

[flexcoders] Re: New technique to Export to Excel, feasible?

2008-01-30 Thread simonjpalmer
We do something very similar in that we bounce text data back to the client via a jsp page which sets the mime type of the response to automatically invoke excel. This gives the user the impression that they press button and are asked to open or save as an excel file, which we have found to be

[flexcoders] Re: Setting ComboBox selection in a Data Grid

2008-01-26 Thread simonjpalmer
see http://tech.groups.yahoo.com/group/flexcoders/message/97597 I think that discussion may be relevant --- In flexcoders@yahoogroups.com, grendel19320 [EMAIL PROTECTED] wrote: Hello All! I have a data grid and one of the columns is an itemRendered ComboBox. Everything I need to do is

[flexcoders] Re: Array Item Counting

2008-01-24 Thread simonjpalmer
...let's hope you don't get any floating point numbers or you'll flunk CS 101... --- In flexcoders@yahoogroups.com, Seth Caldwell [EMAIL PROTECTED] wrote: Not to be harsh, but this sounds like something my first cs course in college would have had as an assignment or problem in a homework set.

[flexcoders] Re: How to fetch files from Flex Builder 2 from CVS Server?

2008-01-22 Thread simonjpalmer
CVS integration has nothing to do with Flex Builder, both of them run within the Eclipse framework. It's Eclipse you should be looking to for that... http://www.eclipse.org/eclipse/platform-cvs/ --- In flexcoders@yahoogroups.com, markflex2007 [EMAIL PROTECTED] wrote: Hi, I just build a new

[flexcoders] Re: Hibernate..

2008-01-22 Thread simonjpalmer
My interpretation of FDS/LCDS is that it is not so much about performance and scalability (although its characteristics are not bad) but more about making your code simpler and thereby more robust/manageable/bug free. If you have a good dev team and a good design for the data architecture of your

[flexcoders] Re: Using a custom component inside of a state

2008-01-21 Thread simonjpalmer
that doesn't look right, shouldn't you be adding your component as a child in the new state. I find the best way to code states is in the flex builder design tool, it is too easy to get the syntax wrong. Switch to your login state and add your custom control and you'll get exactly the code you

[flexcoders] Re: Calling COntrol

2008-01-20 Thread simonjpalmer
you can either add a public method to your custom control which exposes the button or, better still, performs whatever task you want to perform or you can probably get at the button via something like myCustomControl[BtnID] The first way is more object oriented than the second, but unless your

[flexcoders] Re: Make a loader

2008-01-20 Thread simonjpalmer
I think you probably need to give us a bit more of a clue... I'd love to help but I have no idea what you're talking about. --- In flexcoders@yahoogroups.com, NileAge, Mail [EMAIL PROTECTED] wrote: Hi all I want make a loader for flex controls such as label, links while binding the data

[flexcoders] Re: Login Problem

2008-01-19 Thread simonjpalmer
] On Behalf Of simonjpalmer Sent: 18 January 2008 17:56 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Login Problem do they provide their login details via HTML or fields in your flex app? The question I am really asking is what controls the login transaction with the server

[flexcoders] Re: Login Problem

2008-01-18 Thread simonjpalmer
do they provide their login details via HTML or fields in your flex app? The question I am really asking is what controls the login transaction with the server? If it is your flex app (otherwise you should go and post on an HTML forum) then what about adding a result responder to your login

[flexcoders] Re: external XML to image tile

2008-01-15 Thread simonjpalmer
You haven't said where your xml files live, so I am going to presume you have a server infrastructure to deliver them. If you don't then you either need to make one or use the desktop version of Flex, Air. If you need guidance on how to make a server then I think it is outside this forum (go and

[flexcoders] Re: external XML to image tile

2008-01-15 Thread simonjpalmer
I guess I don't really understand what you mean by internal and external XML. My immediate reaction is to say XML is XML, if it is well formed then there are a standard set of APIs for getting at the elements and attributes. You'll have to use those APIs to decipher the model and you should have

[flexcoders] Re: How to use air to read Excel file?

2008-01-15 Thread simonjpalmer
From Office 2003 onwards Excel supports an XML file format as do the rest of the office products except PowerPoint. From Office 2007 onwards the open office XML formats are the standard persistence format. You'll probably have received docx files already if you know people who have upgraded. A

[flexcoders] Re: Using per-item fills in PlotSeries

2008-01-12 Thread simonjpalmer
If you set a breakpoint in the debugger in your myFillFunction method below and you inspect element:ChartItem, what is in the item property? It should be the object corresponding to that datum in the data provider you have attached to the chart. From there you should be able to get at whatever

[flexcoders] Re: Plot Chart drag drop

2008-01-12 Thread simonjpalmer
. and thanks Ely for the wealth of charting examples! Don --- In flexcoders@yahoogroups.com, simonjpalmer simonjpalmer@ wrote: Look at CartesianChart dataToLocal and localToData they convert from a pixel point to a data point and vice versa. If you want to get really clever

[flexcoders] Re: Application protection

2008-01-12 Thread simonjpalmer
Generally speaking the way to enforce your subscription and guarantee your money is to either charge up-front, disable features, or own the data, otherwise you only have people's goodwill to stop you being a free download. Whatever you do is going to p*ss off your users because they'll want it

[flexcoders] How do I set and get the date of a DateField?

2008-01-11 Thread simonjpalmer
not normally stumped, but I can't figure out how to set the value of a DateField from a Date and then do the reverse and get a Date object from the DateField. I was expecting to have accessors which took Date objects, but there aren't any. Do I have to do the whole thing via formatted text?

[flexcoders] Re: How do I set and get the date of a DateField?

2008-01-11 Thread simonjpalmer
: simonjpalmer [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] How do I set and get the date of a DateField? Date: Fri, 11 Jan 2008 21:28:32 - not normally stumped, but I can't figure out how to set the value of a DateField from a Date

[flexcoders] Re: Plot Chart drag drop

2008-01-11 Thread simonjpalmer
' Drop is well documented generically, but after a day of searching, I found no documentation on drag n' drop within a chart using chart data. I appreciate your help. Don --- In flexcoders@yahoogroups.com, simonjpalmer simonjpalmer@ wrote: yes. Write yourself a custom renderer

[flexcoders] Re: Populating comboBox

2008-01-10 Thread simonjpalmer
one very small point, you can get rid of the line which adds a dummy Select item by setting the prompt on the combo --- In flexcoders@yahoogroups.com, candysmate [EMAIL PROTECTED] wrote: I'm tring to populate a comboBox with var dsWeek:Array = []; [Bindable] var dsWeekArray = new

[flexcoders] Re: Plot Chart drag drop

2008-01-10 Thread simonjpalmer
yes. Write yourself a custom renderer for the data points in your chart which traps the start of the drag. Add drag and drop handlers to your chart. On drop inspect what is being dropped and where the drop happened, convert into data coordinates, update the data accordingly and refresh your

[flexcoders] Re: Flex 3 Pre-Release Tour in Northern California

2008-01-08 Thread simonjpalmer
anyone coming to England any time soon? --- In flexcoders@yahoogroups.com, TJ Downes [EMAIL PROTECTED] wrote: Hi All, just want to announce for everyone in Northern California that Ryan Stewart will be speaking at the NorCal Flex User Group on the 23rd, in Sacramento. For full details check

[flexcoders] Re: Save/Recall a Password field?

2008-01-08 Thread simonjpalmer
I asked exactly this question last week and the answer I got was use shared objects. Would you be willing to share your code? --- In flexcoders@yahoogroups.com, TJ Downes [EMAIL PROTECTED] wrote: I utilize the SharedObject to save them as hashed values. It's by far the easiest method. TJ

[flexcoders] Re: Page States

2008-01-08 Thread simonjpalmer
, simonjpalmer simonjpalmer@ wrote: Are you asking how you clear data state from a custom component/control? --- In flexcoders@yahoogroups.com, John jpapworth@ wrote: Hi there, I am fairly new to Flex, so I am in need of quite a lot of advice. I am building some pages

[flexcoders] Re: Page States

2008-01-07 Thread simonjpalmer
Are you asking how you clear data state from a custom component/control? --- In flexcoders@yahoogroups.com, John [EMAIL PROTECTED] wrote: Hi there, I am fairly new to Flex, so I am in need of quite a lot of advice. I am building some pages that I require them to start from the beginning

[flexcoders] Re: create XML from adjacency model db

2008-01-06 Thread simonjpalmer
I've re-read this a few times and I'm not clear what you are asking. Is your question... 1) how do I communicate from a database to a flex app? 2) how do I pivot that parent-child hierarchy into xml? 3) how do I get a tree control to consume xml? 4) some other question? If it is 1 or 3, then

[flexcoders] Re: create XML from adjacency model db

2008-01-06 Thread simonjpalmer
@yahoogroups.com, simonjpalmer simonjpalmer@ wrote: I've re-read this a few times and I'm not clear what you are asking. Is your question... 1) how do I communicate from a database to a flex app? 2) how do I pivot that parent-child hierarchy into xml? 3) how do I get a tree control

[flexcoders] Re: Distributed compilation in FlexBuilder?

2008-01-05 Thread simonjpalmer
incredibuild is an excellent product... http://www.xoreax.com/main.htm I have not used it with the flex compiler, but used it extensively with C++ and Java. It would be worth taking a look. I worked on a project where the build time from a clean environment was 7 hours and I had a dev team of

[flexcoders] Re: Dynamically changing component positions

2008-01-03 Thread simonjpalmer
Check out mx:states, that's one solution. Define one state with your control visible and another with it invisible and the rest of the controls moved up a bit. This can be done in the design view in flex builder. Another way would be to put all your moving controls on a canvas with positions

[flexcoders] Autocomplete from the browser in a login username field

2008-01-02 Thread simonjpalmer
I have a form I use for login into which my users type their username and password. Does anyone know of a way of using the browser autofill to populate form text fields?

[flexcoders] Re: interface inheretence

2008-01-01 Thread simonjpalmer
If you are strict about only referring to methods/properties through IUserModel and IChildUserModel and not the concrete classes then I don't see that you have any problems with your implementation and there's nothing inherently unsafe about it. You should probably check the type at runtime

[flexcoders] Re: Hover/Tool tips on datagrid headers?

2008-01-01 Thread simonjpalmer
instance, it doesn't show? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Monday, December 31, 2007 2:02 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Hover/Tool tips on datagrid headers? I

[flexcoders] Re: New shopping new life

2008-01-01 Thread simonjpalmer
I don't know how everyone else here feels, but I HATE the idea of being sold things on this board. I find it is selfish and lowers the tone and value immeasurably. Lots of us are part of commercial ventures but we don't feel the need to pollute this environment with our sales pitches. PLEASE

[flexcoders] Re: interface inheretence

2008-01-01 Thread simonjpalmer
for the help! ...aaron On 1/1/08, simonjpalmer [EMAIL PROTECTED] wrote: If you are strict about only referring to methods/properties through IUserModel and IChildUserModel and not the concrete classes then I don't see that you have any problems with your implementation and there's nothing

[flexcoders] Hover/Tool tips on datagrid headers?

2007-12-31 Thread simonjpalmer
I want to provide my users some descriptive text of the contents of a column in a data grid but I can't seem to give the headers tooltips or datatips. Am I missing a trick? (FB2)

[flexcoders] Re: Setting default cursor position when the flex web-application loads

2007-12-30 Thread simonjpalmer
if your login box is html you are posting on the wrong forum if it is flex... http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=0676.html --- In flexcoders@yahoogroups.com, flex.fusion [EMAIL PROTECTED] wrote: Hi Guys, My previous

[flexcoders] Re: Accessing Client Machine, is it possible

2007-12-30 Thread simonjpalmer
not giving access to your local file system from a web app is a deliberate and basic security constraint applied by the player, otherwise tehre's nothing stopping malicious activity via the web. Depending on what you are trying to do you can look here at shared objects...

[flexcoders] Re: Rotating Tabs

2007-12-30 Thread simonjpalmer
I can't answer your specific question, but the way I do this is to use a tab bar to switch the currentChild of a viewstack which contains my tab components. I then apply my effects to the hideEffect property of the controls in the viewstack. That works for me. --- In flexcoders@yahoogroups.com,

[flexcoders] Re: Sugestion for ComboBox component

2007-12-29 Thread simonjpalmer
have you tried using myCombo.selectedItem = aTextValue? I don't know if that works, I'm just suggesting it is worth a try. Painful experience of a change of the textual value from one string to another has led me to encapsulating domain values like these into a separate list and only storing

  1   2   3   >