[flexcoders] Major bug: External interface doesn't work when inside form

2006-11-28 Thread Daniel Tuppeny
Hi all, I've spent most of the day trying to track down a nasty bug with Flex (or Flash) in ASP.NET. I've not yet tried in Firefox, but it's present in IE6 and IE7. ASP.NET wraps pretty much the entire page in form/form tags. Unfortunately, either Flex or the Flashplayer includes

[flexcoders] Re: Major bug: External interface doesn't work when inside form- WORKAROUND

2006-11-28 Thread Daniel Tuppeny
Here's a workaround. Just before the /script tag, define a page-level variable with the expected name, that references the actual object. I've not tested this well, but at first glance, it seems to work. var ${application} = document.getElementById('${application}'); If you're using

[flexcoders] Rotating BarChart

2006-11-17 Thread Daniel Tuppeny
Another charting question! :D Is there an easy way to have the Bar chart rotated? I want to let the user flick a switch that changes it from one direction to the other, but using the rotation style obviously screws up the labels. I tried just changing BarChart to ColumnChart, BarWidthRatio

Does anyone have the attachments from RE: [flexcoders] Fixing data points in Ely Greenfield's SizedPieSeries?

2006-11-17 Thread Daniel Tuppeny
Hi all, Does anyone have the attachments from Ely's reply to my post RE: [flexcoders] Fixing data points in Ely Greenfield's SizedPieSeries they could forward to me? They're not stored online at yahoogroups, and attachments aren't sent with the digest emails I get :-( I've emailed Ely, but

[flexcoders] Ely's RadarChart - I have the files

2006-11-17 Thread Daniel Tuppeny
Hey all, I got the files Ely attached yesterday (thanks Oliver), so no need for anyone to send more. Excellent work Ely. It puts my code to shame! It's much more consistent with the other charts, and shows how to do things properly :D Danny

[flexcoders] How do I make the chart legend wrap?

2006-10-25 Thread Daniel Tuppeny
Im having trouble getting my legend to wrap. I want it to scroll vertically, but not horizontally. Cod elooks like this: mx:Canvas width=172 height=230 x=188 y=10 mx:Legend dataProvider={myChart} width=100 /mx:Legend /mx:Canvas Ive tried everything, scrolling policies on the

[flexcoders] How do I recompile charts?

2006-10-16 Thread Daniel Tuppeny
I've modified the defaultColors list in the HaloDefaults.as, tocustomise the colours that appear in pie chart wedges, but it seems myapp is using a pre-compiled version, and I don't see the changes.I can't find any way to rebuild the charts (without a lot of faffingaround), as there's no

[flexcoders] XML/Chart Scripting help

2006-08-14 Thread Daniel Tuppeny
Hi all, I've done this before, but I can't find the source, and now need to mage changes! I'm trying to draw a pie chart from an XML doc. The XML comes from an external source, and I've just simplified it for this example, so no comments about using mx:model etc. etc.! :) The bit I'm

RE: [flexcoders] XML/Chart Scripting help

2006-08-14 Thread Daniel Tuppeny
I can't even get this simple chart to work: mx:XML format="e4x" id="myXmlTest" data item name="danny" val="25" / item name="danny2" val="22" / /data /mx:XML mx:PieChart dataProvider="{myXmlTest}" id="myChart" top="0" left="0" width="100%" height="100%" showDataTips="true" mx:series

RE: [flexcoders] Equiv of DoEvents, to allow painting?

2006-07-26 Thread Daniel Tuppeny
[mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: 26 July 2006 09:30 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Equiv of DoEvents, to allow painting? On Tuesday 25 July 2006 11:33, Daniel Tuppeny wrote: I know 40k points isn't particularly useful, but our app has to degrade

RE: [flexcoders] Equiv of DoEvents, to allow painting?

2006-07-26 Thread Daniel Tuppeny
@yahoogroups.com Subject: Re: [flexcoders] Equiv of DoEvents, to allow painting? Hi Daniel, you could use a Timer for that. updateDisplayList sets up the timer and returns. The timer's eventhandler does the drawing. Cheers, Ralf. On 7/26/06, Daniel Tuppeny [EMAIL PROTECTED] wrote: I don't understand

[flexcoders] Adding annotationElements programatically

2006-07-26 Thread Daniel Tuppeny
Hi all, I've got this in my chart, which works: chart:annotationElementsbestfit:Linear dataProvider="{pmService.GetBestFitLines.lastResult.LinearBestFit}" //chart:annotationElements But now I want to do it programatically, so I've removed it, and added this script: var bfl:Quadratic

RE: [flexcoders] Adding annotationElements programatically

2006-07-26 Thread Daniel Tuppeny
My problem was this: payChart.annotationElements.push(bfl); It doesn't seem to work, but this: payChart.annotationElements = payChart.annotationElements.concat(bfl); does. Seems a little ott (because I'm guessing this will re-render the other annotationElements on the graph), but it

