[flexcoders] Re: Adding functionality to existing classes

2006-12-14 Thread ben.clinkinbeard
You could write a completely separate utility class that uses Arrays and ArrayCollections thru composition. HTH, Ben --- In flexcoders@yahoogroups.com, Lachlan Cotter [EMAIL PROTECTED] wrote: Is there any way in ActionScript 3 that you can add methods to an existing class short of

[flexcoders] Re: Creating Events

2006-12-14 Thread ben.clinkinbeard
You just have to subclass Event, and then call super(myCustomType) in your constructor. HTH, Ben --- In flexcoders@yahoogroups.com, marloscarmo2004 [EMAIL PROTECTED] wrote: I need create a personalized event in my class in AS3. In AS2 I use the dispatchEvent comand. this.dispatchEvent( {

[flexcoders] Enumerable properties: what am I not getting?

2006-12-14 Thread ben.clinkinbeard
So setPropertyIsEnumerable() is really only good for dynamically creayed properties, and really only for setting to false, since they are enumerable by default. My question is, how can I iterate over the properties that are actually defined in one of my classes? I have a VO class with a bunch o'

[flexcoders] Re: Need help intercepting a specific event for DataGrid

2006-12-13 Thread ben.clinkinbeard
You are correct, itemClick is the event you need to handle. In your handler method simply perform your logic, and if the row should not be selected use dg.selectedIndex = -1. HTH, Ben --- In flexcoders@yahoogroups.com, Mike Anderson [EMAIL PROTECTED] wrote: Hello All, I am trying to figure

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

2006-12-11 Thread ben.clinkinbeard
); op.send(); } Thanks for all your help to far. It has definitely helped!! --Phil --- In flexcoders@yahoogroups.com, ben.clinkinbeard ben.clinkinbeard@ wrote: is that the method we are trying to call

[flexcoders] Re: Flex and .net webservices

2006-12-11 Thread ben.clinkinbeard
Hi Robin, I have good news :), both of these issues should go away by setting a single attribute on your WebService object. Try setting makeObjectsBindable = false. This will cause Flex to deserialize your ws responses into regular Object and Array instances instead of ObjectProxy and

[flexcoders] Re: Reason no id field for DataGridColumn

2006-12-11 Thread ben.clinkinbeard
Shows up in the auto-complete list for me... --- In flexcoders@yahoogroups.com, richmcgillicuddy [EMAIL PROTECTED] wrote: Any logical explanation for this

[flexcoders] Re: Flex and .net webservices

2006-12-11 Thread ben.clinkinbeard
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Tuesday, 12 December 2006 2:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex and .net webservices Hi Robin, I have good news :), both

[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 ben.clinkinbeard
those in as arguments?? op.arguments.objectArg = {name: John Doe, age: 26} ?? How do you specify the result format to be e4x? Help would be appreciated. -phil --- In flexcoders@yahoogroups.com, ben.clinkinbeard ben.clinkinbeard@ wrote: I've not dealt with authentication but here

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

2006-12-08 Thread ben.clinkinbeard
I've not dealt with authentication but here is how to call an operation. // getOperation() returns generic AbstractOperation by default // you want mx.rpc.Operation, not mx.rpc.mxml.Operation var op:Operation = ws.getOperation(doCoolStuff) as Operation; op.arguments.arrayArg = new Array(foo,

[flexcoders] Re: TileList itemRenderer not changing when dataProvider change (cairngorm)

2006-12-06 Thread ben.clinkinbeard
I agree with Jeff that those links are pretty good :), but you may also need to make the class whose instances are filling your AC bindable as well. Its hard to tell without seeing your app. HTH, Ben http://www.returnundefined.com/ --- In flexcoders@yahoogroups.com, vigen2000 [EMAIL PROTECTED]

[flexcoders] Converting the output of ObjectUtil.copy() to custom type

2006-12-06 Thread ben.clinkinbeard
Does anyone know how to do this? Neither casting nor the as operator are working. var foo:FooObject = new FooObject(); // this doesn't work var fooCopy:FooObject = FooObject(ObjectUtil.copy(foo)); // neither does this var fooCopy:FooObject = ObjectUtil.copy(foo) as FooObject; Thanks in

[flexcoders] Re: style property reference

2006-12-06 Thread ben.clinkinbeard
The styles that apply to each class/component are available in the documentation. Such as http://livedocs.macromedia.com/flex/2/langref/mx/controls/DataGrid.html#styleSummary HTH, Ben --- In flexcoders@yahoogroups.com, bitfacepatrick [EMAIL PROTECTED] wrote: Hello Can anyone tell me where I

