[flexcoders] Re: Starting with Cairngorm or PureMvc

2009-12-01 Thread gers32
I have chosen the Mate framework, based on the reviews below: http://www.summa-tech.com/blog/2009/01/14/selecting-the-right-flex-application-framework/ http://www.summa-tech.com/blog/2009/02/27/the-flex-application-frameworks-smackdown-sorta/ http://www.flexpasta.com/index.php/2009/07/16/mate-fr

Re: [flexcoders] Re: << DateTimeAxis parseFunction issue >>

2009-12-01 Thread arindam dhar
Thanks Amy, Somehow I always had this notion that DateTimeAxis dosen't have labelFunction property.But I opened the doc, and voila , its there. So, a little usage of the same and DateFormatter did the trick :-) --- On Tue, 12/1/09, Amy wrote: From: Amy Subject: [flexcoders] Re: << DateTimeA

[flexcoders] Charting - CategoryAxis style

2009-12-01 Thread jch92592
I have a BarChart that I want to change the font style of only one of the labels one the CategoryAxis (vertical in this case). So I have: Apple Orange Grape And I want to *only* bold the Orange label. I am not been successful with any examples I have found online. Should I be using a labelF

Re: [flexcoders] Re: Starting with Cairngorm or PureMvc

2009-12-01 Thread Chris
It is a strange thing to think that having a language-independent architecture is such a useful thing. But...it is. :) Right here right now I am talking about Flex app development, but that doesn't mean that I'm always going to be. And to think that I can transition into a completely new language w

[flexcoders] Select Region on Line Chart

2009-12-01 Thread napearson99
I have a line chart over time. I want to select a region and get the data points under it (or at least the first and last). I don't care about selection in the Y axis, just the x axis. So if click the mouse and drag it right I want to select the area between x.mousestart to x.mouseend. The

RE: [flexcoders] TitleList Sort Data - Animation

2009-12-01 Thread Christopher McArthur
I had the exact problem you did, and also someone asked a similiar question last week and I responded, I would check that response as it applies here as well Basically, you are out of luck. ItemChangeEffect does not work with sort or filter. You will need to create your own custom component. Ad

[flexcoders] TitleList Sort Data - Animation

2009-12-01 Thread cbs1918
I want to have a TitleList with several elements. Then I want to have components to filter the data, when the data changes the items in the TitleList should animate into place. When I enable drag/drop on the TitleList and move elements the animation behaves as expected. However, when I sort/c

Re: [flexcoders] Re: Changing the background of an AS3 project in Flex

2009-12-01 Thread Csomák Gábor
complier console arg: default-background-color #33 2009/12/2 Calbeans > > > > --- In flexcoders@yahoogroups.com , > "Michael" wrote: > > > > In your top-level application MXML file, try adding this attribute to > your tag: > > > > > xmlns:mx="http://www.adobe.com/2006/mxml"; > > backgroun

Re: [flexcoders] Changing the background of an AS3 project in Flex

2009-12-01 Thread Csomák Gábor
on gotoandlearn.com Lee Brimelow has 3 video tutorials. In one of them, he shows it. You'll have to pass a background parameter to the complier. 2009/12/1 Calbeans > > > Hi All, > > I'm working on an AS3 project using Flex and I'm trying to figure out how > to change the background from that def

Re: [flexcoders] Changing the background of an AS3 project in Flex

2009-12-01 Thread Csomák Gábor
okay, i realized i have time to look it up: http://gotoandlearn.com/play?id=101 <-- you'll need this video at approx. these points: 7:40 - css background 13:20 - console arg: default-background-color #33 2009. december 1. 23:55 Csomák Gábor írta, : > on go

Re: [flexcoders] remote php

2009-12-01 Thread Csomák Gábor
you can use the urlloader class ( http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html ) for faster performance, you should use amfphp. (http://www.amfphp.org/) there are other methods for querying db. From list FAQ: Q: How do I get Flex to query my database? A: Flex

[flexcoders] Re: Changing the background of an AS3 project in Flex

2009-12-01 Thread Calbeans
--- In flexcoders@yahoogroups.com, "Michael" wrote: > > In your top-level application MXML file, try adding this attribute to your > tag: > >xmlns:mx="http://www.adobe.com/2006/mxml"; > backgroundColor="#ff" > > > > > > --- In flexcoders@yahoogroups.com, "Calbeans" wrote: > > >

[flexcoders] Re: Starting with Cairngorm or PureMvc

2009-12-01 Thread normc_actionscript
I found Cairngorm to be more straight-forward. I knew little about Flex. I looked at the Cairgorm store example and it's pretty obvious. I took a good look at PureMVC, but had trouble imagining how to set up the application I want to build. So I decided on Cairngorm. I suggest reading the Ca

[flexcoders] remote php

2009-12-01 Thread gandalfhr
Hi, i opened an account at 000webhost.com and put some of my php files that access mysql there. How do i use those php files in flash builder? In all the tutorials i have seen, people use localhost as Root URL and some local folder for Web Root.. Plz help

[flexcoders] Re: Simple Layout Question

2009-12-01 Thread rinogo2
Thanks so much for your help, James! I had never seen the constraint column/row approach before, so this is super cool. Also, it seems strange to me that the only way to get the 'indent' to be present before the buttons (when inside of the vbox) is with a spacer. Is this the recommended appro

[flexcoders] Frame-by-frame video playback

2009-12-01 Thread deanriverson
Hello, I've been experimenting with code and searching documentation to no avail. Hopefully someone here can give me a pointer. I need to display a video (H.264 encoded in a .f4v file) that is synchronized to data captured from a data acquisition system which is being displayed in a chart nex

[flexcoders] Re: Changing the background of an AS3 project in Flex

2009-12-01 Thread Michael
In your top-level application MXML file, try adding this attribute to your tag: http://www.adobe.com/2006/mxml"; backgroundColor="#ff" > --- In flexcoders@yahoogroups.com, "Calbeans" wrote: > > Hi All, > > I'm working on an AS3 project using Flex and I'm trying to figure out how to

Re: [flexcoders] Re: Charting error

2009-12-01 Thread Richard Rodseth
I appreciate your sincere effort to help, but you misunderstand. AxisRenderer is code in the flex charting library, not my code. It looks to me as though there is a bug if there is only one data item in the series and hence only one label on the axis. In particular, on line 2187 of AxisRenderer.as

[flexcoders] Changing the background of an AS3 project in Flex

2009-12-01 Thread Calbeans
Hi All, I'm working on an AS3 project using Flex and I'm trying to figure out how to change the background from that default light off blueish color to something different. I looked at the index.template.html file and figured that I can do it in there, but it appears that I can't. Anyone hav

Re: [flexcoders] Re: Special characters (eg. Cyrillic) & TextArea

2009-12-01 Thread Andriy Panas
Hi Tracy, Are you using Safari browser under Mac OS 10.6? If yes, then probably you are victim of the following bug "Can't enter cyrillic symbols" https://bugs.adobe.com/jira/browse/FP-3213 http://www.openradar.appspot.com/7395808 -- Best regards, Andriy Panas 2009/12/1 Andriy Panas : > Hi

[flexcoders] Re: Charting error

2009-12-01 Thread invertedspear
So I am going to assume you are using a loop, and lastLabel is a variable set to the last label created in the loop. You're code's going to break on the first iteration since it can't divide a null value by 2. You need to either set an initial value for lastLabel before the loop or not process t

Re: [flexcoders] Re: Charting error

2009-12-01 Thread Richard Rodseth
Yes, I know a null pointer exception is not charting-specific :) None of my code is in the stack crawl (shown below). The line in question is: staggeredrightGutter / (lastLabel.width / 2)); and lastLabel is null. I can't reproduce all the code here (but I will note that the serie

Re: [flexcoders] Re: Starting with Cairngorm or PureMvc

2009-12-01 Thread Richard Rodseth
Fair enough. That's good to know. On Tue, Dec 1, 2009 at 1:16 PM, jamesfin wrote: > > > Thanks for the honest reply Richard. > > You are very correct in that we are talking about a Flex application here. > However, I also am involved in an equivalent iPhone application and am using > the iPhone p

[flexcoders] Re: Starting with Cairngorm or PureMvc

2009-12-01 Thread jamesfin
Thanks for the honest reply Richard. You are very correct in that we are talking about a Flex application here. However, I also am involved in an equivalent iPhone application and am using the iPhone port of PureMVC. It was easier to convert the Flex app. to the already complex iPhone archite

