[flexcoders] Re: How do I reset itemRenderer inside DataGrid when dataProvider is updated?

2006-07-18 Thread ben.clinkinbeard
? Override public function set data (value:object):void{ super.data=value; cb_planNumber.selected=value.someBoolean// do stuff } _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Tuesday, July 18, 2006 1:01 PM To: flexcoders

[flexcoders] Flex Builder flakiness

2006-07-18 Thread ben.clinkinbeard
FB seems to behave very unpredictably for me. On my machine at work it will not find or resolve any errors upon saving a file. To do either of those things I must actually build/launch the app. On my home machine, FB doesn't use the 'smart home' approach where pressing the Home key takes you to

[flexcoders] State vars: good, bad, ugly?

2006-07-17 Thread ben.clinkinbeard
As I perused the great sample app Jesse put together (http://www.jessewarden.com/archives/2006/07/flex_2_webservice.html), I came across his simultaneous implementation and criticism of state vars inside ModelLocator. // only do this if you have a 4 hour deadline; // some people think state vars

[flexcoders] Re: Cases when a view should update ModelLocator?

2006-07-17 Thread ben.clinkinbeard
Sounds like maybe you should join the discussion here: http://groups.yahoo.com/group/flexcoders/messages/43552?threaded=1m=evar=1tidx=1 In my case, my whole app is contained within a TabNavigator, so I am setting a var (like the ones described in that thread) on ModelLocator directly from the

[flexcoders] switch (expression)? I think not

2006-07-16 Thread ben.clinkinbeard
Posting this mostly for reference in case anyone else spends 30 minutes uttering WTF over and over... Although the documentation for the switch statement purports to accept any expression, that is most certainly not the case. See below. // will always fall through to the default case. switch

[flexcoders] Re: Addressing buried children in XML with default namespace- an easier way?

2006-07-14 Thread ben.clinkinbeard
Not sure what I was doing wrong here but I've got this worked out and documented here: http://www.returnundefined.com/dealing-with-default-namespaces-in-flex-2as3 Hopefully someone will find it useful. Ben --- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote

[flexcoders] Re: How to parse web services response doc containing namespace

2006-07-13 Thread ben.clinkinbeard
Tracy, can you post a more complete example? I would be very interested in something that does what you explained but am not totally sure I understand your description. Thanks, Ben --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: I just discovered something that might

[flexcoders] Re: Addressing buried children in XML with default namespace- an easier way?

2006-07-12 Thread ben.clinkinbeard
Bumping this up in the hopes that someone (possibly from Adobe?) can offer an alternative, or at least an explanation of why this is the case. As it stands now, I will have to have these lines: namespace foo = http://site.com/BackOffice/DoSearch;; use namespace foo; sprinkled throughout my app,

[flexcoders] Re: Addressing buried children in XML with default namespace- an easier way?

2006-07-12 Thread ben.clinkinbeard
That doesn't seem to work for me. I have this file: package com.fmr.tests.PSA_Cairngorm.model { public namespace CLIENT_SEARCH_NAMESPACE = http://site.com/BackOffice/DoSearch;; } and then in my command class, along with all my other import statements I have: import

[flexcoders] Re: Addressing buried children in XML with default namespace- an easier way?

2006-07-12 Thread ben.clinkinbeard
mypackage.DoSearch in each class where you want to use it, and then use namespace DoSearch. -Brian -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Wednesday, July 12, 2006 9:47 AM To: flexcoders@yahoogroups.com

[flexcoders] Re: Addressing buried children in XML with default namespace- an easier way?

2006-07-11 Thread ben.clinkinbeard
It seems that the only way to use the full functionality of E4X with namespaced XML is by using this method: namespace foo = http://site.com/BackOffice/DoSearch;; use namespace foo; Unfortunately, that method must be constructed exactly like that- with a static string. You cannot even point it

[flexcoders] Re: Beta 3 to v2 upgrade and datagrid issues

2006-07-11 Thread ben.clinkinbeard
Probably has something to do with makeObjectsBindable. It is set to true by default in final, was false in B3. Give this a shot: http1.makeObjectsBindable = false; Namespaces can also cause problems when dealing with XML. Does the xml returned contain namespaces? Ben --- In

[flexcoders] Re: ArrayCollection as datasource

2006-07-11 Thread ben.clinkinbeard
Results being wrapped in ObjectProxy and ArrayCollection usually means that makeObjectsBindable is set to true on your remote call. Its true by default in final release, was false in B3. HTH, Ben Yahoo! Groups Sponsor ~-- Great things are

[flexcoders] Addressing buried children in XML with default namespace- an easier way?

2006-07-10 Thread ben.clinkinbeard
The struggle against XML with a default namespace continues... Here is my xml: PseSearchResponse xmlns=http://fmr.com/BackOffice/PseSearch; SearchPlan MaxExceededFlagfalse/MaxExceededFlag Plans Client EnterpriseId9/EnterpriseId

[flexcoders] Re: Addressing buried children in XML with default namespace- an easier way?

2006-07-10 Thread ben.clinkinbeard
Sorry, I guess I wasn't clear in what I was looking for- I am trying to figure out how to address deeply buried nodes without having to go one level at a time. Something like the .. operator, but that is compatible with namespaced XML (.. doesn't seem to be). The Web Services I am calling return

[flexcoders] Re: Does Flex 2 support dynamic WSDL locations?

2006-07-09 Thread ben.clinkinbeard
For the sake of reference, the methodology for mixing services defined in MXML and AS inside ServiceLocator is explained here: http://groups.yahoo.com/group/flexcoders/messages/42591?threaded=1m=evar=1tidx=1 Ben -- Flexcoders Mailing List FAQ:

[flexcoders] Re: WebService Cairngorm 2 Example

2006-07-07 Thread ben.clinkinbeard
you're limiting yourself to a single listener but I don't see how I attach a resultHandler to an event and then fire it, all in the same context. The way I understand it, he was referring to the fact that AsyncToken can support multiple IResponders via addResponder(). So you could say: var

[flexcoders] Does Flex 2 support dynamic WSDL locations?

2006-07-07 Thread ben.clinkinbeard
Hello, I am trying to port our AS2 app to Flex 2 and am having a problem with dynamic WSDL locations. I found a couple of threads stating that this is not possible in 1.5. My app loads a config.xml file at startup which contains the WSDL paths for use in the rest of the app. The config file is

[flexcoders] Re: Does Flex 2 support dynamic WSDL locations?

2006-07-07 Thread ben.clinkinbeard
I assume you could also specify the wsdl property as well. Isn't that what I am doing here? mx:WebService id=industryAndSizeIdsService makeObjectsBindable=false wsdl={TestModel.getInstance()[EMAIL PROTECTED] + '?WSDL'} useProxy=false showBusyCursor=true The WS does not fire unless I hard code

[flexcoders] Re: Does Flex 2 support dynamic WSDL locations?

2006-07-07 Thread ben.clinkinbeard
PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Friday, July 07, 2006 1:03 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Does Flex 2 support

[flexcoders] Re: Does Flex 2 support dynamic WSDL locations?

2006-07-07 Thread ben.clinkinbeard
%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of ben.clinkinbeard Sent: Friday, July 07, 2006 1:03 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: Does Flex 2 support dynamic WSDL

[flexcoders] Defining services in AS in ServiceLocator

2006-07-07 Thread ben.clinkinbeard
Hello, I am trying to define a WebService in AS within my Services.mxml file but am getting some odd errors. Any time I try to access a variable I have defined, it throws an error saying 'Access of undefined property blah'. Do I have to define all my services in an AS class that subclasses

[flexcoders] Re: Defining services in AS in ServiceLocator

2006-07-07 Thread ben.clinkinbeard
- From: ben.clinkinbeard [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, July 07, 2006 11:01 PM Subject: [flexcoders] Defining services in AS in ServiceLocator Hello, I am trying to define a WebService in AS within my Services.mxml file but am getting some odd errors. Any

[flexcoders] Re: Handle result/fault from webservice call in Cairngorm 2

2006-07-06 Thread ben.clinkinbeard
, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 06 July 2006 02:11, ben.clinkinbeard wrote: This obviously references the Delegate class from AS2, but what is the AS3/Cairngorm 2 equivalent? How do you write a delegate (lowercase 'd') in Cairngorm 2? package com.x.y.z.service

[flexcoders] Re: Handle result/fault from webservice call in Cairngorm 2

2006-07-06 Thread ben.clinkinbeard
@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 06 July 2006 02:11, ben.clinkinbeard wrote: This obviously references the Delegate class from AS2, but what is the AS3/Cairngorm 2 equivalent? How do you write a delegate (lowercase 'd') in Cairngorm 2? package

[flexcoders] Re: WebService Cairngorm 2 Example

2006-07-06 Thread ben.clinkinbeard
You rock the freakin house dood. I've been banging my head for 2 days trying to get this to work. Seems like my missing pieces were the 'as WebService' in SearchDelegate and the local result handlers (searchBooks_onResult). I don't have time to play with the code much at the moment, so I am

[flexcoders] Re: WebService Cairngorm 2 Example

2006-07-06 Thread ben.clinkinbeard
Very cool. That all makes pretty much sense. I do have another question (shocking, huh?) about why you would have a single command support multiple events/use multiple delegates. Isn't the point of Commands to have a class that does one thing (and nothing else)? Thanks again, Ben

[flexcoders] Re: WebService Cairngorm 2 Example

2006-07-06 Thread ben.clinkinbeard
Darron Schall just posted a great article about Cairngorm's Responder interface and what he considers to be a better alternative. http://www.darronschall.com/weblog/archives/000234.cfm Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over.

[flexcoders] Re: Handle result/fault from webservice call in Cairngorm 2

2006-07-06 Thread ben.clinkinbeard
Thanks Tom, I have actually gotten my head around this and seen some great example code thanks to Jesse and Darron. http://groups.yahoo.com/group/flexcoders/messages/42307?threaded=1m=evar=1tidx=1 http://www.darronschall.com/weblog/archives/000234.cfm Ben Yahoo!

[flexcoders] Re: WebService Cairngorm 2 Example

2006-07-06 Thread ben.clinkinbeard
Although I am quite the Flex noob, Darron's approach does seem to make more sense to me. As I see it, it feels more like a traditional Observer, offers the convenience of multiple responders and, as he pointed out, uses an element of the Flex framework itself exactly as intended. At this point,

[flexcoders] Re: Handle result/fault from webservice call in Cairngorm 2

2006-07-05 Thread ben.clinkinbeard
I am also having trouble with Web Services in Cairngorm 2. The execute method of my command is being called, but the WS call is not being made, much less handled correctly. Can someone tell me what I am missing here? From Services.xml: mx:WebService id=industryAndSizeIdsService

[flexcoders] Re: Handle result/fault from webservice call in Cairngorm 2

2006-07-05 Thread ben.clinkinbeard
Sure, here is a simple call to Amazon's ItemSearch method. I emailed you my access key b/c I am a little hesitant to post it out here. mx:WebService id=ws makeObjectsBindable=false wsdl=http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl;

[flexcoders] Re: Handle result/fault from webservice call in Cairngorm 2

2006-07-05 Thread ben.clinkinbeard
But the Delegate class used in Delegate.create() seems to be missing from AS3, so how would you use Delegates? Thanks, Ben --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 05 July 2006 07:20, Artur Kordowski wrote: Why not use a delegate ? The delegate

[flexcoders] Re: Handle result/fault from webservice call in Cairngorm 2

2006-07-05 Thread ben.clinkinbeard
of, from AS2. Scott On 7/5/06, ben.clinkinbeard [EMAIL PROTECTED] wrote: But the Delegate class used in Delegate.create() seems to be missing from AS3, so how would you use Delegates? Thanks, Ben --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Tom

[flexcoders] Cairngorm 2 - Data binding will not be able to detect assignments...

2006-07-03 Thread ben.clinkinbeard
That is the warning I get when trying to bind a label's text to a static var on my ModelLocator. Isn't this the most basic concept of ModelLocator? What am I doing wrong here? My MXML: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute

[flexcoders] Re: Cairngorm 2 - Data binding will not be able to detect assignments...

2006-07-03 Thread ben.clinkinbeard
Whoops. Updated code, which now produces an error concerning Access of a possibly undefined property 'name' through a reference with static type TestModel. My label tag now looks like this: mx:Label x=130 y=136 text={TestModel.getInstance().name} id=testLabel/ And the TestModel class is updated

[flexcoders] Re: Cairngorm 2 - Data binding will not be able to detect assignments...

2006-07-03 Thread ben.clinkinbeard
) 213 540 370 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: segunda-feira, 3 de Julho de 2006 17:00 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Cairngorm 2 - Data binding

[flexcoders] Re: Cairngorm Responder interface changes

2006-07-03 Thread ben.clinkinbeard
Can someone explain why it is telling me I've implemented the Responder methods with an incompatible signature? public function onResult(event:ResultEvent):void public function onFault(event:FaultEvent):void The signatures shown in the docs are public function onResult(event:* = null):void

[flexcoders] ServiceLocator - does it have to be MXML?

2006-07-03 Thread ben.clinkinbeard
Is it possible to implement your app's ServiceLocator in ActionScript? I strongly prefer making WebService calls in AS so I would rather do it this way. If this is not possible, I am hoping someone can explain how a complex call would be made. I am not currently using a Delegate (isn't

[flexcoders] Making Cairngorm available to all projects

2006-06-30 Thread ben.clinkinbeard
Can someone please post more detailed instructions on how to make Cairngorm available to all of your Flex projects? The instructions provided simply say add the .swc to your classpath and I am not sure what that entails exactly. Where is the classpath for Flex 2/AS3 anyways? Thanks in advance,

[flexcoders] Re: Making Cairngorm available to all projects

2006-06-30 Thread ben.clinkinbeard
akitogo OHG Hanauer Landstrasse 188 60314 Frankfurt Telefon +49 (0) 69 800 69 445 Fax +49 (0) 69 800 69 449 Mobil +49 (0) 179 750 75 87 E-Mail [EMAIL PROTECTED] Web http://www.akitogo.com ben.clinkinbeard wrote

[flexcoders] Re: Making Cairngorm available to all projects

2006-06-30 Thread ben.clinkinbeard
, ben.clinkinbeard ben.clinkinbeard@ wrote: Can someone please post more detailed instructions on how to make Cairngorm available to all of your Flex projects? The instructions provided simply say add the .swc to your classpath and I am not sure what that entails exactly. Where

[flexcoders] Flex 2 final release - Change in parsing of WebService results... again

2006-06-29 Thread ben.clinkinbeard
? What is going on here? Why does this behavior keep changing? --- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: Hello, I am having some strange issues moving from B2 to B3 that I can't seem to find dosumented anywhere. It seems that the objects created from my WS

[flexcoders] Re: Flex 2 final release - Change in parsing of WebService results... again

2006-06-29 Thread ben.clinkinbeard
to .zp) and email it to an Adobe employee (I can take a look if you email it to me). Pete From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Thursday, June 29, 2006 11:15 AM To: flexcoders

