[flexcoders] Re: Cairngorm Phone Selector in F2B2

2006-04-15 Thread Tim Hoff
Try making the constant bindable: [Bindable] public static var STATE_LOADING:String = ; - Tim Hoff --- In flexcoders@yahoogroups.com, Rick Schmitty [EMAIL PROTECTED] wrote: Thanks for your help with the changes! That did it as well Alex Benoit, I got a 404 when trying to grab http

[flexcoders] Cairngorm2 Commands and Singletons

2006-04-17 Thread Tim Hoff
and if there were some links or advice that could be offered? I also want to say that I think that the Adobe team is doing a great job. I can't wait for the release of Flex2. It's going to turn a lot of heads. Many thanks, Tim Hoff P.S. It would be nice to have something like the following

[flexcoders] Re: All the bunch of idiots at Adobe, please note!

2006-04-17 Thread Tim Hoff
to be positive, helpful and Open. I am not affiliated with Adobe in any regard. But in the future, please limit the scope of your comments to programming questions that can be effectively addressed and that might also help the group. Thank You, Tim Hoff --- In flexcoders@yahoogroups.com

[flexcoders] Re: Cairngorm2 Commands and Singletons

2006-04-17 Thread Tim Hoff
: Tim Hoff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, April 17, 2006 12:46 PM Subject: [flexcoders] Cairngorm2 Commands and Singletons Apparently, there has been much discussion concerning singletons here already, but the search feature of this site doesn't seem to ever

[flexcoders] Re: Cairngorm2 Commands and Singletons

2006-04-17 Thread Tim Hoff
! - Original Message - From: Tim Hoff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, April 17, 2006 1:23 PM Subject: [flexcoders] Re: Cairngorm2 Commands and Singletons That's what I thought Jester. So the problem is not with the commands but rather

[flexcoders] Re: All the bunch of idiots at Adobe, please note!

2006-04-17 Thread Tim Hoff
Sir, while I would certainly relish perpetuating a debate on this issue. I don't see any benefit to such a discourse at this time. However, I'm now wondering less why you had such a big problem in the first place. - Tim Hoff --- In flexcoders@yahoogroups.com, t_msreddy [EMAIL PROTECTED

[flexcoders] Re: Cairngorm2 Commands and Singletons

2006-04-17 Thread Tim Hoff
exist for each call; thus representing a memory leak? Do you have a better suggestion for this? I would like to keep the application as pure Cairngorm if possible. As a side note, thank you very much for your 6-part article. It was a hard learning curve, but well worth it. Regards, Tim Hoff

[flexcoders] Re: mx.rpc.soap.mxml.WebService VS mx.rpc.soap.WebService

2006-04-18 Thread Tim Hoff
(); CursorManager.removeBusyCursor(); - Tim Hoff --- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: Why are these separate classes? More importantly, why does the mxml version have capabilities that its super class does not? I like the showBusyCursor functionality, but prefer to code

[flexcoders] Re: mx.rpc.soap.mxml.WebService VS mx.rpc.soap.WebService

2006-04-18 Thread Tim Hoff
Ben, below is a modified version of Jeff Tapper's AS class for webServices. Here's his original post: http://jeff.mxdj.com/as3_datamanager.htm. It solves the problem with the order of the arguments being sent randomly to the web service. Steven has me thinking more about the abstration of this

[flexcoders] Re: Flex webservices framework

2006-04-19 Thread Tim Hoff
You can find an mxml example in the live docs: Flex Live Docs. Go to "GettingStarted with Flex" and select "Data: UseWeb Services. If you are interested in an AS3 class for web services, the following link should give you some good ideas:http://jeff.mxdj.com/as3_datamanager.h

[flexcoders] Re: Is This Accurate Cairngorm architectural framework in a word (well a few words)

2006-04-19 Thread Tim Hoff
Robert, To learn more about Cairngorm, I highly recommend that you read the 6-part article series that starts here: http://www.macromedia.com/devnet/flex/articles/cairngorm_pt1.html. - TH --- In flexcoders@yahoogroups.com, Robert Thompson [EMAIL PROTECTED] wrote: Thanks Steve. Thus far,

[flexcoders] Re: Turn off Validators

2006-04-19 Thread Tim Hoff
h-all function. I'm really not sure if this applies to your particular situation, but I hope that this helps you. Tim Hoff --- In flexcoders@yahoogroups.com, "mvbaffa" [EMAIL PROTECTED] wrote: Hi everybody, I need to turn off or disable a validator. After an error is detected in the ass

[flexcoders] Re: Flex2b2: Top-level exception handler

2006-04-20 Thread Tim Hoff
+event.fault.description); } Best, Tim HOff --- In flexcoders@yahoogroups.com, Tobias Patton [EMAIL PROTECTED] wrote: Hello flexcoders; Does anyone know of a way to intercept all uncaught errors in a Flex application? The default behavior is for the Flash Player to display a simple dialog