[flexcoders] Re: Charting error

2009-12-01 Thread invertedspear
That error is not specific to charts. Can we see the line of code that is throwing the error? You are probably trying to do something to an object before it is created. --- In flexcoders@yahoogroups.com, Richard Rodseth wrote: > > Since I don't have the Flex 3.3 charting sources handy, has anyo

Re: [flexcoders] Re: Starting with Cairngorm or PureMvc

2009-12-01 Thread Richard Rodseth
Not to disparage PureMVC (glad it works for you), but I don't really get the significance of the fact that it's not Flex-specific. We're developing Flex apps. One complaint I have about Mate is that the lack of strong typing in the event map can certainly trip you up. On Tue, Dec 1, 2009 at 10:31

[flexcoders] Charting error

2009-12-01 Thread Richard Rodseth
Since I don't have the Flex 3.3 charting sources handy, has anyone encountered this error? TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.charts::AxisRenderer/calcStaggeredSpacing()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\char

RE: [SPAM] [flexcoders] Re: Flex Builder 3 - Crashes

2009-12-01 Thread Tracy Spratt
In the short term, export the Flex project to an archive (zip) file. It takes only seconds. Restoring is then just a matter of "importing" that archive, again only seconds. It should preserve all of your project settings. Tracy Spratt, Lariat Services, development services available _

[flexcoders] Re: Starting with Cairngorm or PureMvc

2009-12-01 Thread jamesfin
I have to concur with Chris. I've been using PureMVC and took a stab at Cairngorm and Mate in the beginning but felt they were too tightly coupled with Flex, especially Mate. I'm not an MVC expert but will say that I have enjoyed having the strict decoupling which makes managing the code easie

[flexcoders] Re: Flex Builder 3 - Crashes

2009-12-01 Thread invertedspear
Had this prob with another program, it was a major software conflict, something like a windows BSOD so bad that it couldn't even do a BSOD. Tracing this problem is a nearly impossible task for a normal user. It could be a conflict with almost any installed software, my issue only occurred when I

Re: [flexcoders] Reuse same instance of UIComponent in different views

2009-12-01 Thread Chris
If you don't need interactivity, this sounds like an ideal place for bitmap caching. Do you need to have the user click on various items within the display, or have some other kind of real-time interactivity? If not you can create a bitmap image of your UIComponent (or at least the non-interactive

[flexcoders] Re: Starting with Cairngorm or PureMvc

2009-12-01 Thread turbo_vb
Second that personally for Mate. Done right, it can result in a much cleaner code base than the 2 frameworks mentioned. Swiz is also a viable alternative. -TH --- In flexcoders@yahoogroups.com, Richard Rodseth wrote: > > Personally, I like Mate and suggest you check it out before committing t

[flexcoders] Flex Builder 3 - Crashes

2009-12-01 Thread criptopus
It has happened now 4 times, When I exit Flex Builder 3 my system crashes, screen goes black and the system restarts. When I re-run Flex Builder it shows nothing in the Flex Navigator. This wouldn't be a problem as I save (export) my work but the exported work dosn't restore properly, while bef

[flexcoders] Re: << DateTimeAxis parseFunction issue >>

