[flexcoders] Calling a REST webservice from Flex

2008-06-02 Thread javed786pk
I have developed a REST web service in WCF (Windows communication Foundation. .NET Technology). I want to use that web service in Flex 3. Can someone let me know is REST calls in supported in FLex3 or not? Muhammad

Re: [flexcoders] Calling a REST webservice from Flex

2008-06-02 Thread Josh McDonald
You can only make GET and POST requests from Flex. -J On Mon, Jun 2, 2008 at 4:21 PM, javed786pk [EMAIL PROTECTED] wrote: I have developed a REST web service in WCF (Windows communication Foundation. .NET Technology). I want to use that web service in Flex 3. Can someone let me know is

RE: [flexcoders] ColumnSet vs Multiple axes

2008-06-02 Thread Sunil Bannur
Can you send a snippet of your code or screenshot for more help. Thanks -Sunil From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Richard Rodseth Sent: Thursday, May 29, 2008 10:33 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] ColumnSet vs Multiple axes

[flexcoders] Re: Calling a REST webservice from Flex

2008-06-02 Thread javed786pk
thanks for quick response. Is there any workaround to make PUT and DELETE Requests or its simply limitations of Flex3? Muhammad Javed --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: You can only make GET and POST requests from Flex. -J On Mon, Jun 2, 2008 at 4:21

Re: [flexcoders] Re: Calling a REST webservice from Flex

2008-06-02 Thread Josh McDonald
It's a limitation of the browser plugin API unfortunately. You can proxy GET/POST requests via a server that makes the correct requests on your behalf, but that's about it. -J On Mon, Jun 2, 2008 at 4:32 PM, javed786pk [EMAIL PROTECTED] wrote: thanks for quick response. Is there any

[flexcoders] Re: Calling a REST webservice from Flex

2008-06-02 Thread javed786pk
J, I am sorry but i did not understand the proxy part of your response.Can you kindly elaborate it for me a little more? -Muhammad --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: It's a limitation of the browser plugin API unfortunately. You can proxy GET/POST

Re: [flexcoders] Re: Calling a REST webservice from Flex

2008-06-02 Thread Josh McDonald
Well the idea is you run a proxy on your server, make non-rest calls to it with GET and POST, or Data Services, and the proxy is the one that makes the GET / POST / PUT / DELETE rest calls and then returns the result to your Flex program. I think LCDS / BlazeDS has some stuff in it to help with

Re: [flexcoders] Re: Calling a REST webservice from Flex

2008-06-02 Thread Gireesh Kumar
As far as I understand REST invocation is same as any HTTP url loading in Flex. You can use the HTTPService from Flex. But I am not sure why you wanted DELETE and PUT methods with REST webservice, you just need only GET/POST. I think Flex 'HttpServer' support only GET/POST. Thanks Gireesh On

Re: [flexcoders] Re: Calling a REST webservice from Flex

2008-06-02 Thread Josh McDonald
If you're only using GET/POST you're not really doing rest, but I don't wanna kick off a holy war. I don't even like rest :) I don't like SOAP much either, but I do like the idea of schema definition, and I'm still waiting for something nice in between the two ;-) -J On Mon, Jun 2, 2008 at 4:58

Re: [flexcoders] Re: Air App - Check connection

2008-06-02 Thread Vadim Melnik
air.net.URLMonitor would be interesting as well, this class automatically polls certain URL for availability. I believe it should also internally listen for networkChange event and in online mode check service availability. -- Thanks, Vadim. - Original Message - From: Sherif

[flexcoders] Re: Calling a REST webservice from Flex

2008-06-02 Thread javed786pk
Did anyone try calling a simple SOAP service from Flex3? I will appreciate if some can share the code.My SOAP web service is deployed on my Local IIS server. Do we need any Flex configuration to run the service successfully? -Muhammad --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL

Re: [flexcoders] Re: Calling a REST webservice from Flex

2008-06-02 Thread Josh McDonald
We use SOAP all the time from flex 3. You won't have a problem because SOAP over http is always GET and POST Look at mx:Webservice for more info. -J On Mon, Jun 2, 2008 at 5:42 PM, javed786pk [EMAIL PROTECTED] wrote: Did anyone try calling a simple SOAP service from Flex3? I will

Re: [flexcoders] Casting Problem.. Type Coercion Failed

2008-06-02 Thread Manu Dhanda
I am using the WebORB for PHP on my server side. There am doing a SELECT * query and am sending the returned results to Flex. How did you create the collection? Did you use AMF? Did you load from XML? I am using the RemoteObjects in here and configured the VO's at both ends. Somehow the objects

[flexcoders] First row trouble with datagrid component

2008-06-02 Thread y.mauron
topic summary : The first element of my dataprovider is not shown and there is always an empty line as the first line of my datagrid Dear all, I think my question is entirely explained in the topic summary of this post. I have a datagrid that uses a item renderer. The main app is defined like

Re: [flexcoders] Re: New to flex, wonder why one works and the other doesn't...

2008-06-02 Thread Joseph Balderson
In other words, UIComponents /can/ natively contain other UIComponents, only the child UIComponent will by default have a 0 width and height. Which it means it won't show up on the stage. Which means, by default, you cannot get a native (non-extended) UIComponent to show up when you add it to

Re: [flexcoders] Re: Calling a REST webservice from Flex

2008-06-02 Thread Josh McDonald
If you get a security exception, it usually means you need a crossdomain.xml file in the root directory of your server. Google knows all about this :) On Mon, Jun 2, 2008 at 7:05 PM, javed786pk [EMAIL PROTECTED] wrote: J, Can you Kindly some sample Code(Flex3)that can call the webserivce.

Re: [flexcoders] MXML schema

2008-06-02 Thread Tom Chiverton
On Saturday 31 May 2008, Mark Volkmann wrote: Is there an official XML Schema for MXML? Not for Flex 3. If so, where can I get it? The xsd4mxml project can make you one though. -- Tom Chiverton This email is sent for and on behalf of

[flexcoders] Re: Calling a REST webservice from Flex

2008-06-02 Thread javed786pk
J, Can you Kindly some sample Code(Flex3)that can call the webserivce. Actually i tried to use the mx:Webservice but i am getting security exceptions . Is there any configuration that needs to be made @ flex side to overcome these security issues? --- In flexcoders@yahoogroups.com, Josh McDonald

Re: [flexcoders] MXML namespace

2008-06-02 Thread Tom Chiverton
On Saturday 31 May 2008, Mark Volkmann wrote: Why does nearly all MXML use the mx prefix to refer to elements in the MXML namespace instead of making that be the default namespace? 'Convention'. When you make it the default, the MXML looks much cleaner. Until you start throwing your own

[flexcoders] Accessing the sub-items of a Menu command

2008-06-02 Thread Marty Pitt
Hi all. This is a stupid question, but I can't work it out! Given the following XML and code, how am I supposed to access the Do Something menu item that is created? var xml:XML = new XML( root menuItem label=File menuItem label=Do Something / /menuItem /root ); var

[flexcoders] GroupingCollection with good performance

2008-06-02 Thread sreeni_r
I created a GroupingCollection2 with better performance (in comparision with GroupingCollection) by tweaking the implementation. You can find a sample/swc here http://flexpearls.blogspot.com/2008/06/groupingcollection-with-some- better.html If you have some free time please test it and let me

Re: [flexcoders] ColumnSet vs Multiple axes

2008-06-02 Thread Sangavi G
This is an issue and is similar to https://bugs.adobe.com/jira/browse/FLEXDMV-1669 Regards, Sangavi On Mon, Jun 2, 2008 at 11:58 AM, Sunil Bannur [EMAIL PROTECTED] wrote: Can you send a snippet of your code or screenshot for more help. Thanks -Sunil *From:*

Re: [flexcoders] Re: Calling a REST webservice from Flex

2008-06-02 Thread Josh McDonald
Not much more I can suggest really, besides getting a copy of charles the debugging proxy to see exactly what's going on. What's the exact error you're getting? -J On Mon, Jun 2, 2008 at 9:15 PM, javed786pk [EMAIL PROTECTED] wrote: J, I already have place crossdomain.xml is my root

Re: [flexcoders] Passing an email *subject* when opening email client?

2008-06-02 Thread JRBower
With your help I could put together a solution. Here's what worked for me: private function launchMailer(e:Event):void{ var mailLink:URLRequest = new URLRequest(mailto://; + e.currentTarget.label + ?subject=Hello Nabble: + someID.text + :: + anicelyformattedDate.text);

[flexcoders] Re: Calling a REST webservice from Flex