[flexcoders] Re: Need Help...Passing data from datagrid to database

2006-12-05 Thread ben.clinkinbeard
I think in most cases, reading from a DataGrid is unnecessary and I would recommend against it. Instead, you should iterate over the DataGrid's dataProvider to access the data. The exact syntax for that will depend on what you're using as your dataProvider, but assuming its an ArrayCollection or

[flexcoders] Re: itemrenderer trying to access variables in main application

2006-12-05 Thread ben.clinkinbeard
Hi Bill, This is pretty simple to accomplish if you use ClassFactory to set up your itemRenderers. You'll need to implement IFactory in your itemRenderer class and then do something like this in the file where your DataGrid lives: [Bindable] private var myRenderer:ClassFactory; myRenderer = new

[flexcoders] Re: Styling in Flex is officially ridiculous

2006-11-30 Thread ben.clinkinbeard
I must say, I really don't understand how I am being offensive. If you took issue with my hypothetical new developer conversation, well, you shouldn't. I was merely trying to point out that your solution is a complex one, and requiring these types of workarounds does not encourage the very

[flexcoders] Re: Datagrid Scrolling issue

2006-11-30 Thread ben.clinkinbeard
You need to override the data method in your itemRenderer. Please search the archives as this topic has been covered at length in this group. HTH, Ben --- In flexcoders@yahoogroups.com, Yasovardhan Babu [EMAIL PROTECTED] wrote: Hi, I have an issue with datagrid scrolling. If one of the

[flexcoders] Re: Styling in Flex is officially ridiculous

2006-11-30 Thread ben.clinkinbeard
know about your pain points, we aren't likely to make them go away. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Thursday, November 30, 2006 6:29 AM To: flexcoders@yahoogroups.com

[flexcoders] Re: How can I change the color of DataGrid header's bottom border?

2006-11-30 Thread ben.clinkinbeard
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Wednesday, November 15, 2006 8:28 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How can I change the color of DataGrid header's bottom border? Good god skinning is harder than it should be. I

[flexcoders] Re: change properties in itemRenderer at runtime ?

2006-11-29 Thread ben.clinkinbeard
Hi Arpan, You need to use the properties property of ClassFactory. This is basically an object whose properties get assigned to your factory class's public properties with matching names. For example, if your gridItemRenderer class has public properties called someString, someNumber and

[flexcoders] Styling in Flex is officially ridiculous

2006-11-29 Thread ben.clinkinbeard
OK. I am usually very hesitant to criticize Adobe because of the immense respect I have for their employees and the amazing technology they create. I have built my career around their products. That being said, the styling capabilities in Flex are downright silly. I have suffered silently through

[flexcoders] Re: Binding to a custom method: possible?

