Re: [flexcoders] initial loader color/style

2006-07-19 Thread Sam Shrefler
Hank: In my main application tag i put: mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute backgroundColor=#(YOURCOLOR) I also add a CSS entry... mx:StyleApplication {theme-color: #789789;backgroundGradientColors: #123123, #789789;} /mx:Style Hope this helps Sam On

[flexcoders] AMF 3 Date Serialization / Deserialization

2006-11-17 Thread Sam Shrefler
Does anyone know if there is a way to have Flex serialize / deserialize Dates using the Local Date Time rather the UTC. For example: Currently i'm seeing the following behavior: (AMF3) Date (no timezone info) - Flex (UTC) Flex(UTC) - AMF3 (no-timezone) I'd like to be able to also do: (AMF3)

[flexcoders] Conditionally Change the Text Color on a Datagrid Row

2006-11-29 Thread Sam Shrefler
Does anyone have any thoughts on changing the text color conditionally on an entire row of a datagrid? I've previously done it by creating an individual item renderer for each DataGridColumn, but I am looking for this ability on many grids with many columns... Thanks Sam

[flexcoders] Change alpha properties when setting enabled property

2006-11-29 Thread Sam Shrefler
Could someone tell me how to modify the alpha settings when setting a component to enabled=false? Thanks! Sam

Re: [flexcoders] Conditionally Change the Text Color on a Datagrid Row

2006-11-30 Thread Sam Shrefler
://www.mikenimer.com/index.cfm?mode=catcatid=B6F726D0-4E22-1671-5765E6C3FE1D2862 Tracy -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Sam Shrefler *Sent:* Wednesday, November 29, 2006 3:01 PM *To:* flexcoders@yahoogroups.com *Subject

Re: [flexcoders] Change alpha properties when setting enabled property

2006-11-30 Thread Sam Shrefler
/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Sam Shrefler *Sent:* Wednesday, November 29, 2006 3:52 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Change alpha

Re: [flexcoders] Change alpha properties when setting enabled property

2006-11-30 Thread Sam Shrefler
Andy: Setting the alpha isn't giving me the exact results I was looking Instead, it was disabledOverlayAlpha from Container that I was looking forthanks for Darron Schall for pointing that out Thanks for the help... Sam On 11/30/06, Sam Shrefler [EMAIL PROTECTED] wrote: Andy

Re: [flexcoders] Re: Flex and .net webservices

2006-12-12 Thread Sam Shrefler
Robin: It sounds like you may be looking for a Remoting Gateway which uses AMF rather than Web Services and has the ability to translate .NET - AS Objects. I've got articles written on two different options, Fluorine and WebOrb. http://blog.shrefler.net/?p=6 http://blog.shrefler.net/?p=10

Re: [flexcoders] Re: Flex and .net webservices

2006-12-12 Thread Sam Shrefler
:06 +1300, Sam Shrefler [EMAIL PROTECTED]sshrefler%40gmail.com wrote: Robin: It sounds like you may be looking for a Remoting Gateway which uses AMF rather than Web Services and has the ability to translate .NET - AS Objects. I've got articles written on two different options, Fluorine

Re: [flexcoders] Dispatching an Event from a Class

2007-01-09 Thread Sam Shrefler
Mike, I'm interested in why you would dispatch an Event from your modelLocator? Could you please share? Also, could this be a case where the Observe tag could help you? http://weblogs.macromedia.com/paulw/archives/2006/05/the_worlds_smal.cfm Thanks Sam On 1/9/07, Mike Anderson [EMAIL

[flexcoders] Capturing an event everytime an item becomes visibile in a viewstate

2007-01-11 Thread Sam Shrefler
I have a canvas that is part of a view state. I'd like to know how to call a method on that canvas everytime that canvas is made visible because the view state it's contained in is made visible. Also, I'd only like this to happen after the creationComplete event-init method has completed. I'd

Re: [flexcoders] Capturing an event everytime an item becomes visibile in a viewstate

2007-01-11 Thread Sam Shrefler
/11/07, Sam Shrefler [EMAIL PROTECTED] wrote: I have a canvas that is part of a view state. I'd like to know how to call a method on that canvas everytime that canvas is made visible because the view state it's contained in is made visible. Also, I'd only like this to happen after

Re: [flexcoders] Printing a Data Grid

2007-01-23 Thread Sam Shrefler
Lois: If you use the PrintDataGrid component, you can specify fontSize right in the tag. For example: mx:PrintDataGrid id=myPrintGrid fontSize=24 Hope that helps... Sam On 1/23/07, loisgh1961 [EMAIL PROTECTED] wrote: Hi There, I'm trying to set up print views for a datagrid. I want to

Re: [flexcoders] Re: IFrame issue with settings menu

2007-02-01 Thread Sam Shrefler
I haven't seen this specific issue, but I also haven't tried to do it. I have seen issues with Cntrl+Click in firefox not being able to make mulitple selections in list components and also wheel mouse functionality not working. I believe these are all WMODE issues that have not yet been

Re: [flexcoders] How to DataBind to DateField when Null Values come into play??