[flexcoders] Re: Variable number of columns in ColumnChart

2006-06-28 Thread ben.clinkinbeard
Anyone? --- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: Hello, I have a ColumnChart whose columns are based on selections in another part of the app. So there can be anywhere between 1 and 4 column sets. Unfortunately, I can't figure out how to add

[flexcoders] Re: FB2 :: Switchig Workspaces

2006-06-27 Thread ben.clinkinbeard
Michael, you can also use the Go into link on the context menu when you right click on a project name. That will effectively hide everything outside that project from view. While we're on the subject though, can anyone point me to a decent Eclipse basics reference? Book, web site, whatever, I

[flexcoders] Re: XML with namespaces HTTPService

2006-06-27 Thread ben.clinkinbeard
This link may be helpful http://groups.yahoo.com/group/flexcoders/message/39090?threaded=1var=1p=24 I have gone through fits using default namespaces in AS3. If you can avoid them I would. If not, hopefully that thread will help; I found QName objects to be the most convenient in most instances.

[flexcoders] Variable number of columns in ColumnChart

2006-06-27 Thread ben.clinkinbeard
Hello, I have a ColumnChart whose columns are based on selections in another part of the app. So there can be anywhere between 1 and 4 column sets. Unfortunately, I can't figure out how to add the ColumnSeries items dynamically, so my legend always has 4 items, regardless of the actual data. Here