2006-11-29 Thread ben.clinkinbeard
valueOfB (arg) { // Change B here dispatchEvent(new Event(enabledParamsChanged)); } Now Flex knows to fire your isEnabled binding when the arguments to the calculation are altered. Cheers, Lach On 29/11/2006, at 1:13 AM, ben.clinkinbeard wrote: There was a similar

[flexcoders] Re: Styling in Flex is officially ridiculous

2006-11-29 Thread ben.clinkinbeard
: Re: [flexcoders] Styling in Flex is officially ridiculous Well, Before your loose it... try myButton.setStyle(upSkin, null); OR Button { upSkin:ClassReference(null); } OR mx:Button upSkin={null}/ Peace, Mike On 11/29/06, ben.clinkinbeard [EMAIL PROTECTED

[flexcoders] Re: Styling in Flex is officially ridiculous

2006-11-29 Thread ben.clinkinbeard
that contains the 'border' in an if statement. This way you just set ONE style and vola, no border! Peace, Mike On 11/29/06, ben.clinkinbeard [EMAIL PROTECTED] wrote: Yes, I meant the button's border. The default button is a gradient background with a border around it. I just wanted a gradient

[flexcoders] Re: Can't get value after labelfunction

2006-11-29 Thread ben.clinkinbeard
Tracy is right, you should use an itemRenderer for this. calculatedValueRenderer should override the data method (like all good little renderers do :)) and in the method retrieve the values to be calculated as well as updating the calculated value in the dataProvider. Using the ClassFactory

[flexcoders] Re: Firing an event when clicking on a DataGridColumn

2006-11-28 Thread ben.clinkinbeard
http://livedocs.macromedia.com/flex/2/langref/mx/controls/DataGrid.html#eventSummary --- In flexcoders@yahoogroups.com, stephen50232 [EMAIL PROTECTED] wrote: Hi, Is it possible to fire an event every time a user clicks on a new row in a DataGrid. So that I can populate a form with a new

[flexcoders] Binding to a custom method: possible?

2006-11-28 Thread ben.clinkinbeard
There was a similar question asked here recently but my needs are different so I am starting a new thread. My needs are as follows: I have a ComboBox whose enabled state needs to be determined by several factors, thus the need for a custom method. The problem is that this doesn't seem to work, no

[flexcoders] Re: Flex Builder Debugger behavior + Firefox

2006-11-28 Thread ben.clinkinbeard
Window - Preferences - General - Web Browser HTH, Ben --- In flexcoders@yahoogroups.com, Rick Schmitty [EMAIL PROTECTED] wrote: Is there a way in eclipse to specify the browser to be used without changing the system default browser? When I set my default browser to IE and debug in flex,

[flexcoders] Re: Binding to a custom method: possible?

2006-11-28 Thread ben.clinkinbeard
Anyone? --- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: There was a similar question asked here recently but my needs are different so I am starting a new thread. My needs are as follows: I have a ComboBox whose enabled state needs to be determined by several

[flexcoders] Re: itemeditor checkboxes not updating properly

2006-11-27 Thread ben.clinkinbeard
sense. --- In flexcoders@yahoogroups.com, ben.clinkinbeard ben.clinkinbeard@ wrote: Hello, I think (maybe) I understand what you're trying to accomplish. The columns in the second DG are based on which rows were selected in the first DG? If that is the case you'll want to create some sort

[flexcoders] Re: e4x/default namespaces question

2006-11-24 Thread ben.clinkinbeard
, but it didn't seem to address my specific issue--maybe I just missed it). Thanks again, Chris --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , ben.clinkinbeard ben.clinkinbeard@ wrote: As Gordon mentioned, there should be plenty of discussion on this topic

[flexcoders] Re: How to handle complex object return from web service

2006-11-17 Thread ben.clinkinbeard
Not sure what you mean about getting part of it, but there are some ways of dealing with complex results. Whenever I've encountered web services that return deeply nested or very complex structures I've set the resultFormat of the operation to e4x. This allows you to use E4X expressions to access

[flexcoders] Re: Auto incrementing values for datagrid

2006-11-17 Thread ben.clinkinbeard
this field should re-paint itself on sorting of any other fields. Do you mean that the first row in the grid should always say 1, regardless of how the list is sorted? If that is the case, you'll want to create an itemRenderer that implements IDropInListItemRenderer, and then displays the

[flexcoders] Re: programmatic animated skin

2006-11-16 Thread ben.clinkinbeard
Here is a third option: http://www.jessewarden.com/archives/2006/08/flash_9_button.html HTH, Ben --- In flexcoders@yahoogroups.com, gdoucen [EMAIL PROTECTED] wrote: Hi, I want to make a blinking pause button (background + blinking pause symbol). What is the best way to make a

[flexcoders] Re: How can I change the color of DataGrid header's bottom border?

2006-11-16 Thread ben.clinkinbeard
Is this not possible? --- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: Good god skinning is harder than it should be. I have managed to change the color of the vertical separators between column headers by coding my own headerSeparatorSkin class, but I cannot find

[flexcoders] Re: Intel-Mac 9.0.28 debug plugin

2006-11-16 Thread ben.clinkinbeard
It doesn't specifically list Intel Mac, but I would assume this is what you need. http://www.adobe.com/support/flashplayer/downloads.html I actually had to ask in a comment on the Labs blog to find this link too. Hey Adobe, make it easier to find these- why aren't they linked from the main

[flexcoders] Re: How can I change the color of DataGrid header's bottom border?

2006-11-16 Thread ben.clinkinbeard
] wrote: And if headerColors is the wrong thing just read through the datagrid skins source and see what it's doing :-) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Thursday, November 16, 2006 1:19 PM

[flexcoders] Re: Cairngorm 2.1 why the ServiceLocator dosen't extends UIComponent anymore?

2006-11-15 Thread ben.clinkinbeard
? Where is that documented? -Bruce From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Wednesday, November 15, 2006 12:35 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re

[flexcoders] Re: Language vs. DOM

2006-11-08 Thread ben.clinkinbeard
Godd stuff (again), Gordon. So, is it reasonable to assume that the Apollo team is also using Tamarin and adding DOMs on top of it to support the various OS-level functionalities? I realize you're not on that team so you might not have the details on this, but you've piqued my interest enough to

[flexcoders] Re: Tamarin, Adobe open source the Flash player ?