[flexcoders] Re: Flex2B2 :: Changing State :: Problem with parent child

2006-04-20 Thread Tim Hoff
Looks like you need an equal sign. modifierCheckGroup.currentState matchState; should be: modifierCheckGroup.currentState = matchState; - Tim --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, Real quick is there a problem with changing a parent

[flexcoders] Re: Flex2B2 :: Changing State :: Problem with parent child

2006-04-21 Thread Tim Hoff
. But, if you're not using cairngorm yet, it probably won't fit your need. Tim --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: hi, No, that was just a typo from the email, I am getting no errors. Peace, Mike On 4/20/06, Tim Hoff [EMAIL PROTECTED] wrote: Looks

[flexcoders] Flex2B2: Cairngorm - Controlling View State Example

2006-04-21 Thread Tim Hoff
Oh, what the heck. I might as well post an example how to control the currentState of components with the modelLocator. Hopfully, no- one is offended by the simplicity. Tim Hoff //*** ModelLocator

[flexcoders] Re: Flex2B2 :: Changing State :: Problem with parent child

2006-04-21 Thread Tim Hoff
). Peace, Mike On 4/21/06, Tim Hoff [EMAIL PROTECTED] wrote: You might try changing the state of the child component before the parent. I've noticed, probably because of Flex's asynchronous nature, that sometimes code doesn't execute before the screen is rendered. If you

[flexcoders] Flex2B2: Cairngorm - Controlling View State Example v2

2006-04-21 Thread Tim Hoff
This versionshould be easier to read (with a magnifying glass :). Remember to register the command in the FrontController and dispatch the commands' event somewhere. Cheers,Tim Hoff//*** ModelLocator

[flexcoders] Re: Caurngorm 2 - where to deal with system events?

2006-04-24 Thread Tim Hoff
else, without having to go back to the view to dispatch another event. It seems to me that you want to keep apples with apples and oranges with oranges. I'd be interested to know if there is a best practice concerning how to do this in cairngorm. Tim Hoff --- In flexcoders@yahoogroups.com

[flexcoders] Re: dispatching from an MXML component

2006-04-24 Thread Tim Hoff
of the dataGrid tag. runMyFunction(); would be a function that you created. To listen for events, I'll refer you to the help docs. There a couple of ways to do it, so look for addEventListeners, dispatchEvent and metaData. Later, Tim Hoff --- In flexcoders@yahoogroups.com, Webdevotion [EMAIL PROTECTED

[flexcoders] Re: [Flex2B2] DataGrid refresh problem

2006-04-26 Thread Tim Hoff
the dataGrid an id (id=dataGrid1) and place dataGrid1.updateControl(); after you change the name in the doChangeData1(); function. This might just be a glitch that will be fixed by final release. Best, Tim Hoff --- In flexcoders@yahoogroups.com, Andrea Varga [EMAIL PROTECTED] wrote: Hi! Here I have

[flexcoders] Flex2B2 Cairngorm2 Web Services

2006-04-27 Thread Tim Hoff
an AS class for the web services, but am running into one headache after another (mostly with parallel calls and event listeners). If anyone could help, I would greatly appreciate it. Thanks, Tim Hoff -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files

[flexcoders] Flex2B2 Resolution Change Event

2006-05-01 Thread Tim Hoff
to do this, but none have been successful. I was wondering if anyone else had tried to do this dynamically. Thanks, Tim Hoff -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders

[flexcoders] Re: dataGrid column witdths

2006-05-01 Thread Tim Hoff
than the set width of the column. Tim Hoff --- In flexcoders@yahoogroups.com, Chris Scott [EMAIL PROTECTED] wrote: Hi I'm wondering if anyone has done an extended dataGrid component or can shed some light on the direction to take on building a dataGrid that autosizes it's columns

[flexcoders] Re: Getting an Array of Values from a dataProvider