[flexcoders] Re: Repost of bug issue over weekend

2006-06-26 Thread ben.clinkinbeard
I don't think this is a bug as I am not sure how it could work any differently. You are repeatedly adding the same item (the string hello) to the list so it has no way to differentiate between them and uses the newest instance for the rollOver and rollOut actions. If you want to display the same

[flexcoders] Re: Design Pattern books for AS3 and Flex 2

2006-06-20 Thread ben.clinkinbeard
Just wanted to add another vote for Head First Design Patterns. Its a great way to approach the topic that I think could be helpful for anyone from absolute beginner up to a pretty experienced 'patterner'. In my limited reading on it, it also seems like the Cairngorm framework has some pretty

[flexcoders] The namespace that won't die

2006-06-14 Thread ben.clinkinbeard
Hello, part 6735 in the namespace hell series... Shouldn't code like this: XML(obj_data).ns_dmws::Plans.PlanNumber successfully access any and all PlanNumber nodes in a chunk of XML like this?: Entry xmlns=http://site.com/Back/DocMetadata; DocumentTypeRPR/DocumentType Plans

[flexcoders] Re: The namespace that won't die

2006-06-14 Thread ben.clinkinbeard
Anyone? I shouldn't have to use the namespace qualifier for every level I go down, should I? Thanks, Ben --- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: Hello, part 6735 in the namespace hell series... Shouldn't code like this: XML(obj_data).ns_dmws