2006-11-07 Thread ben.clinkinbeard
Once again, Gordon takes the cake for the best clear and concise explanation of a topic. I have read at least 20 descriptions of this stuff today and this is the first one that has made complete sense. (The others ranged from 'almost getting it' to 'no clue what the hell that means'.) Thanks

[flexcoders] Re: how to learn file upload result

2006-11-06 Thread ben.clinkinbeard
I will fill out the form too but I really, really hope this changes soon. FileReference is near pointless with this arbitrary limitation. Would love to hear the rationale for it. Thanks, Ben --- In flexcoders@yahoogroups.com, Stacy Young [EMAIL PROTECTED] wrote: At this time the flash player

[flexcoders] Detect assignments to property marked [Bindable] affected by package

2006-11-06 Thread ben.clinkinbeard
Hello, I have a property in my model called currentBatch, which is an instance of my Batch class. I also have my Batch class marked [Bindable] (just like the model class itself). If Batch resides in the vo package, I am getting the famous will not be able to detect assignments... warning when

[flexcoders] Re: Web Services in Cairngorm 2.1

2006-11-03 Thread ben.clinkinbeard
Will there be a way to keep it defaulted to off? I prefer to control when loadWSDL() is called. Thanks, Ben --- In flexcoders@yahoogroups.com, Peter Martin [EMAIL PROTECTED] wrote: There have been a number of postings across the various newsgroups regarding Web Services behaving differently

[flexcoders] Re: avoid propagate event on itemrenderer to datagrid

2006-11-03 Thread ben.clinkinbeard
Federico, you probably need to override the data method of your CheckBox itemRenderer. See the code snippet towards the end of this post: http://www.returnundefined.com/2006/10/item-renderers-in-datagrids-a-primer-for-predictable-behavior/ HTH, Ben --- In flexcoders@yahoogroups.com, Federico

[flexcoders] Re: DataGrid with content spanning several columns

2006-11-03 Thread ben.clinkinbeard
http://www.cynergysystems.com/blogs/page/andrewtrice?entry=gantt_charts_in_flex_datagrids --- In flexcoders@yahoogroups.com, Jonathan Bezuidenhout [EMAIL PROTECTED] wrote: Hi All, I need a DataGrid with the ability to have a row where some of the contents span across columns. It might

[flexcoders] Re: Checkbox in Datagrid - checks disappear when scrolling

2006-11-02 Thread ben.clinkinbeard
http://www.returnundefined.com/2006/10/item-renderers-in-datagrids-a-primer-for-predictable-behavior/ HTH, Ben --- In flexcoders@yahoogroups.com, app.developer [EMAIL PROTECTED] wrote: If I use mx:Component id=inlineEditor mx:Canvas width=100% height=100% mx:Script ![CDATA[ public

[flexcoders] Re: unable to load wsdl?? flex, you're pissing me off...

2006-11-01 Thread ben.clinkinbeard
Works for me and I am running the same versions as you. Win XP. --- In flexcoders@yahoogroups.com, Jason [EMAIL PROTECTED] wrote: Can anyone out there can confirm that the example here: http://blog.wrench.com.au/wp-content/uploads/Flex/converter2/Converter.html actually works in Firefox

[flexcoders] Re: Accesing complex structures in result from WebServices

2006-10-30 Thread ben.clinkinbeard
Hi Bob, Flex should handle the serialization of your objects into xml, you just need to make sure they're named correctly. var args:Object = new Object(); args.foo = new Object(); foo.bar = someString; foo.count = 10; myWsOp.arguments = args; myWsOp.send(); should automagically send foo

[flexcoders] Re: upload files via .ASP

2006-10-30 Thread ben.clinkinbeard
http://www.google.com/search?q=ASP+upload+scriptstart=0ie=utf-8oe=utf-8client=firefox-arls=org.mozilla:en-US:official --- In flexcoders@yahoogroups.com, pirvulescu_adrian [EMAIL PROTECTED] wrote: Hello !! I need help, creating an .asp that I can use to upload files on server. I have watched

[flexcoders] Re: Accesing complex structures in result from WebServices

2006-10-30 Thread ben.clinkinbeard
. --- In flexcoders@yahoogroups.com, ben.clinkinbeard ben.clinkinbeard@ wrote: Hi Bob, Flex should handle the serialization of your objects into xml, you just need to make sure they're named correctly. var args:Object = new Object(); args.foo = new Object(); foo.bar = someString

[flexcoders] Re: JUST SAY NO to creationPolicy=all !