[flexcoders] Binding withing a repeater?

2006-07-26 Thread Daniel Tuppeny
I can't get my checkbox to update my objects when it's ticked/unticked using databind. Here's my code: mx:Repeater id="bestFitList"mx:CheckBox label="{bestFitList.currentItem.name}" selected="{bestFitList.currentItem.visible}" //mx:Repeater The dataprovider is set programatically

[flexcoders] Equiv of DoEvents, to allow painting?

2006-07-25 Thread Daniel Tuppeny
Hi, I'm trying to plot 40k points on a PlotChart, and it locks up IE quite miserably in the updateDisplayList loop. Is there any equivilent of .NET's Application.DoEvents(), that allows CPU time for processing of events (like painting windows) that I could put inside the loop to run on

[flexcoders] invalidateDisplayList()

2006-07-25 Thread Daniel Tuppeny
Hi, Does calling invalidateDisplayList() on a control mean that *everything* (including parents) gets re-drawn, or just the children? I have something similar to Ely Greenfield's RangeSelector class (http://demo.quietlyscheming.com/overlayDemo/), but the mousemove event seems to cause

RE: [flexcoders] Re: printing/zooming bugs

2006-07-25 Thread Daniel Tuppeny
menu:ContextMenu = new ContextMenu(); menu.hideBuiltInItems(); contextMenu = menu; On 6/30/06, Daniel Tuppeny [EMAIL PROTECTED] wrote: Is there a way to hide the context menu (or at least the zoom part)? Wehave a zoomable graph, and if the user right-clicks, they see Zoom,think it's

RE: [flexcoders] invalidateDisplayList()

2006-07-25 Thread Daniel Tuppeny
thing like :if( dotChanged ){ //do redraw}Jeremy. On 7/25/06, Daniel Tuppeny [EMAIL PROTECTED] wrote: Hi, Does calling invalidateDisplayList() on a control mean that *everything* (including parents) gets re-drawn, or just the children? I have something simi

RE: [flexcoders] Re: printing/zooming bugs

2006-07-19 Thread Daniel Tuppeny
ut problem was noticed and was fixed. I'll look into it. As far as I can see it works fine on the release player. -sam On 7/18/06, Daniel Tuppeny [EMAIL PROTECTED] wrote: Cool, thanks! From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Beh

RE: [flexcoders] Re: printing/zooming bugs

2006-07-18 Thread Daniel Tuppeny
it. Either that or I learned how to do it later. In any case, do this: import flash.ui.ContextMenu; var menu:ContextMenu = new ContextMenu(); menu.hideBuiltInItems(); contextMenu = menu; On 6/30/06, Daniel Tuppeny [EMAIL PROTECTED] wrote: Is there a way to hide the context menu

RE: [flexcoders] Scrollbar bug (with sample code)

2006-07-14 Thread Daniel Tuppeny
Is there a public bug tracker for Flex now? I want to find out of this is truly a bug (and I have to bodge it), or I'm just doing something silly. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel TuppenySent: 30 June 2006 14:55To:

RE: [flexcoders] Re: ACcess SOAP fault code

2006-07-12 Thread Daniel Tuppeny
Excellent! And thanks for providing code! I didn't realise there was a PreSendRequestHeaders method, and probably would've come up with a crazy OTT solution! :-) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kelly BirrSent: 12 July 2006 06:16To:

RE: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart

2006-07-11 Thread Daniel Tuppeny
Thanks for the tips. We think 40k is overboard (it's pretty useless for the purpose we're writing the chart for!), but if a client loads that much data, we don't want IE to crash and burn. I've put tracing in, but most of the time is spent inside the plot series class. When we have the

RE: [flexcoders] Re: ACcess SOAP fault code