2007-03-20 Thread Sam Shrefler
Mike: What is the type of the property you are trying to bind to in your Value Object? A DateField selectedDate property can be sent to null and should give you an empty date. I've extended the DateField making my own DateField Component - EditDateField and I always use that whenever I use

Re: [flexcoders] Storing Dates Times in VO's

2007-03-20 Thread Sam Shrefler
Kevin: I dont' use AMFPHP so I can't specifically help you with that situation, but to your first question: I would recommend figuring out a way to get your PHP DateTypes to automatically transfer to Date type's in Flex. I went down both roads (Date and String in flex) and found that there is

Re: [flexcoders] Re: Timezone of Date Object

2007-04-03 Thread Sam Shrefler
Paul: I'm interested to know how your library will handle timezones. Are you trying to hook into all DateTimes or just writing some login to change datetimes and such. I submitted a long time ago a feature request to Adobe to allow hooking into AMF Deserialization to handle timezone changes.

Re: [flexcoders] Re: timezone and dateformatter

2007-04-13 Thread Sam Shrefler
I've also ran accross this, not so much a bug though. It works properly in its use case. The problem is, there are other use cases with timezones. Here is my scenario: I work with a legacy database. Unfortunately, all datetimes are saved into the database as UTC, but as the clients time zone.

[flexcoders] RemoteObject.setCredentials() and Hotfix 2

2007-06-01 Thread Sam Shrefler
Has there been a change to setCredentials on RemoteObject from HotFix 2? I'm using Service capture to view the requests and after HotFix 2 and these are the following differences of the CommandMessage being sent to my gateway... DSId (String): nil - this is added to the headers object

Re: [flexcoders] RemoteObject.setCredentials() and Hotfix 2

2007-06-01 Thread Sam Shrefler
not sure. Thanks Sam On 6/1/07, Carlos Rovira [EMAIL PROTECTED] wrote: I should say that remoteCredendials was not working for me in early versions of LCDS but now it works, so maybe you could try it now and see your credentials reaching your server classes 2007/6/1, Sam Shrefler [EMAIL

Re: [flexcoders] Stroke color on lineSeries - bug?

2006-08-30 Thread Sam Shrefler
Sree: I'm not sure if its a bug, anerror in the documents, or none of the abover... If you need to change teh stroke color, I've successfully used the following... mx:LineSeries mx:lineStroke mx:Stroke color=0x33 weight=3//mx:lineStroke /mx:LineSeries Hope that helps Sam On 8/30/06,

[flexcoders] Multiple Screen Application

2006-08-31 Thread Sam Shrefler
I'm just looking for an theory overview / suggestions on how to handle multiple screens with nothing in common: For example, i have an application that I'd like to have a menubar on every single screen. After that, i'd have say 5 - 20 totally unrelated screens each with their own display and

Re: [flexcoders] Re: Multiple Screen Application

2006-08-31 Thread Sam Shrefler
into the vbox.) Then switching screens is as easy as calling: model.currentState = Constants.MainMenuBrennan--- In flexcoders@yahoogroups.com, Sam Shrefler [EMAIL PROTECTED] wrote: I'm just looking for an theory overview / suggestions on how to handle multiple screens with nothing in common: For example

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

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

Re: [flexcoders] Flex 2: Passing Custom Classes to .NET Web Service

2006-09-13 Thread Sam Shrefler
John: I just put together a little tutorial on using .NET (with AMF0) with WebOrb.NET Standard (free) to pass typed custom classes back and forth, you can check it out here: http://blog.shrefler.net/?p=6 Or, you can use JSON (both in flex and .net) with a .NET webService to serialize and

Re: [flexcoders] Casting Value Objects

2006-09-13 Thread Sam Shrefler
Pete: Two things to try...first: Try typing your array collection by doing this in your ModelLocator: [ArrayElementType(com.xxx.xxx.model.ModuleVO)]public var modules:ArrayCollection; Also, in your VO class, add this: //assuming you have your VO named the same on the remote side...

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

2006-09-14 Thread Sam Shrefler
[EMAIL PROTECTED] wrote: Nah, I'm not interested in JSON. If we weren't using WSs we'd be using Remoting. Thanks though. On 9/7/06, Sam Shrefler [EMAIL PROTECTED] wrote: John: You might want to also check out JSON + .NET + Flex. I've written a tiny little little tutorial to help get

Re: [flexcoders] More WebService Examples?

2006-09-15 Thread Sam Shrefler
Steve: What exactly are you looking for? Also, what backend are you using? Sam On 9/15/06, Steve Kellogg @ Project SOC [EMAIL PROTECTED] wrote: Hello, Does anyone have any more examples of webservices in Flex that they can point me to? The only ones I see in the Flex docs are very

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

2006-09-19 Thread Sam Shrefler
John, I know you had said you were using webServices...but if you can possibly refactor, using WebOrb.NET Standard (free), you can transfer back and forth classes/objects..For more info you can check out http://blog.shrefler.net/?p=6 Hope that could help... Sam On 9/18/06, John C. Bland II

[flexcoders] How do you handle many transitions between many states