2009-12-01 Thread Amy
--- In flexcoders@yahoogroups.com, arindam dhar wrote: > > oops, typo, > > *For a Date being passed in format  new Date(2009,5, 25) or new Date(Feb 10 > 2009"))   yields 5/09 in the chart horizontal axis. Check the docs for the axis you're using, and look for something like a labelFunctio

Re: [flexcoders] Starting with Cairngorm or PureMvc

2009-12-01 Thread Chris
PureMVC is the bomb. Yes there is boiler plate code but the things it allows you to do is very useful. The learning curve is a bit steep if you are not familiar with MVC, but it is really, really worth it. Cairngorm is pretty good, but I felt that the reusability of the code wasn't as great as Pu

Re: [flexcoders] Starting with Cairngorm or PureMvc

2009-12-01 Thread Richard Rodseth
Personally, I like Mate and suggest you check it out before committing to either of those too. On Tue, Dec 1, 2009 at 8:16 AM, Christophe wrote: > > > Hello, > > Is it easy to learn and use Cairngorm or PureMvc. I have a one year > application and I would like to use these frameworks to structure

Re: [flexcoders] Re: Special characters (eg. Cyrillic) & TextArea

2009-12-01 Thread Andriy Panas
Hi Tracy, I am afraid your code sample is too generic and will not help me to isolate your issue. Me as a native speaker that uses Cyrillic alphabet had never seen any problems with displaying Cyrillic alphabet symbols in , but this remain valid only for Windows OS, never tried Mac OS. I s

[flexcoders] Starting with Cairngorm or PureMvc

2009-12-01 Thread Christophe
Hello, Is it easy to learn and use Cairngorm or PureMvc. I have a one year application and I would like to use these frameworks to structured it. Thank you, Christophe,

[flexcoders] Re: Quadrant

2009-12-01 Thread invertedspear
Are you adding the image with a script? if so you can change the height and width of the image setting it equal to the height and width of the container canvas, or any percentage of it like so: height = int(container.height * .75) //for 75% of the height width = int(container.width - 10)//to lea

[flexcoders] Re: git version control support

2009-12-01 Thread valdhor
I haven't tried it but I would have thought the GIT Eclipse plugin should work (http://www.eclipse.org/egit/). Maybe you should try it? --- In flexcoders@yahoogroups.com, "ynotob" wrote: > > Anyone know when / how git will be supported within flex builder? >

Re: [flexcoders] Reuse same instance of UIComponent in different views

2009-12-01 Thread Sébastien Tromp
Hello, In fact - I don't know what I really need from Canvas. I'll try and replace it with UIComponent to check if it can reduce the footprint. Thanks for the advice. I did a profiling of the object, and the majority of the memory consumption (between a third and a half) comes from extensions of t

[flexcoders] Re: RTE - DataGridHeader/mouseOutHandler

2009-12-01 Thread bhaq1972
Hi Alex. Thanks for the advice. I think I know what chain of events is leading to this bug.its the appearance of the sort arrow. When I place my mouse cursor on the bottom right corner of the column header (the position where the sort arrow appears) and click the header to retrieve my new

Re: [flexcoders] << DateTimeAxis parseFunction issue >>

2009-12-01 Thread arindam dhar
oops, typo, *For a Date being passed in format  new Date(2009,5, 25) or new Date(Feb 10 2009"))   yields 5/09 in the chart horizontal axis. --- On Tue, 12/1/09, arindam dhar wrote: From: arindam dhar Subject: [flexcoders] << DateTimeAxis parseFunction issue >> To: flexcoders@yahoogroups.com D

Re: [flexcoders] Flash Builder 4 for Linux Apha3 Released!

2009-12-01 Thread Tom Chiverton
On Tuesday 24 Nov 2009, thomas parquier wrote: > No item appears unless you uncheck "group by category" because packages are > uncategorized, I think. Then you would be able to install fb4linux, great ! OK, I got it installed. Some oddness in the GUI. See the issue for the full details. -- Help

[flexcoders] << DateTimeAxis parseFunction issue >>

2009-12-01 Thread arindam dhar
Hi, I have a linechart which uses DateTimeAxis to format the horizontal axis. I send a Date object to parseFunction property of DateTimeAxis and set dataUnits="months".. For a Date being passed in format  new Date(2009,5,25) or new Date(Feb 10 2009"))   yields 5/09 in the chart vertical axis.

[flexcoders] Error #2025 - UIMovieclip and Focus Manager

2009-12-01 Thread Eduardo Dias
Hello Everyone, I'm using a FlashComponent generated by the Flash Component Kit into a Flex Application. Everything looks fine except when I try to use the key tab to navigate through the screen. I'm getting the runtime error Error #2025 and it seems that's because the Focus Manager. Does someon

RE: [SPAM] [flexcoders] Multiple Script Files

2009-12-01 Thread Gregor Kiddie
Cairngorm's ViewHelper is a good example of this. http://www.actionscript.org/resources/articles/950/1/Cairngorm-Getting-S tarted--Part-2/Page1.html Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ

[flexcoders] Re: Special characters (eg. Cyrillic) & TextArea

2009-12-01 Thread polestar11
Hi there It is the mx:TextArea: Here is a code snippet: --> The textarea works for special characters in debug mode, but not in release build mode. I've tried replicating / isolating the issue using different applications / projects but haven't found anything close to a