[flexcoders] Re: Namespace hell

2006-06-13 Thread ben.clinkinbeard
OK, first off, thanks to everyone for their help on this. I think I have a basic understanding of things now. Tom, namespaceDeclarations() does return an array, but default namespaces do not seem to be included in it if you have an XML var that was extracted from a larger piece of data, like a

[flexcoders] IDE horizontal scrolling problems

2006-06-13 Thread ben.clinkinbeard
When I am in the code window of the IDE, if the pane is scrolled over because of a long line, the window scrolls all the way back to the left after each character is typed. The focus stays at the end of the line, and pressing an arrow key will scroll back to the current position and actually stay

[flexcoders] Re: IDE horizontal scrolling problems

2006-06-13 Thread ben.clinkinbeard
I had a very similar problem with the Laszlo IDE (also Eclipse), so it might be more of an Eclipse problem than FlexBuilder. It doesn't happen when working in other perspectives so I think it is, unfortunately, a Flex Builder issue. Adobe? Anyone working on this? Thanks, Ben

[flexcoders] Re: Namespace hell

2006-06-13 Thread ben.clinkinbeard
--- In flexcoders@yahoogroups.com, Jason Hawryluk [EMAIL PROTECTED] wrote: That should make Adobe EXSTATIC!! :) New flex coders woot! Sorry for adding nothing worth value to this thread ;) WTF are you talking about? Yahoo! Groups Sponsor

