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] 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: 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] 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

[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] 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] 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

[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] 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] 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] 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] Flipping vertical scrollbars on left hand edge?

2006-06-09 Thread Daniel Tuppeny
The default VScrollBar component in flex isn't symetrical - it has rounded corners on the "outside edge". Is there a way to flip this over, because my scrollbar is on the left hand side (next to the axis of a chart), and it just doesn't look quite right. I tried setting rotation="180",

[flexcoders] Flipping vertical scrollbars on left hand edge?

2006-06-09 Thread Daniel Tuppeny
The default VScrollBar component in flex isn't symetrical - it has rounded corners on the "outside edge". Is there a way to flip this over, because my scrollbar is on the left hand side (next to the axis of a chart), and it just doesn't look quite right. I tried setting rotation="180",

RE: [flexcoders] Flipping vertical scrollbars on left hand edge?

2006-06-12 Thread Daniel Tuppeny
Sometime "the right way" is overrated :-) Scale works great, though I have to offset the position to account for it. Not awesome, but hey, that's what "//Hack: " comments are for! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ely GreenfieldSent: 09 June 2006

RE: [flexcoders] Flipping vertical scrollbars on left hand edge?

2006-06-13 Thread Daniel Tuppeny
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael SchmalleSent: 12 June 2006 14:21To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flipping vertical scrollbars on left hand edge? Ha,Ely is the engineer and if there is a //HACK , he woudl know it ;-)Peace, Mike On 6/12/

RE: [flexcoders] Mx.controls.Alert confusion

2006-06-13 Thread Daniel Tuppeny
I had the same thing, but I was alerting to variables (both numbers), and it was messing with my head! It seems that Alert.show() is not modal. It looks it, but it doesn't halt exectuion until you click OK, so what's actually happening, is that the second alert box is popping up over the first

RE: [flexcoders] IDE horizontal scrolling problems

2006-06-13 Thread Daniel Tuppeny
I had a very similar problem with the Laszlo IDE (also Eclipse), so it might be more of an Eclipse problem than FlexBuilder. Laslzo's has far major issues though, like not being able to select text with either the mouse or keyboard about 95% of the time! From: flexcoders@yahoogroups.com

RE: [flexcoders] IDE horizontal scrolling problems

2006-06-13 Thread Daniel Tuppeny
Not only this, but the intellisense appears across monitors (half on each) if you have two, with a long line! -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: 13 June 2006 14:45 To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Chart - How to set up color on series ? Bug ?

2006-06-14 Thread Daniel Tuppeny
Does this mean that typos in styles will now only be caught at runtime, rather than compile time? To me, the old methods looksnicer :-) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ely GreenfieldSent: 14 June 2006 17:13To: flexcoders@yahoogroups.comSubject:

RE: [flexcoders] Chart - How to set up color on series ? Bug ?

2006-06-15 Thread Daniel Tuppeny
In that case, it does make sense. Is there any enumuration (or constants) of the styles, so we could do something like: pieSeries.setStyle(Style.Fill, "...") I noticed some of the Events have been included like this (though some of them, like CreationComplete, I couldn't find, so I'm

RE: [flexcoders] DTD Schema for Flex 2

2006-06-15 Thread Daniel Tuppeny
MXML *looks* XML compliant to me. If it's not, it certainly shouldn't have XML in its name, or an xml decleration at the top!! __ This email has been scanned by the MessageLabs Email Security System. For more information please

RE: [flexcoders] where's the best place to report bugs?

2006-06-15 Thread Daniel Tuppeny
When you log in to where you downloaded the beta (mmbeta.macromedia.com?), I think there's a bug tracker link on the left. You have to log in again as it's another system (same details though) :-) -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

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

2006-06-15 Thread Daniel Tuppeny
I may not have understood properly, but when I did a similar thing, it told me to right-click on the message in the Problems pane, anc hoose the "regenerate html" option! Also, there's a Project - Clean option which clears out the compiled stuff without deleting the html templates :-)

RE: [flexcoders] Re: printing/zooming bugs

2006-06-15 Thread Daniel Tuppeny
I've not tried printing, but the Zoom In/Zoom Out is definitely broken on all our versions of the Flash Player 9 beta here - does exactly as you described! -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason Sent: 14 June 2006 22:16 To:

RE: [flexcoders] DTD Schema for Flex 2

2006-06-15 Thread Daniel Tuppeny
I'm confused too. If it's XML (which I assume it is, because it has xml tags and namespaces!), then why can't they write a DTD? If there's anything in their that wouldn't fit into a DTD, then surely it's not valid XML either? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]

RE: [flexcoders] where's the best place to report bugs?

2006-06-15 Thread Daniel Tuppeny
, thought to let you know :) -abdul On 6/15/06, Daniel Tuppeny [EMAIL PROTECTED] wrote: When you log in to where you downloaded the beta(mmbeta.macromedia.com?), I think there's a bug tracker link on theleft. You have to log in again as it's another system (same

RE: [flexcoders] Session Management

2006-06-16 Thread Daniel Tuppeny
Can't you save the data in a cookie? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sreedhar reddySent: 16 June 2006 11:23To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Session Management Hi Abdul, Thanks for your reply. What I meant by maintain

RE: [flexcoders] Session Management

2006-06-16 Thread Daniel Tuppeny
That's what I meant to say! ;o) I didn't have this reply when I replied - I seem to be getting these emails hours later than they're sent lately! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carlos RoviraSent: 16 June 2006 13:33To:

RE: [flexcoders] Session Management

2006-06-16 Thread Daniel Tuppeny
ubject: Re: [flexcoders] Session Management In Flash/Flex world the cookies are SharedObjects, you can do all you used to do with old cookies plus much more...please read the docs about this feature. On 6/16/06, Daniel Tuppeny [EMAIL PROTECTED] wrote: Can't you sav

RE: [flexcoders] HDivideBox problem in Flex2 Beta 3

2006-06-16 Thread Daniel Tuppeny
The source? Do we have access to the source of the components, or do you mean something else? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael SchmalleSent: 16 June 2006 13:46To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] HDivideBox problem in

RE: [flexcoders] Can we move Flexcoders to a new forum??

2006-06-16 Thread Daniel Tuppeny
What about NNTP? It was built for this kinda thing!! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael SchmalleSent: 16 June 2006 15:20To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Can we move Flexcoders to a new forum?? Steven,You know some

RE: [flexcoders] HDivideBox problem in Flex2 Beta 3

2006-06-16 Thread Daniel Tuppeny
3\Flex SDK 2.0\frameworks\source\mxPeace, Mike On 6/16/06, Daniel Tuppeny [EMAIL PROTECTED] wrote: The source? Do we have access to the source of the components, or do you mean something else? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]

RE: [flexcoders] Can we move Flexcoders to a new forum??

2006-06-16 Thread Daniel Tuppeny
2006 15:54To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Can we move Flexcoders to a new forum?? For those that live in a cave, IE NewHampshire,what is NNTP? On 6/16/06, Daniel Tuppeny [EMAIL PROTECTED] wrote: What about NNTP? It was built for this kinda thing

RE: [flexcoders] Re: Can we move Flexcoders to a new forum??

2006-06-16 Thread Daniel Tuppeny
Posts are moderated? That would explain why I'm seeing a huge delay, but I thought it was down to Yahoo or our Exchange server being slow! -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason Sent: 16 June 2006 15:49 To:

RE: [flexcoders] Can we move Flexcoders to a new forum??

2006-06-16 Thread Daniel Tuppeny
transformed from NNTP and become what it is today. On 6/16/06, Michael Schmalle [EMAIL PROTECTED] wrote: For those that live in a cave, IE NewHampshire,what is NNTP? On 6/16/06, Daniel Tuppeny [EMAIL PROTECTED] wrote: What about

RE: [flexcoders] Can we move Flexcoders to a new forum??

2006-06-16 Thread Daniel Tuppeny
[mailto:[EMAIL PROTECTED] On Behalf Of Jeremy LuSent: 16 June 2006 15:55To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Can we move Flexcoders to a new forum?? gmail++great searching and listing :-) On 6/16/06, Daniel Tuppeny [EMAIL PROTECTED] wrote: What about NNTP

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

[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] 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]

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] 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] 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] 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] 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:

  1   2   >