2006-10-30 Thread ben.clinkinbeard
Thanks Gordon, I've had this topic in the back of my head lately and your repeated posts kept coming to mind. :) Its nice to see it all laid out together with some guidance as well. I'll admit I've not done much searching for it, but does anyone know if there is a good article/post/page anywhere

[flexcoders] Re: Databinding on an XML node via node index

2006-10-27 Thread ben.clinkinbeard
XMLListCollection is the XML-based equivalent of ArrayCollection and provides a getItemAt() method as well. HTH, Ben --- In flexcoders@yahoogroups.com, iko_knyphausen [EMAIL PROTECTED] wrote: I am binding a text control to an XML (e4x) node via index. Looks something like mx:Text

[flexcoders] Re: Cairngorm / Webservice / E4X XML Output

2006-10-26 Thread ben.clinkinbeard
postalcodeXML.*::[EMAIL PROTECTED] but when I have to put the wildcard and result and such on every node it seems kind of laborious. I figured there would be a way to make the default hold up which I haven't yet managed. --- In flexcoders@yahoogroups.com, ben.clinkinbeard ben.clinkinbeard@ wrote

[flexcoders] Re: How to assign dataset returned by .Net web service to Flex?

2006-10-26 Thread ben.clinkinbeard
.NET should know (how) to serialize those structures into SOAP-compliant XML shouldn't it? I call (but don't write them myself) .NET web services all the time from Flex. Ben --- In flexcoders@yahoogroups.com, Yasovardhan Babu [EMAIL PROTECTED] wrote: Hi, I have an application currently

[flexcoders] Re: datagrid checkboxes getting checked dynamically

2006-10-26 Thread ben.clinkinbeard
Not surprising. XML is (obviously) just plain text when it comes down to it. I'm not sure how you're creating your ArrayCollection from the data returned by your HTTPService, but it probably serializes everything into generic objects and primitive datatypes where appropriate. That is exactly what

[flexcoders] Re: ItemRenderer - Which dataField from DataGridColumn?

2006-10-26 Thread ben.clinkinbeard
Make sure you read all the comments but this addresses exactly what you're looking for. http://www.jessewarden.com/archives/2006/10/checkbox_item_r.html HTH, Ben --- In flexcoders@yahoogroups.com, Sönke Rohde [EMAIL PROTECTED] wrote: Hi, I need to access the reference to the

[flexcoders] Re: Cairngorm / Webservice / E4X XML Output

2006-10-25 Thread ben.clinkinbeard
Does the Alert.show(postcodeXML) display the xml and you're just not able to get nodes within it? Does the returned xml contain namespaces? If you can post the resulting xml and the code you're using to try and access individual nodes it will be easier to diagnose your issue. Ben --- In

[flexcoders] Re: datagrid checkboxes getting checked dynamically

2006-10-25 Thread ben.clinkinbeard
Is it because the checkbox is expecting a Boolean and getting text? That would be my guess. What does it do if you change the code to: mx:CheckBox id=ckBoxBusCharge selected='{data.cdrBusinessCharge == true}' / ? --- In flexcoders@yahoogroups.com, Jack OMelia [EMAIL PROTECTED] wrote: Hi All,

[flexcoders] Re: Pass data in Event or store it in ModelLocator?

2006-10-24 Thread ben.clinkinbeard
I'd say if its data that will be used outside of/after the event then you would store it in the model. Ben --- In flexcoders@yahoogroups.com, wayneposner [EMAIL PROTECTED] wrote: Howdy all! I've got a question regarding best practices for data sets--lets say an arraycollection object to

[flexcoders] One data set, multiple DataGrids/views- best approach?

2006-10-23 Thread ben.clinkinbeard
In an upcoming project I will need to provide multiple views of the same data, most likely in the form of an XMLListCollection, in multiple DataGrids. The scenario is that I will have a large master set of data, but depending on which screen you are on you will only see the appropriate parts of

[flexcoders] Re: One data set, multiple DataGrids/views- best approach?

2006-10-23 Thread ben.clinkinbeard
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Monday, October 23, 2006 11:30 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] One data set, multiple DataGrids/views- best approach

[flexcoders] Re: Now Shipping: ActionScript 3.0 Cookbook – Solutions for Flash Platform and F

2006-10-14 Thread ben.clinkinbeard
@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: Same here, except mine says it will ship Dec 12. I'm calling BS. --- In flexcoders@yahoogroups.com, Jeff Fleitz jfleitz@ wrote: You know, I just ordered this from Amazon this morning, which said it was released, but my order details

[flexcoders] Re: Text Area question