[flexcoders] Re: Namespace hell

2006-06-12 Thread ben.clinkinbeard
What's the value of entries.namespaceDeclarations() ? -- Tom Chiverton OK, now I am even more confused :). Turns out that for my simple example (defining a small XML var inside the MXML file), the default namespace is in fact included in the array returned by namespaceDeclarations().

[flexcoders] Re: Is this a bug?

2006-06-09 Thread ben.clinkinbeard
Yep, in AS3 everything must be imported no matter what. See #5 here: http://labs.adobe.com/wiki/index.php/ActionScript_3:Learning_Tips Ben Yahoo! Groups Sponsor ~-- You can search right from your browser? It's easy and it's free. See how.

[flexcoders] Re: finally!!

2006-06-09 Thread ben.clinkinbeard
The 'Expand Messages' link is my other favorite addition. Finally, you can view a whole thread on one page! Ben Yahoo! Groups Sponsor ~-- You can search right from your browser? It's easy and it's free. See how.

[flexcoders] Re: Namespace hell

2006-06-08 Thread ben.clinkinbeard
Could you run the XML through a suitable regex, and then convert back to an e4x object ? -- Tom Chiverton I dunno, my regex knowledge is pretty pathetic. Maybe I will look into that if I get some time. Ben Yahoo! Groups Sponsor ~-- Get