2008-06-02 Thread javed786pk
J, I already have place crossdomain.xml is my root directory. Here are conents of crossdomain.xml ?xml version=1.0? !DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd; cross-domain-policy allow-access-from domain='*' /

[flexcoders] Re: Calling a REST webservice from Flex

2008-06-02 Thread javed786pk
Here is the exact error [RPC Fault faultString=Security error accessing url faultCode=Channel.Security.Error faultDetail=Destination: DefaultHTTP] -Muhammad --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: Not much more I can suggest really, besides getting a copy of

[flexcoders] Re: Questions regarding updating dataProviders after a drag drop

2008-06-02 Thread bredwards358
Okay, I kind of get what you're saying, it makes sense however I have some questions to clear things up further, nothing big, just simple things. Check below for the blue text, in the meantime I'll experiment, Thanks a bunch I appreciate it. Brian Ross Edwards, Tech-Connect LLC. --- In

Re: [flexcoders] Re: Calling a REST webservice from Flex

2008-06-02 Thread Josh McDonald
Hmm not sure, the crossdomain thing usually comes as a sandbox violation. I guess I'm not that much use after all :) -J On Mon, Jun 2, 2008 at 10:29 PM, javed786pk [EMAIL PROTECTED] wrote: Here is the exact error [RPC Fault faultString=Security error accessing url

Re: [flexcoders] Re: How to convert a powerpoint to AS3 swf for loading in Flex?

2008-06-02 Thread Paul Andrews
- Original Message - From: rdebled [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, June 01, 2008 11:16 PM Subject: [flexcoders] Re: How to convert a powerpoint to AS3 swf for loading in Flex? snip Finally, and most successfully, I started playing with print2flash

Re: [flexcoders] The different between generial Flex 3 and Flex 3 Profesional?

2008-06-02 Thread Scott Barnes
I thought of a number of replies to this thread, but I'm sure this is going nowhere? Suffice to say: ..You don't change the course of history by turning the faces of portraits to the wall.. I'd rather spend more of my time influencing our future, then trying to defend our past? As I had no input

Re: [flexcoders] MXML namespace

2008-06-02 Thread Mark Volkmann
On Jun 2, 2008, at 5:49 AM, Tom Chiverton wrote: On Saturday 31 May 2008, Mark Volkmann wrote: Why does nearly all MXML use the mx prefix to refer to elements in the MXML namespace instead of making that be the default namespace? 'Convention'. When you make it the default, the MXML

[flexcoders] ColdFusion/LiveCycle/Mysql + Flex

2008-06-02 Thread Francois Dejardin
Hi all !! I just have a project that use LiveCycle a lot... I begin from the scratch with integrated ColdFusion LiveCycle, so i've tried the example in devnet : http://www.adobe.com/devnet/coldfusion/articles/data_app.html and everything seems to work with the Coldfusion embedded databases ( I

[flexcoders] Re: adding a label to a Panel header?

2008-06-02 Thread fb6668
Yippee! Awesome, thanks guys, added a height and width and it worked a treat. F --- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: Is the size of the label actually being set? My guess would be no. Raw children are not automatically sized like normal children are

[flexcoders] Coldfusion/LCDS/Mysql + Flex

2008-06-02 Thread Francois Dejardin
Hi all !! I just have a project that use LiveCycle a lot... I begin from the scratch with integrated ColdFusion LiveCycle, so i've tried the example in devnet : http://www.adobe.com/devnet/coldfusion/articles/data_app.html and everything seems to work with the Coldfusion embedded databases ( I

[flexcoders] Re: Flex / Air sharewware app: what database to use in network environment?

2008-06-02 Thread andrewwestberg
PostgreSQL is probably a good solution for you. The license is more friendly(free) than MySQL since you're developing a commercial application. The pgAdmin III tool is also quite good at manipulating a PostgreSQL database while in development. -Andrew

Re: [flexcoders] The different between generial Flex 3 and Flex 3 Profesional?

2008-06-02 Thread Paul Andrews
It sounds very heroic. I'll keep and eye out for further enlightenment. Paul - Original Message - From: Scott Barnes To: flexcoders@yahoogroups.com Sent: Monday, June 02, 2008 8:01 AM Subject: Re: [flexcoders] The different between generial Flex 3 and Flex 3 Profesional?

[flexcoders] Re: What next after getting FLEX ?

2008-06-02 Thread valdhor
You may be better off looking into the WAMP project. This is a simple installer to get you Apache, MySQL and PHP on Windows. After that, there are many tutorials, books etc to get you up and running. --- In flexcoders@yahoogroups.com, itdanny2002 [EMAIL PROTECTED] wrote: Dear All, Thank

[flexcoders] Re: Calling a REST webservice from Flex

2008-06-02 Thread meteatamel
Yes, BlazeDS (which is an open source project) has Proxy Service that does exactly what you need. It proxies HTTP calls using Apache commons Http Client and it enables you to do HTTP GET, POST, PUT, DELETE. Check out BlazeDS here: http://opensource.adobe.com/wiki/display/blazeds -Mete --- In

Re: [flexcoders] Flex drag n drop, zoom issue

2008-06-02 Thread Gireesh Kumar
Hi Rick, I have integrated the fix, and its working like charm , Thank you very much. Now I know whom to look for If i have any issue with Flex :-). I have also updated my url with the new code. Now the only issue left is, when I drag and drop item to the plan, it get slightly shifted not