2006-07-11 Thread Daniel Tuppeny
Cool, let us know how you get on. Might save me some time when I need to "fix" it :-) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carson HagerSent: 03 July 2006 15:41To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: ACcess SOAP fault code If you

RE: [flexcoders] Re: ACcess SOAP fault code

2006-07-03 Thread Daniel Tuppeny
So if we swap the 500 status code for a 200, the fault handler won't be triggered? This is sounding more and more useless each day! I guess the only way to do it is with try/catch and return our own object, and interrogate it after every call :-( From: flexcoders@yahoogroups.com

RE: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart

2006-06-30 Thread Daniel Tuppeny
Cool! I believe the budget has all been approved for most of our team =) We're currently using the 30 day trial (RTM), but currently having a bit of an issue with 40k points on a plot chart (with 3 best fit lines). It eats 100% CPU (IE process) for about 3 minutes while doing it. The

FW: [flexcoders] Re: Flash player is not a debugger?

2006-06-30 Thread Daniel Tuppeny
? On Thursday 29 June 2006 16:26, Daniel Tuppeny wrote: you meant the clever stuff you see if you edit things like explorer.exe - they get copied back from a secret copy! (I even wiped that at the I thought that was that. Oh well. Stupid O/S. -- Tom Chiverton

[flexcoders] MessageLabs rejecting messages

2006-06-30 Thread Daniel Tuppeny
Anyone else have their email filtered by messagelabs? This morning I couldn't email this list because my mail had been bouncing. I signed up to Yahoo and logged in, and it said it'd had 55 messages bounce, and they all had a message that Google suggests is messagelabs rejecting it.

[flexcoders] Jason Hawryluk: Flash debug player - a workaround

2006-06-30 Thread Daniel Tuppeny
For Jason Hawryluk, and anyone else that'd been having issues getting the debug player working, I've found a way, but it's not very "nice"...! I uninstalled/reinstalled anything with no joy, so I got the release player from the Adobe site, and made sure I can run Flex projects in Run

[flexcoders] Scrollbars size binding issue

2006-06-30 Thread Daniel Tuppeny
I've got a weird problem. If I paste the following into a blank app, everything looks good: mx:VScrollBar id="vscroll" bottom="{hscroll.height}" right="0" top="0" /mx:HScrollBar id="hscroll" bottom="0" left="0" right="{vscroll.width}" / The scrollbars don't overlap, and leave a

RE: [flexcoders] Re: Jason Hawryluk: Flash debug player - a workaround

2006-06-30 Thread Daniel Tuppeny
/system32/Macromed/flash I can only find FlDbg9.ocx. I cannot reinstall my machine now !! Where are the files you are talking ? Thanks --- In flexcoders@yahoogroups.com, Daniel Tuppeny [EMAIL PROTECTED] wrote: For Jason Hawryluk, and anyone else that'd been having issues getting

RE: [flexcoders] Jason Hawryluk: Flash debug player - a workaround

2006-06-30 Thread Daniel Tuppeny
Nope, I've had very few emails sent to FlexCoders since yesterday (due to MessageLabs bouncing emails)! Thanks for re-posting it. I'll go take a look! :D From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason HawrylukSent: 30 June 2006 13:50To:

RE: [flexcoders] Jason Hawryluk: Flash debug player - a workaround

2006-06-30 Thread Daniel Tuppeny
Worked fine. Thanks :-) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel TuppenySent: 30 June 2006 14:00To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Jason Hawryluk: Flash debug player - a workaround Nope, I've had very few emails sent to

RE: [flexcoders] what kind of meaning 'bubbling'

2006-06-30 Thread Daniel Tuppeny
It's because of the way the event goes up the object model. There's a simple explanation at the bottom of this page: http://catcode.com/domcontent/events/capture.html -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jh8829 Sent: 30 June 2006

[flexcoders] Label without size doesn't display

2006-06-30 Thread Daniel Tuppeny
After changing from beta3, the following code doesn't work: var t:Text = new Text();t.text = text;t.styleName = "gradeLabel";t.selectable = false;//t.width = 200;//t.height = 100;this.addChild(t); inside my chart. Howevever, if I uncomment the width/height lines, it works fine. How

RE: [flexcoders] Faq: Migration to flex 2.0 final

2006-06-30 Thread Daniel Tuppeny
They're supposed to all be listed here: http://weblogs.macromedia.com/flexteam/archives/2006/06/flex_2_changes.c fm But since I don't see a mention of dataTip there, I've added details below. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] Scrollbar bug (with sample code)