2006-05-01 Thread Tim Hoff
You could do something like this to get the unique values in the array column. For all values, just push on every loop. - Tim Hoff public function populateColumnArray(gridDataProvider:Array):void { var columnArrayHashMap : Object = new Object(); varcolumnArray : Array = new Array; var n:int

[flexcoders] Re: Flex2B2 Resolution Change Event

2006-05-02 Thread Tim Hoff
not sure how to go about it though. Thanks again, Tim --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 5/1/06, Tim Hoff [EMAIL PROTECTED] wrote: I have a panel that contains a viewStack with two children. One of the children is a tabNavigator and the other

[flexcoders] Re: Flex2B2 Resolution Change Event

2006-05-02 Thread Tim Hoff
just tries to catch-up. --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 5/2/06, Tim Hoff [EMAIL PROTECTED] wrote: The problem that I am having is determining an event that is consistantly dispatched when the browser window is resized. Are you sure

[flexcoders] menuBar text color

2006-05-03 Thread Tim Hoff
Is there a way to have different text color for a menuBar's top item and drop-down items? extend? subclass? Thanks in advance, - Tim Hoff -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com

[flexcoders] Re: menuBar text color

2006-05-03 Thread Tim Hoff
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff Sent: Wednesday, May 03, 2006 2:52 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] menuBar text color Is there a way to have different text color for a menuBar's top item and drop-down items

[flexcoders] Re: re-filtering data in DataGrid?

2006-05-04 Thread Tim Hoff
To expand on Deepa's suggestion, you can easily filter an arrayCollection that is used as a dataProvider with the following code. Call the filterGrid() function from the comboBox change event. - THpublic function filterGrid():void { gridDataProvider.filterFunction=statusFilter;

[flexcoders] Flex2B2 to Flex2B3

2006-05-04 Thread Tim Hoff
Will the difference between Beta2 and Beta3 be as significant as B1 to B2? Just wondering, Tim Hoff -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com

[flexcoders] Re: Error #1009: null has no properties.

2006-05-08 Thread Tim Hoff
I doubt that this has anything to do with the view states. You probably have a field or binding in the accordion control that isn't being initialized or set to to a value before the control is shown. Just a thought. Tim Hoff --- In flexcoders@yahoogroups.com, sreedhar reddy [EMAIL

[flexcoders] Re: Is it possible to dynamically get a PrintScreen Image?

2006-05-08 Thread Tim Hoff
I wonder if you could use the print function result, but bypass sending it to the printer. TH --- In flexcoders@yahoogroups.com, Raheen M Shabbazz [EMAIL PROTECTED] wrote: I've got a dynamic application that can be in any number of view-states. Generally speaking, no two states are the

[flexcoders] Re: Gui component events inside mx:Repeater

2006-05-08 Thread Tim Hoff
Each control (Repeater, comboBox) needs to utilyze binding. If you use an arrayCollection as the dataProvider for all your controls, you can easily manipulate and bind the data that resides in the model (preferably modelLocator). TH --- In flexcoders@yahoogroups.com, djbrown_rotonews

[flexcoders] Re: Gui component events inside mx:Repeater

2006-05-08 Thread Tim Hoff
You might also wan't to check this out: http://www.cflex.net/showfiledetails.cfm?ChannelID=1Object=FileobjectID=231 Cheers, Tim --- In flexcoders@yahoogroups.com, "djbrown_rotonews" [EMAIL PROTECTED] wrote: I've got the following GUI component that updates a value inside an mx:Model I've

[flexcoders] Individual Tab Header Colors

2006-05-08 Thread Tim Hoff
I read a great post recently that showed how to apply styles to individual tab headers in a tabNavigator with AS3. And like an idiot, I failed to bookmark it. Does anyone have a quick link that shows how to do this? I searched, but came up dry. As always - thanks, Tim Hoff

[flexcoders] Re: Individual Tab Header Colors

2006-05-09 Thread Tim Hoff
@yahoogroups.com *Subject:* Re: [flexcoders] Individual Tab Header Colors you can getChildAt() to get the individual button instance then setStyle() on it. see if this work. On 5/9/06, *Tim Hoff* [EMAIL PROTECTED] wrote: I read a great post recently that showed how to apply

[flexcoders] Flex2B3 problem

2006-05-09 Thread Tim Hoff
doesn't appear. The application just sits there. Any ideas? Thanks, Tim Hoff ?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" layout="absolute" paddingTop="10" paddingBottom=&qu

[flexcoders] Re: Flex2B3 problem

