Re: [flexcoders]Need help creating a Singleton with MXML

2009-01-11 Thread Paul Andrews
- Original Message - From: dorkie dork from dorktown To: flexcoders@yahoogroups.com Sent: Sunday, January 11, 2009 5:05 AM Subject: Re: [flexcoders]Need help creating a Singleton with MXML Yay! That's the class I needed! :) To answer your question why. First I like to use

Re: [flexcoders]How do I know if a class is on the Application?

2009-01-11 Thread Manish Jethani
On 1/10/09, dorkie dork from dorktown dorkiedorkfromdorkt...@gmail.com wrote: I have a class on the application like this: managers:MyClass / How do I find out inside that class in the constructor if that class is on the Application? By Application I assume the Flex application (instance

Re: [flexcoders]How do I know if a class is on the Application?

2009-01-11 Thread Paul Andrews
- Original Message - From: dorkie dork from dorktown To: flexcoders@yahoogroups.com Sent: Saturday, January 10, 2009 6:06 AM Subject: [flexcoders]How do I know if a class is on the Application? I have a class on the application like this: managers:MyClass / How do I

[flexcoders] Re: Wierd error 1067 on extended DefaultDataDescriptor

2009-01-11 Thread Amy
--- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: You have to assign an instance of your class, not the class itself Yes, I ultimately figured that out. Thanks :-). I was expecting it to work like itemRenderers or something.

Re: [flexcoders]How do I know if a class is on the Application?

2009-01-11 Thread Samuel Colak
To reference the application object inside another object (either UI or otherwise) just define a variable to reference Applicaton.application; Note that this returns an object - not an instance of Application per se. One interesting note is that singletons can be instantiated through

[flexcoders] Re: CategoryAxis category order

2009-01-11 Thread Amy
--- In flexcoders@yahoogroups.com, Maciek Sakrejda msakre...@... wrote: When I have a data provider like [ { category : foo, val : 1 }, { category : bar, val : 2 },{ category : baz, val : 3 } ] and graph this on a BarChart as category vs. val, the values are graphed bottom to top.

[flexcoders] Re: Cairngorm and ChangeWatcher

2009-01-11 Thread lampei
That's actually the example I've been using (I thought it was 2006, not 2007), but it's 2 years old, and my question still holds. Is this the best practice or is some other method being used with Cairngorm? --- In flexcoders@yahoogroups.com, claudiu ursica the_bran...@... wrote:

[flexcoders] VO and LabelField Problem

2009-01-11 Thread Berkay Unal
Hi, When trying have dataprovider for a list control using remoting with VO i cannot set the label of the control with the labelField = courseName. How to achieve this, guess i am missing smthing. Any help appreciated much result Array (@1a522159) [0] com.abc.courseList.VO.CourseVO (@1ee40449)

Re: [flexcoders] Re: Flash Remoting Options

2009-01-11 Thread Alan K
Resonably - there are no options regarding AMFPHP. PHP 4 is really old. Your host should offer an upgrade to at least PHP 5. Alan On Jan 10, 2009, at 11:44 PM, Amy wrote: Any options for earlier php versions?

[flexcoders] Loading Images Using CSS

2009-01-11 Thread Dan Vega
I was looking through the archives and I came to what I thought was an answer to my problem but I can't get it to work. I have logo / icon sets that I want to be able to switch between. All of the sets have there own style sheets and its working great for the buttons but i am having an issue with

[flexcoders] creating Help Files for a Flex application

2009-01-11 Thread weezee49
What are people using to create help files for a Flex application? I have used HTML Help Workshop to create a small test help file, but I can't find any information on how to hook it up to my Flex app. So my questions are: 1. Is it possible to use a.chm file with a Flex application, and how

[flexcoders] Re: Namespace declaration problem

2009-01-11 Thread brucewhealton
I thought, when I first read this, that you were saying that it is a part of a normal flex installation. The author of the text said that I need to download and install the auto-complete edit field component into my libs directory. I wonder if that means just for this project or the libs

RE: [flexcoders] Re: CategoryAxis category order

2009-01-11 Thread Maciek Sakrejda
Thanks, Amy. The nature of how we use charts would make a solution based around modifying the axis a lot simpler, but I may need to fall back to this approach. I think the problem is that an axis is unaware of its orientation, and left-to-right is isomorphic with bottom-to-top (to represent a

RE: [flexcoders] Re: CategoryAxis category order

2009-01-11 Thread Maciek Sakrejda
Hmm. No dice. Overriding describeData() to return super.describeData().reverse() does nothing... Maybe I'll go the ListCollectionView route. -Original Message- From: flexcoders@yahoogroups.com on behalf of Maciek Sakrejda Sent: Sun 1/11/2009 2:47 PM To: flexcoders@yahoogroups.com

RE: [flexcoders] Re: CategoryAxis category order

2009-01-11 Thread Maciek Sakrejda
Ok, so it looks like a (reasonably simple) way to do this is to set the dataProvider of the CategoryAxis to originalDataProvider.toArray().reverse() on every update of originalDataProvider. A ListCollectionView to wrap originalDataProvider would have been cleaner, but there doesn't seem to be a

[flexcoders] Server Side Cache and AMF

2009-01-11 Thread Mike Oliver
What are the pros and cons to using a serverside cache or proxy cache with Flex and AMF? I can see a cache on a web service that is primarily a lookup service, but don't see much if any benefit to a cache related to transactions, and for lookup, except for really large data sets I think a client

Re: [flexcoders] creating Help Files for a Flex application

2009-01-11 Thread Paul Hastings
weezee49 wrote: What are people using to create help files for a Flex application? I cfdocument in coldfusion to create flashpaper from HTML, etc.

[flexcoders] Styling Alert box default button

2009-01-11 Thread achegedus
I have a custom styled alert box with two buttons (ok and cancel), I'm trying to make the default button look slightly different, but I can't figure out how to do this. Does anyone know? The default style can achieve this.

[flexcoders] Timer Solution

2009-01-11 Thread vinod kumar
I want an urgent help. From metadata information i got the frame rate as 15. So between every second i want to display the values 1 to 15 using timer. But i dont know how to do this . Please help me. its urgent I have attached code also. ?xml version=1.0 encoding=utf-8? mx:Application

[flexcoders] Using dispatchEvent ?

2009-01-11 Thread biosmonkey
I thought I had understood the event model, but apparently not. I have a custom class that extends EventDispatcher, let's call it MyClass. This class will periodically dispatch a custom event based on a timer and some condition. In my main app, I instantiate an instance of this class. I also

[flexcoders] scaleMode(scaling app)

2009-01-11 Thread stinasius
hi guys i have been reading alex aharui's blog post(http://blogs.adobe.com/aharui/2008/01/flex_and_scalemodes.html) about scaling a flex application and i like it but i have one problem. he says to get better results you have to estimate the size that is width and height of the application other

Re: [flexcoders] Using dispatchEvent ?

2009-01-11 Thread Josh McDonald
Event bubbling only occurs within the display list. So your dispatching object must also be a child UIComponent if you want to catch bubbled events. -Josh On Mon, Jan 12, 2009 at 4:12 PM, biosmonkey biosmon...@yahoo.com wrote: I thought I had understood the event model, but apparently not. I

Re: [flexcoders]How do I know if a class is on the Application?

2009-01-11 Thread Haykel BEN JEMIA
I have to ask again: What do you mean with on the application? I you mean added to some display list, then it must be a subclass of DisplayObject. Or perhaps you can tell what you want to do exactly. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Sun, Jan 11, 2009