2006-10-14 Thread ben.clinkinbeard
Hey Gordon, you seem to have a knack for explaining things very clearly and concisely. Any chance we'll see tutorials or a book from you at some point? I'd buy it in a heartbeat. Thanks, Ben --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: Below is an example of forcing

[flexcoders] Re: Now Shipping: ActionScript 3.0 Cookbook – Solutions for Flash Platform and F

2006-10-12 Thread ben.clinkinbeard
Same here, except mine says it will ship Dec 12. I'm calling BS. --- In flexcoders@yahoogroups.com, Jeff Fleitz [EMAIL PROTECTED] wrote: You know, I just ordered this from Amazon this morning, which said it was released, but my order details then showed that the book wasn't going to ship

[flexcoders] Re: FileUpload on HTTPService (Flex 2.0)

2006-10-11 Thread ben.clinkinbeard
As Carson mentioned, FileReference is the only way to upload a file. However, you can send additional params (your form field values) along with the file. var params:URLVariables = new URLVariables(); params.firstName = firstNameField.text; var request:URLRequest = new

[flexcoders] Re: Line break in Checkbox label

2006-10-11 Thread ben.clinkinbeard
http://tech.groups.yahoo.com/group/flexcoders/message/49518?threaded=1p=7 --- In flexcoders@yahoogroups.com, Wally Randall [EMAIL PROTECTED] wrote: Is it possible to force a line break in the checkbox label? -- Flexcoders Mailing List FAQ:

[flexcoders] Re: WebOrb for Rails

2006-10-06 Thread ben.clinkinbeard
why the heck should they push it?!? Because it makes Flex more attractive/a legitimate possibility to a MUCH larger audience. Adobe (and Macromedia before) are (IMHO) doing a lousy job in promoting ColdFusion to other than the already converted. How so? Pretty much every tutorial out there

[flexcoders] Re: WebOrb for Rails

2006-10-06 Thread ben.clinkinbeard
the revenue and stifle their FDS development since someone else already did it. This isn't going to go anywhere, seriously. Adobe is going to do what is best for the biz then for the community, like pretty much any biz. On 10/6/06, ben.clinkinbeard [EMAIL PROTECTED] wrote: why the heck

[flexcoders] Re: Accesing complex structures in result from WebServices

2006-10-04 Thread ben.clinkinbeard
My best guess for the first issue would be to use array notation or whatever its called. WebService.Operation.lastResult[return] As for the other one, maybe something like this? (Not sure if this will work... this might not be possible.) public dynamic class Name {} var n:Name = new Name();

[flexcoders] Re: Flex pulling in data from the HTML and can HTML hold my XML dataprovider?

2006-10-02 Thread ben.clinkinbeard
http://www.onflex.org/FXT/ --- In flexcoders@yahoogroups.com, dorkie dork from dorktown [EMAIL PROTECTED] wrote: I have a very complicated project that I would like your help with. The reason it's complicated is because I can't change anything in the backend, the information getting pushed

[flexcoders] Re: Stats on flash player 9 penetration.

2006-10-01 Thread ben.clinkinbeard
I also know of a company that has already rolled out FP9 to all of their desktops. I am not sure of the exact number, but I think its in the neighborhood of 60,000 to 80,000 machines. Very cool indeed. Ben --- In flexcoders@yahoogroups.com, David Mendels [EMAIL PROTECTED] wrote: Hi, Two

[flexcoders] Re: Flex 2 and DataGrid

2006-09-29 Thread ben.clinkinbeard
It is certainly possible, although explaining how would be quite a long conversation. Here are some links to get you started. http://livedocs.macromedia.com/flex/2/docs/0820.html http://livedocs.macromedia.com/flex/2/langref/mx/controls/dataGridClasses/DataGridItemRenderer.html HTH, Ben ---

[flexcoders] Re: FlexUnit usage examples

2006-09-28 Thread ben.clinkinbeard
I've never used FlexUnit but Paul has done extensive testing and writing about this subject: http://www.eyefodder.com/blog/2006/07/flexunit_asunit_deathmatch_res.shtml HTH, Ben --- In flexcoders@yahoogroups.com, Dima Ulich [EMAIL PROTECTED] wrote: Hi everybody, Does anyone have an example

[flexcoders] Re: Transferring Data through Cairngorm methodology

2006-09-28 Thread ben.clinkinbeard
I didn't read every line of your code but I think this is your problem: You are creating and passing your custom AuthenticateEvent object, which has the loginName and password properties, but then you are trying to access data.loginName and data.password in your command. Try this: var

[flexcoders] Re: datgrid fills but content is invisible