[flexcoders] Re: loadWSDL Webservice result?

2006-06-07 Thread ben.clinkinbeard
The lastResult vs. result thing is a property of the WS operation you call, not the ResultEvent object that is sent to your result handler. I believe the most common place you would use this would be when you want to bind part of the returned data to something. myWebService.myWsMethod.lastResult

[flexcoders] Re: Namespace hell

2006-06-07 Thread ben.clinkinbeard
While it is not the ideal situation, as it still requires the use of labelFunction, you can use a single function for all of the columns in a DataGrid by using the headerText for each column to branch your logic. I wish you could use something like the column's id attribute but that is not a

[flexcoders] Where does :: take you?

2006-06-07 Thread ben.clinkinbeard
Could someone explain where exactly the :: operator gets you? Ideally, I would be able to do something like myXml.myNS::..deepChildNode, but I understand that is not valid. So I guess I am just trying to figure out what the context is. I have a default namespace on a node that is within a SOAP

[flexcoders] Re: Namespace hell

2006-06-07 Thread ben.clinkinbeard
From what I can gather, default namespaces in XML data simply aren't very well supported in AS3/Flex 2. Can someone from Adobe chime in to confirm or deny this? Should we simply try to avoid them at all costs? Thanks, Ben Yahoo! Groups Sponsor

[flexcoders] Re: F2B3: namespaceDeclarations() doesn't see un-prefixed namespaces

2006-06-06 Thread ben.clinkinbeard
No, that doesn't work because according to Flex, the xml object does not have any namespaces. Can anyone else, someone from Adobe maybe, shed some light here? Why isn't a non-prefixed namespace addressable? Thanks, Ben --- In flexcoders@yahoogroups.com, linflexcoder [EMAIL PROTECTED] wrote:

[flexcoders] Namespace hell

2006-06-06 Thread ben.clinkinbeard
OK, I have posted several times now about problems caused by having namespaces in XML in Flex (specifically Beta 3), and have gotten virtually no responses. Please, someone respond, even if to say I have the same problem or this can't be done. I am beginning to think that Flex is simply not very

[flexcoders] Re: Namespace hell

2006-06-06 Thread ben.clinkinbeard
Thanks, Tobias. I actually thought about that approach shortly after I posted but was hoping I could avoid it. Its pretty unfortunate that you have to write a labelFunction for every column in every DataGrid (my real ones have more like 8 columns) just because of a namespace but whatever. I

[flexcoders] F2B3: namespaceDeclarations() doesn't see un-prefixed namespaces

2006-06-05 Thread ben.clinkinbeard
Hello, after getting a response from my WebService, I pull a chunk of the response into a new XML object. When I print out the namespaceDeclarations().length for it, it returns 0, even though there is an 'xmlns' attribute on the root node. My ultimate goal is to remove the namespace but I can't

[flexcoders] Re: F2B3: SOAP result as DataGrid's dataProvider no longer works

2006-06-02 Thread ben.clinkinbeard
Anyone? Bueller? --- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: Hello, I am really hoping someone can tell me why this code no longer works (it did in B2) and how to fix it. I have another DataGrid that is successfully pulling different data from the same call

[flexcoders] F2B3: SOAP result as DataGrid's dataProvider no longer works

2006-06-01 Thread ben.clinkinbeard
Hello, I am really hoping someone can tell me why this code no longer works (it did in B2) and how to fix it. I have another DataGrid that is successfully pulling different data from the same call so I know the problem isn't in the WebService. I think perhaps the presence of the MetadataType

[flexcoders] F2B3: mx.rpc.soap.mxml.WebService omits empty nodes

2006-05-31 Thread ben.clinkinbeard
Hello, I am posting this mostly as a note for others that may run into a problem with this and to make sure this is not a bug. When calling a WebService from MXML, arguments that are empty are not sent at all, which can cause problems if your WS requires they be present. For example, in my

[flexcoders] Re: TabNavigator.horizontalAlign does not work

2006-05-31 Thread ben.clinkinbeard
Fantastic. Thank you. Ben --- In flexcoders@yahoogroups.com, Ashish Goyal [EMAIL PROTECTED] wrote: This bug is already fixed in post beta3 builds. -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard

[flexcoders] Re: F2B3 - Change in parsing of WebService results?

2006-05-30 Thread ben.clinkinbeard
Here is another example. Hopefully someone can explain what is going on here. I have a DataGrid whose dataProvider attribute looks like this: dmws.GetDocument.lastResult.Metadata.RPRDocumentHistory.Entry With the exception of changing 'result' to 'lastResult', this exact code worked in Beta

[flexcoders] Re: F2B3 - Change in parsing of WebService results?

2006-05-30 Thread ben.clinkinbeard
Anyone? Is there a problem with the way I am asking my question? Do I need to provide a more concise example? I have never had a question go unanswered for so long. Any help is greatly appreciated. Thanks, Ben --- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote

[flexcoders] F2B3 - Change in parsing of WebService results?

2006-05-26 Thread ben.clinkinbeard
Hello, I am having some strange issues moving from B2 to B3 that I can't seem to find dosumented anywhere. It seems that the objects created from my WS results are being parsed differently. For instance, here is some return xml. Client EnterpriseId9/EnterpriseId ClientNameFilm

[flexcoders] Re: Beta 3 runtime error Error: Cannot add a child that is already parented.

2006-05-09 Thread ben.clinkinbeard
http://kuwamoto.org/2006/05/08/tips-for-flex-2-beta-3/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS

[flexcoders] Re: WebService Trouble PRT 2

2006-05-08 Thread ben.clinkinbeard
http://www.mail-archive.com/flexcoders@yahoogroups.com/ --- In flexcoders@yahoogroups.com, Faisal Abid [EMAIL PROTECTED] wrote: Sorry for posting agan , i lost the previous emails due to a thunderbird crash an im posting this again *Okay look this is my code so far What am i doing

[flexcoders] Re: Flex 2.0 Beta 2

2006-04-28 Thread ben.clinkinbeard
Here are a couple of good articles concerning ActionScript projects in Flex: http://www.asserttrue.com/articles/2006/04/09/actionscript-projects-in-flex-builder-2-0 http://www.asserttrue.com/articles/2006/04/18/library-type-assets-in-actionscript-3-0-using-the-embed-metatdata-tag --

[flexcoders] Re: Loading an SWC into Flex 2 Beta 2

2006-04-19 Thread ben.clinkinbeard
Just as another resource, this is a pretty thorough article on this same subject. http://www.asserttrue.com/articles/2006/04/18/library-type-assets-in-actionscript-3-0-using-the-embed-metatdata-tag --- In flexcoders@yahoogroups.com, Harris Reynolds [EMAIL PROTECTED] wrote: Has anyone had

[flexcoders] Re: Loading an SWC into Flex 2 Beta 2

2006-04-18 Thread ben.clinkinbeard
This being the case, I am curious as to what methods people are using to get visual assets like movieclips into their Flex apps and associated with custom classes. Thanks, Ben --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote: It needs to be created compiled in Flex 2 Beta

[flexcoders] Re: Loading an SWC into Flex 2 Beta 2

