[flexcoders] Re: IE Only: Error #2032 (Flex 2.0)

2006-12-09 Thread aerospc04
For reference, here's what it took for me to get things working for a php script that prints dynamic xml via a SSL [https] connection... ?php header('Cache-Control: cache, must-revalidate'); header('Pragma: public'); Without the latter headers, the flex app *would* work under FireFox but

[flexcoders] Re: Flex Presentation Server vs Flex Data Services

2006-12-09 Thread Charles
Thanks Matt! --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Flex Presentation Server is essentially Flex 1.5. For Flex 2 we separated out the presentation logic into the Flex SDK and improved the data portion into FDS. Matt

[flexcoders] Re: httpservice conundrum

2006-12-09 Thread kim_boulton
gotcha thanks

[flexcoders] change state and issue command

2006-12-09 Thread bghoward3
here is my situation i have an app with 2 states, the first state is a dashboard with a grid on it when user clicks item in grifd it goes to state 2 where a tabnavigator exists and the compoents display the selected items information this works fine the first time through since my function to

[flexcoders] Re: Extending ChartElement class

2006-12-09 Thread purcept
Thanks

[flexcoders] Business Objects and Value Objects/Cairngorm. Distinction?

2006-12-09 Thread lostinrecursion
Hi all, I was reading a fantastic series by Alex Uhlmann on How Business Logic can Manage Your Views (http://weblogs.macromedia.com/auhlmann/archives/2006/06/cairngorm_sampl.cfm) I have one question for someone who may know. Could someone tell me the difference between a Business Object (such as

[flexcoders] eval() function removed in AS 3.0 ??

2006-12-09 Thread pdflibpilot
According to the documentation eval() has been removed as function - is there an alternative ? I really would like to use this function.

[flexcoders] Automatic selection - copy and paste to clipboard, possible? with a mouse click event

2006-12-09 Thread {reduxdj}
Hey, these guys are asking me if it's possible to automatically make a selection of a textarea in flex and then copy that to the cliboard? Is that even possible, doesn't seem so? I tried setSelection without much success. Er, where's that example? btw, i know this can be done in js... but

[flexcoders] fading htmlText - doesn't fade with my other stuff in my VBox, why how to fix?

2006-12-09 Thread {reduxdj}
I don' know why this does this, but seems ol flash 8 was plagued by this issue. I'm fading a VBox with htmlText, problem is that my textfields don't fade too... any ideas how to work around this one? thanks, Patrick

Re: [flexcoders] many-to-many managed association in Hibernate destination

2006-12-09 Thread Douglas McCarroll
Douglas McCarroll wrote: Thanks. I'll let you know how it goes. Still stuck. :-) Same Page request made for item with id = '{filmId=null}' error. I believe that I've implemented Jeff's suggestions. I've refreshed this code listing so that it reflects my current code:

Re: [flexcoders] many-to-many managed association in Hibernate destination

2006-12-09 Thread Douglas McCarroll
PS. Be careful. I just checked the links in this post and the code page was retrieved from my cache. The new version does *not* have and error message at the top. Hit refresh if it does. :-) Douglas Douglas McCarroll wrote: Douglas McCarroll wrote: Thanks. I'll let you know how it

Re: [flexcoders] eval() function removed in AS 3.0 ??