2006-05-09 Thread Tim Hoff
PROTECTED] wrote: You might try getting rid of the xmns=* in the application tag...this isn't needed anymore and was actually a workaround for custom components in previous versions. --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote: This is a good one. I unistalled Flex2B2

[flexcoders] Re: combobox selection

2006-05-10 Thread Tim Hoff
When you select an item in the categories comboBox, the change event occurs. You can execute a function based on that event by placing somthing like this in the comboBox tag: change=populateSubCategories();. The populateSubCategories function would then either get the related subCategory

[flexcoders] Re: problem in DateField

2006-05-10 Thread Tim Hoff
You might have better luck using a dateFormatter before you cast to a string. -TH --- In flexcoders@yahoogroups.com, raghuramab [EMAIL PROTECTED] wrote: I have the same need and issue. Here is my use case. I retrive a date field from a webservice and what I get is a string of the format

[flexcoders] Re: Caringorm with f2b3 issues

2006-05-10 Thread Tim Hoff
Not sure what to tell you Graham. I remember having a little trouble with this too. The code below works for me. Just make sure all of your paths are correct. Also, instead or static var, use static const. -TH xmlns:control="org.ets.main.code.control.*" import

[flexcoders] Flex2B3 dataGrid variableRowHeight Bug?

2006-05-10 Thread Tim Hoff
. The grid rows are resized to accomodate the rest of the text. What's strange is that every call, after the first one, works correctly. I'm not sure if this is a bug and how to log a bug with Adobe. This is very minor, but I haven't figured out a work-around yet. Thanks, Tim Hoff

[flexcoders] Re: BackgroundColor

2006-05-10 Thread Tim Hoff
Try setting backgroundImage = . And change target to relativeTo on the states addChild. -TH --- In flexcoders@yahoogroups.com, Chris Scott [EMAIL PROTECTED] wrote: In Flex 2 Beta 3, setting the backgroundColor on the application doesn't seem to work anymore, is this really so? I am also

[flexcoders] Re: BackgroundColor

2006-05-10 Thread Tim Hoff
that init should be treated as a real constructor in coldfusion cfcs! :) Chris Scott [EMAIL PROTECTED] http://cdscott.blogspot.com/ http://www.coldspringframework.org/  On May 10, 2006, at 3:27 PM, Tim Hoff wrote: Try setting backgroundImage = . And change target

[flexcoders] Re: BackgroundColor

2006-05-10 Thread Tim Hoff
that init should be treated as a real constructor in coldfusion cfcs! :) Chris Scott [EMAIL PROTECTED] http://cdscott.blogspot.com/ http://www.coldspringframework.org/  On May 10, 2006, at 3:27 PM, Tim Hoff wrote: Try setting backgroundImage = . And change target

[flexcoders] Re: BackgroundColor

2006-05-10 Thread Tim Hoff
Have you actually used fillAlphas and fillColors for the application background and made it work in B3? -TH --- In flexcoders@yahoogroups.com, Peter Baird [EMAIL PROTECTED] wrote: And one last, lest we forget: backgroundColor=#008040 FillAlphas=[0, 0] Gets a green background, for

[flexcoders] Re: Beta3 Please Help

2006-05-10 Thread Tim Hoff
Did you change target to relativeTo in the addChild? --- In flexcoders@yahoogroups.com, sufibaba [EMAIL PROTECTED] wrote: Hello Everyone, I am migrating from Beta2 to Beta3. I have a custom component that draws a series of boxes on the screen from an XML file. The boxes are attached

[flexcoders] Re: Flex2B3 Problem with beta3 and FileReferenceList

2006-05-10 Thread Tim Hoff
of the Adobe team until the final version of Flex comes out. We all are experiencing some frustration when new updates are released. But, please be patient with and cordial to the people at Adobe. They are doing all of us a favor. Thanks, Tim Hoff Independent Developer --- In flexcoders

[flexcoders] Re: Validating text inputs upon submission

2006-05-10 Thread Tim Hoff
Jeremy, Search for validator in the help docs. There's a ton of info there. -TH --- In flexcoders@yahoogroups.com, Jeremy Rottman [EMAIL PROTECTED] wrote: In my app, I have several inputs fields that I have to validate before submission to my cfc. Can someone show me how I can do this?

[flexcoders] MenuBar Border

2006-05-10 Thread Tim Hoff
Just another little thing that changed from B2 to B3. I have a MenuBar in an ApplicationControlBar. The border color of the MenuBar is the same as the backgroundColor of the ApplicationControlBar. What appears is 3 sides of a border (L, R, B - no Top) in a darker color, around the MenuBar.

[flexcoders] Re: BackgroundColor

2006-05-10 Thread Tim Hoff
', [0, 0]); } /mx:Script /mx:Application On 5/10/06 4:29 PM, Tim Hoff [EMAIL PROTECTED] wrote: Have you actually used fillAlphas and fillColors for the application background and made it work in B3? -TH --- In flexcoders@yahoogroups.com, Peter Baird pbaird@ wrote

[flexcoders] Re: Cairngorm Sample Store

2006-05-10 Thread Tim Hoff
. But, you can see the code in action and follow along with the article. Good studying, Tim Hoff --- In flexcoders@yahoogroups.com, Graham Weldon [EMAIL PROTECTED] wrote: The sample ships with Cairngorm v 0.99 *http://www.iterationtwo.com/open_source_cairngorm.html* Regards, Graham Weldon

[flexcoders] Re: BackgroundColor

2006-05-11 Thread Tim Hoff
just stick with fillAlphas at 1, and pick your fillColors. -Peter On 5/10/06 11:09 PM, Tim Hoff [EMAIL PROTECTED] wrote: I mean, have you used fillAlphas and fillColors to create a gradient background for the application. I'm still struggling to find the correct combination of CSS

[flexcoders] Re: Flex2B3 dataGrid variableRowHeight Bug?

2006-05-11 Thread Tim Hoff
Thanks again Manish, Someone from Adobe (who is on this list) has already logged the bug with a sample file that I provided. -TH --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 5/10/06, Tim Hoff [EMAIL PROTECTED] wrote: I have a small dataGrid that has

[flexcoders] Re: MenuBar Border

2006-05-11 Thread Tim Hoff
Thanks Manish, The menuBar height is set to 100%. It's probably some funky combination of CSS that I haven't found yet. No worries, I'll figure it out. -TH --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 5/11/06, Tim Hoff [EMAIL PROTECTED] wrote: Just

[flexcoders] Re: MenuBar Border

2006-05-11 Thread Tim Hoff
Thanks Peter, Great example! I'll let you know what I figure out. Tim Hoff --- In flexcoders@yahoogroups.com, Peter Baird [EMAIL PROTECTED] wrote: Also, try setting all the paddings on the applicationControlBar to zero (paddingRight, paddingLeft, etc). Take a look at the source

[flexcoders] Re: DataGridColumn Style

2006-05-11 Thread Tim Hoff
You could try something like this: DataGrid { headerStyleName:gridHeaderStyle; headerColors:#ff,#CCD9E6; } .gridHeaderStyle { fontWeight:bold; fontSize:10; color:#00; } -TH --- In flexcoders@yahoogroups.com, Mehdi, Agha [EMAIL PROTECTED] wrote: Hi all, How can I set

[flexcoders] Re: Flex Beta 3 and ASP.NET 2.0 Web Services

2006-05-12 Thread Tim Hoff
. Tim Hoff --- In flexcoders@yahoogroups.com, Ken Bromberger [EMAIL PROTECTED] wrote: Hi, I am trying to consume a dataset returned by an asp.net web service and I get the following error. Any help or resources related to consuming web services would be greatly appreciated! - Ken

[flexcoders] Re: DataGridColumn Style

2006-05-12 Thread Tim Hoff
, Agha [EMAIL PROTECTED] wrote: Tim, That didn't do it. Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff Sent: Thursday, May 11, 2006 1:22 PM To: flexcoders@yahoogroups.com

[flexcoders] Re: DataGridColumn Style

2006-05-12 Thread Tim Hoff
: Tim, That didn't do it. Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff Sent: Thursday, May 11, 2006 1:22 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re

[flexcoders] comboBox Problem

2006-05-12 Thread Tim Hoff
This is a little strange. I have a comboBox below a dataGrid that is used to filter the dataGrid. When I click on the comboBox button, the pop-up list fades in (up) and immediatly collapses, making it impossible to select a value. Has anyone else experienced this as well? Thanks, Tim Hoff

[flexcoders] Re: Cairngorm microarchitecture. 2 instances of view with different data.

2006-05-14 Thread Tim Hoff
. Simply stated, the ownerView would have an edit button and the visitor view wouldn't I know that this isn't your exact use-case, but hopefully it will give you some ideas. Regards,Tim Hoff --- In flexcoders@yahoogroups.com, "maxym.hryniv" [EMAIL PROTECTED] wrote: Hy, coders. I have a qu

[flexcoders] Re: Cairngorm microarchitecture. 2 instances of view with different data.

2006-05-15 Thread Tim Hoff
anything without knowing the server-side architecture and how you are retrieving data. It sounds like you have a pretty complex application, good luck working-out the details. Not Waiting for Reply, Tim Hoff --- In flexcoders@yahoogroups.com, maxym.hryniv [EMAIL PROTECTED] wrote: Dimitrios

[flexcoders] Re: Are ViewHelper and ViewLocator deprecated in Cairngorm 2?

2006-05-15 Thread Tim Hoff
Dimitrios, What are you using instead of ViewLocators to handle view specific logic. I know that Jesse Warden swears-by still using a common ViewLocator (a good topic for debate), but what does the committee recommend as best practice? Tim Hoff --- In flexcoders@yahoogroups.com

[flexcoders] Re: Are ViewHelper and ViewLocator deprecated in Cairngorm 2?

2006-05-15 Thread Tim Hoff
I meant viewHelpers. Sorry. - TH --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Dimitrios, What are you using instead of ViewLocators to handle view specific logic. I know that Jesse Warden swears-by still using a common ViewLocator (a good topic for debate

[flexcoders] Re: Are ViewHelper and ViewLocator deprecated in Cairngorm 2?

2006-05-15 Thread Tim Hoff
. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff Sent: Monday, May 15, 2006 11:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Are ViewHelper and ViewLocator deprecated in Cairngorm 2? Dimitrios, What are you using instead

[flexcoders] Re: question for cairngorm mavens

2006-05-15 Thread Tim Hoff
It would be a nice feature in a future release to be able to define your own code collapse regions (like a tree), to make a large number of variables easier to organize and find. This would be especially helpful in the ModelLocator and the FrontController. -TH --- In

[flexcoders] Re: Problem with Clicks Changing View States

2006-05-15 Thread Tim Hoff
Since you are creating a component as the itemRenderer, you need to reference it's parent's currentState. -TH --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote: Greetings - Here's an Item renderer that turns name into a link. That link should simply lead to a different view

[flexcoders] Re: getting Date from webservices

2006-05-15 Thread Tim Hoff
One way would be to use a formatter (see below). You could to do the same thing using Action Scriptor you could format the date in .NET before you return it to Flex. Cheers,TH mx:VBoxmx:DateFormatter id="df" formatString="MM/DD/"/mx:Text id="myDate" text="{df.format(data.myDate)}" /mx:VBox

[flexcoders] comboBox Problem (bug?)

2006-05-15 Thread Tim Hoff
a value. I looked at the API documentation, but can't see anything wrong. The comboBoxes were working fine in B2 but not B3. I tried re-installing the player - no change. A sample of the code is provided below. Thanks for any response concerning this. Tim Hoff mx:ComboBox id="cboStatusF

[flexcoders] Re: comboBox Problem (bug?)

2006-05-15 Thread Tim Hoff
Nevermind. This was my bad. I had a setFocus on render which was taking control away from the comboBox. Peace out, TH --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Sorry to be a pest about this. I posted this problem a few days ago, with no replies. So, I

[flexcoders] Re: Cairngorm microarchitecture. 2 instances of view with different data.

2006-05-16 Thread Tim Hoff
the visibility of a button with a Boolean value that is bound to the ModelLocator. As far as the rest of it goes, I think that I should call Shirley McClaine. :--) Hope that this helps, Tim Hoff --- In flexcoders@yahoogroups.com, maxym.hryniv [EMAIL PROTECTED] wrote: //While I don't necessarily subscribe

[flexcoders] Re: [F2B3] Class Library

2006-05-16 Thread Tim Hoff
Thanks Michael, I was wondering how to do this as well. -TH --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, Ok, you need to; 1) Open you Project in FB2 2) Right Click on your Project's main node 3) Select properties 4) Select Flex Build Path 5)

[flexcoders] Re: Flex2B2 Resolution Change Event

2006-05-16 Thread Tim Hoff
titlewindows correctly sized when the user resizes the browser. http://livedocs.macromedia.com/labs/1/flex20beta2/langref/flash/displ ay /Stage.html#includeExamplesSummary --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote: I have a panel that contains a viewStack with two children

[flexcoders] Re: delete class instances

2006-05-16 Thread Tim Hoff
Make the bad ping go away! ;) If you are instantiating the class: import PingClass; public var myPingClass : PingClass = new PingClass; I believe that you can either set it to null: myPingClass = null; or delete it: delete myPingClass; -TH--- In flexcoders@yahoogroups.com, "Sonja Duijvesteijn"

[flexcoders] Re: Flex B3 - Label's fontSize, fontWeight not available via Actionscript?

2006-05-16 Thread Tim Hoff
You can use setStyle: sig.setStyle(fontWeight, bold); TH --- In flexcoders@yahoogroups.com, willchapm [EMAIL PROTECTED] wrote: An mx:Label's font attributes are notavailbale in Actionscript in Beta 3. I'm using: mx:Label id=sig fontWeight=bold fontSize=20 I'm trying to change the

[flexcoders] Re: delete class instances

2006-05-16 Thread Tim Hoff
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff Sent: Tuesday, May 16, 2006 12:05 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: delete class instances Make the bad ping go away! ;) If you are instantiating the class: import PingClass; public var

[flexcoders] Re: delete class instances

2006-05-16 Thread Tim Hoff
I'm not sure, but you might need to stop the timer and remove the eventListener before you set ping to null. The references may be preventing the class from being available for garbageCollection. TH --- In flexcoders@yahoogroups.com, Sonja Duijvesteijn [EMAIL PROTECTED] wrote: Thank you

[flexcoders] Re: No mx.data in Basic flex project. Is there an easy way to convert to FDS project?

2006-05-16 Thread Tim Hoff
There's probably a better way to do this. But you could use the same steps as moving from B2 to B3. Backup your files, delete your project definition, create a new project (same name but with fds), and copy/paste the application mxml file code into the new application file. A workaround -

[flexcoders] MenuBar Border Re:Re:

2006-05-16 Thread Tim Hoff
could shed some light on what I'm missing. The code that I'm using is similar to that below. Thanks so much in advance,Tim Hoff --- CSS--- ApplicationControlBar { backgroundColor: #27568D

[flexcoders] MenuBar Border Re:Re:

2006-05-16 Thread Tim Hoff
on ApplicationControlBar and MenuBar. A three sided border - how strange. Thanks though Jeremy, Tim --- In flexcoders@yahoogroups.com, jeremy lu [EMAIL PROTECTED] wrote: have you tried to set borderStyle: none on MenuBar ? On 5/17/06, Tim Hoff [EMAIL PROTECTED] wrote: This problem

[flexcoders] Re: MenuBar using databinding

2006-05-16 Thread Tim Hoff
Did you try this: (curly braces for binding) menuItem label=New enabled=' + { ModelLocator.getInstance().ACTION_ENABLED_FILE_NEW } + '/ --- In flexcoders@yahoogroups.com, Graham Weldon [EMAIL PROTECTED] wrote: I've asked this question previously, but in a slightly different manner, and

[flexcoders] Re: MenuBar using databinding

2006-05-16 Thread Tim Hoff
dataBinding from ActionScript? Or alternatively, there may be a way to completely define this component in MXML, allowsin us to use the curly-brace notation for databinding? Regards, Graham Weldon Tim Hoff wrote: Did you try this: (curly braces for binding) menuItem label=New

[flexcoders] Re: MenuBar using databinding

2006-05-16 Thread Tim Hoff
=25 enabled={ModelLocator.getInstance ().ACTION_ENABLED__FILE_OPEN} x=25/ !-- = -- /mx:Canvas Tim Hoff wrote: Yeah, I was afraid of that. You would probably have to dispatch

[flexcoders] Re: MenuBar using databinding

2006-05-16 Thread Tim Hoff
One other thought. Instead of using the curly braces in the XML, do you think that you could use the special characters like /n7B and /n7D? --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: That's cool Graham. I might use your solution as well, until the MenuBar XML

[flexcoders] Re: MenuBar using databinding

2006-05-16 Thread Tim Hoff
I'm sorry, should be \x7B and \x7D. --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: One other thought. Instead of using the curly braces in the XML, do you think that you could use the special characters like /n7B and /n7D? --- In flexcoders@yahoogroups.com

[flexcoders] Re: MenuBar using databinding

2006-05-16 Thread Tim Hoff
Ok, not regExp, AscII #123 and #125. --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: I'm sorry, should be \x7B and \x7D. --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote: One other thought. Instead of using the curly braces in the XML, do you

[flexcoders] Re: MenuBar using databinding

2006-05-16 Thread Tim Hoff
+ ' .'; var myXMLList : XMLList = new XMLList(MyXMLString); I think this means that the value is included correctly, but is not capable of producing a data binding effect. Regards, Graham Weldon Tim Hoff wrote: One other thought. Instead of using the curly braces in the XML, do you

[flexcoders] Re: MenuBar using databinding

2006-05-16 Thread Tim Hoff
().ACTION_ENABLED_FILE_OPEN + '/' + '/menuItem' ); --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Well, it was worth a try. :) --- In flexcoders@yahoogroups.com, Graham Weldon graham.weldon@ wrote: Tim, That would also introduce an error since the XML