2006-04-18 Thread ben.clinkinbeard
(a); - Original Message - From: ben.clinkinbeard [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, April 18, 2006 1:10 PM Subject: [flexcoders] Re: Loading an SWC into Flex 2 Beta 2 This being the case, I am curious as to what methods people are using to get visual assets

[flexcoders] Accessing and binding to (and from) Application level vars

2006-04-18 Thread ben.clinkinbeard
Hello, I have a couple of questions relating to Application level access and binding. First off, why can I not bind to a property using this syntax even if the var is declared [Bindable]?: dataProvider={Application.application.arr_selectedPlans} I get the 'Data binding will not be able to detect

[flexcoders] Re: Accessing and binding to (and from) Application level vars

2006-04-18 Thread ben.clinkinbeard
What is the proper way to access application-level vars and methods then? --- In flexcoders@yahoogroups.com, Roger Gonzalez [EMAIL PROTECTED] wrote: Hello, I have a couple of questions relating to Application level access and binding. First off, why can I not bind to a property using this

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

2006-04-18 Thread ben.clinkinbeard
Why are these separate classes? More importantly, why does the mxml version have capabilities that its super class does not? I like the showBusyCursor functionality, but prefer to code in AS when possible. Am I correct in assuming that these two things are mutually exclusive? Thanks, Ben --

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

2006-04-18 Thread ben.clinkinbeard
offlist so that I can check they'll work in beta 3. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Tuesday, April 18, 2006 4:58 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re

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

2006-04-18 Thread ben.clinkinbeard
won't work until Beta 3 for some styles of WSDL such as document literal. Pete -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Tuesday, April 18, 2006 9:42 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re

[flexcoders] F2B2: Convert XML to Object?

2006-04-12 Thread ben.clinkinbeard
Hello, I am wondering if there is either a way to convert a chunk of XML to an object or, more to the point, an equivalent of .. to access a property buried deep within an object hierarchy. I am binding a part of the result from a WebService as the dataProvider for a chart. Creating an

[flexcoders] Re: DataGrid has items but doesn't display text

2006-04-11 Thread ben.clinkinbeard
PROTECTED] wrote: Can you show us what your webservice returned data looks like. dont know if this helps but my webservice returned data was a string and i did the following private function returnWebService(event:ResultEvent):void { var xmlobj:XML = new XML(event.result); var xc3:XMLListCollection = n

[flexcoders] Re: Flex2B2 - bug? problem when calling a webservice method with a string[] arg

2006-04-10 Thread ben.clinkinbeard
call.send([array1]); should be call.send(array1); The square brackets mean you are sending a one element array that contains array1. --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote: When i call a .net webservice service method that looks like this public string

[flexcoders] DataGrid has items but doesn't display text

2006-04-10 Thread ben.clinkinbeard
Hello, I am populating an XMLListCollection with the results of a WebService call (in AS, not MXML), and setting that XMLListCollection as the dataProvider for my DataGrid. I can see that it is binding the data, because if the XML contains 5 nodes, I can roll over 5 items in the DataGrid. The

[flexcoders] Re: F2B2: Namespaces breaking E4X

2006-04-06 Thread ben.clinkinbeard
Unfortunately, the docs make no mention of how namespaces affect e4x functionality. They don't even mention the fact that it does affect it. I was under the impression that the scope of an e4x statement was the entire XML object it is called on. Can someone please post an example? I am at a dead

[flexcoders] Re: how is this TabNavigator is done?

2006-04-06 Thread ben.clinkinbeard
I can't even get the tabs to right align. horizontalAlign has no effect. Anyone else experienced this? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups

[flexcoders] Re: how is this TabNavigator is done?

2006-04-06 Thread ben.clinkinbeard
Simply because that is what the design stipulates. Aesthetic choice really. I just don't understand why the property does not work as specified. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] Re: F2B2: Namespaces breaking E4X

2006-04-06 Thread ben.clinkinbeard
Conveniently enough, the impressive Darron Schall posted an example of this very topic today. http://www.darronschall.com/weblog/archives/000223.cfm -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] F2B2: Namespaces breaking E4X

2006-04-05 Thread ben.clinkinbeard
The title pretty much says it all. Using the example code here you can see what I mean. http://labs.macromedia.com/wiki/index.php/ActionScript_3:resources:apis:E4X:overview If you change the root node to something like employees xmlns=http://www.example.com/xml/;, none of the e4x expressions will

[flexcoders] F2B2 - TabNavigator.horizontalAlign not working

2006-04-04 Thread ben.clinkinbeard
Setting the horizontalAlign property on my TabNavigator has no effect whatsoever. Bug? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit

<    2   3   4   5   6   7