2006-06-30 Thread Daniel Tuppeny
I thought that too. So I added a label that displayed the properties, (text="{hscroll.height}" etc.), and they all updated fine as the control rendered. I can fix it witha bodge, but I'm hoping someone can confirm a bug, or explain what I'm doing wrong :-) From:

RE: [flexcoders] Faq: Migration to flex 2.0 final

2006-06-30 Thread Daniel Tuppeny
: Migration to flex 2.0 final Add it as a comment. That's what I've been doing when I've noticed changes. On 6/30/06, Daniel Tuppeny [EMAIL PROTECTED] wrote: They're supposed to all be listed here:http://weblogs.macromedia.com/flexteam/archives/2006/06/flex_2_changes.c fmBut

RE: [flexcoders] Re: Flex Debug - I am allmost giving up - this is my last message

2006-06-30 Thread Daniel Tuppeny
Have you tried turning the Windows Firewall off while you test it? (If you're not behind a corporate firewall/nat, I'd disconnect from the web before you try). -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mvbaffa Sent: 30 June 2006 15:59

RE: [flexcoders] Upgrade issues from beta3 - rtm solved

2006-06-29 Thread Daniel Tuppeny
That wasn't actually the issue - my problem was the signature change for the dataTipFunction, which was causing an error that wasn't being seen in the release player! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel TuppenySent: 28 June 2006 17:17To:

RE: [flexcoders] Flex 2 (final) bug with showDataEffect and stacked column chart

2006-06-29 Thread Daniel Tuppeny
Do we get the source for the charts when we buy FB+charts? That would be very handy! :D We're using the trial now, but I believe there might be a purchase for a number of licenses soon :-) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ely GreenfieldSent: 29

RE: [flexcoders] Re: Flash player is not a debugger?

2006-06-29 Thread Daniel Tuppeny
a 3 player, won't work either. Uninstalled everything and back on, same problem... Can't find a debug player anywhere... JL - Original Message ----- From: Daniel Tuppeny To: [EMAIL PROTECTED]ups.com Sent: Wednesday, June 28, 2006 4:06 PM Subject: [flexcoders] Fl

RE: [flexcoders] Re: Flash player is not a debugger?

2006-06-29 Thread Daniel Tuppeny
? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: 29 June 2006 13:44 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Flash player is not a debugger? On Thursday 29 June 2006 11:47, Daniel Tuppeny wrote: I've got the same

RE: [flexcoders] Re: Flash player is not a debugger?

2006-06-29 Thread Daniel Tuppeny
Same issue here. Tried reverting to the beta 3 player, won't work either. Uninstalled everything and back on, same problem... Can't find a debug player anywhere... JL - Original Message ----- From: Daniel Tuppeny To: [EMAIL PROTECTED]ups.com Sent: Wednesday, June 28,

RE: [flexcoders] Re: Flash player is not a debugger?

2006-06-29 Thread Daniel Tuppeny
out by hand cutome install right now. Of the debug ocx jason -Message d'origine- *De :* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la part de* Daniel Tuppeny *Envoyé :* jeudi 29 juin 2006 15:01 *À :* flexcoders@yahoogroups.com

RE: [flexcoders] Flash Player 9 is here!!!

2006-06-28 Thread Daniel Tuppeny
WTF! That'll teach me not to look at the screen - Wingdings?!! QuickTime ships with an option iTunes now - and there's no checkbox (or even link) for a standalone version- you have to Google for it!!! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jonas

RE: [flexcoders] Flash Player 9 is here!!!

2006-06-28 Thread Daniel Tuppeny
Why o why does it come with an optional yahoo toolbar L It's not as bad as QuickTime - that ships with iTunes thiese days!! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jonas WindeySent: 28 June 2006 09:11To: flexcoders@yahoogroups.comSubject: RE:

[flexcoders] Beta 3- RTM Changes?

2006-06-28 Thread Daniel Tuppeny
Is there a list of Beta3 - RTM changes anywhere? Can't find a link on the adobe site :( Specifically, there doesn't seem to be a modelChangedHandler() method now? The information contained in this e-mail and/or any attachments is

RE: [flexcoders] Beta 3- RTM Changes?

2006-06-28 Thread Daniel Tuppeny
Specifically, there doesn't seem to be a modelChangedHandler() method now? I'm guessing it's dataChanged() now, since there were only 3 protected properties on ChartElement, and that's the onle difference in the lists! :) __

RE: [flexcoders] Beta 3- RTM Changes?

2006-06-28 Thread Daniel Tuppeny
/Flex:Beta_2_to_Beta_3_Changes Search for changes and it returns 0 pages, even though that page clearly has it in the title! :/ -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Tuppeny Sent: 28 June 2006 12:17 To: flexcoders@yahoogroups.com Subject: RE

[flexcoders] Flex documentation innaccurate and broken :-(

2006-06-28 Thread Daniel Tuppeny
The new flex docs haven't all been updated, and the samples no longer work. I'm having problems with getting DataTips working in the RTM version, but not having much joy. See docs here:

[flexcoders] Flash player is not a debugger?

2006-06-28 Thread Daniel Tuppeny
I upgraded my flash player to v9 this morning. Then later, I installed FlexBuilder (assuming it would replace the player, if needed). Now, when I run in debug mode, I get a message saying the current version of my flash player is not a debugger. Can I fix this? I can't see my Trace

[flexcoders] Switching workspace

2006-06-28 Thread Daniel Tuppeny
If I copy my workspace folder to a colleagues machine, and switch his workspace to that folder, no projects show up in FB. If, however, we create a project with the same name, then just delete all the files and overwrite them with mine, it works fine. Is there a reference to the

RE: [flexcoders] Flash player is not a debugger?

2006-06-28 Thread Daniel Tuppeny
Nevermind, I found a debug version in the flex folder in Program Files\Adobe - I'll try that :-) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel TuppenySent: 28 June 2006 15:07To: flexcoders@yahoogroups.comSubject: [flexcoders] Flash player is not a

RE: [flexcoders] Flash player is not a debugger?

2006-06-28 Thread Daniel Tuppeny
player anywhere... JL - Original Message - From: Daniel Tuppeny To: flexcoders@yahoogroups.com Sent: Wednesday, June 28, 2006 4:06 PM Subject: [flexcoders] Flash player is not a debugger? I upgraded my flash player to v9 this morning. Then later, I

RE: [flexcoders] Flex documentation innaccurate and broken :-(

2006-06-28 Thread Daniel Tuppeny
Anyone know how to get these working, and/or when the docs might be fixed? Comment the live doc. Adobe do read them all, and occasionally respond to them. Cool - I'll do that =) __ This email has been scanned by the

RE: [flexcoders] Re: Flash player is not a debugger?

2006-06-28 Thread Daniel Tuppeny
either. Uninstalled everything and back on, same problem... Can't find a debug player anywhere... JL - Original Message - From: Daniel Tuppeny To: flexcoders@yahoogroups.com Sent: Wednesday, June 28, 2006 4:06 PM Subject: [flexcoders] Flash player is not a debugger

RE: [flexcoders] Re: Flash player is not a debugger?

2006-06-28 Thread Daniel Tuppeny
with it. Why doesn't windows have a force delete? Grrr.! -Original Message- From: Daniel Tuppeny Sent: 28 June 2006 15:44 To: 'flexcoders@yahoogroups.com' Subject: RE: [flexcoders] Re: Flash player is not a debugger? On a colleagues machine here, it works fine. He's never had the beta installed

RE: [flexcoders] Flash player is not a debugger?

2006-06-28 Thread Daniel Tuppeny
GB here. I wondered if it might be because we chose not to install the Yahoo toolbar! ;-) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason HawrylukSent: 28 June 2006 15:14To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flash player is not a

RE: [flexcoders] Flash player is not a debugger?

2006-06-28 Thread Daniel Tuppeny
Nope, it didn't. Nothing seems to be working :( This doesn't happen on another machine here that hasn't had the beta though, so I'm sure it's left something around! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason HawrylukSent: 28 June 2006 15:23To:

RE: [flexcoders] Re: Flash player is not a debugger?

2006-06-28 Thread Daniel Tuppeny
version like this one. i honestly can't think of anything else to try.:(jason--- In [EMAIL PROTECTED]ups.com, "Daniel Tuppeny" [EMAIL PROTECTED].. wrote: On a colleagues machine here, it works fine. He's never had the beta installed. Is there something been left around fro

[flexcoders] Upgrade issues from beta3 - rtm solved

2006-06-28 Thread Daniel Tuppeny
I've solved some of the weird issues I had when moving to the RTM version, like the dataTips not working... Although I definately had the right compilers etc., there were a load of .as files in (workspace)\.metadata left over from the beta. A clean workspace seems to work fine. Still

RE: [flexcoders] Re: About dates sent to a webservice. Is this correct?

2006-06-27 Thread Daniel Tuppeny
:54. - Kelly -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Tuppeny Sent: Monday, June 26, 2006 2:41 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: About dates sent to a webservice. Is this correct? I just tested this out

RE: [flexcoders] Difference between two dates

2006-06-27 Thread Daniel Tuppeny
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Daniel Tuppeny Sent: Monday, June 26, 2006 1:03 AMTo: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Difference between two dates Since the Date class is specified by the EcmaScript-262

RE: [flexcoders] Re: Repost of bug issue over weekend

2006-06-27 Thread Daniel Tuppeny
This is crazy! I'd say this is *definitely* a bug. so it has no way to differentiate between them Yes it does - with the index. Change the list to this: mx:List id=myList dataProvider={selectedChannels} width=100 click=mx.controls.Alert.show(String(myList.selectedIndex)); / And then click on

RE: [flexcoders] Re: About dates sent to a webservice. Is this correct?

2006-06-26 Thread Daniel Tuppeny
I've read through that thread, and this hardly seems like acceptable behaviour to me. We're sending dates from a .NET web service too, and we don't care about the time. We're plotting them on a calendar. We can't afford to have dates sent as one thing, and then rolled back to the previous day

[flexcoders] Type Coercion failed Error when returning date from web service

2006-06-26 Thread Daniel Tuppeny
More date madness.Some of the dates from our web services come out as dates in Flex. However, now I'm returning a whole tree of objects, I'm having issues. The type in question is defined in the WSDL as this:s:complexType name="Event" s:complexContent mixed="false" s:extension

RE: [flexcoders] Re: About dates sent to a webservice. Is this correct?

2006-06-26 Thread Daniel Tuppeny
Title: RE: [flexcoders] Re: About dates sent to a webservice. Is this correct? This doesn't seem to work in .Net 2.0 either. I can send a date as UTC, but Flex still deals with it in the local timezone, so if we do: Alert.show(myService.myMethod.lastResult.startDate.month) We get the

RE: [flexcoders] Unsubscribe

2006-06-26 Thread Daniel Tuppeny
In the footer, it says: To unsubscribe from this group, send an email to:[EMAIL PROTECTED] :-) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of KrishnaSent: 26 June 2006 07:09To: flexcoders@yahoogroups.comSubject: [flexcoders] Unsubscribe Hi All,Can anyone tell

RE: [flexcoders] Type Coercion failed Error when returning date from web service

2006-06-26 Thread Daniel Tuppeny
I tried to recreate this with a simple example, and it didn't happen. I think the dates might be being changed to strings when passed into my component, like this: mx:Script![CDATA[[Bindable]public var dataProvider:Object;[Bindable]public var

RE: [flexcoders] Type Coercion failed Error when returning date from web service

2006-06-26 Thread Daniel Tuppeny
I think this is definately a bug. Attached is a screenshot showing my dates that are strings, and the relevant part of the WSDL (all items with string dates are of one of the types included there). The dates at the top level are fine, but those deeper down have just been changed to

[flexcoders] Web service - Bug or by design?

2006-06-26 Thread Daniel Tuppeny
I've tracked down the problem. In the returned SOAP, I have: anyType xsi:type="MyEvent" StartDate2006-06-26T15:56:11.5841401+01:00/StartDate /anyType And in the WSDL, it says MyEvent's StartDate is a date. However, I'm assuming Flex is ignoring the xsi:type party, and just treating

[flexcoders] Date constructor doesn't understand SOAP date format?

2006-06-26 Thread Daniel Tuppeny
As a workaround for the problem I posted earlier, I've just wrapped my use of Dates in new Date(x), but I've found that if you pass it something like: 2006-06-26T15:58:57.7727474+01:00 It silently doesn't work (if you wrap String() around it to alert it, it gives Invalid Date). This is the

RE: [flexcoders] Setting effects in states?

2006-06-23 Thread Daniel Tuppeny
That did it, cheers! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ely GreenfieldSent: 22 June 2006 17:27To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Setting effects in states? effects are styles. So use SetStyle instead. Ely. From:

RE: [flexcoders] SOLUTION IS A BUG ? Re: ExternalInterface Flex 2 FireFox issue.....

2006-06-23 Thread Daniel Tuppeny
I can't get this to work in FireFox, even with the change to the javascript file noted below (has anyone confirmed that as a bug, amd will it be fixed in the release?). In FireFox, I get: Error: getMovie(FlexTests).setData is not a function FlexTests is the ID, and setData is a method I added

RE: [flexcoders] SOLUTION IS A BUG ? Re: ExternalInterface Flex 2 FireFox issue.....

2006-06-23 Thread Daniel Tuppeny
document[appName][1]; // Temp dirty fix } } I also found an awful bug in Firefox as I was doing it (open attached as html in Firefox and compare to IE)! -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Tuppeny Sent: 23 June 2006 09:22

RE: [flexcoders] SOLUTION IS A BUG ? Re: ExternalInterface Flex 2 FireFox issue.....

2006-06-23 Thread Daniel Tuppeny
I also found an awful bug in Firefox as I was doing it (open attached as html in Firefox and compare to IE)! This is why innerHTML isn't in the standard - trying to be bug compatable with IE is a silly game to start :-) bug compatible with IE? I don't understand. IE does innerHTML

[flexcoders] Difference between two dates

2006-06-23 Thread Daniel Tuppeny
I'm struggling to get the difference between two dates in months... I want to input something like Jan 1st and July 18th, and get something like 7.5 out. I tried using .getTime() and then creating a date from the result, but that's not accurate because of variable length months. I

RE: [flexcoders] Difference between two dates

2006-06-23 Thread Daniel Tuppeny
I think I need more coffee The following code (which I'm sure is correct!), returns around 2.8 when I'm expecting around 3.2. Anyone spot my error? public static function getMonths(startDate:Date, endDate:Date):Number{if (startDate endDate){var tmp:Date = endDate;endDate =

RE: [flexcoders] Difference between two dates

2006-06-23 Thread Daniel Tuppeny
I was using .day instead of .date TFI Friday! =) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel TuppenySent: 23 June 2006 15:33To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Difference between two dates I think I need more coffee The

RE: [flexcoders] Difference between two dates

2006-06-23 Thread Daniel Tuppeny
: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Difference between two dates I swear, I really think the date class was designed by a crazy man. You hear that Adobe? - CRAZY! :D On 6/23/06, Daniel Tuppeny [EMAIL PROTECTED] wrote: I was using .day instead of .date TFI

RE: [flexcoders] Difference between two dates

2006-06-23 Thread Daniel Tuppeny
things like date.date += 12 I didn't know that. That's certainly a bit better! I was frustrated there was no AddDays() etc.! Yes, yes, I know you can do the getTime() arithmetic You can't. Because once you detach the length of time from the actual dates, you can't figure out the

RE: [flexcoders] Binding chart to XML

2006-06-22 Thread Daniel Tuppeny
Cheers Ely, that works great! I had to change it slightly, because the reason my XML was in a string, is that it'll be provided externally. I just added: myXml = new XML(sXML); instead of using the XmlUtil stuff. Thanks! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

RE: [flexcoders] Is the Weblogs site down for anyone else ?

2006-06-22 Thread Daniel Tuppeny
Seems to be working fine here! -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sourcecoderia Sent: 22 June 2006 08:11 To: flexcoders@yahoogroups.com Subject: [flexcoders] Is the Weblogs site down for anyone else ? http://weblogs.macromedia.com/

[flexcoders] Setting effects in states?

2006-06-22 Thread Daniel Tuppeny
I may have understood this all wrong, but here goes. I've got a pie chart, and I want to change the showDataEffect on the series, after the initial load (SeriesZoom for initial load, but SeriesInterpolate on change of data). I tried adding this as a state: mx:State

RE: [flexcoders] Re: ACcess SOAP fault code

2006-06-21 Thread Daniel Tuppeny
I wasn't thinking to use the fault handler, I was just planning on every response being an object with an error property that will usually be null, and checking for it myself. Your idea would be much nicer, but I doubt it's possible, since we're pretending everything worked fine. Maybe changing

[flexcoders] Binding chart to XML

2006-06-21 Thread Daniel Tuppeny
I'm trying to bind a chart to an XML document, like this: /* Script */ var sXML:String = '\ data\ item name=Aaa val=6 /\ item name=Bbb val=46 /\ item name=Ccc val=16 /\ /data\ '; gXMLDoc =

RE: [flexcoders] Binding chart to XML

2006-06-21 Thread Daniel Tuppeny
I wasn't deliberately using E4X (I don't really know what it is!!). I thought I was using XML! :-) I added an @ and get the same issue: "Property @val not found on flash.xml.XMLNode and there is no default value." Any ideas? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]