[flexcoders] FocusRect troubles

2008-06-02 Thread Mark Winterhalder
Hello, I'm fairly new to Flex and have some questions about the FocusRect: How would I globally change the color? How would I globally remove all focusRects? If that doesn't work, how can I do that at least for the NumericStepper arrow buttons, and how can I do it for UITextField? Thanks, Mark

[flexcoders] Re: Casting Problem.. Type Coercion Failed

2008-06-02 Thread valdhor
I don't use WebORB; I use AMFPHP (I found AMFPHP faster, more reliable and easier to use than WebORB). Anyway, you include the UserVO.php file at the top of your PHP file and then never use it (I assume this is the value object for your user). You should create an array of UserVO objects and

[flexcoders] Re: Casting Problem.. Type Coercion Failed

2008-06-02 Thread valdhor
I don't use WebORB; I use AMFPHP (I found AMFPHP faster, more reliable and easier to use than WebORB). Anyway, you include the UserVO.php file at the top of your PHP file and then never use it (I assume this is the value object for your user). You should create an array of UserVO objects and

[flexcoders] Listening for a value change

2008-06-02 Thread Jeff Douglas
This seems like this should be easy but I'm hititng my head against the wall trying to figure it out. I have the following String: [Bindable] var myString:String; The value of myString changes throughout the application. Based upon the value of myString I want to perform different tasks. How

[flexcoders] FlexReport not showing report first time in tab navigator

2008-06-02 Thread Derrick Anderson
I know there are many here who use FlexReport library so I hope somebody here can help with this. I am loading reports into a tab navigator, the reports do not show content until i switch tabs, then come back to that one. I suspect the 'show' event being dispatched does something to the content

Re: [flexcoders] Coldfusion/LCDS/Mysql + Flex

2008-06-02 Thread Sherif Abdou
well it works for me, i just did a little example on my site. are you sure you have it uploaded in http://localhost:8500 and using it as a datasource in the cfcomponent - Original Message From: Francois Dejardin [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, June 2,

[flexcoders] configuring for a headless server

2008-06-02 Thread netdeep
I have seen a few posts about setting up flex to run on a headless server but I'm a bit confused about how to actually do this or even if this will fix my problem. This is what the documentation says should be done to set things up: --- define the value of the headless-server tag in the

[flexcoders] Run-time debugging

2008-06-02 Thread markgoldin_2000
Sometimes, when I run my program I am getting a run-time error shown in the popup window. Is it possible to open that window with some debugging info while the program is runing? Thanks

Re: [flexcoders] Listening for a value change

2008-06-02 Thread Felipe Fernandes
Jeff, Look at setter and getter functions it´s just what you need. Felipe On Mon, Jun 2, 2008 at 10:40 AM, Jeff Douglas [EMAIL PROTECTED] wrote: This seems like this should be easy but I'm hititng my head against the wall trying to figure it out. I have the following String: [Bindable]

[flexcoders] Re: book errata

2008-06-02 Thread Michael Labriola
If you find anything specific and it is not yet on the peachpit site, feel free to email me directly off-list. --- In flexcoders@yahoogroups.com, Joseph Balderson [EMAIL PROTECTED] wrote: Check the peachpit website. _ __

[flexcoders] Re: New to flex, wonder why one works and the other doesn't...

2008-06-02 Thread Michael Labriola
Close, but no. In Flex, parents are responsible for sizing their children. Flex Containers (which are just UIComponents with more code) do size their children, but you can also create UIComponents that know how to size their children. Neither a container, nor a component that implements a

Re: [flexcoders] Listening for a value change

2008-06-02 Thread Daniel Gold
It sounds like you need to set up a ChangeWatcher, take a look at the docs, but basically you can listen for updates to a property on an object and call a function when the update occurs On Mon, Jun 2, 2008 at 9:01 AM, Felipe Fernandes [EMAIL PROTECTED] wrote: Jeff, Look at setter and

RE: [flexcoders] Accessing the sub-items of a Menu command

2008-06-02 Thread Tracy Spratt
var xmlMenuItem:XML = xml..menuItem.(attribute(label) == Do Something)[0]; Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Marty Pitt Sent: Monday, June 02, 2008 6:11 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Accessing

RE: [flexcoders] First row trouble with datagrid component

2008-06-02 Thread Tracy Spratt
First, a dataProvider should contain data. It looks like you are putting ui components in the dataProvider. Unless you are working a very extreme edge-case, you do not want to do that. What are you trying to accomplish? Second, you cannot use creationComplete to show row/item level UI in a

Re: [flexcoders] FlexReport not showing report first time in tab navigator

2008-06-02 Thread Felipe Fernandes
Derrick, My guess is that you are setting the heigth and width to percent values, try to set it to an axplicity value. That´s because flex only know the size that things have when it draws them, so your percentage values would evaluate to 0. It´s just a guess but I had the same problem before and

[flexcoders] Re: Two questions: Nested applications styles colllisions, flashvars injection

2008-06-02 Thread mydarkspoon
Hi Alex, thanks for your reply. I guess you're right about the styles, since we use modal window to open the loaded swf, we simply unloaded the main app styles before loading the 2nd app. Then, when the user is done with the loaded swf, we called it's deactivate() method which unloads its styles

Re: [flexcoders] Accessing the sub-items of a Menu command

2008-06-02 Thread Marty Pitt
Hi Tracy Thanks for the reply. I'm not trying to access the XML of the data provider for the Menu, rather generated Menu instance itself. I can access the Menu instance of the top level object (the file menu), but not the sub-menu's beneath, also of type Menu. Anyone have any ideas? -

[flexcoders] Re: First row trouble with datagrid component

2008-06-02 Thread y.mauron
Thank you Tracy for your answer, You are probably right about the bad design of my application. I know that the dataprovider component is used to pass data and not complete object. However my case is a little bit different (maybe there is an other way to assess my issue...) because I don't

[flexcoders] Re: Listening for a value change

2008-06-02 Thread Jeff Douglas
Thanks Felipe... you are my hero. FYI... here's a good link that explains using getters/setters for this scenario: http://www.tricedesigns.com/tricedesigns_home/blog/2006/12/getters- and-setters-vs-public.html Jeff --- In flexcoders@yahoogroups.com, Felipe Fernandes [EMAIL PROTECTED] wrote:

Re: [flexcoders] Re: Flex / Air sharewware app: what database to use in network environment?

2008-06-02 Thread Tom Chiverton
On Monday 02 Jun 2008, andrewwestberg wrote: PostgreSQL is probably a good solution for you. The license is more friendly(free) than MySQL since you're developing a commercial application. Although neither has a built in way to communicate to Flex... -- Tom Chiverton

Re: [flexcoders] MXML namespace

2008-06-02 Thread Tom Chiverton
On Monday 02 Jun 2008, Mark Volkmann wrote: one that's the default. I think it would be better to use prefixes for your own namespaces and none for MXML. Ok, but suppose I then show you a random snippit of code: SomeComponentName dataProvider={foo}/ Is that Adobe's SomeComponentName (it might

[flexcoders] Re: Two questions: Nested applications styles colllisions, flashvars injection

2008-06-02 Thread mydarkspoon
The _firstTime var declaration was dropped out of the code. it's: private static var _firstTime:Boolean = true; Actually, the reason I used the first time is quite weird, if I set the dispatchEventHook to null after getting the first preinitialize event, it keeps calling it... However, if I set

[flexcoders] Re: First row trouble with datagrid component

2008-06-02 Thread y.mauron
Actually not, but I don't know why. I didn't manage to add item like that. PS : My code with the override of the set data() function (instead of the CreationComplete event) do the job I want to do. The next step is now the design of the app ;-) --- In flexcoders@yahoogroups.com, Tom

Re: [flexcoders] FlexReport not showing report first time in tab navigator

2008-06-02 Thread Derrick Anderson
well turns out i'm not explicitly setting the height/width- i did add this to the script that loads the report reportsTabNavigator.selectedChild.dispatchEvent(new FlexEvent(FlexEvent.SHOW)); after the report loads and it fixed the issue (although now there is a flicker on the screen). I should

Re: [flexcoders] Re: First row trouble with datagrid component

2008-06-02 Thread Tom Chiverton
On Monday 02 Jun 2008, y.mauron wrote: The only way I found to display these living object was to build the object, then to store it in an ArrayCollection and finally to reactive it in the datagrid (relifeData). Would addChild() not do the job ? -- Tom Chiverton

[flexcoders] Two difficult problems regarding synchronization of RPC in Flash

2008-06-02 Thread Dave Kong
Problem 1: How can I make sure multiple asynch remote method calls do not end up canceling each other? Consider this pseudo code: onButtonClick() { doStuff(); requestSoapData.addEventListener(..., handleSoapResult); requestSoapData.send(); } handleSoapResult() { doMoreStuff();

Re: [flexcoders] Re: How to convert a powerpoint to AS3 swf for loading in Flex?

2008-06-02 Thread Paul Andrews
- Original Message - From: Paul Andrews [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, June 02, 2008 1:34 PM Subject: Re: [flexcoders] Re: How to convert a powerpoint to AS3 swf for loading in Flex? - Original Message - From: rdebled [EMAIL PROTECTED] To:

[flexcoders] Flex 3 - Help sorting formatted data in datagrid

2008-06-02 Thread Kevin Ford
I need someone to help verify a problem I'm running into and perhaps recommend a solution. What I'm trying to do should be very simple: I want to allow users to sort a datagrid column containing data formatted using a CurrencyFormatter. The problem I'm finding is that sorting (by clicking the

[flexcoders] Pausing / Waiting During Execution

2008-06-02 Thread kenny14390
In my code, I'd like to wait about 5 seconds before executing the next line. The implementation is this: - show notification - wait 5 seconds - hide notification I tried to use mx:Pause dynamically in the ActionScript, but I had trouble executing it. The pause component id is wait:

RE: [flexcoders] Run-time debugging

2008-06-02 Thread Alex Harui
No, but you can put up your own popup. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Monday, June 02, 2008 6:59 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Run-time debugging Sometimes, when I run

RE: [flexcoders] Re: Two questions: Nested applications styles colllisions, flashvars injection

2008-06-02 Thread Alex Harui
I still think I'd override the parameters getter in Application. Class MyApp extends Application { Override public function get paramters():Object { Return systemManager.parent.loaderInfo.parameters. } } From: flexcoders@yahoogroups.com

RE: [flexcoders] Re: Questions regarding updating dataProviders after a drag drop

2008-06-02 Thread Alex Harui
I thought you were dragging Products From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bredwards358 Sent: Monday, June 02, 2008 7:18 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Questions regarding updating dataProviders

RE: [flexcoders] Re: Questions regarding updating dataProviders after a drag drop

2008-06-02 Thread Alex Harui
draggedItems should be the row from the source dataProvider is the dataProvider for the destination From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bredwards358 Sent: Monday, June 02, 2008 5:31 AM To: flexcoders@yahoogroups.com

Re: [flexcoders] Flex 3 - Help sorting formatted data in datagrid

2008-06-02 Thread Tom Chiverton
On Monday 02 Jun 2008, Kevin Ford wrote: Attached is a simple mxml file that fully demonstrates my problem. I also have a bug logged with Does adding a dataField attribute to the last DataGridColumn help ? -- Tom Chiverton This email is

Re: [flexcoders] Re: First row trouble with datagrid component

2008-06-02 Thread Tom Chiverton
On Monday 02 Jun 2008, y.mauron wrote: Actually not, but I don't know why. I didn't manage to add item like PS : My code with the override of the set data() function (instead of You should be able to do, in the parent during or after CreationComplete: myLiveObj=new LiveObj();

Re: [flexcoders] Error in Adobe class MultiTopicConsumer

2008-06-02 Thread Pedro Sena
Hi Andrew, Can't you subclass MultiTopicConsumer and override this method to use your instead of use this one? On Mon, Jun 2, 2008 at 12:43 PM, bbloggs96 [EMAIL PROTECTED] wrote: I am using the MultiTopicConsumer with Blaze. I have had problems with removeSubscription, it gives me an

[flexcoders] Error in Adobe class MultiTopicConsumer

2008-06-02 Thread bbloggs96
I am using the MultiTopicConsumer with Blaze. I have had problems with removeSubscription, it gives me an error when I remove the last subtopic in the array of subscriptions. It works OK if any other subtopic is removed. I tracked down the problem to the actual Adobe Class MultiTopicConsumer and

[flexcoders] Re: Questions regarding updating dataProviders after a drag drop

2008-06-02 Thread bredwards358
I am but its not its own data type, unless I need to declare a new class or public variable within an already existing class to hold the row from the dragSource. Either would work for me. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: I thought you were dragging Products

Re: [flexcoders] Re: How to convert a powerpoint to AS3 swf for loading in Flex?

2008-06-02 Thread Paul Andrews
- Original Message - From: Amy [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, June 02, 2008 5:19 PM Subject: [flexcoders] Re: How to convert a powerpoint to AS3 swf for loading in Flex? snip Connect (Breeze) does a pretty good translation of Powerpoint to Flash, but

[flexcoders] Re: How to convert a powerpoint to AS3 swf for loading in Flex?

2008-06-02 Thread Amy
--- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote: - Original Message - From: rdebled [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, June 01, 2008 11:16 PM Subject: [flexcoders] Re: How to convert a powerpoint to AS3 swf for loading in

[flexcoders] Re: Not sure what to do here...

2008-06-02 Thread mr_delphi_developer
It does get data back from the server, it sends the error message, The result handler is entered because that is where it sows the error dialog.

Re: [flexcoders] Casting Problem.. Type Coercion Failed

2008-06-02 Thread Manu Dhanda
while ($row = mysql_fetch_object($result, UserVO)) While your solution is very effective, still I noticed that the return array consists of only String types. Doesn't matter whether the field is of type date or int or anything.., it converts everything to string. So, on the Flex side, I need

[flexcoders] Re: First row trouble with datagrid component

2008-06-02 Thread y.mauron
I'm pretty sure I can to as you mentioned in your code. However I have to do something like this: myLiveObj = new LiveObj(); service = new remoteObject(); myLiveObj.dataProvider = service.doSomething.lastResult; service.doSomething(); And I don't know why and how, but all the things get

Re: [flexcoders] Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-02 Thread Marty Pitt
this is extremely close to what I'm trying to do. (I posted here earlier today looking for a solution!) You can modify the dataProvider of the XML, setting the @enabled attribute, which will cause the menu to update. Eg.,. myMenuData..menuitem.(@id==menuUp)[EMAIL PROTECTED] = false

RE: [flexcoders] Error in Adobe class MultiTopicConsumer

2008-06-02 Thread Seth Hodgson
Hi Andrew, Definitely a bug, and I've logged it: https://bugs.adobe.com/jira/browse/BLZ-189 I'd recommend voting for it and adding yourself as a watcher. Thanks, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bbloggs96 Sent: Monday, June 02, 2008 8:43 AM To:

[flexcoders] Anyone know why Air drops the first letter of file during coldfusion remoting?

2008-06-02 Thread Sherif Abdou
if i create an Air project with ColdFusion remoting, and say the Project name is FlexCoders, then it tries to connect to lexCoders. If i create a Flex Project, the flex project is able to execute everything properly. Thanks

Re: [flexcoders] Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-02 Thread Michael Schmalle
Hi, Have you tried; myMenu.dataDescriptor.setEnabled(myMenuData.menuDrill.menuDown[0],false); Mike On Mon, Jun 2, 2008 at 12:38 PM, Marty Pitt [EMAIL PROTECTED] wrote: this is extremely close to what I'm trying to do. (I posted here earlier today looking for a solution!) You can modify

[flexcoders] Re: Error in Adobe class MultiTopicConsumer

2008-06-02 Thread bbloggs96
--- In flexcoders@yahoogroups.com, Pedro Sena [EMAIL PROTECTED] wrote: Hi Andrew, Can't you subclass MultiTopicConsumer and override this method to use your instead of use this one? I haven't considered subclassing, but I suppose it is one solution. The quick and dirty solution I came up

[flexcoders] Re: New to flex, wonder why one works and the other doesn't...

2008-06-02 Thread aarhac
Excellent, thanks very much for the responses. As an aside, I did solve the problem by using the bitmap classes instead as they seemed to have more consistent behavior. (And I couldn't find a straightforward way to copy the image data with the Image class) Michael and Joseph, that makes perfect

[flexcoders] Re: Flex 3 - Help sorting formatted data in datagrid

2008-06-02 Thread valdhor
You need a sortCompareFunction: In your script area add... import mx.utils.ObjectUtil; Then add the following function... private function myCompareFunc(itemA:Object, itemB:Object):int { return ObjectUtil.numericCompare(itemA.Quoted_Total, itemB.Quoted_Total); } Now change your

[flexcoders] Re: Flex 3 - Help sorting formatted data in datagrid

2008-06-02 Thread valdhor
You need a sortCompareFunction: In your script area add... import mx.utils.ObjectUtil; Then add the following function... private function myCompareFunc(itemA:Object, itemB:Object):int { return ObjectUtil.numericCompare(itemA.Quoted_Total, itemB.Quoted_Total); } Now change your

RE: [flexcoders] Re: First row trouble with datagrid component

2008-06-02 Thread Tracy Spratt
This will not work: myLiveObj.dataProvider = service.doSomething.lastResult; service.doSomething(); Data service calls are asynchronous, so you either have to use a result handler, or bind to the result. The first row above does NOT establish a binding, it just assigns lastResult, (which

[flexcoders] working with resulthandler httpservice and referencing lastresult?

2008-06-02 Thread Jason B
im very lost when i need to handle things in the resulthandler from an httpservice heres what i got Not working public function stationloadResult(event:ResultEvent){ var result:Object = event.result;

Re: [flexcoders] Anyone know why Air drops the first letter of file during coldfusion remoting?

2008-06-02 Thread Sherif Abdou
I guess i should include the error [RPC Fault faultString=Send failed faultCode=Client.Error.MessageSend faultDetail=Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: 'http:/lexCoders.swf/flex2gateway/'] Project Name: FlexCoders - Original Message From:

Re: [flexcoders] Anyone know why Air drops the first letter of file during coldfusion remoting?

2008-06-02 Thread Moss
This is already an old bug and apparantly still not fixed. The solution is to set the destination attribute of the RemoteObject element in your MXML file and not in the XML configuration file. Be sure to set the whole path. Brgds, Eduard Sherif Abdou schreef: I guess i should include the

[flexcoders] Re: First row trouble with datagrid component

2008-06-02 Thread y.mauron
I actualy did a biding through Bindable ArrayCollection but did it with lastresult. I have to do it within the object because this call is dependant of the data recieved in the object... --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: This will not work:

[flexcoders] Re: Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-02 Thread bc24fl
I tried the following: myMenuData.menuitem.(@id==menuUp)[EMAIL PROTECTED] = false; But it returns an error: A term is undefined and has no properties. Any Ideas? Thanks. --- In flexcoders@yahoogroups.com, Marty Pitt [EMAIL PROTECTED] wrote: this is extremely close to what I'm trying to

[flexcoders] Re: Flex / Air sharewware app: what database to use in network environment?

2008-06-02 Thread andrewwestberg
I believe this is a direct to MySQL library. Haven't tried it myself though. http://code.google.com/p/assql/

[flexcoders] Using AdvancedDataGridRendererProvider for AdvancedDatagrid

2008-06-02 Thread Adrian Gillette
I'm using AdvancedDataGridRendererProvider to use custom itemEditors in an advanced datagrid. BTW - Thanks to Peter Ent for his blogs on the subject of itemrenderers. It was very helpful in showing how to bind textInputs to data in datagrids. But I having a problem with trying to determine

[flexcoders] Re: Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-02 Thread bc24fl
Just tried it but did not work. Any ideas? --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, Have you tried; myMenu.dataDescriptor.setEnabled(myMenuData.menuDrill.menuDown[0],false); Mike On Mon, Jun 2, 2008 at 12:38 PM, Marty Pitt [EMAIL PROTECTED]

RE: [flexcoders] referencing inside resulthandler error 1009

2008-06-02 Thread Tracy Spratt
Actually, I think the error is coming from this: event.target.lastResult.DATARESULTS.SEVEND_ALOWED == N Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Monday, June 02, 2008 3:11 PM To: flexcoders@yahoogroups.com

  1   2   >