2006-12-09 Thread {reduxdj}
from an earlier post about this topic: You need to roll it on your own. You could split the given path into its parts and try to evaluate one piece after the other until you come to the end. public function eval( scope : Object, path : String ) : Object { if( path == null ) return null;

[flexcoders] styleSheets, loading from run-time from a .css file and not fom a swf

2006-12-09 Thread {reduxdj}
I read that flex supports stylesheets embedded into swf files that can be loaded at run time. Is it possible to load a stylesheet, and with the styleManager apply my styles at run time. I basically want to recolor everything in my app with one button click thanks. What's the best practice

[flexcoders] Re: Cairngorm: Event to Command Decision Making (Cairngorm Store 2.0)

2006-12-09 Thread lostinrecursion
Douglas, Thanks for your concise and clear reply. Much appreciated. One thing is a little confusing though. From your post: If you want to follow this approach in your app you might do something like the following: Create an object on the model that keeps track of selectedStates list and

[flexcoders] Re: need strategy for filtering ArrayCollections in a Cairngorm app

2006-12-09 Thread lostinrecursion
Alex, What if the three lists a developer is filtering/sorting are contained within a component? Then doesn't hard coding the values into the ModelLocator defeat the purpose of component independence? You would have to update your model every time you wanted to add an instance of the component,

[flexcoders] DepthColors Bug GMC2

2006-12-09 Thread Battershall, Jeff
Hello All, Setting the depthColors array in Flex Builder 2.01 GMC2 makes the background of the tree component turn black, and NOTHING I've been able to figure out changes the behavior. I'm able to produce this behavior consistently. Here's a code sample: mx:XMLList id=treeData node label=Mail

Re: [flexcoders] Re: Cairngorm: Event to Command Decision Making (Cairngorm Store 2.0)

2006-12-09 Thread Douglas McCarroll
wouldn't binding the component to a selectedStates property on the model cause all instances of the component to reflect one of it's sibling's data?? Yes. :-) I assumed that you had only one dropdown and that you wanted selectedStates to be reflected throughout your app. In this case

[flexcoders] Re: fading htmlText - doesn't fade with my other stuff in my VBox, why how to fi

2006-12-09 Thread ben.clinkinbeard
System fonts cannot be faded. I believe that has always been the case. Try Dissolve instead of Fade. HTH, Ben --- In flexcoders@yahoogroups.com, {reduxdj} [EMAIL PROTECTED] wrote: I don' know why this does this, but seems ol flash 8 was plagued by this issue. I'm fading a VBox with

[flexcoders] Re: Automatic selection - copy and paste to clipboard, possible? with a mouse cl

2006-12-09 Thread ben.clinkinbeard
Can be done but for some reason you can't have all the code in the same block. Didn't spend much time investigating why. ta.text = Hey, these guys are asking me if it's possible?; ta.setFocus(); ta.setSelection(5, 25); // this code has to be called on a timer or in a click handler or something

[flexcoders] Re: Webservice WSDL ActionScript authentication and operations - n00bie

2006-12-09 Thread phipzkillah
Thanks for your reply Ben. I have a few more questions, hopefully you can help. The doCoolStuff, is that the method we are trying to call through the web service? From your example it seems like you can specify operation arguments in either an object or array format. I don't think I fully

Re: [flexcoders] Re: Automatic selection - copy and paste to clipboard, possible? with a mouse cl

2006-12-09 Thread {reduxdj}
ben: Thanks, you rock, works beautifully, added it to the fade effect event and very nice! ben.clinkinbeard wrote: Can be done but for some reason you can't have all the code in the same block. Didn't spend much time investigating why. ta.text = Hey, these guys are asking me if it's

RE: [flexcoders] Business Objects and Value Objects/Cairngorm. Distinction?

2006-12-09 Thread Alex Uhlmann
What I refer to as a business object in this article, you could also just call a model object. Because of the simplicity of the example it might look like a VO at the beginning, but read further articles in the series to get an idea where this potentially can go towards. It can be much more than

[flexcoders] Re: Styling p tags inside of mx:Text

2006-12-09 Thread gotgoose09
Any thoughts? --- In flexcoders@yahoogroups.com, gotgoose09 [EMAIL PROTECTED] wrote: I want to add margin to p tags inside of a mx:Text control. How can I do this?

[flexcoders] Re: Webservice WSDL ActionScript authentication and operations - n00bie

2006-12-09 Thread ben.clinkinbeard
is that the method we are trying to call through the web service? Yep. You know, I almost included the bit about e4x the first time but decided against it. For that you simply do op.resultFormat = e4x; Flex handles the serialization of your objects for you, so you just put the arguments your

Re: [flexcoders] DepthColors Bug GMC2

2006-12-09 Thread Anatole Tartakovsky
This might be a wrong forum. Have you tried this (guessing) depthColors={[0xFFCC00,0xFF,0xEFEFE4]} Regards, Anatole Tartakovsky www.faratasystems.com On 12/9/06, Battershall, Jeff [EMAIL PROTECTED] wrote: Hello All, Setting the depthColors array in Flex Builder 2.01 GMC2 makes the

Re: [flexcoders] Fade from one color to another

2006-12-09 Thread Darron J. Schall
Dorkie, this one's for you: http://www.darronschall.com/weblog/archives/000251.cfm I see from your sample color values that you found my old ActionScript 1 code to fade colors ;-) I went ahead and turned the logic into a new effect so you can easily apply color transitions in Flex 2.

[flexcoders] Content Clipping, how is it supposed to work?

2006-12-09 Thread Matt Maher
I am trying to make a canvas (with rounded corners) clip the content inside of itself. It flat doesn't work. The clipping occurs, but the rounded corners are not taken into account, so the content inside is clipped to the square canvas. I have source below. Copy and paste that into the Flex Online

[flexcoders] Re: need strategy for filtering ArrayCollections in a Cairngorm app

2006-12-09 Thread Kenny Silanskas
Here's what's funny. I wasn't aware it continued to part III. Thank you, Alex, for answering a question this silly programmer could have found by navigating the thread. :) Welcome to the family! Kenny Silanskas Director of Communications Dillstar Productions

[flexcoders] Re: need strategy for filtering ArrayCollections in a Cairngorm app

2006-12-09 Thread lostinrecursion
What is the matter with me today? Second time, I asked a question there was a clearly published answer for. Ignore me until midnight PST. Otherwise, who knows what chaos I could cause. -Kenny

RE: [flexcoders] Fade from one color to another

2006-12-09 Thread Dustin Mercer
Dorkie, Sorry I didn't get back to you earlier, been away from email. The reason that grayish color appears is because of the way I am doing the fade. It goes to the default color of the app, the one that is behind the background color. I could show you how to get around it, but Darron's

[flexcoders] Re: Flex and OLAP

2006-12-09 Thread seb_cn
Hi Gary, I'm interesting as well to use flex as a client in front of an olap server. Tell me if you have more information about it Sebastien

[flexcoders] Error #1009 - at mx.managers::FocusManager/::isEnabledAndVisible()

2006-12-09 Thread Mark R. Jonkman
I get the following error: TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.managers::FocusManager/::isEnabledAndVisible() at mx.managers::FocusManager/::isValidFocusCandidate() at

[flexcoders] Re: OLAP grid with Flex

2006-12-09 Thread seb_cn
Hi Alessandro, I'm looking for a example of olap grid. Did you get any ? Thanks. Sebastien

Re: [flexcoders] Flex and OLAP

2006-12-09 Thread Anatole Tartakovsky
Gary, We will be integrating FlexBI with variety of custom (non-relational or metadata driven) DataSources in the plug-in version of FlexBI ( http://www.faratasystems.com/max/farata_max.html). First candidate is obviously SAP, but OLAP DBs should not be far behind What DB are you using?

[flexcoders] Need help on a DataServices problem

2006-12-09 Thread Pavan
Hi, I am new to FLEX and am running into an issue. Any help is greatly appreciated I have a DataService defined as follows dsProjects = new DataService(ProjectService); dsProjects.autoCommit=false; dsProjects.addEventListener(result,onResult); The EventHandler is as follows private function

[flexcoders] Class Property Placements (Cairngorm, What happened to top down approach?)

2006-12-09 Thread lostinrecursion
Sorry folks, but this has been nagging me all day. Is there any specific reason why in most of the Cairngorm applications I have seen that the properties are declared below the class methods? Is that just a formatting choice or is there some reason for the diversion frok the traditional top down

Re: [flexcoders] Error #1009 - at mx.managers::FocusManager/::isEnabledAndVisible()

2006-12-09 Thread Mike Weiland
To add a little twist and intrigue to this we only get this error when compiling with Flex 2.0 on a PC. When I take the same code and compile on a Mac with the beta version we donĀ¹t get the error. Thanks, Mike Weiland - Mike Weiland Aspen Tree Media (877)659-1652 | FAX: