[flexcoders]Scope issue - class variable not set

2009-01-07 Thread dorkie dork from dorktown
Hi all, It seems setting a class variable is not happening until after all my code is run. When I do this: this.anchorName = anchorName; setState(stateName); the class variable anchorName isn't set. the setState method is called and then the method is exited. then the debugger loops back into

Re: [flexcoders]Scope issue - class variable not set

2009-01-07 Thread Sam Lai
Are you doing this within an anonymous function? If so, using the this keyword within the anonymous function doesn't refer to the class it is written in, but rather the global context. Try removing the this keyword, but I get the idea you have another variable named anchorName declared within the

Re: [flexcoders]Scope issue - class variable not set

2009-01-07 Thread Paul Andrews
- Original Message - From: dorkie dork from dorktown To: flexcoders@yahoogroups.com Sent: Wednesday, January 07, 2009 8:08 AM Subject: [flexcoders]Scope issue - class variable not set Hi all, It seems setting a class variable is not happening until after all my code is

Re: [flexcoders] Updates Issue in Mozilla ....any thoughts to share???

2009-01-07 Thread Tom Chiverton
On Wednesday 07 Jan 2009, akila_ksri wrote: The application we are developing needs the controls like labels, data grid etc., to be updated every second. This works fine without any issue in IE 7, but the updates fail to happen in Mozilla most of the time. Clearing cache through html does not

Re: [flexcoders] AIR code signing certificate

2009-01-07 Thread Tom Chiverton
On Tuesday 06 Jan 2009, Jim Hayes wrote: I think Ryan Stewart(?) posted just the other day that they are the first to offer a personal cert, Ahh, I just mass caught-up when I got back :-) so It's my impression that they are currently the only one to do so. In which case, as the problem is

Re: [flexcoders] throw No configured channel Exception When on HTTPS

2009-01-07 Thread Tom Chiverton
On Wednesday 07 Jan 2009, robert01song wrote: my flex application works correctly on tomcat when it is on http, but it throws an exception on https, exactly like http://www.mail- archive.com/flexcoders@yahoogroups.com/msg92921.html , but it has not fixed. What's your code ? What's your

Re: [flexcoders] Re: Properly remove children

2009-01-07 Thread Josh McDonald
setChildIndex() is what I was thinking of. It's either on IUIComponent or IContainer. On Wed, Jan 7, 2009 at 8:27 PM, Manish Jethani manish.jeth...@gmail.comwrote: On Wed, Jan 7, 2009 at 4:48 AM, markgoldin_2000 markgoldin_2...@yahoo.com wrote: Ok, here what I am getting. I have a

Re: [flexcoders] Re: Properly remove children

2009-01-07 Thread Manish Jethani
On Wed, Jan 7, 2009 at 4:48 AM, markgoldin_2000 markgoldin_2...@yahoo.com wrote: Ok, here what I am getting. I have a container that I am adding different forms to at the run time. These forms are all based on the same class though. So, before I add a new form I am removing current form using:

[flexcoders] throw No configured channel Exception When on HTTPS

2009-01-07 Thread robert01song
HI, all my flex application works correctly on tomcat when it is on http, but it throws an exception on https, exactly like http://www.mail- archive.com/flexcoders@yahoogroups.com/msg92921.html , but it has not fixed. Any suggestions will be appreciated. the exception is : 2009-01-07

Re: [flexcoders] Re: Knock knock..Help me!!

2009-01-07 Thread roopal oswal
Well,   Type is Read-Only property... Any other Go?? --- On Mon, 5/1/09, Jack Desert jackdesert...@gmail.com wrote: From: Jack Desert jackdesert...@gmail.com Subject: Re: [flexcoders] Re: Knock knock..Help me!! To: flexcoders@yahoogroups.com Date: Monday, 5 January, 2009, 3:20 PM Does the

[flexcoders] Re: useHandCursor doesn't work when using custom cursors

2009-01-07 Thread roopal_oswal
--- In flexcoders@yahoogroups.com, Manish Jethani manish.jeth...@... wrote: On Wed, Jan 7, 2009 at 1:47 AM, Aaron Miller amil...@... wrote: I am using custom cursors with CursorManager, but I would like the hand cursor to override the default (custom) for some controls similar to the

[flexcoders] Re: Properly remove children

2009-01-07 Thread roopal_oswal
--- In flexcoders@yahoogroups.com, markgoldin_2000 markgoldin_2...@... wrote: How do I remove children from a container in order to completely destroy them? Will removeAllChildren do the job? Thanks removeChild(obj) will remove the obj child from the container. you can assign obj to

Re: [flexcoders] Re: Properly remove children

2009-01-07 Thread Paul Andrews
- Original Message - From: roopal_oswal roopal_os...@yahoo.co.in To: flexcoders@yahoogroups.com Sent: Wednesday, January 07, 2009 12:09 PM Subject: [flexcoders] Re: Properly remove children --- In flexcoders@yahoogroups.com, markgoldin_2000 markgoldin_2...@... wrote: How do I remove

[flexcoders] Source Control in Flex Builder

2009-01-07 Thread Yves Riel
Just throwing a line here to see if someone did this as I'm sure someone did at some point. I have a few projects in Flex Builder and all of them are under source control using the Visual SourceSafe Team Provider plugin for Eclipse. My problem is that I'm tired to manually refresh all the

[flexcoders] sandboxviolation - Flex Q A site on App Engine with live syntax highlighting

2009-01-07 Thread Anirudh Sasikumar
Hi flexcoders, Check out http://sandboxviolation.appspot.com/ Its a Q A site in Flex aimed at flex and flash developers where anybody can post questions / answers and vote other questions / answers up or down. It supports syntax highlighting (of almost any programming language) as you type in a

[flexcoders] Create angle, reflected, diamond gradient using actionscript

2009-01-07 Thread vuthecuong
Question Create angle, reflected, diamond gradient using actionscript Hi, As you know, in Graphics class there is beginGradientFill method to draw gradient: beginGradientFill(type:String, colors:Array, alphas:Array, ratios:Array, matrix:Matrix = null, spreadMethod:String = pad,

[flexcoders] Re: Newbie question: Completion Events or proxy binding for RemoteObject calls

2009-01-07 Thread john.casey64
Apparently not. http://www.actionscript.org/forums/showthread.php3?t=165084 My remote value object is a [Bindable] ArrayCollection. My tree provider object is a [Bindable] xlmlistcollection which I rebuild using a function, once the ArrayCollection gets populated. This does not work. var

[flexcoders] Re: Newbie question: Completion Events or proxy binding for RemoteObject calls

2009-01-07 Thread john.casey64
Gotit. mx:binding... or Bindutils don;t work. But listening for the event does. __model.managedElements.addEventListener(CollectionEvent.COLLECTION_CHANGE, buildTree); I figured it was a newbie question. Thanks for the help. --- In flexcoders@yahoogroups.com, Josh

[flexcoders] Re: Call external App from AIR

2009-01-07 Thread Devaraj
--- In flexcoders@yahoogroups.com, Sam Lai samuel@... wrote: So can command proxy execute something I talk above? Yes it can, because it has full access to the desktop (within user permissions). I'm not sure if Java has the ability to use ActiveX objects, but I believe it does. There

Re: [flexcoders] Re: Newbie question: Completion Events or proxy binding for RemoteObject calls

2009-01-07 Thread Josh McDonald
The BindUtils doesn't work quite like that. Let's take this MXML snippet: {model.someObject.name} The equivalent call to bindSetter would be: var watcher : ChangeWatcher = BindingUtils.bindSetter(setterFunction, this, [model,someObject,name]); -Josh On Wed, Jan 7, 2009 at 3:20 PM,

[flexcoders] Real World Flex/ColdFusion

2009-01-07 Thread Dan Vega
I just wanted to let everyone know about the series of articles I have been working on. I got a lot of help on this project from this list so I thought you might want to see how it turned out. http://www.danvega.org/blog/index.cfm/2009/1/2/Real-World-FlexColdFusion-Part-1

[flexcoders] Re: Updates Issue in Mozilla ....any thoughts to share???

2009-01-07 Thread oneworld95
You could append a unique value to a querystring on the server URL for each update, something to fool the browser into clearing the cache. The date/time worked for me when dealing with images that were being cached. Of course, updating the data every second seems inefficient and will put a lot of

[flexcoders] Re: Using ActiveXObject with Adobe AIR and Flex

2009-01-07 Thread valdhor
The only way I see you doing it would be to use Java and a Flex-Java bridge: http://www.merapiproject.net/ --- In flexcoders@yahoogroups.com, pratikshah83 pratiksha...@... wrote: Any help would be appreciated. If any one could throw some light. Thanks Pratik --- In

[flexcoders] Re: Properly remove children

2009-01-07 Thread markgoldin_2000
It is set to true. Did not help. --- In flexcoders@yahoogroups.com, Sam Lai samuel@... wrote: I think you need to use weak references when adding event listeners. Set the last parameter of addEventListener to true when adding event listeners. Alternately, you can remove event listeners

[flexcoders] Hiding text in advanced datagrid

2009-01-07 Thread aphexyuri
Hi guys I'm dealing with an advanced datagrid, that has numerous fields. Each field has a search control as header renderer. The header control's values are used in the arraycollection's filterFunction. Some fields have two values, eg: 155 (160), representing typical value (guaranteed value). My

Re: [flexcoders] Re: Properly remove children

2009-01-07 Thread Paul Andrews
- Original Message - From: markgoldin_2000 markgoldin_2...@yahoo.com To: flexcoders@yahoogroups.com Sent: Wednesday, January 07, 2009 2:04 PM Subject: [flexcoders] Re: Properly remove children It is set to true. Did not help. Could there be something else pointing to the child/form?

[flexcoders] Re: throw No configured channel Exception When on HTTPS

2009-01-07 Thread valdhor
Does your services-config.xml have a SecureAMFChannel set? --- In flexcoders@yahoogroups.com, robert01song songd...@... wrote: HI, all my flex application works correctly on tomcat when it is on http, but it throws an exception on https, exactly like http://www.mail-

Re: [flexcoders] Re: Properly remove children

2009-01-07 Thread Marco Catunda
I have some doubt about weak references at eventListener. When I add a eventListener with weak reference true, the object don't get a point/reference to it but what happens with eventListener array after removing this object. This array don't has the reference for garbage collect, so the garbage

[flexcoders] Re: RSL VerifyError: Error #1079: Native methods are not allowed in loaded code.

2009-01-07 Thread Darrell Loverin
The trace seems to say you are not using RSLs, -runtime-shared- library-path. If that is true, then I'm not sure what would cause VerifyError: Error #1079. --- In flexcoders@yahoogroups.com, freak182 eman.noll...@... wrote: Hello, here is the trace when i compile my flex app:

[flexcoders] Re: Hiding text in advanced datagrid

2009-01-07 Thread oneworld95
Try the handy labelFunction on the column. The underlying value is still there; you just display it differently. In the labelFunction, just parse out the (*) string and return the rest. -Alex --- In flexcoders@yahoogroups.com, aphexyuri yuriv...@... wrote: Hi guys I'm dealing with an

Re: [flexcoders] RSL VerifyError: Error #1079: Native methods are not allowed in loaded code.

2009-01-07 Thread freak182
Okie, thank you for you help...i will just dig up some more..anyway do have idea what might cause this problem: http://www.nabble.com/Datagrid-duplicate-row-td21321826.html Thanks a lot. -eman freak182 wrote: Hello, here is the trace when i compile my flex app:

[flexcoders] Re: Slow datagrid updates

2009-01-07 Thread Jason B
Sorry Don't give up I might of missed what you meant 1010? What the heck is that? An actionscript error has occured: TypeError: Error #1010 A term is undefined and has no properties. at line 69 At that line is where it uses setItem What is the data type of the DG dataProvider? I'm

[flexcoders] Peculiar Image Behavior!

2009-01-07 Thread tchredeemed
I have noticed a peculiar problem with some images being rendered in flex. This image: is being rendered like this: I can navigate to the folder the image is in, and I assure you, it looks like the first. This only happens to some images, not all, in fact its the small minority that it

[flexcoders] Re: Peculiar Image Behavior!

2009-01-07 Thread oneworld95
What's the image type? Does it load correctly if you create a simple HTML page with an img tag pointing to it? How is it being loaded into Flex (@Embed or just setting the source of an Image object)? -Alex --- In flexcoders@yahoogroups.com, tchredeemed apth...@... wrote: I have noticed a

Re: [flexcoders] Re: Properly remove children

2009-01-07 Thread Manish Jethani
On Wed, Jan 7, 2009 at 8:05 PM, Marco Catunda marco.catu...@gmail.com wrote: I have some doubt about weak references at eventListener. When I add a eventListener with weak reference true, the object don't get a point/reference to it but what happens with eventListener array after removing

[flexcoders] [LCDS] Doesn't work with two 'in clause' ?

2009-01-07 Thread benjidudu
I am using the SQL assembler in LCDS 2.6. I have a fill with two 'in clause' that causes a SQL error: index out of range. If my fill is: SELECT * FROM statDetails WHERE destination_ip in (#destinations#) it works If my fill is: SELECT * FROM statDetails WHERE source_ip in (#sources#) it works

[flexcoders] Re: Peculiar Image Behavior!

2009-01-07 Thread tchredeemed
It is a JPG, it loads fine in HTML, and it is being loaded into flex as the source of an Image Object... Eeep! :) --- In flexcoders@yahoogroups.com, oneworld95 oneworl...@... wrote: What's the image type? Does it load correctly if you create a simple HTML page with an img tag pointing to it?

[flexcoders] DataGrid renderering issue - Porting from Flex 2 to Flex 3

2009-01-07 Thread Glenn Jones
I recently upgraded from Flex 2.0.1 to 3.2. I have a class that extends mx:DataGrid. In Flex 3.2, some instances of this grid class are rendered just fine, but some instances (about half maybe) are drawn incorrectly - the first row of data values is drawn on top of the column header row. At least,

RE: [flexcoders] Re: Peculiar Image Behavior!

2009-01-07 Thread Jim Hayes
It almost looks as if it could be one of the early stages of one of those progressive type jpegs (they load in stages on a web page), possibly there's something about it that flex does not quite understand. I forget how you check for this, but it may be worth you finding out and having a look?

[flexcoders] Re: Peculiar Image Behavior!

2009-01-07 Thread tchredeemed
I saved it out as Baseline(standard) just to be sure, same problem. --- In flexcoders@yahoogroups.com, Jim Hayes j...@... wrote: It almost looks as if it could be one of the early stages of one of those progressive type jpegs (they load in stages on a web page), possibly there's something

RE: [flexcoders] Re: Slow datagrid updates

2009-01-07 Thread Tracy Spratt
Ok, setItemAt() is a method of *collections*, it is not a method of XML or XMLlist. Hence that error. In this case the best thing to do is wrap your remote call result in XMLListcollection. Decalre a bindable instance var typed as XMLListcolleetciton, and bind the DG to that. In the result

RE: [flexcoders] Re: Peculiar Image Behavior!

2009-01-07 Thread Tracy Spratt
Flex used to have problems with progressive images. Don't know if that is still the case or whether it applies here... Tracy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of tchredeemed Sent: Wednesday, January 07, 2009

RE: [flexcoders]Scope issue - class variable not set

2009-01-07 Thread Tracy Spratt
You should not attempt any complex assignments or run any functions outside of a function. Tracy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Paul Andrews Sent: Wednesday, January 07, 2009 3:34 AM To:

Re: [flexcoders] Re: Call external App from AIR

2009-01-07 Thread Derek Vadneau
If you're ok with Windows only and having Office installed, Northcode's SWF Studio would be another option. You also have a lot more control of the desktop compared to AIR. AIR is great at what it does - taking web applications to the desktop and providing an avenue for online/offline apps. But if

[flexcoders] security sandbox violation in standalone player but not in browser

2009-01-07 Thread Maciek Sakrejda
(sorry if this is a dupe, but the message I sent yesterday still hasn't posted to the list--they're usually up within minutes) Our application has been working fine in various browsers. I'm trying to get it to work in the standalone player (version 9 debug and 10 debug--same behavior--for Linux)

[flexcoders] Components don't display properly after unrelated coding

2009-01-07 Thread Kevin Mulvihill
Hi all, I'm working on an online training project and am using a panel to host an accordian. Each child area in the accordian contains a tree that I populate with XML data. The panel serves as a navigation menu. After I added all the components to the panel and then the code to make it work, I

RE: [flexcoders] Datagrid duplicate row

2009-01-07 Thread Tracy Spratt
First, though I don't think it is a problem, you do not need the sub tags on DGC for the renderer. Just do: mx:DataGridColumn headerText=Start Time itemRenderer=DateTime Now, there is a problem with the renderer. It sets its value on creationComplete. This will not work since that only

RE: [flexcoders] Components don't display properly after unrelated coding

2009-01-07 Thread Tracy Spratt
Try running Project, Clean Tracy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Kevin Mulvihill Sent: Wednesday, January 07, 2009 11:59 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Components don't display

RE: [flexcoders] Components don't display properly after unrelated coding

2009-01-07 Thread Tracy Spratt
And I think you need to show some code. How are you instantiating the menu? How are you hiding, showing it? Do you have any CSS styling going on? Tracy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tracy Spratt

Re: [flexcoders] Components don't display properly after unrelated coding

2009-01-07 Thread Kevin Mulvihill
Would have been great if those 4 simple words had helped. But I tried it twice and the problems still exist. If it makes any difference, I am using the internal ASP.NET server for testing. Later there will be some ASP code to access a database... Kevin On Wed, Jan 7, 2009 at 9:32 AM, Tracy

Re: [flexcoders] Tree is not correctly updated when dragging and dropping item twice when using XML data provider

2009-01-07 Thread Sergey Kovalyov
Thanks, Manish! I will try this. Sergey. On Tue, Jan 6, 2009 at 6:58 PM, Manish Jethani manish.jeth...@gmail.comwrote: On Tue, Jan 6, 2009 at 10:27 PM, Manish Jethani manish.jeth...@gmail.com manish.jethani%40gmail.com wrote: function doWorkaround() { var e = new

[flexcoders] Re: Slow datagrid updates

2009-01-07 Thread Jason B
hmm im getting errors in the IDE on this line searchmcrefundDataProvider = new XMLListcollection(xlResult); 1180: Call to a possibly undefined method XMLListcollection. code im using is == import mx.collections.XMLListCollection; [Bindable]

[flexcoders] Bug? history.js / historyFrame.html in IE7

2009-01-07 Thread flexaustin
I was wondering if anyone else has seen or heard of this issue? Our app is ROR and Flex. Using Flex 3.2.0, FP 10.0.12.36, and compiling for Flash 10. When on an html page that has a Flex component when I click on the Flex component to give it focus the IE7 tab title (aka page title) changes to

[flexcoders] state change reload component

2009-01-07 Thread Mark Hage
Hi, I use states to show a form. this form is in a component. When I view the form and enter some data in a textinput, but the click 'cancel' the form is hidden. The next time I show the form, the data I typed the previous time in the form is still there. Is there a way to 'reset' the component

[flexcoders] DataGrid With CheckBox ItemRenderer

2009-01-07 Thread chris.cobb40
Hi I'm hoping this is simple and I have done something silly. I have a datagrid with an itemrenderer which is a CheckBox and I have written the code below to deal with it. You will see some references to custom events that I have written as well. When I use it, the datagrid no longer updates

[flexcoders] DataGrid With CheckBox ItemRenderer

2009-01-07 Thread chris.cobb40
Hi I'm hoping this is simple and I have done something silly. I have a datagrid with an itemrenderer which is a CheckBox and I have written the code below to deal with it. You will see some references to custom events that I have written as well. When I use it, the datagrid no longer updates

RE: [flexcoders] Re: LineSeries dataFunction to return Array instead of a String

2009-01-07 Thread Chad Callahan
This is very close to what I am trying to accomplish, except that February is showing up twice. Also, the data point from the first February entry is showing up in the column for the second February entry (both February data points are showing up in the second February column). If this would

[flexcoders] Clearspring and facebook

2009-01-07 Thread Fernando Wermus
Dear, I am trying developing a widget for facebook with clearspring using the facebook api. But I didn't find any documentation about. Does anyone have try it? Where is this info? Thanks in advance! -- Fernando Wermus. www.linkedin.com/in/fernandowermus http://mientretiempo.blogspot.com/

[flexcoders] Re: security sandbox violation in standalone player but not in browser

2009-01-07 Thread maciek9billion
Please ignore. I checked using the Yahoo! Groups interface, and the message showed up just fine. Must be something funky with either my mail or flexcoders mail. --- In flexcoders@yahoogroups.com, Maciek Sakrejda msakre...@... wrote: (sorry if this is a dupe, but the message I sent yesterday

[flexcoders] Re: trying to put a Degrafa BezierSpline on a Papervision3D Sphere...

2009-01-07 Thread addlistener
Thanks, I've effectly found a starting issue with Surface, I'll search on the Google Degrafa group... -- Laurent --- In flexcoders@yahoogroups.com, Josh McDonald dzn...@... wrote: You might need to use a degrafa surface rather than rendering into another component. If that's not going to do

RE: [flexcoders] Re: Slow datagrid updates

2009-01-07 Thread Tracy Spratt
It is a letter case error. Check the spelling on that line. Tracy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Jason B Sent: Wednesday, January 07, 2009 1:19 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re:

RE: [flexcoders] state change reload component

2009-01-07 Thread Tracy Spratt
Nothing built-in. You either need to bind the form fields to a model, then clear the model, or you need to manually reset the fields text properties. Tracy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Mark Hage Sent:

Re: [flexcoders] useHandCursor doesn't work when using custom cursors

2009-01-07 Thread Aaron Miller
Ok, thanks for the info. I guess we'll have to do it the long way then. Best Regards, ~Aaron On Tue, Jan 6, 2009 at 12:57 PM, Manish Jethani manish.jeth...@gmail.comwrote: On Wed, Jan 7, 2009 at 1:47 AM, Aaron Miller amil...@openbaseinteractive.com amiller%40openbaseinteractive.com wrote:

[flexcoders] Re: Clearspring and facebook

2009-01-07 Thread valdhor
As this is the Flex Coders list, have you read these: http://hybridhacking.com/tutorials/building-facebook-applications-with-flex http://code.google.com/p/facebook-actionscript-api/ --- In flexcoders@yahoogroups.com, Fernando Wermus fernando.wer...@... wrote: Dear, I am trying

[flexcoders] control captivate swf (fp9 / as2) in flex 3

2009-01-07 Thread Everson Alves
hello, How can I control ( play, pause, stop) an swf made with captivate 3. It's for FP9 ( actionscript 2). LocalConnection doesn't fit me well because the swf I need to control are generated. I don -- Jhonny Everson

[flexcoders] Re: Hiding text in advanced datagrid

2009-01-07 Thread aphexyuri
Man! I'm a classic case of standing too close to the tree to see the forest... Thanks! --- In flexcoders@yahoogroups.com, oneworld95 oneworl...@... wrote: Try the handy labelFunction on the column. The underlying value is still there; you just display it differently. In the labelFunction,

[flexcoders] Creating an ArrayCollection object for charting

2009-01-07 Thread john fisher
I am feeding data to a chart from an arraycollection. When I test it by using a literal to create the data object the chart works fine, but when I assemble the data piece by piece, the chart fails. A correction of my syntax would be great, and explanation even better! I have tried creating an

[flexcoders] Re: Using ActiveXObject with Adobe AIR and Flex

2009-01-07 Thread Amy
--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: The only way I see you doing it would be to use Java and a Flex-Java bridge: http://www.merapiproject.net/ Director would work...

[flexcoders] Re: Slow datagrid updates

2009-01-07 Thread Jason B
I want to say thanks again for your help all is working Do you have a recommended Flex 3 book? --- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote: It is a letter case error. Check the spelling on that line. Tracy

[flexcoders] Flex screen flow control framework

2009-01-07 Thread chenya99
We are developing a Flex app for University Admission system. There are many screens students go through to fill out the application. It depends on which campus (there are three campuses) and which student categories (High School, Transfer, Graduate Students), there are different sequence of

[flexcoders] Re: Cannot decode concrete complex type

2009-01-07 Thread rtapia_archimage
Hello, I'm wondering if you were able to find a solution to this particular problem. I am having the same exact situation occur to me. I have been able to reproduce it every time using .NET or ColdFusion web services (not that that matters). I am currently digging into the SOAPEncoder and

[flexcoders] Re: Properly remove children

2009-01-07 Thread sunild999999
Hi, Just wanted to mention something I (in the comments) of one of Ted Patrick's blog posts. He says that there's a known bug in Flash Player 9 where weak references were preventing objects from being garbage collected: http://www.onflex.org/ted/2008/09/useweakreferencesboolean-false.php

Re: [flexcoders] Re: Cannot decode concrete complex type

2009-01-07 Thread Nate Beck
Hey Ramsey, You should be looking into the SchemaMarshaller. I ran into some issues like this a little while back, I blogged about them here. http://blog.natebeck.net/2008/12/test/ Cheers, Nate On Wed, Jan 7, 2009 at 12:39 PM, rtapia_archimage rta...@archimageonline.com wrote: Hello,

RE: [flexcoders] Re: Slow datagrid updates

2009-01-07 Thread Tracy Spratt
No, I haven't used any books significantly. I learn by having a goal, googling for examples, then try, debug and repeat as necessary. Glad you have solved your problem. Tracy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On

[flexcoders] Drag-n-dropping images from Mac OS to AIR app

2009-01-07 Thread Jeff Hindman
AIR gurus, The following code in my AIR app works fine on a PC, but not on a Mac: protected function handleDragEnter(event:NativeDragEvent):void { if (event.clipboard.hasFormat (ClipboardFormats.FILE_LIST_FORMAT)) {

RE: [flexcoders] DataGrid With CheckBox ItemRenderer

2009-01-07 Thread Alex Harui
Hard to tell from that code. Are you working from an example on my blog (blogs.adobe.com/aharui) or FlexExamples? From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of chris.cobb40 Sent: Wednesday, January 07, 2009 9:42 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Bug? history.js / historyFrame.html in IE7

2009-01-07 Thread Alex Harui
Try a helloworld app in IE7 and see if you have the same issue From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of flexaustin Sent: Wednesday, January 07, 2009 10:27 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Bug? history.js / historyFrame.html in IE7

Re: [flexcoders] Re: Properly remove children

2009-01-07 Thread Josh McDonald
That is however a corner case, and although I've deleted my experiment, it's pretty easy to show that weak event listeners do get collected most of the time. On Thu, Jan 8, 2009 at 6:53 AM, sunild99 sunilbd...@gmail.com wrote: Hi, Just wanted to mention something I (in the comments) of

[flexcoders] Re: error in HTTPService

2009-01-07 Thread weezee49
Thanks, everyone. It appears that the mx:request object isn't refreshed the 2nd time around. A network utility wasn't needed because the message wasn't getting out of the client - the server log didn't register any requests. Stepping through the code showed that it was dying in the

[flexcoders] Modify arrayCollection Structure

2009-01-07 Thread jmfillman
Is there a good way to add a column of data to an arrayCollection? For example, I have an arrayCollection with the following data columns as received from my remoteObject call: id, firstName, lastName, phoneNumber I need to add an extra column for use in my app: id, firstName, lastName,

RE: [flexcoders] Modify arrayCollection Structure

2009-01-07 Thread Alex Harui
Merged array list example on my blog From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of jmfillman Sent: Wednesday, January 07, 2009 3:54 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Modify arrayCollection Structure Is there a good way to add a column

Re: [flexcoders] Drag-n-dropping images from Mac OS to AIR app

2009-01-07 Thread Mac Martine
Try this: if(Capabilities.os.search(Mac) = 0) img1.source = file:// + tempImg.nativePath;else img1.source = tempImg.nativePath; On 1/7/09 1:26 PM, Jeff Hindman jake...@cox.net wrote: AIR gurus, The

[flexcoders] Re: Modify arrayCollection Structure

2009-01-07 Thread jmfillman
I need to add an extra field where data will be added. The field would be empty, to start, and isn't coming from another arrayCollection to merge with the original. JF --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: Merged array list example on my blog From:

RE: [flexcoders] Re: Modify arrayCollection Structure

2009-01-07 Thread Tracy Spratt
I haven't looked at Alex's example(which is probably a big mistake on my part...), but here are some thoughts. You haven't said what the ArrayCollection is a collection *of*. So it is probably a collection of dynamic Objects. Normally this is not a problem, but in many cases, it is

RE: [flexcoders] Re: error in HTTPService

2009-01-07 Thread Tracy Spratt
Yay! Declarative mxml is handy, but you will find *many* advantages to doing that kind of stuff in AS code. Tracy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of weezee49 Sent: Wednesday, January 07, 2009 6:47 PM To:

RE: [flexcoders] [LCDS] Doesn't work with two 'in clause' ?

2009-01-07 Thread Jeff Vroom
Unfortunately the SQL assembler appears to be hardcoded to deal with support for a single in clause.It has to parse the SQL statement to support the in clause so it can convert the array parameter to the right JDBC calls. I'll make sure a bug gets filed on this. Jeff From:

[flexcoders] Re: Modify arrayCollection Structure

2009-01-07 Thread Amy
--- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote: I haven't looked at Alex's example(which is probably a big mistake on my part...), but here are some thoughts. You haven't said what the ArrayCollection is a collection *of*. So it is probably a collection of

[flexcoders] Get AsDoc-generated information as XML?

2009-01-07 Thread Josh McDonald
Hey guys, AsDoc produces some pretty awful HTML. I'd like to get the same information but as XML in order to build my own browser for it, as the built-in help's not so useful on Mac (and I'm the kind of jerk who thinks he can do better anyway). Anybody know if there's a tool or process for this

[flexcoders] Documentation on Flex 3

2009-01-07 Thread brucewhealton
Hello, Can someone help me with something. I wanted to know where one can find the most up to date documentation on the web for the various Flex 3 Components, classes, language reference and so on. I did a google search and found some documentation on some components, i.e. the mx:Text

[flexcoders] Flex Photo Gallery

2009-01-07 Thread brucewhealton
Hello all, Can anyone recommend some good examples of how people have used Flex to create nice photo galleries with different effects. I'd like to see about integrating a database and a scripting language like PHP to allow the end user on a website to update their gallery of photos after

Re: [flexcoders] Documentation on Flex 3

2009-01-07 Thread Nate Beck
AS 2 Documentation - http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/js/html/wwhelp.htmFlex3 Language Reference - http://livedocs.adobe.com/flex/3/langref/ Flex 4 Language Reference - http://livedocs.adobe.com/flex/gumbo/langref/ On Wed, Jan 7, 2009 at 9:17 PM, brucewhealton

RE: [flexcoders] Documentation on Flex 3

2009-01-07 Thread Maciek Sakrejda
For general component and class/function reference, the language reference[1] is indispenable. This is what I use daily and it answers 90% of my questions. For a more in-depth treatment, I recommend the developer guide[2]. I believe Adobe's list of official docs is here[3]. [1]:

[flexcoders] Looping Properties on User-Defined Classes | for..in Does Not Work

2009-01-07 Thread p smith
Does ActionScript have any statements/operators that support looping the properties of user-defined classes? for..in works on looping basic objects. However, in the docs, the Looping page for Programming ActionScript 3.0 says: What you cannot do is iterate through the properties of an object

Re: [flexcoders] Flex Photo Gallery

2009-01-07 Thread greg h
Hi Bruce, Flex Builder 2's install included several example applications, including a standalone Photo Viewer application. You can view the Photo Viewer application live at this link: http://examples.adobe.com/flex2/inproduct/sdk/photoviewer/PhotoViewer.html To download and view the full

[flexcoders] Re: Call external App from AIR

2009-01-07 Thread lehaianh1986
Thank all of you!!! I will try these solutions. In some next days, I will post questions.

[flexcoders] How to remove effect applied to image to its original state

2009-01-07 Thread lytvynyuk
Lets say I applied rotation to an image. I kept that Image object reference. Then I want to apply other effect to same image object, but previous effect already altered image. So question is how to restore original state of the image? Reloading not seems to be working, I mean image.load()!!!

Re: [flexcoders] Looping Properties on User-Defined Classes | for..in Does Not Work

2009-01-07 Thread Nate Beck
As far as I know... which is pretty much the quote from the documentation you posted there. You cannot unless you're dynamically adding properties to the object. I do know, however, that if your class extends flash.utils.Proxy, you can setup an iterator by overriding the nextName, nextNameIndex,

Re: [flexcoders] Looping Properties on User-Defined Classes | for..in Does Not Work

2009-01-07 Thread Josh McDonald
ObjectUtil.getClassInfo(myObj).properties -Josh On Thu, Jan 8, 2009 at 4:31 PM, Nate Beck n...@tldstudio.com wrote: As far as I know... which is pretty much the quote from the documentation you posted there. You cannot unless you're dynamically adding properties to the object. I do know,