Re: [flexcoders] Web services: Patterns for recoverable errors like business rule violations?

2008-03-03 Thread Josh McDonald
gt; > Now, I am also experimenting with the strongly typed results from the FB3 > generated code, and have not reached a point where I have integrated my > Error node with that code. Interesting. > > > > Tracy > > > -- > > *From:* fle

Re: [flexcoders] Web services: Patterns for recoverable errors like business rule violations?

2008-03-04 Thread Josh McDonald
I find a good rule of thumb is input validation should be duplicated on the front-end, but business rules belong in the application. -Josh On Wed, Mar 5, 2008 at 2:06 AM, Tom Chiverton <[EMAIL PROTECTED]> wrote: > On Tuesday 04 Mar 2008, Josh McDonald wrote: > > communication w

Re: [flexcoders] Leopard/MacOSX style tree component

2008-03-04 Thread Josh McDonald
Finder doesn't have a Tree, what view are you thinking of? I imagine there's plenty of solutions to implement the Icon view, and there's a few rip-offs of coverflow, and the Details view would just be a DataGrid. Do you mean the column view? -J On Wed, Mar 5, 2008 at 7:46 AM, Weyert de Boer <[EM

[flexcoders] Flex 2 SDK (hotfix 1) source?

2008-03-04 Thread Josh McDonald
Hi Guys, Does anybody know where can I get a copy of the flex 2 sdk with hotfix 1 that includes source? It's rather annoying not being able to peek inside when debugging, and I can't switch to hotfix 3 because it breaks web services. Cheers -J -- "Therefore, send not to know For whom the bell t

Re: [flexcoders] Leopard/MacOSX style tree component

2008-03-04 Thread Josh McDonald
I don't think I'd call that a real tree, but what you're looking for probably exists in the form of a "toggle" rather than "radio-style" variation on Flex's mx:Accordion component, where you can have more than one child open at once. You should be able to google up something like that, but check fl

Re: [flexcoders] Flex 2 SDK (hotfix 1) source?

2008-03-04 Thread Josh McDonald
changes to framework.swc files was pretty small. > > > -- > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Josh McDonald > *Sent:* Tuesday, March 04, 2008 4:36 PM > *To:* flexcoders@yahoogroups.com > *Subject:* [flexcoders] Flex 2 SDK (hotfix 1) so

Re: [flexcoders] Flex 2 SDK (hotfix 1) source?

2008-03-04 Thread Josh McDonald
ote: > > Not sure where to get it, but I would just point at the hotfix 3 source. > The number of changes to framework.swc files was pretty small. > > ____ > > From: flexcoders@yahoogroups.com [mailto: > flexcoders@yahoogroups.com ] On Behal

Re: [flexcoders] Global keyboard capture?

2008-03-04 Thread Josh McDonald
A whole bunch of useful info there, cheers :D If you're listening on both phases to event X, will your handler be called twice? -J On Wed, Mar 5, 2008 at 3:02 PM, Alex Harui <[EMAIL PROTECTED]> wrote: >For the record, so there is no more guessing: > > > > 1) The Application or Windowe

Re: [flexcoders] Digital Clock

2008-03-04 Thread Josh McDonald
Off the top of my head, I'd have a little HBOX with 3 labels in it: hours, ":" and seconds; and simply blink the ":" label on a timer. -Josh On Wed, Mar 5, 2008 at 4:37 PM, Vivian Richard <[EMAIL PROTECTED]> wrote: > > >If you are using LED characters for the clock display >then how do y

Re: [flexcoders] Web services: Patterns for recoverable errors like business rule violations?

2008-03-05 Thread Josh McDonald
Well of course there'll be edge cases, that's why it's a rule of thumb and not commandment #11 ;-) On Wed, Mar 5, 2008 at 8:46 PM, Tom Chiverton <[EMAIL PROTECTED]> wrote: > On Tuesday 04 Mar 2008, Josh McDonald wrote: > > I find a good rule of thumb is input vali

Re: [flexcoders] Web services: Patterns for recoverable errors like business rule violations?

2008-03-05 Thread Josh McDonald
That's similar to what we've got in mind :) Cheers! On Thu, Mar 6, 2008 at 12:08 AM, <[EMAIL PROTECTED]> wrote: > On Wed, Mar 05, 2008 at 09:34:58AM +1000, Josh McDonald wrote: > > > We don't want business rules duplicated in Flex, that's what Oracle &

[flexcoders] Debugging hangs my mac this morning any ideas?

2008-03-05 Thread Josh McDonald
Hi guys, This morning, when I try and do a certain (soap-posting) action while debugging, my machine hangs. Totally dead, only the mouse cursor still alive. I'm on the latest flash player, and the latest patch of OS X, it's repeatable, and it happens in Safari as well as Firefox, so something fla

Re: [flexcoders] Re: Debugging hangs my mac this morning any ideas?