2006-09-27 Thread ben.clinkinbeard
--- In flexcoders@yahoogroups.com, ben.clinkinbeard ben.clinkinbeard@ wrote: I had this issue a while back and I am pretty sure it was a namespace issue. Does the data returned from the WS contain a default namespace? As in xmlns=http://yoursite.com/someUrl;. If so, you'll need

[flexcoders] Re: Cairngorm Best Practices.

2006-09-27 Thread ben.clinkinbeard
This is off the top of my head so if someone out there knows or can explain better feel free to correct me... I've not looked at the actual code but from your snippet it appears that they are in fact still using constants, just not ones that are defined in the ShopController. When you have an

[flexcoders] Re: SOAP with attachments... not possible?

2006-09-26 Thread ben.clinkinbeard
Should I take this as a yes? Simply not possible? --- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: Hello, I came across some info (after unsuccessfully trying myself) stating that it is not possible to make SOAP calls with attachments in Flex because

[flexcoders] Re: SOAP with attachments aka FileReference- what's the point?

2006-09-26 Thread ben.clinkinbeard
-file data as url vars. Are you changing the file within the same call? -Tom2 On 9/26/06, ben.clinkinbeard [EMAIL PROTECTED] wrote: Should I take this as a yes? Simply not possible? --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, ben.clinkinbeard

[flexcoders] Re: SOAP with attachments aka FileReference- what's the point?

2006-09-26 Thread ben.clinkinbeard
could do something similar: status code 200 - all is well status code 2500 - invalid format status code 3500 - duplicate file exists Yes, the limitation of fileReference sucks, but if you need to use it, this is a nice hack to get what you want. On 9/26/06, ben.clinkinbeard [EMAIL

[flexcoders] Re: datgrid fills but content is invisible

2006-09-26 Thread ben.clinkinbeard
I had this issue a while back and I am pretty sure it was a namespace issue. Does the data returned from the WS contain a default namespace? As in xmlns=http://yoursite.com/someUrl;. If so, you'll need to use a labelFunction. I posted about this a while back:

[flexcoders] SOAP with attachments... not possible?

2006-09-25 Thread ben.clinkinbeard
Hello, I came across some info (after unsuccessfully trying myself) stating that it is not possible to make SOAP calls with attachments in Flex because: The problem with the Flex file upload using FileReference is that it does not provide support for sending SOAP attachments. 1. Headers

[flexcoders] Re: Webservices from actionscript...

2006-09-25 Thread ben.clinkinbeard
This is off the top of my head but I am pretty this will compile... var ws:WebService = new WebService(); ws.loadWSDL([insert url here]); ws.makeObjectsBindable = false; // optional- true by default var op:Operation = ws.getOperation(someMethod) as Operation; op.resultFormat = e4x; // optional-

[flexcoders] Change DataGridColumn.dataField via AS

2006-09-21 Thread ben.clinkinbeard
Hello, I am able to change the dataField property of one of my columns with AS, using this obvious) code. genStatusColumn.dataField = prelims; Tracing the value before and after shows that it is successfully changed, but the DataGrid's display does not update accordingly. What am I missing here?

[flexcoders] Re: Array Serialization .NET Web Service

2006-09-08 Thread ben.clinkinbeard
Hi Graham, While I've not experienced this exact problem, I did have a couple of issues very very similar to it, involving serializing an AS array into repeated nodes in the SOAP call. Adobe's support team has confirmed that the 3 issues I've run into are in fact bugs, and engineering is working

[flexcoders] Moving flexcoders to Google Groups- would you come along?

2006-09-08 Thread ben.clinkinbeard
Hello all, Frustrations with Yahoo's boards seems to be a fairly universal sentiment here on flexcoders. The comments to Alistair McLeod's latest blog post (http://weblogs.macromedia.com/amcleod/archives/2006/09/flexcoders_post.cfm - discussing the explosion of growth flexcoders has seen

[flexcoders] Re: What comes after FlexEvent.INITIALIZE and FlexEvent.CREATION_COMPLETE?

2006-09-07 Thread ben.clinkinbeard
hope this helps! -d ben.clinkinbeard wrote: Thanks for the reply Abdul. However, if I remove the FlexEvent.CREATION_COMPLETE listener, the checkboxes overlap each other. Until I roll over them that is... once I roll over them they each pop into the correct, non-overlapping

[flexcoders] Re: What comes after FlexEvent.INITIALIZE and FlexEvent.CREATION_COMPLETE?

2006-09-07 Thread ben.clinkinbeard
is the invalidateSize() schedules the measure() call based on nets level and other invalidation factors. The last statement is my rationale for not doing it. :) Peace, Mike On 9/7/06, ben.clinkinbeard [EMAIL PROTECTED] wrote: Thanks Darron! That works beautifully. Although I can't believe you

