[flexcoders] Re: vertical text alignment within datagridcolumn

2008-01-01 Thread candysmate
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: verticalAlign, paddingTop, paddingBottom? Thanks Alex. Actually, the solution turned out to be even more fundamental. Highlighting the character with my mouse cursor showed that the character required occupied only the

[flexcoders] Session Defining

2008-01-01 Thread NileAge, Mail
Hi all I want to define a session in flex 2 as we use in asp.net I use asp.net

[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
If I were using a headerrenderer it might, but I am not. How do I get at the instances of the default renderers or do I have to implement renderers to get a tooltip? --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: If you set the tooltip property on the headerrenderer

[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

Re: [flexcoders] Re: interface inheretence

2008-01-01 Thread Johannes Nel
You should probably check the type at runtime e.g... if (user is ChildUserModel1) if (user is IChildUserModel1) i think this is a solid approach in some cases. interestingly enough union types are suggested for ecma 4 [dummy syntax example] var myVar:(ISomeInterface,IOtherInterface); [end] in

[flexcoders] fillfunction on third variable with plotChart

2008-01-01 Thread picklzzz
Hello, I'm attempting to write a fillFunction for use with a plotChart that color codes dots based upon the value on a third field. For example, a plot chart of individual's heights (xField) verus weight (yField) color coded by ethnicity. The examples provided in the Flex documentation use

Re: [flexcoders] Re: interface inheretence

2008-01-01 Thread Aaron Miller
Thanks for the good information! I'll go ahead and give it a shot and add in your suggestions as well. When I said it becomes an IChildUserModel class, this was probably not the technical OOP term. What it does is get reinstantiated as a new class and uses the memento pattern to restore it's

Re: [flexcoders] Session Defining

2008-01-01 Thread Mike Chabot
A session is established automatically when you make a request to the ASP.NET app on the IIS server, so I am not certain what you mean by define a session. Could you clarify what you are trying to do? Do you mean you want to reference an ASP.NET session variable inside of Flex? If so, you will

[flexcoders] Cannot access a property or method of a null object reference

2008-01-01 Thread [EMAIL PROTECTED]
This compiles but when you hit the test button, it says TypeError: Error #1009: Cannot access a property or method of a null object reference. at Main/test() at Main/__b1_click() Can anyone explain what this means ? It totally does not make any sense to me. main.mxml: ?xml

Re: [flexcoders] Cannot access a property or method of a null object reference

2008-01-01 Thread Christophe Herreman
Hi, you need to create an instance of the testClass like this var test:testClass = new testClass(); regards, Christophe -- Christophe Herreman http://www.herrodius.com http://www.pranaframework.com 2008/1/1, [EMAIL PROTECTED] [EMAIL PROTECTED]: This compiles but when you hit the test

RE: [flexcoders] Re: New shopping new life

2008-01-01 Thread Matt Chotin
Moderation should have caught this one, someone may have bulk approved and not noticed… From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Tuesday, January 01, 2008 9:11 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: New shopping new life

[flexcoders] Re: interface inheretence

2008-01-01 Thread simonjpalmer
Just a thought, do you really need all these subclasses? With a bit of creativity, and a little less purity, could you just roll them all into a single class with some different properties and then externalise an interface from it? I don't know what your application is, and apologies if I am

RE: [flexcoders] Icon for Button

2008-01-01 Thread Dave Glasser
Thanks for the clarification on that. I sort of figured it out after I realized that styleName can be either a String or a CSSStyleDeclaration. I've only ever assigned Strings to that property. Anyway, that's definitely something good to know. If it's not documented anywhere, it probably

[flexcoders] Speed test, clear browser cache after each test

2008-01-01 Thread Stefan IONESCU
Hello, I'm using some images of different sizes to test speed of the internet connection. How can I clear (or prevent cacheing) from cache just that 5 images ? 10x Looking for last

Re: [flexcoders] Cannot access a property or method of a null object reference

2008-01-01 Thread [EMAIL PROTECTED]
Thanks, that was it. Christophe Herreman wrote: Hi, you need to create an instance of the testClass like this var test:testClass = new testClass(); regards, Christophe -- Christophe Herreman http://www.herrodius.com http://www.herrodius.com http://www.pranaframework.com

[flexcoders] basic open source video player

2008-01-01 Thread [EMAIL PROTECTED]
Does anyone know of a basic open source video (flv) player for flex? Not like Miro, which scours the net for vidoes etc etc etc. Just something that plays flv files and has basic controls Thanks

Re: [flexcoders] Cannot access a property or method of a null object reference

2008-01-01 Thread fmotagarcia
you forgot to instantiate the object. Change: var test:testClass; to var test:testClass = new testClass(); and it should work. Regards, Frederico Garcia On Tue, 01 Jan 2008 14:45:00 -0500, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: This compiles but when you hit the test button, it says

Re: SPAM-LOW: [flexcoders] basic open source video player

2008-01-01 Thread Jeffry Houser
You can look into the VideoDisplay component. It is about as basic as it gets (no controls). However, you could easily create your own controls for it. [EMAIL PROTECTED] wrote: Does anyone know of a basic open source video (flv) player for flex? Not like Miro, which scours the net for

[flexcoders] Flex/Struts/Caringorm

2008-01-01 Thread yourName
i am facing trobule about selcting framework to be used in flex application shuold i use Flex/Struts or shuold i go for flex with caringorm framework or any third can any tell me about spray framework what is its relationship with flex. plz post ur comments about these two combination Thanks

[flexcoders] Simple Question about refreshing browser

2008-01-01 Thread Dan
Hi, I have a flex application about 2M in size, I noticed that once downloaded, if i press the REFRESH button of the IE. The loading bar appears, and seems it is downloading the whole swf again, but if i just press the RETURN key in the URL:address, the swf progress bar disappeared at once as

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

2008-01-01 Thread Alex Harui
There's no official API to the header instances. Depending on which version of Flex, you can get to them, but I'd recommend a custom renderer. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Tuesday, January 01, 2008