2008-03-05 Thread Josh McDonald
eloadSwf=" in the mm.cfg ? > > on OS X the mm.cfg should be under the /Users/ folder > > Thanks, > Gaurav > > > --- In flexcoders@yahoogroups.com , "Josh > McDonald" <[EMAIL PROTECTED]> wrote: > > > > Hi guys, > > > > This mornin

[flexcoders] AS3 Q: unset member?

2008-03-05 Thread Josh McDonald
Is it possible to unset a variable? Say I have an object o = { foo : "Bar" } If I call o.foo = null then o.hasOwnProperty("foo") == true How do I make it return false (ie unset o.foo)? Can it be done without copying the object? Thanks in advance, -Josh -- "Therefore, send not to know For

Re: [flexcoders] AS3 Q: unset member?

2008-03-05 Thread Josh McDonald
Perfect, thanks :) On Thu, Mar 6, 2008 at 1:37 PM, Beau Scott <[EMAIL PROTECTED]> wrote: >delete o.foo; > > > > > > > > Beau > > > > > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Josh McDonald > *Se

[flexcoders] Can I check validation without validator.validate() and the associated visual feedback?

2008-03-06 Thread Josh McDonald
Hi guys, What I'm after is something that will simply give me a true/false result for a mx:validator without triggering the popups or red outlines on fields. Is there an easy way to do this? If not, should I write custom validators with this functionality / use modified SDK source, or would it be

Re: [flexcoders] Flex 3 can save chart as image

2008-03-06 Thread Josh McDonald
Easy enough: var bmd : BitmapData = new BitmapData(sourceComponent.width, sourceComponent.height, true,0); bmd.draw(sourceComponent); -J On Fri, Mar 7, 2008 at 10:15 AM, coder3 <[EMAIL PROTECTED]> wrote: > > Hi, > > I have heard that you can save the chart as image in flex3, with some > built-i

Re: [flexcoders] Flex 3 can save chart as image

2008-03-06 Thread Josh McDonald
That can't be done from Flex unfortunately due to security restrictions on the Flash player. You'll need some sort of server-side support for that. -J On Fri, Mar 7, 2008 at 10:27 AM, coder3 <[EMAIL PROTECTED]> wrote: > > is there a sample to download chart? > > C > > > coder3 wrote: > > > > Hi,

Re: [flexcoders] Can I check validation without validator.validate() and the associated visual feedback?

2008-03-06 Thread Josh McDonald
event.type==ValidationResultEvent.VALID); > > } > > *//get the previous value and put it against the other and see if we can > get a true* > > *//if not that means that one of the validators is invalid.* > > tmpFlag=(tmpFlag && $validatorKey[$validators[i]].isValid

Re: [flexcoders] Flex 3 can save chart as image

2008-03-06 Thread Josh McDonald
Ah right, of course, I forgot about data:// Since it's not IE friendly it's not something I'd recommend - or think of, apparently ;-) -J On Fri, Mar 7, 2008 at 10:41 AM, Frederico Garcia <[EMAIL PROTECTED]> wrote: > Josh McDonald escreveu: > > > That can'

Re: [flexcoders] Re: Debugging hangs my mac this morning any ideas?

2008-03-11 Thread Josh McDonald
Any ideas anybody? I still get this some times (it's back today), and it's bringing down my whole computer. The boss won't be happy if he needs to go and buy me a windows workstation :( -J On Thu, Mar 6, 2008 at 12:00 PM, Josh McDonald <[EMAIL PROTECTED]> wrote: > mm.c

Re: [flexcoders] WeakMethodClosure - what is this ?

2008-03-11 Thread Josh McDonald
I imagine it's the internal voodoo to keep track of closures. Think of them as function pointers which contain the creator's stack - that's a simplified but useful view. -J On Wed, Mar 12, 2008 at 8:32 AM, lytvynyuk <[EMAIL PROTECTED]> wrote: > During my research with Flex performance found th

Re: [flexcoders] Flex 3 can save chart as image

2008-03-11 Thread Josh McDonald
Use commons-codec: http://commons.apache.org/codec/ -J On Wed, Mar 12, 2008 at 11:10 AM, coder3 <[EMAIL PROTECTED]> wrote: > > my question now is more to how to decode the image string: > > in my mx application, i encode the image to a String: > > var b64encoder:Base64Encoder = new Base64Encode

Re: [flexcoders] Flex 3 can save chart as image

2008-03-11 Thread Josh McDonald
java? > > in flex it's encoded the image byteArray to String. > > how to decode that String to byte[] in java? > > regarding the javaDoc, it's either decode from Object to Object, or byte[] > to byte[]. > > Help~~~ > > c. > > > Josh McDonald-4 wr

[flexcoders] Fit window to content?

2008-03-11 Thread Josh McDonald
Hi guys, Is there a nice programmatic way to have a popup window (TitleWindow in this case) resize to just big enough to fit the children? Or will I have to cook it up? Cheers, -J -- "Therefore, send not to know For whom the bell tolls, It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221

Re: [flexcoders] Fit window to content?

2008-03-11 Thread Josh McDonald
--- > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Josh McDonald > *Sent:* Tuesday, March 11, 2008 9:08 PM > *To:* flexcoders@yahoogroups.com > *Subject:* [flexcoders] Fit window to content? > > > > Hi guys, > > Is there a nic

Re: [flexcoders] Re: Tree SelectedItem

2008-03-12 Thread Josh McDonald
When you create the DragSource, do this: dragSource.addData(initiator.selectedItem, "data"); and on drop, do this: event.dragSource.dataForFormat("data") -J On Thu, Mar 13, 2008 at 9:57 AM, Rafael Faria <[EMAIL PROTECTED]> wrote: > I have this handler... but i dont know how to get select th

Re: [flexcoders] HTML IN FLEX

2008-03-12 Thread Josh McDonald
Are there plans to allow embedding of instances of the host browser in Flash 10? Or is most stuff re: flash 10 still a secret / up in the air? :D -J On Thu, Mar 13, 2008 at 10:23 AM, Max Frigge <[EMAIL PROTECTED]> wrote: > Only works for AIR apps.. sad but true :-/ > > - Original Message

Re: [flexcoders] Flex Builder 3 OS X - debugger hangs on launch

2008-03-12 Thread Josh McDonald
This could be related to the problem I'm having from time to time when debugging brings the entire machine down, although I get it straight after a reboot sometimes too so it's not hibernation in my case. It is however *always* triggered by a call out to a web service, so my eye is on the network

[flexcoders] Old-school debugging?

2008-03-13 Thread Josh McDonald
Hi guys, I know in the past with pre-flex Flash, there was voodoo you could do to record trace statements in a log file somewhere so long as you had the debug player installed. Does that still work? Can somebody refresh my memory? I've got a problem where on a coworker's pc my app won't initialise

Re: [flexcoders] Old-school debugging?

2008-03-13 Thread Josh McDonald
n/3469>(Firefox > Plugin) options page. > > Blake > > -- > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Josh McDonald > *Sent:* Thursday, March 13, 2008 6:41 PM > *To:* flexcoders@yahoogroups.com > *Subject:*

[flexcoders] Visual position of DataGrid.selectedItem?

2008-03-13 Thread Josh McDonald
Hi Guys, I want to draw some funky stuff outside of a DataGrid, but vertically aligned with the select row. Is there an easy way to get that info in a way that can be run through localToGlobal()? Cheers, -J -- "Therefore, send not to know For whom the bell tolls, It tolls for thee." :: Josh 'G

Re: [flexcoders] Old-school debugging?

2008-03-13 Thread Josh McDonald
]> wrote: > And google mm.cfg > http://www.google.com/search?hl=en&q=mm.cfg > > > - Original Message - > From: "Josh McDonald" <[EMAIL PROTECTED]> > To: > Sent: Friday, March 14, 2008 4:03 AM > Subject: Re: [flexcoders] Old-school debugging? >

[flexcoders] v-aligning elements in seperate forms?