2006-09-26 Thread Sam Shrefler
I'm trying to figure out a way to clean up the transitions from my application.mxml file. I'd like to specify many custom transitions between different states. As my number of states grows, so does my number of transitions, all defined in my application.mxml. I'm looking for ideas on how

[flexcoders] Conditional Login inside curly braces for binding

2006-10-02 Thread Sam Shrefler
Is there anyway to put a condition inside { } for example: enabled={checkA == something checkB == somethingElse} Flex Builder throws an error The Entity must immediately follow the in the entity referecne. It seems to be a problem with the Logical Operator since || works fine. ThanksSam

Re: [flexcoders] Conditional Login inside curly braces for binding

2006-10-02 Thread Sam Shrefler
; checkB == somethingElse} Sam Shrefler wrote: Is there anyway to put a condition inside { } for example: enabled={checkA == something checkB == somethingElse} Flex Builder throws an error The Entity must immediately follow the in the entity referecne. It seems to be a problem with the Logical

Re: [flexcoders] Conditional Login inside curly braces for binding

2006-10-02 Thread Sam Shrefler
Sho: Yep...i rushed the reply right after writing it on my blog...blog was right, reply was wrong...thanks Peter: Thanks, i never thought of doing if that way.. Thanks for all the replies Sam On 10/2/06, Peter Hall [EMAIL PROTECTED] wrote: mx:Buttonmx:enabled![CDATA[{checkA ==

[flexcoders] TextInput Validation on Change Event causes Halo Error Bug

2006-10-05 Thread Sam Shrefler
I seem to be experiencing a minor bug with a TextInput and a StringValidator. When the TextInput is not valid, a red halo appears around the focussed TextInput. I execute the validator.validate() on the change event so it updates as the user types data - as per the quick start

Re: [flexcoders] Binding Database Table to a ComboBox

2006-10-09 Thread Sam Shrefler
Luchyx: The way I've gotten this to work is as follows selectedIndex={Utils.ComboBoxSelect(AllPossibleValuesInArrayCollection, 'data', selectedValueFromServer)} public class Utils{public static function ComboBoxSelect(ac:ArrayCollection, field:String, value:Number):Number{for (var

Re: [flexcoders] Re: Access Cairngorm Value Objects in the onResult Method

2006-10-18 Thread Sam Shrefler
Ryan: I'm not sure if this is what the previous poster was sayingbut my suggestion would be to make a private class variable in your command. private originalVO:MyVO; execute() { originalVO = myMethodEvent.MyVO; delegate.MyMethod(originalVO ); } onResult(result:Object) { //use

[flexcoders] IE 7, Service Capture, Flex Help

2006-10-19 Thread Sam Shrefler
After installing IE 7, using Service Capture, I can no longer view my Flex Help from Flex Builder. Previously, I had fixed this by setting the help server in flex builder to 'local host' and the port to 57266as recommended here:

[flexcoders] Efficient way to bing data to many text fields using cairngorm framework

2006-10-23 Thread Sam Shrefler
I'm trying to use the Cairngorm framework, more specifically the ModelLocator updating the view. There is a part of my application where 10 codes are asked for, So i have mx:TextInput id=code1/mx:TextInput id=code2/.mx:TextInput id=code10/ I'm trying to figure out an efficient wayto

[flexcoders] Reset Radio Button Group

2006-10-23 Thread Sam Shrefler
I've found the following reference: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=c4e4be2f selectedRadio won't compile in Flex Builder 2. Any idea how to do this in Flex 2? Thanks! Sam __._,_.___ -- Flexcoders Mailing List FAQ:

Re: [flexcoders] Re: Reset Radio Button Group

2006-10-24 Thread Sam Shrefler
Hoff Cynergy Systems, Inc. http://www.cynergysystems.comOffice: 866-CYNERGY --- In [EMAIL PROTECTED]ups.com, Sam Shrefler [EMAIL PROTECTED] wrote: I've found the following reference: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=c4e4be2f selectedRadio won't compile in Flex Builder 2

Re: [flexcoders] Re: Reset Radio Button Group

2006-10-24 Thread Sam Shrefler
posting, so I know it works with my programs. If you can, postyour code and we'll get you going. -TH___ Tim Hoff Cynergy Systems, Inc http://www.CynergySystems.com Office: 1.866.CYNERGY --- In [EMAIL PROTECTED]ups.com, Sam Shrefler [EMAIL PROTECTED] wrote: Tim: THanks

[flexcoders] Transition a move based on layoutManager moving a component

2006-10-24 Thread Sam Shrefler
Is there any way to transition a move based on a layoutManager moving a component. For instance: Say i have aVBox with 10 components. In the new state, The top 9 components are removed, therefore the 10th component is at the top fo the VBox. Is there any way to move the 10th component from its

Re: [flexcoders] Subversion clients

2007-11-30 Thread Sam Shrefler
Sam: Thanks for the explanation. Even though Gordon is looking for Mac, you gave me a hint on VisualSVN. I've never used it. I've always just left VS to go into Tortoise, but I'll have to give it a try. Thanks! Sam On Nov 30, 2007 9:38 AM, Samuel R. Neff [EMAIL PROTECTED] wrote: Not