[flexcoders] Flex XML dataislands

2006-06-20 Thread Daniel Tuppeny
Is it possible to get at the document object model from within flex, or at least, xml data islands in the page? Eg., something like this: body xml id="#chartData" mydata name="1" value="15" / mydata name="2" value="1" / mydata name="3" value="45" / /xml object flex-blah here

RE: [flexcoders] Flex XML dataislands

2006-06-20 Thread Daniel Tuppeny
I'd never seen any external interface, but I just looked it up in Google, and it looks pretty wicked - that'll certainly be able to do what we need! Thanks! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason HawrylukSent: 20 June 2006 13:02To:

RE: [flexcoders] Access SOAP fault code

2006-06-20 Thread Daniel Tuppeny
This sounds pretty worrying. We're using SOAP without any server/proxy.So wewon't be able to get theSOAP exceptions at all? That sounds like rather a fundamental flaw. It means we're unable to give the user any sensible messages, because we don't have the exception type. Is this not

RE: [flexcoders] Access SOAP fault code

2006-06-20 Thread Daniel Tuppeny
We're using .NET web services, no cold fusion. Looks like we'll have to wrap all responses in try/catch, and return an object with an error property, and the actual data as another property. Disgusting :-( From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carson

RE: [flexcoders] Access SOAP fault code

2006-06-20 Thread Daniel Tuppeny
We've not got many implementations so far, so there's not a great deal to change, it's the fact that it's messy thatI don't like, rather than there's more work involved. Having real exceptions sent back to the client is way more convenient than try/catch'ing everything and returning a

RE: [flexcoders] Access SOAP fault code

2006-06-20 Thread Daniel Tuppeny
We can add HttpHandlers and HttpModules that would allow us to intercept what's going out. It'll have an impact on performance, but it might be worth it! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dirk EismannSent: 20 June 2006 14:33To:

RE: [flexcoders] Access SOAP fault code

2006-06-20 Thread Daniel Tuppeny
Cool, I thought it just copied the one from IE! In any case, I guess the WinForms onewould be different. Thanks :-) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carson HagerSent: 20 June 2006 15:01To: flexcoders@yahoogroups.com;

RE: [flexcoders] Flash Video Crash Frequency Becoming Alarming

2006-06-20 Thread Daniel Tuppeny
You should be able to find the swf in your temp internet files folder. (Might be an idea to clear it, then visit the site, so there's less to search through). If you can find it, and it happens every time, you've got something to send to Adobe or get others try. On XP, it's usually at:

RE: [flexcoders] How to recover from 'cleaning' project?

2006-06-19 Thread Daniel Tuppeny
I'm sure that's the corect behaviour. Mine also completely wipes the bin folder. The HTML files get copied back from the html-template folder when I next build. If I delete that folder, then I get compile errors and the rebuild option. You shouldn't get compile errors with an empty bin

RE: [flexcoders] How to recover from 'cleaning' project?

2006-06-19 Thread Daniel Tuppeny
for developers using Flex, but it's not totally obvious caught me out through the "cleaning" process! doh!:-/Daniel Tuppeny wrote: I'm sure that's the corect behaviour. Mine also completely wipes the bin folder. The HTML files get copied back from the html-template folder when I

RE: [flexcoders] how to assign itemRenderer w/ActionScript

2006-06-19 Thread Daniel Tuppeny
It doesn't make sense to me, and I'm a programmer :-) Why would ItemRenderers by styles on some objects, and not on others? It's just asking for confusion! :-/ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael SchmalleSent: 19 June 2006 16:30To:

RE: [flexcoders] How to recover from 'cleaning' project?

2006-06-19 Thread Daniel Tuppeny
" I didn't take from that that it would build the project from old resources - to me it's not continuing the launch emI/em initiated, but fetching up some old stuff and why would I want that?!Boils down to semantics I guess . . . .:-/Daniel Tuppeny wrote: it's like it's got a ca

  1   2   >