2008-03-24 Thread Josh McDonald
Hey guys, Is there a nice way to get separate forms lined up (they're in a v-box)? I need a good way to visibly distinguish various groups of controls on screen at once and at the moment I'm using separate forms with styling. It's also of course to help with validation. -J -- "Therefore, send n

Re: [flexcoders] Any ideas for a Flex strip chart emulator?

2008-03-24 Thread Josh McDonald
Have you considered using some sort of proxy IList that hooks into your datastream but only shows the last n rows? That would allow you to use the various existing chart components. -J On Fri, Mar 21, 2008 at 10:30 AM, Jim Boone <[EMAIL PROTECTED]> wrote: > I am attempting to write a dashboard

Re: [flexcoders] Re: flex builder 3 on os x very very slow in debug mode

2008-03-24 Thread Josh McDonald
There's definitely some problems with the debug flash player on OS X. I get hard lockups (nothing but the mouse working, not a kpanic) several times a week, in Safari and Firefox. -J On Mon, Mar 24, 2008 at 11:43 PM, Willy Ci <[EMAIL PROTECTED]> wrote: > thank, just tried with Safari, much fas

Re: [flexcoders] What's this Called?

2008-03-24 Thread Josh McDonald
Looking things up in that method foo["bar"] rather than foo.bar, is slow and can cause runtime exceptions if you don't check foo.hasOwnProperty("bar"). You're better off having a foo.bar = Array(), and doing foo.bar[n] rather than foo["bar" + n] whenever possible. The only time you really want to

[flexcoders] How do I remove an effect?

2008-03-24 Thread Josh McDonald
Hey guys, How do I remove an effect? stop() and end() both just stop the effect, rather than getting rid of it. Do I have to go and remove the filter by hand (it's a glow Effect)? -J -- "Therefore, send not to know For whom the bell tolls, It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437

Re: [flexcoders] Re: flex builder 3 on os x very very slow in debug mode

2008-03-25 Thread Josh McDonald
te: > or you can try Opera, > if that still give you problem I think IE 5 is your lost hope. > > Willy > > > > On Mon, Mar 24, 2008 at 7:07 PM, Josh McDonald <[EMAIL PROTECTED]> wrote: > > > There's definitely some problems with the debug flash player

Re: [flexcoders] How do I remove an effect?

2008-03-25 Thread Josh McDonald
fect? > > > > I'm not sure if this is possible, but I know that in the past, I've set > effects using setStyle('effectName', EffectClassInstance). Would it be > possible to just use that and set it to null perhaps? > > On Tue, Mar 25, 2008 at 3:09 PM, Jos

Re: [flexcoders] how to operate *.bat ?

2008-03-25 Thread Josh McDonald
Is "mvn" a .bat file? If so, you want: call mvn package instead of mvn package -J On Wed, Mar 26, 2008 at 12:42 PM, h253498088 <[EMAIL PROTECTED]> wrote: > hi All,i write a run.bat file, > CD C:\test > mvn package > copy /y C:\test.war E:\deploy > pause > > but the command "mvn" need 2 minu

Re: [flexcoders] Re: Any ideas for a Flex strip chart emulator?

2008-03-26 Thread Josh McDonald
ation of a > collection. I just need to figure out what that same implementation > looks like in ActionScript. Thanks for your your response. > > Jim > > > --- In flexcoders@yahoogroups.com , "Josh > McDonald" <[EMAIL PROTECTED]> wrote: > > > > Hav

[flexcoders] Again: Moving windows with keyboard?

2008-03-26 Thread Josh McDonald
Is there any way to move windows that are off-screen using the keyboard in eclipse under OS X? "Reset perspective" only takes you back to the last saved setup, and you can't always rescue off-screen palettes using spaces. Having to delete my perspective and create another is a real PITA given how o

Re: [flexcoders] How do I remove an effect?

2008-03-26 Thread Josh McDonald
> > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Josh McDonald > *Sent:* Tuesday, March 25, 2008 6:25 PM > > *To:* flexcoders@yahoogroups.com > *Subject:* Re: [flexcoders] How do I remove an effect? > > > &

Re: [flexcoders] Again: Moving windows with keyboard?

2008-03-26 Thread Josh McDonald
ndows are coming back. > > > - Original Message > From: Josh McDonald <[EMAIL PROTECTED]> > To: "flexcoders@yahoogroups.com" > Sent: Thursday, March 27, 2008 4:28:06 PM > Subject: [flexcoders] Again: Moving windows with keyboard? > > Is there any way to move wind

Re: [flexcoders] Again: Moving windows with keyboard?

2008-03-26 Thread Josh McDonald
Dammit, not all the damned windows come back :( This is so much fucking work it's not funny. It's 2008, and nobody should be having stupid problems like this. -J On Thu, Mar 27, 2008 at 4:13 PM, Josh McDonald <[EMAIL PROTECTED]> wrote: > Genius! > > -J > > &g

Re: [flexcoders] How do I remove an effect?

2008-03-27 Thread Josh McDonald
t; > Gordon Smith > > Adobe Flex SDK Team > > > -- > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Josh McDonald > *Sent:* Wednesday, March 26, 2008 10:40 PM > > *To:* flexcoders@yahoogroups.com > *Subject:* Re:

Re: [flexcoders] Re: Any ideas for a Flex strip chart emulator?

2008-03-27 Thread Josh McDonald
etricsVO = msg.body as MetricsVO; > > // Update chart data provider, remove the oldest and add > // the newest data point > cursor.seek(CursorBookmark.FIRST); > cursor.remove(); > cursor.seek(CursorBookmark.LAST,1); > cursor.insert(data); > > > --- In flexcoders@yahoogroup

Re: [flexcoders] Re: flex builder 3 on os x very very slow in debug mode

2008-03-27 Thread Josh McDonald
cBook Pro with OS X 10.5 > Willy > > > > On Tue, Mar 25, 2008 at 6:50 PM, Josh McDonald <[EMAIL PROTECTED]> wrote: > > > If it happens in both FF and Safari, the bug is most likely in OS X or > > Flash / Flex (or all three), so I don't see Opera helping. IE

Re: [flexcoders] need help capturing focus in a variable or using event to capture current target

2008-03-27 Thread Josh McDonald
Look into the focus events. I don't know if there's a global "focusChanged" event or something like that, but you can definitely hook into "focusIn" and "focusOut" on individual components. -J On Fri, Mar 28, 2008 at 7:30 AM, Teresa Howington <[EMAIL PROTECTED]> wrote: > Hi everyone, > > I'm r

Re: [flexcoders] How do I remove an effect?

2008-03-30 Thread Josh McDonald
o in context (code). Source? > > > > Rick Winscot > > > > > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Josh McDonald > *Sent:* Thursday, March 27, 2008 7:21 AM > > *To:* flexcoders@yahoogroups.com > *Subject:* Re: [fl

[flexcoders] useHandCursor + buttonMode

2008-04-02 Thread Josh McDonald
Is it just me, or do these only work like half the time? I can't get it to work at all for Label components... -J -- "Therefore, send not to know For whom the bell tolls, It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]

Re: [flexcoders] useHandCursor + buttonMode

2008-04-02 Thread Josh McDonald
, 2008 at 2:14 PM, Alex Harui <[EMAIL PROTECTED]> wrote: >Search the archives. This gets asked and answered every 90 days. > > > -- > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Josh McDonald > *S

[flexcoders] Stupid question? Can I paint to RGB instead of RGBA?

2008-04-02 Thread Josh McDonald
Is there an easy way to paint to only the colour channels of a rendered UIComponent? As in, I don't want to change its shape, just the colour of a part of it. I'm picturing some sort of intermediate buffer and some sort of composition function perhaps? If there's no easy way, how does one get progr

Re: [flexcoders] Google App Engine

2008-04-08 Thread Josh McDonald
I'm waiting for Java support, can't be assed learning Python atm. But I intend to be *all over it* when that happens to host a backend for various flex / air ideas I have floating in my head :) -J On Tue, Apr 8, 2008 at 5:35 PM, Giles Roadnight <[EMAIL PROTECTED]> wrote: > Hi All > > Have any

[flexcoders] Soap and Dates - big problems! any soap+flex ninjas here can help?

2008-04-10 Thread Josh McDonald
Hi guys, We're having some serious issues with flex dealing with dates coming in over SOAP, if anybody has more knowledge about this than me or knows about the various changes made to the SOAP code over the lifetime of Fx 2, please get in touch so I can pick you brain! This is one of those "big cl

Re: [flexcoders] Soap and Dates - big problems! any soap+flex ninjas here can help?

2008-04-12 Thread Josh McDonald
How do I switch to E4X format results? I didn't know you could do that, agnabbit! How on earth did this pass QA, and is it fixed in 3? -J On Sat, Apr 12, 2008 at 4:18 AM, Douglas Knudsen <[EMAIL PROTECTED]> wrote: > yeah, that section reads > > xsd:dateTime > >Date > > If no timezon

[flexcoders] How the hell do you debug a 1009 error from SOAP?

2008-04-13 Thread Josh McDonald
I've started getting a 1009 error for no apparent reason when trying to call a SOAP method, and there's absolutely no useful debugging information, it just comes up as a fault event. How is one supposed to track down and fix something like this? I'm stuck on 2.01 so there's no source to rpc.* to br

Re: [flexcoders] How the hell do you debug a 1009 error from SOAP?

2008-04-13 Thread Josh McDonald
r 13, 2008 at 5:21 PM, Douglas Knudsen > <[EMAIL PROTECTED] > wrote: > > > > > > > > > > > > > > Service Capture, trace(), and some chicken bones :) Seriously, I'd > invest > > in Service Capture or Charles to sniff

Re: [flexcoders] Soap and Dates - big problems! any soap+flex ninjas here can help?

2008-04-13 Thread Josh McDonald
need a' > changin. > > DK > > On Sat, Apr 12, 2008 at 10:36 PM, Josh McDonald <[EMAIL PROTECTED]> wrote: > > > How do I switch to E4X format results? I didn't know you could do > > that, agnabbit! > > > > How on earth did this pass QA,

[flexcoders] DateField.selectedDate being set to null on focusOut??

2008-04-13 Thread Josh McDonald
Hi, I've been getting mystery nulls, and it seems that for some reason when my embedded DateField component loses focus, its selectedDate is reset to null. Anybody have *any* idea why? I've got breakpoints on "set selectedDate" inside mx:DateField and it's not being called... Sometimes I feel lik

Re: [flexcoders] Re: DateField.selectedDate being set to null on focusOut??

2008-04-13 Thread Josh McDonald
ateField is editable, and the width of the box is a bit too > small, it will display the date, but when editing/exiting it causes > it to display an empty box. > > I found that expanding the width ever so slightly made the problem go > away. > > Paul > > --- In fle

[flexcoders] SDK Source in debugger?

2008-04-13 Thread Josh McDonald
Hi guys, what do I have to do to get the debugger aware of the SDK source? I can command-click into DateField.as and place some breakpoints, but I don't know which one brings the debugger up, because the debugger tells me there's no source :) -J -- "Therefore, send not to know For whom the bell

[flexcoders] Re: SDK Source in debugger?

2008-04-13 Thread Josh McDonald
Never mind, I'm a tool :) I eventually added the whole sdks/3.0 directory and she's sweet! -J On Mon, Apr 14, 2008 at 2:42 PM, Josh McDonald <[EMAIL PROTECTED]> wrote: > Hi guys, what do I have to do to get the debugger aware of the SDK source? > I can command-click into

Re: [flexcoders] Re: DateField.selectedDate being set to null on focusOut??

2008-04-13 Thread Josh McDonald
Figured this out for anybody who has the same problem in the future - if you use a labelFunction, make damn sure you supply a custom parseFunction, or set parseFunction to null! A pretty ugly silent failure tho methinks. -J On Mon, Apr 14, 2008 at 2:33 PM, Josh McDonald <[EMAIL PROTEC

[flexcoders] Can somebody pls check my WSDL / XSD and tell me why it won't work in Flex 3?

2008-04-13 Thread Josh McDonald
Hi guys, I'm also suffering on the flex 2 -> flex 3 conversion! My WSDL is here: http://www.gfunk007.com/datatypes/VehicleTenderAllocation.xml And the other datatypes are here: http://www.gfunk007.com/datatypes/VehicleTenderAllocation.xsd.xml http://www.gfunk007.com/datatypes/datatypes.xsd.xml

Re: [flexcoders] Re: How the hell do you debug a 1009 error from SOAP?

2008-04-14 Thread Josh McDonald
Cool, cheers. As far as I can tell the NPE was occuring due to a bug somewhere in the decoder, which of course is all closed souce in Fx2. It's looking like if we can't patch the encoder in Fx3 to be functional, we're going to be stuck on Fx2 with a custom decoder going from e4x due to the dodgey

Re: [flexcoders] What would cause a Canvas subclass to not clip its content?

2008-04-14 Thread Josh McDonald
More importantly Doug, how the bejesus did you come across that solution? =) -J On Tue, Apr 15, 2008 at 2:34 PM, Tracy Spratt <[EMAIL PROTECTED]> wrote: >Maybe this is a bug? One would expect SWFLoader children to be > children of the canvas right? Is there some rationale for not clipping

[flexcoders] Best time to do graphics calls?

2008-04-15 Thread Josh McDonald
Hi guys, At the moment (after a bit of messing about with other events), I'm doing my drawing on updateComplete, and it seems to be working fine. I just wanna see if this is the best event to be listening to, or if there's best practice to do custom graphics stuff? Cheers, -J -- "Therefore, se

Re: [flexcoders] Best time to do graphics calls?

2008-04-15 Thread Josh McDonald
> > Adobe Flex SDK Team > > > -- > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Josh McDonald > *Sent:* Tuesday, April 15, 2008 4:56 PM > *To:* flexcoders@yahoogroups.com > *Subject:* [flexcoders] Best time to do graphics calls? > > &g

Re: [flexcoders] Re: Charting...

2008-04-15 Thread Josh McDonald
That doesn't seem right :) Try messing about with the order in which you're setting various properties - perhaps just setting the provider last will do it? Also if that doesn't work, try using callLater() instead of a 1ms timer. -J On Wed, Apr 16, 2008 at 11:40 AM, Rafael Faria <[EMAIL PROTECTED

[flexcoders] Where to put flex 2 serials in flex builder 3?

2008-04-15 Thread Josh McDonald
Hey guys, Where do I put the flex 2 serial numbers in flex 3 builder? I'm currently targetting flex 2, and I'm getting "Could not resolve to a component implementation", which I assume is because there's no charting serial that fx3 knows about? There's also no "charting" in the components panel w

[flexcoders] Troubles with license.properties file not working

2008-04-15 Thread Josh McDonald
Is there any reason my license.properties file works fine in 2.01 HF3, but not in HF1? I just can't get it to work :( -J -- "Therefore, send not to know For whom the bell tolls, It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]

Re: [flexcoders] Re: Flex 3 purchased version, still displays "Trial" water mark...

2008-04-15 Thread Josh McDonald
Checked license.properties in: /Applications/Adobe\ Flex\ Builder\ 3/sdks/3.0.0/frameworks/ -J On Wed, Apr 16, 2008 at 3:49 PM, Ilam Mougy <[EMAIL PROTECTED]> wrote: > I tried that. > I tried changing the install location, the workspace, nothing works. > I use Mac and I bought the FB Pro. > >

Re: [flexcoders] Re: Flex 3 purchased version, still displays "Trial" water mark...

2008-04-16 Thread Josh McDonald
ted the whole day because of this! > Ilam > > > --- In flexcoders@yahoogroups.com , "Josh > McDonald" <[EMAIL PROTECTED]> wrote: > > > > Checked license.properties in: > > > > /Applications/Adobe\ Flex\ Builder\ 3/sdks/3.0.0/frameworks/ > > &g

Re: [flexcoders] Re: Intelligent ViewStack Children

2008-04-16 Thread Josh McDonald
Shit my bad, that's the first thing I would've tried, so I assumed you tried and it didn't work. I've been following this thread coz it seemed like a really interesting problem. *slaps head* -J On Thu, Apr 17, 2008 at 7:24 AM, joshuagatcke <[EMAIL PROTECTED]> wrote: > this is amazing! no joke

[flexcoders] Need help buying Flex licenses in US$ - Intl prices are highway robbery!

2008-04-16 Thread Josh McDonald
Hi guys, Can anybody point me to a reseller who sells Flex licenses in US$ to non-US addressed credit cards? We don't want discs, we're not in Nigeria or Russia, and all calls go to the same call centre in India, why the bloody hell should Australians pay 90% more for a 40 character string? -J -

Re: [flexcoders] Need help buying Flex licenses in US$ - Intl prices are highway robbery!

2008-04-16 Thread Josh McDonald
nnolly <[EMAIL PROTECTED]> > wrote: > > > That's really weird, given the state of our deflating US dollar. > > Adobe, what's up??? > > > > > > On Wed, Apr 16, 2008 at 6:23 PM, Josh McDonald <[EMAIL > > PROTECTED]> > > wrote: > &

Re: [flexcoders] Grid display question

2008-04-16 Thread Josh McDonald
AFAIK, You can't do this with DataGrid without much hacking. You'll have to cook up something custom using Grid, or use AdvancedDataGrid (which I believe can do this, although I haven't done it). -J On Thu, Apr 17, 2008 at 9:29 AM, nathanpdaniel <[EMAIL PROTECTED]> wrote: > So I have a DataGri

Re: [flexcoders] Grid display question

2008-04-16 Thread Josh McDonald
gt; > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Josh McDonald > *Sent:* Wednesday, April 16, 2008 7:37 PM > *To:* flexcoders@yahoogroups.com > *Subject:* Re: [flexcoders] Grid display question > > > > AFAIK, You can't do this with

Re: [flexcoders] Clipping of charts

2008-04-16 Thread Josh McDonald
I too am surprised that this can't be more easily done, it's something I get asked for nearly every time we have a barchart. -J On Thu, Mar 13, 2008 at 2:14 AM, Brendan Meutzner <[EMAIL PROTECTED]> wrote: > Maybe allowing them to change the vertical axis between Logarithmic and > Linear might

Re: [flexcoders] Re: Need help buying Flex licenses in US$ - Intl prices are highway robbery!

2008-04-17 Thread Josh McDonald
should think twice about it. > > Cheers! > > > --- In flexcoders@yahoogroups.com , "Josh > McDonald" <[EMAIL PROTECTED]> wrote: > > > > Hi guys, > > > > Can anybody point me to a reseller who sells Flex licenses in US$ to > non-US > > addres

Re: [flexcoders] data modeling question : vo's in subclasses. should be pretty easy

2008-04-17 Thread Josh McDonald
What do you mean by VO? -J On Fri, Apr 18, 2008 at 8:26 AM, Rich Rodecker <[EMAIL PROTECTED]> wrote: > Just looking for pointers on how to handle this situation: > > I have a BaseComponentClass, with several subclasses. Each of these > subclasses also has a corresponding VO. > > All the subcl

Re: [flexcoders] data modeling question : vo's in subclasses. should be pretty easy

2008-04-17 Thread Josh McDonald
OK cheers.Never heard it described as a "VO" :) On Fri, Apr 18, 2008 at 10:41 AM, gabriel montagné < [EMAIL PROTECTED]> wrote: > On Thu, Apr 17, 2008 at 5:27 PM, Josh McDonald <[EMAIL > PROTECTED]> > wrote: > > > > What do you mean by VO? > >

Re: [flexcoders] Re: Clipping of charts

2008-04-20 Thread Josh McDonald
data points outside the x and y axis > ranges won't be filtered out. > > Graham > > > --- In flexcoders@yahoogroups.com , "Josh > McDonald" <[EMAIL PROTECTED]> wrote: > > > > I too am surprised that this can't be more easily done, it's

[flexcoders] Help with non-visual MXML components and getting the syntax I want

2008-04-20 Thread Josh McDonald
Hi Guys, I'm building some non-visual MXML components, and I want to keep the MXML syntax as nice as possible. What I'd like is something like this: Can it be done? How do I define my get / set functions in au.company.custom.Garden? Can I use [ArrayElementType()] with this to enfo

Re: [flexcoders] binding problems

2008-04-20 Thread Josh McDonald
I think you want: "{ rep.currentItem.x }" rather than "{ Number(rep.currentItem.x) }" -J On Mon, Apr 21, 2008 at 12:18 PM, grimmwerks <[EMAIL PROTECTED]> wrote: > Could someone PLEASE point out what I'm doing wrong in the following? I > want to bind a numeric stepper to a certain size and h

Re: [flexcoders] what is the defference between addeventlistener and hardcode it at mxml

2008-04-20 Thread Josh McDonald
When you do it in MXML, the compiler creates a throwaway function (not sure if it's anonymous or it just makes up a name, probably the latter), and so you can't easily get a reference to that function in order to mess with it or remove it. -J On Mon, Apr 21, 2008 at 1:20 PM, Sherif Abdou <[EMAIL

Re: [flexcoders] Getting Error #2032: Stream Error randomly in Flex3.0

2008-04-20 Thread Josh McDonald
It could be a server-side problem, what's your back-end? On Mon, Apr 21, 2008 at 3:22 PM, Gupta, Pradeep <[EMAIL PROTECTED]> wrote: > Hi, > > I am getting a Stream Error #2032: in Flex 3.0 randomly while calling a > web service. The web service is returning the data correctly, but some > how th

Re: [flexcoders] Help with non-visual MXML components and getting the syntax I want

2008-04-20 Thread Josh McDonald
@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Josh McDonald > *Sent:* Sunday, April 20, 2008 6:35 PM > *To:* flexcoders@yahoogroups.com > *Subject:* [flexcoders] Help with non-visual MXML components and getting > the syntax I want > > > > Hi Guys, > > I&

[flexcoders] Bundling config.xml file with the SWF without switching to ant?

2008-04-21 Thread Josh McDonald
Hi guys, Is there a way I can set up Builder (3) to copy a configuration file from /resource into build folders (debug and release) without switching to ant? I don't want to put it in the /html-template, as it's not part of the HTML template :) -J -- "Therefore, send not to know For whom the be

[flexcoders] Question about Cairngorm / UM extensions

2008-04-21 Thread Josh McDonald
Guys, I don't actually use Cairngorm yet, but I've been reading a bit about it, and listening to the Flex show podcast (which is great btw), and I'm wondering how the callbacks work in Cairngorm / UM if your views are simply calling this.dispatchEvent() to announce the user's clicked the "login" b

Re: [flexcoders] Re: Bundling config.xml file with the SWF without switching to ant?

2008-04-21 Thread Josh McDonald
sure if this answers your question, but you can add a config file > (for example) as an additional compiler argument. You right-click on > your project, select Properties, then Flex compiler. You'd add e.g. > > -services config/services-config.xml > > HTH, > > Davi

Re: [flexcoders] Question about Cairngorm / UM extensions

2008-04-21 Thread Josh McDonald
7;t even be AS3... -J On Tue, Apr 22, 2008 at 1:17 PM, shaun <[EMAIL PROTECTED]> wrote: > Josh McDonald wrote: > > Guys, > > > > I don't actually use Cairngorm yet, but I've been reading a bit about > it, > > and listening to the Flex show podcast

Re: [flexcoders] Question about Cairngorm / UM extensions

2008-04-21 Thread Josh McDonald
ng in-house framework so I'm not missing out on any time-savers :) -J On Tue, Apr 22, 2008 at 1:40 PM, gabriel montagné < [EMAIL PROTECTED]> wrote: > On Mon, Apr 21, 2008 at 9:20 PM, Josh McDonald <[EMAIL > PROTECTED]> > wrote: > > understanding of modern Cairngor

Re: [flexcoders] Re: Question about Cairngorm / UM extensions

2008-04-21 Thread Josh McDonald
ar userEvent:UserEvent = new UserEvent( UserEvent.EVENT_ID, new > Callbacks( handleLoginSuccess, handleLoginFault ) ); > userEvent.userVO = userVO; > dispatchEvent( userEvent ); > } > > HTH, > Ben > > > --- In flexcoders@yahoogroups.com , "Josh > McDonald" &

Re: [flexcoders] Re: Partial result from HTTPService call

2008-04-22 Thread Josh McDonald
See if it goes away if you delay your work with a callLater()? If so, then you're probably dead right :) -J On Wed, Apr 23, 2008 at 3:27 PM, Dmitri Girski <[EMAIL PROTECTED]> wrote: > Hi Tracy, > > Probably you are right after all. > After some time of trouble free usage of httService.lastResu

[flexcoders] Get type of a variable?

2008-04-27 Thread Josh McDonald
Guys, What's the easiest way to get the type of a variable in a static class? What I mean is just a regular class, with a bunch of regular staticly typed vars. I'm having trouble locating an easy way to do this when the member object is null. -J -- "Therefore, send not to know For whom the bell

[flexcoders] The XML Class / E4X - best tutorials?

2008-04-27 Thread Josh McDonald
Hey guys, just a quickie - while I'm getting what I need done, I'm definitely not making the best use of the E4X features; I'm wondering if anybody's seen any particularly good tutorials online I should check out? Cheers, -J -- "Therefore, send not to know For whom the bell tolls. It tolls for t

Re: [flexcoders] number and string validator

2008-04-27 Thread Josh McDonald
Just use a number validator and check it's > 999 and < 1? On Mon, Apr 28, 2008 at 3:54 PM, Luke Vanderfluit < [EMAIL PROTECTED]> wrote: > Hi. > > I have a postcode field that I want to test on digits as well as length. > So the field must have digits and the field should be of length 4. > >

<    3   4   5   6   7   8   9   10   11   12   >