[flexcoders] What comes after FlexEvent.INITIALIZE and FlexEvent.CREATION_COMPLETE?

2006-09-06 Thread ben.clinkinbeard
Hello, I have created a CheckBox whose label can accomodate multiline text by constructing a CheckBox subclass (mockingly) named SuperCheckBox. I am adding a set of them to a VBox inside a loop, but in order to get them properly spaced (not overlapping), I am having to call both

[flexcoders] Re: What comes after FlexEvent.INITIALIZE and FlexEvent.CREATION_COMPLETE?

2006-09-06 Thread ben.clinkinbeard
, ben.clinkinbeard [EMAIL PROTECTED] wrote: Hello, I have created a CheckBox whose label can accomodate multiline text by constructing a CheckBox subclass (mockingly) named SuperCheckBox. I am adding a set of them to a VBox inside a loop, but in order to get them properly spaced

[flexcoders] Re: What comes after FlexEvent.INITIALIZE and FlexEvent.CREATION_COMPLETE?

2006-09-06 Thread ben.clinkinbeard
layouting or measuring happens (or before updateDisplayList (..) is invoked?).. However, please check out.. -abdul On 9/6/06, ben.clinkinbeard [EMAIL PROTECTED] wrote: Hello, I have created a CheckBox whose label can accomodate multiline text by constructing a CheckBox

[flexcoders] Re: strange problem with components in TabNavigator

2006-09-05 Thread ben.clinkinbeard
By default, the children of ViewStacks (and consequently TabNavigators, since they just wrap a ViewStack) are not created until they are shown. You can set creationPolicy = all to get around this. HTH, Ben http://www.returnundefined.com/ --- In flexcoders@yahoogroups.com, Horváth Balázs [EMAIL

[flexcoders] Confirmed Bug: SOAP request construction with .NET web service... again

2006-09-05 Thread ben.clinkinbeard
Just for the sake of record, Adobe has just notified me that this is indeed a bug. I sure hope some WebService fixes are in that dot release... Ben --- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: I have already come across a couple of (confirmed by Adobe support

[flexcoders] Re: Confirmed Bug: SOAP request construction with .NET web service... again

2006-09-05 Thread ben.clinkinbeard
sooner via a hotfix. It really is encouraging to see Adobe's willingness and ability to make improvements and ensure Flex is as rock solid as possible. Thanks Adobe! Ben --- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: Just for the sake of record, Adobe has just notified

[flexcoders] Re: Webservice Connector Component

2006-09-01 Thread ben.clinkinbeard
Its really not bad at all, and understanding how things really work will pay off down the road. Here is a sample. mx:WebService id=ws wsdl=http://www.site.com/MyWebService.asmx?WSDL; useProxy=false fault=getTrendsFault(event) result=getTrendsResult(event) mx:operation name=GetTrends

[flexcoders] Wacky SOAP request construction with .NET web service... again

2006-08-31 Thread ben.clinkinbeard
I have already come across a couple of (confirmed by Adobe support) bugs with the way Flex constructs SOAP requests when using .NET web services and am wondering if I've found a third. I suppose this could be the expected behavior but it seems awfully weird to me. Part of the request that my web

[flexcoders] Re: Is there a simple Cairngorm 2 walkthrough out there?

2006-08-31 Thread ben.clinkinbeard
Not a tutorial per se but this is a great, simple example with well commented code: http://www.jessewarden.com/archives/2006/07/flex_2_webservice.html HTH, Ben --- In flexcoders@yahoogroups.com, g8torjoe [EMAIL PROTECTED] wrote: I realize that Cairngorm isn't exactly intended for an extremely

[flexcoders] Re: Object oriented / design pattern / application design books?

2006-08-31 Thread ben.clinkinbeard
Head First Design Patterns is awesome; a must have for learning patterns. The examples are in Java but if you know AS well enough they're easy to understand. (I've never written a line of Java in my life.) HTH, Ben --- In flexcoders@yahoogroups.com, tddclare [EMAIL PROTECTED] wrote: I've seen

[flexcoders] Re: Bubbling, Practical Use?

2006-08-29 Thread ben.clinkinbeard
Any time you want to handle an event in an ancestor of where it happened. Say you've got a DataGrid that uses a ComboBox as an itemRenderer. You probably wouldn't want the logic that handles the change event of the CB inside that itemRenderer component, you would want it in the parent of the

<    1   2   3   4   5   6   7   >