[flexcoders] Re: MenuBar using databinding

2006-05-16 Thread Tim Hoff
; resetMenuXML(); } I'm not sure if this will work, but I am pretty sure it doesn't fit in with the Cairngorm best practices and framework. Steven or Alistair, if you're tuning in, what are your thoughts on this particular situation? Regards, Graham Weldon Tim Hoff wrote

[flexcoders] MenuBar Border Re:Re:

2006-05-17 Thread Tim Hoff
: well that's very interesting, I don't know it's that tricky to hide the border, will take a look at it tonight. On 5/17/06, Tim Hoff [EMAIL PROTECTED] wrote: Yep, borderStyle:none; and borderThickness:0; The border, from top-to-bottom looks like a gradient. If I change

[flexcoders] Re: Cairngorm microarchitecture. 2 instances of view with different data.

2006-05-17 Thread Tim Hoff
No problem Maxym. It sounds like you are set with your current architecture. I wish you good luck and success with your application. Take care, Tim Hoff --- In flexcoders@yahoogroups.com, maxym.hryniv [EMAIL PROTECTED] wrote: Thanx, Tim. I'm not taking offence, but i'm really care about

[flexcoders] Top Ten Reasons

2006-05-18 Thread Tim Hoff
et the bar for RIA and RAD. This is just a little humor and hopeful inspiration. Cheers everyone,Tim Hoff -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoo

[flexcoders] Re: Top Ten Reasons

2006-05-18 Thread Tim Hoff
Sorry Steven, I wasn't sure if Blackberry had won or lost their patent case. :) --- In flexcoders@yahoogroups.com, Steven Webster [EMAIL PROTECTED] wrote: You forgot: If you set your blackberry to vibrate, stand it at one end of the office, the volume of incoming emails makes it walk

[flexcoders] Re: .Net DataSet

2006-05-18 Thread Tim Hoff
moments, I would appreciate briefly discussing this with you. Thanks again, Tim Hoff --- In flexcoders@yahoogroups.com, flashorbman [EMAIL PROTECTED] wrote: Hi Tim, WebORB will provide the same functionality for .NET as Flex Data Services for Java. We implemented it in a way so the same

[flexcoders] Re: returning values from a webservice

2006-05-18 Thread Tim Hoff
Greg, You could try binding them like this: mx:Text id=text1 text={myWS.getData.lastResult(0).total}/ mx:Text id=text2 text={myWS.getData.lastResult(1).total}/ -TH --- In flexcoders@yahoogroups.com, Greg Morphis [EMAIL PROTECTED] wrote: maybe I didnt make myself clear.. and I apologize

[flexcoders] Re: Bindable Error

2006-05-18 Thread Tim Hoff
Try changing [bindable] to [Bindable]. -TH --- In flexcoders@yahoogroups.com, Darren Houle [EMAIL PROTECTED] wrote: I don't know if I'm tired, dumb, or just missing something obvious. Why does this... ?xml version=1.0 encoding=utf-8? mx:Application

[flexcoders] Re: Meaning of xmlns=*?

2006-05-19 Thread Tim Hoff
Hi, xmlns=* is an application level namespace definition. It was automatically included when you created a new MXML application or component, using File/New, in older versions of Flex. It is no longer required. -TH --- In flexcoders@yahoogroups.com, Stanislav Zayarsky [EMAIL PROTECTED]

[flexcoders] Re: Flex2 :: Seperate Mailing List :: Component developers - Framework Devlopment

2006-05-19 Thread Tim Hoff
real enterprise solutions. I am slowly but surely digging deeper into the Flex framework and its advanced concepts. So for me, it's good to have both sides in the same place. Just my thoughts,Tim Hoff --- In flexcoders@yahoogroups.com, "sleekdigital" [EMAIL PROTECTED] wrote: I would be

  1   2   3   4   5   6   7   8   9   10   >