[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 javascript that
relies on the movie not being inside forms, when you use
ExternalInterface.

 

Eg.

 

Create a new flex project like this:

 

?xml version=1.0 encoding=utf-8?

mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute creationComplete=initApp();

 

mx:Script

![CDATA[

public function initApp():void

{

// Add interface so
Javascript can call our setData method

ExternalInterface.addCallback(setData, setData);

}



public function
setData(sXml:String):void

{

// Do nothing

}

]]

/mx:Script



/mx:Application

 

It simply registers a method than be called in javascript. If you run
this, you'll just get a blank flex app. Now open the index.template.html
file, and add form tags immediately inside the body tag:

 

body

form

 

// rest of page //

 

/form

/body

 

Now try running it again. You'll get a javascript error to the effect of
'FormTestProject' is undefined. It comes from this code (I don't know
if this comes form Flex or the FP) which gets loaded into the document:

 

function __flash_unloadHandler() {

  FormTestProject.style.display = 'none';

  // Snip

}

 

Note that FormTestProject is not wrapped in document.getElementById().
This seems to work by fluke when the object is in the main page, but
when inside a form, it doesn't.

 

I can't find anyone else having this issue on flexcoders (though
searching for form returns anything containing formatting, etc.
etc.!), which kinda surprises me, given it's a big show stopper for
anyone using asp.net and ExternalInterface.

 

Anyone else hit this problem? Any workarounds?

 

Thanks,

 

Danny

The information contained in this e-mail and/or any attachments is confidential 
and intended only for the individual(s) to which it is addressed. If you are 
not named as an addressee you must not disclose, copy or take any action in 
reliance of this transmission. This e-mail and its attachments have been 
scanned for viruses by MessageLabs Ltd.

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

[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 SWFObject (like us), you put it just after the .write()
code:

 

var so = new SWFObject('Flash/DashboardRadarChart.swf', 'radarChart',
700, 350, 9, '#FF');

so.write('flashWrapper');

var radarChart = document.getElementById('radarChart');

 

If there's a bug tracker or somewhere I can raise this, let me know and
I'll go file it.

 

Danny

The information contained in this e-mail and/or any attachments is confidential 
and intended only for the individual(s) to which it is addressed. If you are 
not named as an addressee you must not disclose, copy or take any action in 
reliance of this transmission. This e-mail and its attachments have been 
scanned for viruses by MessageLabs Ltd.

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

[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 to
ColumnWidthRatio and BarSeries to ColumnSeries but the chart looks
completely different (only showing two columns, instead of the 10 in my
data, and they're 50% wide each). I tried fiddling with some of the
other numbers, but got nowhere.

 

Are Bar and Column charts supposed to be the same, but rotated? If not,
is there a nice way to rotate the bar chart so the bars are vertical?

 

Thanks

The information contained in this e-mail and/or any attachments is confidential 
and intended only for the individual(s) to which it is addressed. If you are 
not named as an addressee you must not disclose, copy or take any action in 
reliance of this transmission. This e-mail and its attachments have been 
scanned for viruses by MessageLabs Ltd.

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

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 I'm guessing he's in the US, and it'd be good to
get a start on them this morning :-)

 

Thanks,

 

Danny

The information contained in this e-mail and/or any attachments is confidential 
and intended only for the individual(s) to which it is addressed. If you are 
not named as an addressee you must not disclose, copy or take any action in 
reliance of this transmission. This e-mail and its attachments have been 
scanned for viruses by MessageLabs Ltd.

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

[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

The information contained in this e-mail and/or any attachments is confidential 
and intended only for the individual(s) to which it is addressed. If you are 
not named as an addressee you must not disclose, copy or take any action in 
reliance of this transmission. This e-mail and its attachments have been 
scanned for viruses by MessageLabs Ltd.

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

[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
canvas, widths on the legend. I can only make it scroll both ways, or clip the
end off long items. Is there any way to force it to wrap legend items onto the next
line?



Thanks





__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___





[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 build file, and when I try referencing 
thesource folders and removing the reference to charts.swc, I just 
getloads of errors (such as mx:Application and mx:PieChart not 
beingvalid, even though they still appear in the intellisense.How 
can I get these changes to the default colours into my project? Ifthere's a 
better way (I'd rather not modify the source on 5 developermachines, but I 
don't want to have to write loads of code 
either).Thanks


The information contained in this e-mail and/or any attachments is confidential and intended only for the individual(s) to which it is addressed. If you are not named as an addressee you must not disclose, copy or take any action in reliance of this transmission. This e-mail and its attachments have been scanned for viruses by MessageLabs Ltd.








__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[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 having 
trouble with is the myChart.dataProvider line - I've tried .children, .data, 
.item, .data.item etc. etc. and cannot get the chart to appear 
properly.

Does anyone know how 
to fix this?

Thanks


mx:Script![CDATA[ 
import mx.controls.Alert;

public function 
setData(sXml:String):void{var x:XML = new 
XML(sXml);myChart.dataProvider = 
x;}public function 
initApp():void{ 
ExternalInterface.addCallback("setData", 
setData); 
setData("dataitem name=\"danny\" val=\"10\" /item 
name=\"danny2\" val=\"10\" //data");}

 
]]/mx:Script  
mx:PieChart id="myChart" top="0" left="0" width="100%" height="100%" 
showDataTips="true" 
mx:series mx:PieSeries 
labelPosition="callout" field="val" nameField="name" / 
/mx:series 
/mx:PieChart


The information contained in this e-mail and/or any attachments is confidential and intended only for the individual(s) to which it is addressed. If you are not named as an addressee you must not disclose, copy or take any action in reliance of this transmission. This e-mail and its attachments have been scanned for viruses by MessageLabs Ltd.








__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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 mx:PieSeries 
labelPosition="callout" field="val" nameField="name" / 
/mx:series 
/mx:PieChart

It just draws a weird triangle. Anyone see my 
error?

Thanks,

Danny

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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

2006-07-26 Thread Daniel Tuppeny

I don't understand your response. If the user chooses not to filter the
data (and therefore, gets 40k points), IE locks up big time (stops
responding to paint messages) while the Series runs through its
updateDisplayList() (and intensive task with 40k interations). I need to
loop, every, say, 500 iterations, to give some time back to IE for
responding to messages - otherwise the whole of IE goes white.

In .NET, you can call Application.DoEvents(), which processes messages
sat on the queue (like paint messages), which would stop this problem.

I need an equivilent in Flex, that I can call when I'm in the middle of
a lot of processing, to allow FP/IE to respond. Otherwise, anything that
requres a loop that'll take some time, will always cripple IE (and
ultimately tell the user IE is (Not Repsonding) in the title bar).

 

-Original Message-
From: flexcoders@yahoogroups.com [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 nicely if someone doesn't filter the data, and stopping IE 
 form painting is not very nice.

Why not just not let the use choose no filtering ?

--
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England
and Wales under registered number OC307980 whose registered office
address is at St James's Court Brown Street Manchester M2 2JF.  A list
of members is available for inspection at the registered office. Any
reference to a partner in relation to Halliwells LLP means a member of
Halliwells LLP. Regulated by the Law Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and
may be confidential or legally privileged.  If you are not the addressee
you must not read it and must not use any information contained in nor
copy it nor inform any person other than Halliwells LLP or the addressee
of its existence or contents.  If you have received this email in error
please delete it and notify Halliwells LLP IT Department on 0870 365
8008.

For more information about Halliwells LLP visit www.halliwells.com.



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links



 



[Inbound Mail Scanned by MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/3EuRwD/bOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




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

2006-07-26 Thread Daniel Tuppeny

Should I really be painting onto the graphics object outside of
updateDisplayList?

Seems a rather dirty way to do it, but it might work. I'd have to start
the timer in updateDisplayList, and have it render the first x points,
and then set the timer for the next x points , etc. And reset the whole
thing up updateDisplayList gets called again.

I'll play around with it if I can't come up with anything better before
I need to fix it!


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ralf Bokelberg
Sent: 26 July 2006 09:47
To: flexcoders@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 your response. If the user chooses not to filter 
 the data (and therefore, gets 40k points), IE locks up big time (stops

 responding to paint messages) while the Series runs through its
 updateDisplayList() (and intensive task with 40k interations). I need 
 to loop, every, say, 500 iterations, to give some time back to IE for 
 responding to messages - otherwise the whole of IE goes white.

 In .NET, you can call Application.DoEvents(), which processes messages

 sat on the queue (like paint messages), which would stop this problem.

 I need an equivilent in Flex, that I can call when I'm in the middle 
 of a lot of processing, to allow FP/IE to respond. Otherwise, anything

 that requres a loop that'll take some time, will always cripple IE 
 (and ultimately tell the user IE is (Not Repsonding) in the title
bar).



 -Original Message-
 From: flexcoders@yahoogroups.com [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 nicely if someone doesn't filter the data, and stopping IE 
  form painting is not very nice.

 Why not just not let the use choose no filtering ?

 --
 Tom Chiverton

 

 This email is sent for and on behalf of Halliwells LLP.

 Halliwells LLP is a limited liability partnership registered in 
 England and Wales under registered number OC307980 whose registered 
 office address is at St James's Court Brown Street Manchester M2 2JF.

 A list of members is available for inspection at the registered 
 office. Any reference to a partner in relation to Halliwells LLP means

 a member of Halliwells LLP. Regulated by the Law Society.

 CONFIDENTIALITY

 This email is intended only for the use of the addressee named above 
 and may be confidential or legally privileged.  If you are not the 
 addressee you must not read it and must not use any information 
 contained in nor copy it nor inform any person other than Halliwells 
 LLP or the addressee of its existence or contents.  If you have 
 received this email in error please delete it and notify Halliwells 
 LLP IT Department on 0870 365 8008.

 For more information about Halliwells LLP visit www.halliwells.com.



 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links







 [Inbound Mail Scanned by MessageLabs]

 __
 This email has been scanned by the MessageLabs Email Security System.
 For more information please visit http://www.messagelabs.com/email 
 __



 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links









--
Ralf Bokelberg [EMAIL PROTECTED] Flex  Flash Consultant based
in Cologne/Germany



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 



[Inbound Mail Scanned by MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/7EuRwD/fOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group

[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 = 
new Quadratic();payChart.annotationElements.push(bfl);bfl.dataProvider = 
pmService.GetBestFitLines.lastResult.QuadraticBestFit;
// Added to try and 
force things to 
update!payChart.invalidateDisplayList();payChart.invalidateProperties();payChart.invalidateSeriesStyles();

But the best fit 
line never appears. I can't provide the source for Quadratic, because there are 
many base classes, but it's basically a class inheriting from ChartElement which 
does some drawing in updateDisplayList!

Am I doing something 
wrong?


The information contained in this e-mail and/or any attachments is confidential and intended only for the individual(s) to which it is addressed. If you are not named as an addressee you must not disclose, copy or take any action in reliance of this transmission. This e-mail and its attachments have been scanned for viruses by MessageLabs Ltd.








__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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 
works!


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel 
TuppenySent: 26 July 2006 10:24To: 
flexcoders@yahoogroups.comSubject: [flexcoders] Adding 
annotationElements programatically


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 = 
new Quadratic();payChart.annotationElements.push(bfl);bfl.dataProvider = 
pmService.GetBestFitLines.lastResult.QuadraticBestFit;
// Added to try and 
force things to 
update!payChart.invalidateDisplayList();payChart.invalidateProperties();payChart.invalidateSeriesStyles();

But the best fit 
line never appears. I can't provide the source for Quadratic, because there are 
many base classes, but it's basically a class inheriting from ChartElement which 
does some drawing in updateDisplayList!

Am I doing something 
wrong?


The 
information contained in this e-mail and/or any attachments is confidential and 
intended only for the individual(s) to which it is addressed. If you are not 
named as an addressee you must not disclose, copy or take any action in reliance 
of this transmission. This e-mail and its attachments have been scanned for 
viruses by MessageLabs Ltd. 

 
__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__ [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[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 to an array of ChartElements. When it loads, the checkboxes 
are correctly checked (because my ChartElements are visible). However, unticking 
the checkbox does not set the visible property of my ChartElement to 
false.

I'm trying to have a 
list of the best fit lines on my chart, which can be toggled by the user with a 
list of tickboxes.

Any 
ideas?

Thanks


The information contained in this e-mail and/or any attachments is confidential and intended only for the individual(s) to which it is addressed. If you are not named as an addressee you must not disclose, copy or take any action in reliance of this transmission. This e-mail and its attachments have been scanned for viruses by MessageLabs Ltd.








__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[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 every, say 500th 
iteration, so IE doesn't turn into a big white space while the points 
render?

I know 40k points 
isn't particularly useful, but our app has to degrade nicely if someone doesn't 
filter the data, and stopping IE form painting is not very 
nice.

Thanks,

Danny 
Tuppeny


The information contained in this e-mail and/or any attachments is confidential and intended only for the individual(s) to which it is addressed. If you are not named as an addressee you must not disclose, copy or take any action in reliance of this transmission. This e-mail and its attachments have been scanned for viruses by MessageLabs Ltd.








__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   



  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[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 my PlotSeries to re-draw too. This means, 
when I have 1000 points on my chart, the draggable box is very 
sluggish.

I thought a 
control's updateDisplayList() would only be called if something on that actual 
control changed?

Thanks,

Danny


The information contained in this e-mail and/or any attachments is confidential and intended only for the individual(s) to which it is addressed. If you are not named as an addressee you must not disclose, copy or take any action in reliance of this transmission. This e-mail and its attachments have been scanned for viruses by MessageLabs Ltd.








__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



RE: [flexcoders] Re: printing/zooming bugs

2006-07-25 Thread Daniel Tuppeny





I was playing with your code, and discovered you don't need 
to create a new context menu, just call hideBuiltInItems() on the existing 
one:



function init:void()
{
 
contextMenu.hideBuiltInItems();
}


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Pan 
TroglodytesSent: 18 July 2006 00:14To: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: 
printing/zooming bugs
I know this was asked a long time ago, but somehow I must have missed 
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 (or at least the zoom part)? 
  Wehave a zoomable graph, and if the user right-clicks, they see 
  Zoom,think it's ours, click it, and then they're stuffed until reloading 
  thepage!
  -Original 
  Message-From: flexcoders@yahoogroups.com [mailto: 
  flexcoders@yahoogroups.com] OnBehalf Of JasonSent: 29 June 2006 
  17:50To: flexcoders@yahoogroups.comSubject: [flexcoders] Re: 
  printing/zooming bugsUnfortunately, it looks like the Zoom bug is 
  still there in the releaseversion. I've entered it into the bug report 
  page. But be aware.--- In flexcoders@yahoogroups.com, "Jason" [EMAIL PROTECTED] 
  wrote:  Before I start talking about bugs, let me just say 
  thanks for the  help. I demoed to the boss today and he was VERY 
  pleased. Flex was a big hit with him. Hope the release doesn't 
  slip too far behind, as  we're looking forward to writing that check! 
  :D  Anyway, I've had a couple of problems that seem to be 
  related. In  Flex 2beta3, whenever I create any app and run it, the 
  Flash player's  Zoom options are broken. Right-click and say Zoom In. 
  Right-click  and the Zoom Out option is not shown. You can Zoom In 
  more and THEN  Zoom Out, but not all the way out. You're stuck with it 
  zoomed in. And you can't pan around. This doesn't happening using the 
  beta  player with non-Flex SWFs.  The printing problem 
  seems similar. Here's my example app:  ?xml version="1.0" 
  encoding="utf-8"? mx:Application  xmlns:mx="http://www.adobe.com/2006/mxml" 
  layout="absolute" mx:Script ![CDATA[ 
  private function printClick(e:Event):void { import 
  flash.printing.PrintJob; var myPrintJob:PrintJob = new 
  PrintJob(); myPrintJob.start() ; 
  myPrintJob.addPage(this); myPrintJob.send(); } 
  ]] /mx:Script  mx:Button label="Print" 
  click="printClick(event)" width="481" x="10" y="10"/ 
  mx:DataGrid y="40" x="10" width="481"  
  mx:dataProvider mx:ArrayCollection 
  mx:source mx:Object 
  mx:ArtistPavement/mx:Artist 
  mx:Price11.99/mx:Price mx:AlbumSlanted and 
  Enchanted/mx:Album /mx:Object 
  mx:Object mx:ArtistPavement/mx:Artist 
  mx:AlbumBrighten the Corners/mx:Album 
  mx:Price11.99/mx:Price /mx:Object 
  /mx:source /mx:ArrayCollection 
  /mx:dataProvider /mx:DataGrid 
  /mx:Application   If you click on the print 
  button, you get a zoomed in printed  document. Just like the whole 
  right-click and Zoom In problem. It's  like the player thinks that the 
  normal size is zoomed in.  Can I get some confirmation or 
  denial of the bug? Or if there's  something somehow messed up with my 
  system, let me know.  Thanks.
   Yahoo! Groups Sponsor 
  ~--Check out the new improvements in Yahoo! Groups 
  email.http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM 
  --~- 

  --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  
  Yahoo! Groups Links[Inbound Mail Scanned by 
  MessageLabs]__This 
  email has been scanned by the MessageLabs Email Security System.For more 
  information please visit http://www.messagelabs.com/email 
  __
  -- Jason  [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   



  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



RE: [flexcoders] invalidateDisplayList()

2006-07-25 Thread Daniel Tuppeny






That's not really a suitable fix. The 
invalidateDisplayList()/updateDisplayList() effectively does that already. 
updateDisplayList() on gets called if it's been invalidated. My problem is that 
when I call invalidateDisplayList() inside my charts annotation class, it also 
causes my PlotSeries to be invalidated, and redraw.

I can work around it, but I'm not sure if this is supposed 
to happen, or there is an error in my code. If calling invalidateDisplayList() 
is supposed to invalidate the entire application tree (include parents, siblings 
and children), then I will have to change my PlotSeries.updateDisplayList() to 
draw to a new graphics object, and just feed that up unless I know the data has 
changed. I'm not convinced the behaviour I'm seeing is correct though 
:-(

Surely invalidating one object should just cause itself 
(and children) to be redrawn?


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Jeremy 
LuSent: 25 July 2006 14:53To: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] 
invalidateDisplayList()
In your updateDisplayList() function, you can add an "if" 
clause to detect which part should be redrawn.Something 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 similar to Ely 
  Greenfield's RangeSelector class ( 
  http://demo.quietlyscheming.com/overlayDemo/), but the mousemove event 
  seems to cause my PlotSeries to re-draw too. This means, when I have 1000 
  points on my chart, the draggable box is very sluggish.
  
  I thought a control's updateDisplayList() 
  would only be called if something on that actual control 
  changed?
  
  Thanks,
  
  Danny
  
  
  The 
  information contained in this e-mail and/or any attachments is confidential 
  and intended only for the individual(s) to which it is addressed. If you are 
  not named as an addressee you must not disclose, copy or take any action in 
  reliance of this transmission. This e-mail and its attachments have been 
  scanned for viruses by MessageLabs Ltd. 
  
   
  __This 
  email has been scanned by the MessageLabs Email Security System.For more 
  information please visit http://www.messagelabs.com/email 
  __
   [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



RE: [flexcoders] Re: printing/zooming bugs

2006-07-19 Thread Daniel Tuppeny





It's still present here.

I can right-click - Zoom In, and it correctly zooms in. 
When I then right-click - Zoom Out, it only zooms out a little, but a tick 
appears next to "Show All" and Zoom Out greys out. Leaving me still partly 
zoomed in (and missing the outside of my application), unable to get 
back.

I'm definately using the release player 
:-(


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Samuel 
ReubenSent: 19 July 2006 05:52To: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: 
printing/zooming bugs

The zoom in, zoom out 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 Behalf Of Pan 
  TroglodytesSent: 18 July 2006 00:14To: flexcoders@yahoogroups.comSubject: Re: 
  [flexcoders] Re: printing/zooming bugs
  
  
  I know this was asked a long time ago, but somehow I must have 
  missed 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 (or at least the zoom part)? 
Wehave a zoomable graph, and if the user right-clicks, they see 
Zoom,think it's ours, click it, and then they're stuffed until reloading 
the page!
-Original Message-From: flexcoders@yahoogroups.com [mailto: 
flexcoders@yahoogroups.com] OnBehalf Of JasonSent: 29 June 2006 
17:50To: flexcoders@yahoogroups.comSubject: [flexcoders] Re: 
printing/zooming bugsUnfortunately, it looks like the Zoom bug is 
still there in the releaseversion. I've entered it into the bug report 
page. But be aware. --- In flexcoders@yahoogroups.com , "Jason" [EMAIL PROTECTED] 
wrote:  Before I start talking about bugs, let me just say 
thanks for the  help. I demoed to the boss today and he was VERY 
pleased. Flex was a big hit with him. Hope the release doesn't 
slip too far behind, as  we're looking forward to writing that 
check! :D  Anyway, I've had a couple of problems that seem 
to be related. In  Flex 2beta3, whenever I create any app and run 
it, the Flash player's  Zoom options are broken. Right-click and say 
Zoom In. Right-click  and the Zoom Out option is not shown. You can 
Zoom In more and THEN  Zoom Out, but not all the way out. You're 
stuck with it zoomed in.  And you can't pan around. This doesn't 
happening using the beta  player with non-Flex SWFs. 
 The printing problem seems similar. Here's my example app: 
 ?xml version=" 1.0" encoding="utf-8"? mx:Application 
 xmlns:mx=" 
http://www.adobe.com/2006/mxml" layout="absolute" 
mx:Script ![CDATA[ private function 
printClick(e:Event):void { import flash.printing.PrintJob; 
var myPrintJob:PrintJob = new PrintJob(); myPrintJob.start() 
; myPrintJob.addPage(this); myPrintJob.send(); 
} ]] /mx:Script  mx:Button 
label="Print" click="printClick(event)" width="481"  x="10" 
y="10"/ mx:DataGrid y="40" x="10" width="481"  
mx:dataProvider mx:ArrayCollection 
mx:source  mx:Object 
mx:ArtistPavement/mx:Artist 
mx:Price11.99/mx:Price mx:AlbumSlanted and 
Enchanted/mx:Album /mx:Object 
mx:Object  
mx:ArtistPavement/mx:Artist mx:AlbumBrighten 
the Corners/mx:Album 
mx:Price11.99/mx:Price /mx:Object 
/mx:source /mx:ArrayCollection  
/mx:dataProvider /mx:DataGrid 
/mx:Application   If you click on the print 
button, you get a zoomed in printed  document. Just like the whole 
right-click and Zoom In problem. It's  like the player thinks that 
the normal size is zoomed in.  Can I get some confirmation 
or denial of the bug? Or if there's  something somehow messed up 
with my system, let me know.  
Thanks.
 Yahoo! Groups Sponsor 
~--Check out the new improvements in Yahoo! 
Groups email.http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM 
--~- 

--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com 

Yahoo! Groups Links[Inbound Mail Scanned by 
MessageLabs]__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http:/

RE: [flexcoders] Re: printing/zooming bugs

2006-07-18 Thread Daniel Tuppeny





Cool, thanks!


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Pan 
TroglodytesSent: 18 July 2006 00:14To: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: 
printing/zooming bugs
I know this was asked a long time ago, but somehow I must have missed 
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 (or at least the zoom part)? 
  Wehave a zoomable graph, and if the user right-clicks, they see 
  Zoom,think it's ours, click it, and then they're stuffed until reloading 
  thepage!
  -Original 
  Message-From: flexcoders@yahoogroups.com [mailto: 
  flexcoders@yahoogroups.com] OnBehalf Of JasonSent: 29 June 2006 
  17:50To: flexcoders@yahoogroups.comSubject: [flexcoders] Re: 
  printing/zooming bugsUnfortunately, it looks like the Zoom bug is 
  still there in the releaseversion. I've entered it into the bug report 
  page. But be aware.--- In flexcoders@yahoogroups.com, "Jason" [EMAIL PROTECTED] 
  wrote:  Before I start talking about bugs, let me just say 
  thanks for the  help. I demoed to the boss today and he was VERY 
  pleased. Flex was a big hit with him. Hope the release doesn't 
  slip too far behind, as  we're looking forward to writing that check! 
  :D  Anyway, I've had a couple of problems that seem to be 
  related. In  Flex 2beta3, whenever I create any app and run it, the 
  Flash player's  Zoom options are broken. Right-click and say Zoom In. 
  Right-click  and the Zoom Out option is not shown. You can Zoom In 
  more and THEN  Zoom Out, but not all the way out. You're stuck with it 
  zoomed in. And you can't pan around. This doesn't happening using the 
  beta  player with non-Flex SWFs.  The printing problem 
  seems similar. Here's my example app:  ?xml version="1.0" 
  encoding="utf-8"? mx:Application  xmlns:mx="http://www.adobe.com/2006/mxml" 
  layout="absolute" mx:Script ![CDATA[ 
  private function printClick(e:Event):void { import 
  flash.printing.PrintJob; var myPrintJob:PrintJob = new 
  PrintJob(); myPrintJob.start() ; 
  myPrintJob.addPage(this); myPrintJob.send(); } 
  ]] /mx:Script  mx:Button label="Print" 
  click="printClick(event)" width="481" x="10" y="10"/ 
  mx:DataGrid y="40" x="10" width="481"  
  mx:dataProvider mx:ArrayCollection 
  mx:source mx:Object 
  mx:ArtistPavement/mx:Artist 
  mx:Price11.99/mx:Price mx:AlbumSlanted and 
  Enchanted/mx:Album /mx:Object 
  mx:Object mx:ArtistPavement/mx:Artist 
  mx:AlbumBrighten the Corners/mx:Album 
  mx:Price11.99/mx:Price /mx:Object 
  /mx:source /mx:ArrayCollection 
  /mx:dataProvider /mx:DataGrid 
  /mx:Application   If you click on the print 
  button, you get a zoomed in printed  document. Just like the whole 
  right-click and Zoom In problem. It's  like the player thinks that the 
  normal size is zoomed in.  Can I get some confirmation or 
  denial of the bug? Or if there's  something somehow messed up with my 
  system, let me know.  Thanks.
   Yahoo! Groups Sponsor 
  ~--Check out the new improvements in Yahoo! Groups 
  email.http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM 
  --~- 

  --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  
  Yahoo! Groups Links[Inbound Mail Scanned by 
  MessageLabs]__This 
  email has been scanned by the MessageLabs Email Security System.For more 
  information please visit http://www.messagelabs.com/email 
  __
  -- Jason  [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Soft

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: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Scrollbar bug 
(with sample code)

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: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Jason 
HawrylukSent: 30 June 2006 14:48To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Scrollbar bug 
(with sample code)

I 
added this to your vscroll, it worked but not the best,you may want to 
play around with this a bit. Perhaps the binding is not getting called until 
hscroll is created they are not created at the same time, so if hscroll is not 
fully created the height would in fact be 0.

creationComplete="vscroll.y=hscroll.height;"

Hope 
this helps

Jason





  -Message d'origine-De: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Daniel TuppenyEnvoyé: vendredi 30 juin 2006 
  15:19À: flexcoders@yahoogroups.comObjet: 
  [flexcoders] Scrollbar bug (with sample code)
  
  
  Here's some code 
  to show the problem I'm having. When I load the page, the VScrollBar goes 
  right to the bottom edge of the page (ignoring thebottom attribute). If 
  I resize the window, everything jumps into place 
correctly.
  
  This worked fine 
  in beta 3. Any ideas? I've attached a screenshot of what I 
  see.
  
  
  ?xml 
  version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" 
  layout="absolute"
  
  mx:Legend width="200" 
  height="200"mx:LegendItem label="Mydtest" 
  //mx:Legend
  
  mx:VScrollBar id="vscroll" bottom="{hscroll.height}" 
  right="0" top="0" /mx:HScrollBar id="hscroll" bottom="0" 
  left="0" right="{vscroll.width}" 
  //mx:Application__This 
  email has been scanned by the MessageLabs Email Security System.For more 
  information please visit http://www.messagelabs.com/email 
  __
  [Inbound Mail Scanned by 
MessageLabs]__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__ [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: ACcess SOAP 
fault code

It works!

To make real fault codes available in Flex 2.0(RTM)from .NET 
web services put the following code (C#)in your 
Global.asax

voidApplication_PreSendRequestHeaders(object sender, EventArgs 
e){ if 
(Response.StatusCode != 200){ // fix response code for flex 
string sReferrer = 
Request.UrlReferrer.AbsolutePath.ToLower(); 
if (sReferrer.EndsWith(".swf")) 
Response.StatusCode = 200; 
}}
- 
Kelly


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel 
TuppenySent: Monday, July 10, 2006 1:17 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: ACcess SOAP 
fault code


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 swap the status code, the fault handler will still 
be triggered and this time you will get the full fault. That being said, I 
haven't tried this in the GA version of Flex 2. I'll be trying it this 
week.


Carson

Carson 
HagerCynergy Systems, Inc.http://www.cynergysystems.comEmail: 
[EMAIL PROTECTED]Office: 
866-CYNERGYMobile: 1.703.489.6466



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel 
TuppenySent: Thursday, June 22, 2006 12:52 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: ACcess SOAP 
fault code



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 
[mailto:[EMAIL PROTECTED] On Behalf Of Carson 
HagerSent: 21 June 2006 13:13To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: ACcess SOAP 
fault code

The way it should work is for the fault handler to be 
triggered due to the fact that a SOAP fault was returned. At this point, the 500 
status code is what's triggering the fault.


Carson

  Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com 
 Email: 
[EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 
 



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel 
TuppenySent: Wednesday, June 21, 2006 4:05 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: ACcess SOAP 
fault code


I wasn't thinking to use the fault handler, I was just planning on 
everyresponse being an object with an error property that will usually 
benull, and checking for it myself. Your idea would be much nicer, but 
Idoubt it's possible, since we're pretending everything worked 
fine.Maybe changing the status code in a HttpHandler would be a 
nicersolution after all! -Original Message-From: [EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
OnBehalf Of z lSent: 21 June 2006 08:24To: [EMAIL PROTECTED]ups.comSubject: 
[flexcoders] Re: ACcess SOAP fault codeHi,Can someone explain to 
me that since you've caught the exception in yourcode, then how does the 
fault event handler in flex gets called?Generally speaking, what is the 
mechanism that triggers the fault eventin 
flex?Thanks,__Do 
You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection 
aroundhttp://mail.yahoo.com 
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links[Inbound Mail Scanned by 
MessageLabs]__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__[Inbound Mail Scanned by 
MessageLabs]__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__
[Inbound Mail Scanned by 
MessageLabs]__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__ 

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 source, 
I'll duplicate PlotSeries and put tracing in, and see if we can make things a 
little faster :-)




From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Ely GreenfieldSent: 30 June 2006 17:21To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 2 (final) 
bug with showDataEffect and stacked column chart




Well, it wouldn't surprise me if 40k points bogs down the 
charts tremendously.


A couple of suggestions:

1) set explicit min/max values on your axes, if you know 
them. This prevents having to examine the data.
2) turn filtering off on your series if you know all of 
your data lies within the min/max range.
3) better yet, write your own plot series. There's a bunch 
of places in there you could optimize it for specific 
scenarios.

Ely.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel 
TuppenySent: Friday, June 30, 2006 1:19 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 2 (final) 
bug with showDataEffect and stacked column chart





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 
bottleneck seems to be either the SOAP decoding, or the chart 
plotting.

When I can get my machine running the debug player again 
(which, if isn't today as a result of Matt Chotin's recent post, will be after a 
rebuild of my machine next week), I can start putting some tracing in, but at 
the moment we're not really sure where to start looking!




From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Ely 
GreenfieldSent: 29 June 2006 17:28To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 2 (final) 
bug with showDataEffect and stacked column chart



Yes, you get full access to the chart source when you 
purchase a license.

Ely.

p.s. Oh yeah...WHO!




From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel 
TuppenySent: Thursday, June 29, 2006 3:32 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 2 (final) 
bug with showDataEffect and stacked column chart



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 June 2006 00:12To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 2 (final) 
bug with showDataEffect and stacked column chart



Good find Jason. I've got a fix, that will go into 
the next update for flex. If you have purchased the charting components, 
and have the source available, I could talk you through a temporary 
fix.

Ely.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Pan 
TroglodytesSent: Wednesday, June 28, 2006 1:39 PMTo: 
flexcodersSubject: [flexcoders] Flex 2 (final) bug with 
showDataEffect and stacked column chart


I have found a bug in Flex 2 (final) showDataEffect combined with stacked 
columns. You get an error. If you take off the stacked setting, you 
do not get an error. Or, if you take off the effect and leave stacked, no 
error. Here's the sample code: ?xml version="1.0" 
encoding="utf-8"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml " 
layout="absolute" mx:Script 
![CDATA[ import 
mx.collections.ArrayCollection; [Bindable] 
public var d1:ArrayCollection = new 
ArrayCollection([ 
{x:1,y:10},{x:2,y:20},{x:3,y:30},{x:4,y:40}, 
 
{x:5,y:50},{x:6,y:60},{x:7,y:70},{x:8,y:80}]); 
[Bindable] public var d2:ArrayCollection = new 
ArrayCollection([ 
{x:1,y:80},{x:2,y:70},{x:3,y:60},{x:4,y:50}, 
{x:5,y:40},{x:6,y:30},{x:7,y:20},{x:8,y:10}]); 
 
 ]] /mx:Script 
mx:ColumnChart id="myChart" type="stacked" 
mx:SeriesInterpolate id="interp" duration="1000" 
minimumElementDuration="200" elementOffset="0"/  
mx:series 
mx:ColumnSeries id="s1" xField="x" yField="y" dataProvider="{d1}" 
showDataEffect="interp" 
mx:fill 
mx:SolidColor color="0x00FF00"/ 
 
/mx:fill 
/mx:ColumnSeries 
mx:ColumnSeries id="s2" xField="x" yField="y" dataProvider="{d2}" 
showDataEffect="interp" 
 
mx:fill 
mx:SolidColor 
color="0xFF"/ 
/mx:fill 
/mx:ColumnSeries /mx:series 
/mx:ColumnChart mx:Button x="10" y="408" 
label="lt;lt;" click=" s1.dataProvider = d2; s2.dataProvider = 
d1"/ mx:Button x="83" y="408" label="" 
click="s2.dataProvider = d2; s1.dataProvider = 
d1"//mx:Application -- Jason 
[Inbound Mail Scanned by 

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 swap the status code, the fault handler will still 
be triggered and this time you will get the full fault. That being said, I 
haven't tried this in the GA version of Flex 2. I'll be trying it this 
week.


Carson

Carson 
HagerCynergy Systems, Inc.http://www.cynergysystems.comEmail: 
[EMAIL PROTECTED]Office: 
866-CYNERGYMobile: 1.703.489.6466



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel 
TuppenySent: Thursday, June 22, 2006 12:52 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: ACcess SOAP 
fault code



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 
[mailto:[EMAIL PROTECTED] On Behalf Of Carson 
HagerSent: 21 June 2006 13:13To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: ACcess SOAP 
fault code

The way it should work is for the fault handler to be 
triggered due to the fact that a SOAP fault was returned. At this point, the 500 
status code is what's triggering the fault.


Carson

  Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com 
 Email: 
[EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 
 



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel 
TuppenySent: Wednesday, June 21, 2006 4:05 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: ACcess SOAP 
fault code


I wasn't thinking to use the fault handler, I was just planning on 
everyresponse being an object with an error property that will usually 
benull, and checking for it myself. Your idea would be much nicer, but 
Idoubt it's possible, since we're pretending everything worked 
fine.Maybe changing the status code in a HttpHandler would be a 
nicersolution after all! -Original Message-From: [EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
OnBehalf Of z lSent: 21 June 2006 08:24To: [EMAIL PROTECTED]ups.comSubject: 
[flexcoders] Re: ACcess SOAP fault codeHi,Can someone explain to 
me that since you've caught the exception in yourcode, then how does the 
fault event handler in flex gets called?Generally speaking, what is the 
mechanism that triggers the fault eventin 
flex?Thanks,__Do 
You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection 
aroundhttp://mail.yahoo.com 
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links[Inbound Mail Scanned by 
MessageLabs]__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__[Inbound Mail Scanned by 
MessageLabs]__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__
 [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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 
[mailto:[EMAIL PROTECTED] On Behalf Of Carson 
HagerSent: 21 June 2006 13:13To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: ACcess SOAP 
fault code

The way it should work is for the fault handler to be 
triggered due to the fact that a SOAP fault was returned. At this point, the 500 
status code is what's triggering the fault.


Carson

  Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com 
 Email: 
[EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 
 



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel 
TuppenySent: Wednesday, June 21, 2006 4:05 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: ACcess SOAP 
fault code


I wasn't thinking to use the fault handler, I was just planning on 
everyresponse being an object with an error property that will usually 
benull, and checking for it myself. Your idea would be much nicer, but 
Idoubt it's possible, since we're pretending everything worked 
fine.Maybe changing the status code in a HttpHandler would be a 
nicersolution after all! -Original Message-From: [EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
OnBehalf Of z lSent: 21 June 2006 08:24To: [EMAIL PROTECTED]ups.comSubject: 
[flexcoders] Re: ACcess SOAP fault codeHi,Can someone explain to 
me that since you've caught the exception in yourcode, then how does the 
fault event handler in flex gets called?Generally speaking, what is the 
mechanism that triggers the fault eventin 
flex?Thanks,__Do 
You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection 
aroundhttp://mail.yahoo.com 
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links[Inbound Mail Scanned by 
MessageLabs]__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__ [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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 
bottleneck seems to be either the SOAP decoding, or the chart 
plotting.

When I can get my machine running the debug player again 
(which, if isn't today as a result of Matt Chotin's recent post, will be after a 
rebuild of my machine next week), I can start putting some tracing in, but at 
the moment we're not really sure where to start looking!




From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Ely 
GreenfieldSent: 29 June 2006 17:28To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 2 (final) 
bug with showDataEffect and stacked column chart



Yes, you get full access to the chart source when you 
purchase a license.

Ely.

p.s. Oh yeah...WHO!




From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel 
TuppenySent: Thursday, June 29, 2006 3:32 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 2 (final) 
bug with showDataEffect and stacked column chart



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 June 2006 00:12To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 2 (final) 
bug with showDataEffect and stacked column chart



Good find Jason. I've got a fix, that will go into 
the next update for flex. If you have purchased the charting components, 
and have the source available, I could talk you through a temporary 
fix.

Ely.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Pan 
TroglodytesSent: Wednesday, June 28, 2006 1:39 PMTo: 
flexcodersSubject: [flexcoders] Flex 2 (final) bug with 
showDataEffect and stacked column chart


I have found a bug in Flex 2 (final) showDataEffect combined with stacked 
columns. You get an error. If you take off the stacked setting, you 
do not get an error. Or, if you take off the effect and leave stacked, no 
error. Here's the sample code: ?xml version="1.0" 
encoding="utf-8"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml " 
layout="absolute" mx:Script 
![CDATA[ import 
mx.collections.ArrayCollection; [Bindable] 
public var d1:ArrayCollection = new 
ArrayCollection([ 
{x:1,y:10},{x:2,y:20},{x:3,y:30},{x:4,y:40}, 
 
{x:5,y:50},{x:6,y:60},{x:7,y:70},{x:8,y:80}]); 
[Bindable] public var d2:ArrayCollection = new 
ArrayCollection([ 
{x:1,y:80},{x:2,y:70},{x:3,y:60},{x:4,y:50}, 
{x:5,y:40},{x:6,y:30},{x:7,y:20},{x:8,y:10}]); 
 
 ]] /mx:Script 
mx:ColumnChart id="myChart" type="stacked" 
mx:SeriesInterpolate id="interp" duration="1000" 
minimumElementDuration="200" elementOffset="0"/  
mx:series 
mx:ColumnSeries id="s1" xField="x" yField="y" dataProvider="{d1}" 
showDataEffect="interp" 
mx:fill 
mx:SolidColor color="0x00FF00"/ 
 
/mx:fill 
/mx:ColumnSeries 
mx:ColumnSeries id="s2" xField="x" yField="y" dataProvider="{d2}" 
showDataEffect="interp" 
 
mx:fill 
mx:SolidColor 
color="0xFF"/ 
/mx:fill 
/mx:ColumnSeries /mx:series 
/mx:ColumnChart mx:Button x="10" y="408" 
label="lt;lt;" click=" s1.dataProvider = d2; s2.dataProvider = 
d1"/ mx:Button x="83" y="408" label="" 
click="s2.dataProvider = d2; s1.dataProvider = 
d1"//mx:Application -- Jason 
[Inbound Mail Scanned by 
MessageLabs]__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__
 [Inbound Mail Scanned by 
MessageLabs]__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  

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

2006-06-30 Thread Daniel Tuppeny

They could be linked, but the main functions of System Restore is to
take checkpoints that you can rollback to (when, and only when, you tell
it to). Whereas the system files are all duplicated, and if you fiddle
with those Windows things you shouldn't, it just overwrites them again!

Could link, but as mentioned, it's turned off here, so that's not
stopping it!
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: 29 June 2006 16:44
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Flash player is not a debugger?

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



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England
and Wales under registered number OC307980 whose registered office
address is at St James's Court Brown Street Manchester M2 2JF.  A list
of members is available for inspection at the registered office. Any
reference to a partner in relation to Halliwells LLP means a member of
Halliwells LLP. Regulated by the Law Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and
may be confidential or legally privileged.  If you are not the addressee
you must not read it and must not use any information contained in nor
copy it nor inform any person other than Halliwells LLP or the addressee
of its existence or contents.  If you have received this email in error
please delete it and notify Halliwells LLP IT Department on 0870 365
8008.

For more information about Halliwells LLP visit www.halliwells.com.

We are pleased to announce that Halliwells LLP has been voted AIM Lawyer
of the Year at the 2005 Growth Company Awards



 Yahoo! Groups Sponsor ~--
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links



 



[Inbound Mail Scanned by MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




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

Anyone else had 
anything similar? It's not being marked as spam (since they still get delivered, 
to a spam box), they've being rejected outright.

:-(


The information contained in this e-mail and/or any attachments is confidential and intended only for the individual(s) to which it is addressed. If you are not named as an addressee you must not disclose, copy or take any action in reliance of this transmission. This e-mail and its attachments have been scanned for viruses by MessageLabs Ltd.








__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[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 mode, but get the 
error when trying in Debug mode.

Then I renamed the 
Flash9.ocx file, and duplicated the debug version, and named it that. Now it 
loads the debug player in place of the release player all the time. Not ideal, 
but it means I can debug! Since all other machines are fine, we can still run it 
in the proper release player for testing elsewhere.

It'll keep me going 
for today, and if there's no real fix from Adobe, my machine will be rebuilt 
next week.

Danny


The information contained in this e-mail and/or any attachments is confidential and intended only for the individual(s) to which it is addressed. If you are not named as an addressee you must not disclose, copy or take any action in reliance of this transmission. This e-mail and its attachments have been scanned for viruses by MessageLabs Ltd.








__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[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 square in the bottom-right corner.

However, in my app 
(which is exactly the same), whichever scrollbar is 1st in the source, seems to 
consider the value of the other's size as 0. If I swap the order around, the 
other one then touches the edge of the page (filling in the square). It's like 
it's not updating the bottom property of the VScrollBar when it figures the 
height of the HScrollBar, but I can't understand why it's working in 
isolation.

Anyone got any 
suggestions on where I could start looking?


The information contained in this e-mail and/or any attachments is confidential and intended only for the individual(s) to which it is addressed. If you are not named as an addressee you must not disclose, copy or take any action in reliance of this transmission. This e-mail and its attachments have been scanned for viruses by MessageLabs Ltd.








__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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

2006-06-30 Thread Daniel Tuppeny


I went to www.adobe.com and clicked Get The Flash Player there (a
small button halfway down the page). After installing that, you will now
have a Flash9.ocx. If you close all copies of IE, you should then be
able to rename it, and then copy the Fldbg9.ocx file and change that to
be Flash9.ocx. That way, when your browser tries to load the Release
version (Flash9.ocx), it will actually load the Debug version.

I can't guarantee this will work, but it did for me. It's not a great
fix, but it's got me debugging again for now!

Hope that helps,

Danny Tuppeny 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of mvbaffa
Sent: 30 June 2006 13:26
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Jason Hawryluk: Flash debug player - a
workaround

Hi Daniel,

I unistalled/reinstalled Flex Builder but I cannot find Flash9.ocx. 
In Windows/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
 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
 mode, but get the error when trying in Debug mode.
  
 Then I renamed the Flash9.ocx file, and duplicated the debug
version,
 and named it that. Now it loads the debug player in place of the
release
 player all the time. Not ideal, but it means I can debug! Since all 
 other machines are fine, we can still run it in the proper release 
 player for testing elsewhere.
  
 It'll keep me going for today, and if there's no real fix from
Adobe, my
 machine will be rebuilt next week.
  
 Danny
 
 The information contained in this e-mail and/or any attachments is
confidential and intended only for the individual(s) to which it is
addressed. If you are not named as an addressee you must not disclose,
copy or take any action in reliance of this transmission. 
This e-mail and its attachments have been scanned for viruses by
MessageLabs Ltd.
 
 
_
_
 This email has been scanned by the MessageLabs Email Security 
System.
 For more information please visit http://www.messagelabs.com/email 
 
_
_








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 



[Inbound Mail Scanned by MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




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: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Jason Hawryluk: 
Flash debug player - a workaround

Did 
you not try this ? It did work for me.

Matt 
Said:

Howdy all, go here: http://www.adobe.com/support/flashplayer/downloads.html 
and take a look at the tech note and resolution. New debugger players are 
available for download.

Thanks for your patience and sorry for the 
inconvenience, this one fell through the cracks…

Matt

Basicly a new version of the debug player that matches that of the 
flash9.ocx version.

Did 
you still have problems even after this version ?

Jason



  -Message d'origine-De: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Daniel TuppenyEnvoyé: vendredi 30 juin 2006 
  13:17À: flexcoders@yahoogroups.comObjet: 
  [flexcoders] Jason Hawryluk: Flash debug player - a 
  workaround
  
  
  
  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 mode, but get the 
  error when trying in Debug mode.
  
  Then I renamed the 
  Flash9.ocx file, and duplicated the debug version, and named it that. Now it 
  loads the debug player in place of the release player all the time. Not ideal, 
  but it means I can debug! Since all other machines are fine, we can still run 
  it in the proper release player for testing elsewhere.
  
  It'll keep me 
  going for today, and if there's no real fix from Adobe, my machine will be 
  rebuilt next week.
  
  Danny
  
  
  The 
  information contained in this e-mail and/or any attachments is confidential 
  and intended only for the individual(s) to which it is addressed. If you are 
  not named as an addressee you must not disclose, copy or take any action in 
  reliance of this transmission. This e-mail and its attachments have been 
  scanned for viruses by MessageLabs Ltd. 
  
  __This 
  email has been scanned by the MessageLabs Email Security System.For more 
  information please visit http://www.messagelabs.com/email 
  __
   [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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 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: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Jason Hawryluk: 
Flash debug player - a workaround

Did 
you not try this ? It did work for me.

Matt 
Said:

Howdy all, go here: http://www.adobe.com/support/flashplayer/downloads.html 
and take a look at the tech note and resolution. New debugger players are 
available for download.

Thanks for your patience and sorry for the 
inconvenience, this one fell through the cracks…

Matt

Basicly a new version of the debug player that matches that of the 
flash9.ocx version.

Did 
you still have problems even after this version ?

Jason



  -Message d'origine-De: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Daniel TuppenyEnvoyé: vendredi 30 juin 2006 
  13:17À: flexcoders@yahoogroups.comObjet: 
  [flexcoders] Jason Hawryluk: Flash debug player - a 
  workaround
  
  
  
  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 mode, but get the 
  error when trying in Debug mode.
  
  Then I renamed the 
  Flash9.ocx file, and duplicated the debug version, and named it that. Now it 
  loads the debug player in place of the release player all the time. Not ideal, 
  but it means I can debug! Since all other machines are fine, we can still run 
  it in the proper release player for testing elsewhere.
  
  It'll keep me 
  going for today, and if there's no real fix from Adobe, my machine will be 
  rebuilt next week.
  
  Danny
  
  
  The 
  information contained in this e-mail and/or any attachments is confidential 
  and intended only for the individual(s) to which it is addressed. If you are 
  not named as an addressee you must not disclose, copy or take any action in 
  reliance of this transmission. This e-mail and its attachments have been 
  scanned for viruses by MessageLabs Ltd. 
  
  __This 
  email has been scanned by the MessageLabs Email Security System.For more 
  information please visit http://www.messagelabs.com/email 
  __
  [Inbound Mail Scanned by 
MessageLabs]__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__ [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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 03:17
To: flexcoders@yahoogroups.com
Subject: [flexcoders] what kind of meaning 'bubbling'

what kind of meaning 'bubbling' from Event flow.  
The word and embodiment contents do not understand well...
bubbling reminds me only soap bubbles






 Yahoo! Groups Sponsor ~--
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links



 



[Inbound Mail Scanned by MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[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 can I have 
the width/height calculated based on the text there? If I specify sizes like the 
above, my labels appear in the wrong place (because I'm positioning them at the 
Y co-ord of a line, minus the height, so they appear above 
it).

There doesn't seem 
to be any sort of "autoSize" property, or a recalculateSize() method 
(invalidSize doesn't work).

Any 
ideas?


The information contained in this e-mail and/or any attachments is confidential and intended only for the individual(s) to which it is addressed. If you are not named as an addressee you must not disclose, copy or take any action in reliance of this transmission. This e-mail and its attachments have been scanned for viruses by MessageLabs Ltd.








__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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 Ralf Bokelberg
Sent: 30 June 2006 14:21
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Faq: Migration to flex 2.0 final

Let's start a faq for the migration to flex final. This will spare us a
lot of time for searching.
If you come across things one has to change, to make an app run in
final, post it here.

1. Model now ignores the root of a xml source mx:Model id=testModel
source=test.xml/ mx:ComboBox dataProvider={testModel.data} /

test.xml looks like
root
   dataentry/data
   dataentry/data
   dataentry/data
/root


2. dataTip functions are now passed a HitData object, not an
ChartItemEvent object, so you must do:

// DataTip function
public function employeeDataTip(e:HitData):String
{
return bName:/b  + e.item.Name;
}

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





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: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Jason 
HawrylukSent: 30 June 2006 14:48To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Scrollbar bug 
(with sample code)

I 
added this to your vscroll, it worked but not the best,you may want to 
play around with this a bit. Perhaps the binding is not getting called until 
hscroll is created they are not created at the same time, so if hscroll is not 
fully created the height would in fact be 0.

creationComplete="vscroll.y=hscroll.height;"

Hope 
this helps

Jason





  -Message d'origine-De: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Daniel TuppenyEnvoyé: vendredi 30 juin 2006 
  15:19À: flexcoders@yahoogroups.comObjet: 
  [flexcoders] Scrollbar bug (with sample code)
  
  
  Here's some code 
  to show the problem I'm having. When I load the page, the VScrollBar goes 
  right to the bottom edge of the page (ignoring thebottom attribute). If 
  I resize the window, everything jumps into place 
correctly.
  
  This worked fine 
  in beta 3. Any ideas? I've attached a screenshot of what I 
  see.
  
  
  ?xml 
  version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" 
  layout="absolute"
  
  mx:Legend width="200" 
  height="200"mx:LegendItem label="Mydtest" 
  //mx:Legend
  
  mx:VScrollBar id="vscroll" bottom="{hscroll.height}" 
  right="0" top="0" /mx:HScrollBar id="hscroll" bottom="0" 
  left="0" right="{vscroll.width}" 
  //mx:Application__This 
  email has been scanned by the MessageLabs Email Security System.For more 
  information please visit http://www.messagelabs.com/email 
  __
   [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   



  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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

2006-06-30 Thread Daniel Tuppeny





That's a better idea. Would be nice if they updated the 
page and removed the comments though, to keep it tidy!



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Pan 
TroglodytesSent: 30 June 2006 15:49To: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Faq: 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 since I don't see a mention of dataTip there, I've added 
  detailsbelow.
  -Original Message-From: flexcoders@yahoogroups.com [mailto: 
  flexcoders@yahoogroups.com] OnBehalf Of Ralf BokelbergSent: 30 
  June 2006 14:21To: flexcoders@yahoogroups.comSubject: [flexcoders] Faq: 
  Migration to flex 2.0 finalLet's start a faq for the migration to flex 
  final. This will spare us alot of time for searching.If you come 
  across things one has to change, to make an app run infinal, post it 
  here.1. Model now ignores the root of a xml source mx:Model 
  id="testModel"source="test.xml"/ mx:ComboBox 
  dataProvider="{testModel.data}" /test.xml looks 
  likerootdataentry/datadataentry/datadataentry/data/root
  2. dataTip functions are now passed a HitData object, not 
  anChartItemEvent object, so you must do:// DataTip 
  functionpublic function employeeDataTip(e:HitData):String{return 
  "bName:/b " + e.item.Name;}__This 
  email has been scanned by the MessageLabs Email Security System.For more 
  information please visit http://www.messagelabs.com/email 
  __
  -- Jason  [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex Debug - I am allmost giving up - this is my last 
message

Thanks Jason,

I have only Unistalled Beta 3. But I have already run the flash player 
uninstaller before installing the new debug version of Flash 9.

With Beta 2 it was working OK, When I have installed beta 3, IE stopped working 
and I have installed FireFox that worked for some time. 

I remember that just before a debugging session The Windows Firewall insformed 
that java was trying go out and asked me if I wanted to block it, and I choose 
to continue blocking. Since then the debugger stopped for FireFox too and I 
could not debug.

I am sure this is a security issue but I am not able to find it 

Thanks



--- In flexcoders@yahoogroups.com, Jason Hawryluk [EMAIL PROTECTED] wrote:

 Did you uninstall flex b3, and did you run
Player_B3_Uninstaller_05-08.exe
 before installing the final version?
 
 Also ensure that you have removed the older flash9.ocx from your
computer?
 
 Jason
 
 
   -Message d'origine-
   De : flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] la
 part de mvbaffa
   Envoyé : vendredi 30 juin 2006 15:56
   À : flexcoders@yahoogroups.com
   Objet : [flexcoders] Flex Debug - I am allmost giving up - this
is my last
 message
 
 
   Hi everybody,
 
   This is my last message about this problem. Flex is fantastic, I
am
   using it since alpha version.
 
   I have an application ready to deploy that I have finished
without a
   debug (the older will remember old times when debugging was done
   with Alert boxes).
 
   I hoped that with the release version I could debug again, but
this
   is not true. I cannot use a development tool that does not have a
   debugger and I cannot reinstall my development workstation
everytime
   a new nersion is released.
 
   I have downloaded the new debug version of Flash player 9,
installed
   it and after that the version is still 16 (standard version),
not 15
   (debug version).
 
   And  the browser is still crashing.
 
   The problem is occuring since I have installed beta 3 (two months
   ago). My problem is that the browser craches and Windows shows
me a
   message box telling that IE encountered a problem with an add-on
and
   needs to close. And the add-on is Fldbg9.ocx.
 
   This is the fourth message and I beleive that Adobe should take
care
   of it.
 
   Thanks in advance








 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links



 



[Inbound Mail Scanned by MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




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: 
flexcoders@yahoogroups.comSubject: [flexcoders] Upgrade issues from 
beta3 - rtm solved


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 can't get the 
debug player working though!


The 
information contained in this e-mail and/or any attachments is confidential and 
intended only for the individual(s) to which it is addressed. If you are not 
named as an addressee you must not disclose, copy or take any action in reliance 
of this transmission. This e-mail and its attachments have been scanned for 
viruses by MessageLabs Ltd. 

 
__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__ [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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 June 2006 00:12To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 2 (final) 
bug with showDataEffect and stacked column chart



Good find Jason. I've got a fix, that will go into 
the next update for flex. If you have purchased the charting components, 
and have the source available, I could talk you through a temporary 
fix.

Ely.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Pan 
TroglodytesSent: Wednesday, June 28, 2006 1:39 PMTo: 
flexcodersSubject: [flexcoders] Flex 2 (final) bug with 
showDataEffect and stacked column chart


I have found a bug in Flex 2 (final) showDataEffect combined with stacked 
columns. You get an error. If you take off the stacked setting, you 
do not get an error. Or, if you take off the effect and leave stacked, no 
error. Here's the sample code: ?xml version="1.0" 
encoding="utf-8"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml " 
layout="absolute" mx:Script 
![CDATA[ import 
mx.collections.ArrayCollection; [Bindable] 
public var d1:ArrayCollection = new 
ArrayCollection([ 
{x:1,y:10},{x:2,y:20},{x:3,y:30},{x:4,y:40}, 
 
{x:5,y:50},{x:6,y:60},{x:7,y:70},{x:8,y:80}]); 
[Bindable] public var d2:ArrayCollection = new 
ArrayCollection([ 
{x:1,y:80},{x:2,y:70},{x:3,y:60},{x:4,y:50}, 
{x:5,y:40},{x:6,y:30},{x:7,y:20},{x:8,y:10}]); 
 
 ]] /mx:Script 
mx:ColumnChart id="myChart" type="stacked" 
mx:SeriesInterpolate id="interp" duration="1000" 
minimumElementDuration="200" elementOffset="0"/  
mx:series 
mx:ColumnSeries id="s1" xField="x" yField="y" dataProvider="{d1}" 
showDataEffect="interp" 
mx:fill 
mx:SolidColor color="0x00FF00"/ 
 
/mx:fill 
/mx:ColumnSeries 
mx:ColumnSeries id="s2" xField="x" yField="y" dataProvider="{d2}" 
showDataEffect="interp" 
 
mx:fill 
mx:SolidColor 
color="0xFF"/ 
/mx:fill 
/mx:ColumnSeries /mx:series 
/mx:ColumnChart mx:Button x="10" y="408" 
label="lt;lt;" click=" s1.dataProvider = d2; s2.dataProvider = 
d1"/ mx:Button x="83" y="408" label="" 
click="s2.dataProvider = d2; s1.dataProvider = 
d1"//mx:Application -- Jason 
 [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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

2006-06-29 Thread Daniel Tuppeny





I've got the same issues. I've got a file at c:\DELETE_ME 
which was originall one of the beta flash plugins, but although I can rename it, 
I can never delete it, even after reboots. I suspect XP is being clever and 
realising I'm moving it!

I've got other stuff to do now, so no Flex for a while, but 
if I can't find a solution soon, it's going to have to be a reinstall, and that 
really annoys me! :-


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Jason 
HawrylukSent: 29 June 2006 11:36To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: Flash player 
is not a debugger?

I'm also still having 
the same problem 1.5 day's getting frustrated here :)

I did however notice 
that the debug ocx is not getting registered and no matter what I do I can't get 
it registered properly. I had a look on a machine where it worked and it has all 
the necessary registry key's. After installing Flex builder final. on my machine 
(and it seems I’m not alone) There is no keys for the inproc/guid/classid's etc 
in the registry. I'm now convinced we have entered dll/com Hell.

I tried copying the 
keys and importing to my machine but had no effect.

The only thing I did 
different between the 2 machines was launch Player_B3_Uninstaller_05-08.exe on 
the working machine before flex final. I failed to do this on my dev machine for 
reasons of pure excitement.

After trying about 15 
different combinations, I’m now going to try to reinstall flex beta 3 then 
uninstall and use the above exe, then reinstall flex final. Short of that I’m 
looking at a format c:\ :(

So I have completely 
cleaned my registry of all flash related ocx keys. Unistalled everything 
flex.

I’ll try the beta 3, 
attempt to debug, uninstall, install final.

Back 
in a bit :) Still can't belive this is happening 
:(

Jason




  -Message d'origine-De: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Harald DehnEnvoyé: jeudi 29 juin 2006 
  11:30À: flexcoders@yahoogroups.comObjet: WG: 
  [flexcoders] Re: Flash player is not a debugger?
  
  
  I still have excact the the same problem! :-( 
  
  ... and no solution.
  
  
  Von: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] Im Auftrag von Daniel 
  TuppenyGesendet: Donnerstag, 29. Juni 2006 09:56An: 
  flexcoders@yahoogroups.comBetreff: RE: [flexcoders] Re: Flash 
  player is not a debugger?
  
  
  
  I've tried that many times!
  
  If I just install the debug player, FlexBuilder complains 
  there's no FP9, so then I went an installed the release player from the Adobe 
  site, and can run, but not debug.
  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Maerz, 
  ToreySent: 28 June 2006 15:51To: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: Flash 
  player is not a debugger?
  
  
  I 
  had this problem a couple days ago too.
  
  Here 
  is how I fixed it.
  
  Use 
  add remove programs to Uninstall all flash and shockwave 
  players
  Uninstall 
  Flex builder
  Reinstall 
  flexbuilder select the option to install IE, Netscape and Firefox 
  player.
  
  
  
  
  
  
  From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sourcecoderiaSent: Wednesday, June 28, 2006 9:33 
  AMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Re: Flash player is 
  not a debugger?
  
  
  
  
  Regular 
  mail not getting through.I'm having the same problem been working to 
  solve it all day. No luck.Just can't seem to get a debug working in 
  IE. Firefox works. I even went as far as to clean any and all flash 
  related stuff from my post.Did not help a bit. Are you all on another 
  local other then US, it may have something to do with 
  it..Jason--- In [EMAIL PROTECTED]ups.com, 
  "Jean-Luc ESSER" [EMAIL PROTECTED] wrote: 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, 2006 4:06 PM Subject: [flexcoders] 
  Flash player is not a debugger?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 
  statements or hit breakpoints as things are :-(  
   
  The information contained in this e-mail and/or any attachments is 
  confidential and intended only for the individual(s) to which it is 
  addressed. If you are not named as an addressee you must not disclose, 
  copy or take any action in reliance of this transmission. This e-mail and 
  its attachments have been scanned for viruses by Messa

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

2006-06-29 Thread Daniel Tuppeny

Not tried in Safe mode yet (didn't really think!). By file restore,  do
you mean the magic Windows does top put explorer.exde etc. back? If so,
I assumed that would've put the original back when I renamed it, and not
changed the pointers to point at the new one. How do I disable it to
try?

-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 issues. I've got a file at c:\DELETE_ME which was 
 originall one of the beta flash plugins, but although I can rename it,

 I can never delete it, even after reboots. I suspect XP is being 
 clever and realising I'm moving it!

Even in safe mode ? With file restore off ?

--
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England
and Wales under registered number OC307980 whose registered office
address is at St James's Court Brown Street Manchester M2 2JF.  A list
of members is available for inspection at the registered office. Any
reference to a partner in relation to Halliwells LLP means a member of
Halliwells LLP. Regulated by the Law Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and
may be confidential or legally privileged.  If you are not the addressee
you must not read it and must not use any information contained in nor
copy it nor inform any person other than Halliwells LLP or the addressee
of its existence or contents.  If you have received this email in error
please delete it and notify Halliwells LLP IT Department on 0870 365
8008.

For more information about Halliwells LLP visit www.halliwells.com.

We are pleased to announce that Halliwells LLP has been voted AIM Lawyer
of the Year at the 2005 Growth Company Awards



 Yahoo! Groups Sponsor ~--
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links



 



[Inbound Mail Scanned by MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





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

2006-06-29 Thread Daniel Tuppeny
al Message -----  From: Daniel Tuppeny  To: [EMAIL PROTECTED]ups.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 
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 statements or hit breakpoints as things 
are :-(  
 
The information contained in this e-mail and/or any attachments is 
confidential and intended only for the individual(s) to which it is 
addressed. If you are not named as an addressee you must not disclose, 
copy or take any action in reliance of this transmission. This e-mail 
and its attachments have been scanned for viruses by MessageLabs Ltd. 

__ 
This email has been scanned by the MessageLabs Email Security 
System. For more information please visit http://www.messagelabs.com/email 
 
__
[Inbound Mail Scanned by 
MessageLabs]__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__

[Inbound Mail Scanned by 
  MessageLabs]__This 
  email has been scanned by the MessageLabs Email Security System.For more 
  information please visit http://www.messagelabs.com/email 
  __
   [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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

2006-06-29 Thread Daniel Tuppeny
I've tried it too.

We need an uninstaller that removes *everything* that may clash with the RTM 
versions, because the current one clearly doesn't work, and I wouldn't consider 
reformatting to be an acceptable solution :-(

Twice, I've completely uninstalled everything to do with Flex and *all* Flash 
players using uninstallers on the website, the one in the folder with the 
ocx's, and through Add/Remove programs. Something's being left around 
somewhere, and it's starting to become a joke!
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason 
Hawryluk
Sent: 29 June 2006 15:58
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Flash player is not a debugger?

We have already tried that several times and it's not working.

I just tried the environment variables as a last hope and still nothing.
What the heck is different between the beta 3 and the final version of the 
debug player? Win 2000 Pro does not like it, I have uninstalled even my Norton 
2006, flash 8.0, captivate, shockwave...

Re-installed beta 3 uninstalled again differently = not

2 day's for this ? Can't be that difficult. I don't get it, I just don't.

Why won't it register?

Jason


-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la part de Thomas 
Rühl -akitogo- Envoyé : jeudi 29 juin 2006 16:12 À : flexcoders@yahoogroups.com 
Objet : Re: [flexcoders] Re: Flash player is not a debugger?


Hi, for me this did it...

# Deinstall FlexBuilder
# Download the FlashPlayer-Uninstaller from
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14157
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14157
# ...execute it...
# Best to close your browsers befor the deinstallation, otherwise it will be 
done for you # Reinstall FlexBuilder including the packaged Player (9.0.15)


cheers, thomas.



Jason Hawryluk wrote:

 Ok I give up, someone wanna help us out here? Almost 2 day's working 
 on this stupid problem, and no forward movement what so ever.

 Windows is not allowing me to register the ocx no matter what I have 
 tried it just don't like it. The ocx is FlDbg9.ocx in the 
 C:\WINNT\system32\Macromed\Flash.

 There are no registry keys being entered like in the beta (that worked 
 fine), so there must be some kind of conflict with either security 
 (unlikely). Incompatibility (more likely).

 I'm lost.

 It would certainly help if Adobe could chime in here, and propose an 
 idea or 2 that we could try out. Or suggest something we should look for.

 What are the exact dependencies of the Ocx?

 It's just not registering properly, and I don't get that. Never in all 
 the ocx files I've developed have I seen one occurrence of such a problem.

 Jason

 -Message d'origine-
 *De :* flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] la part de* Jason Hawryluk
 *Envoyé :* jeudi 29 juin 2006 15:26
 *À :* flexcoders@yahoogroups.com
 *Objet :* RE: [flexcoders] Re: Flash player is not a debugger?

 Nope that unfortunatly did not work

 What is different between the new debug player and the beta
 version? The beta sets the keys properly in the registry the new
 final version does not. I can't see it being a security issue on
 my part as the beta worked fine. I don't see any diff in the cab
 nor the inf files between the 2.

 I even tried uninstalling Norton 2006 and still nothing.

 There is definitely a bug here.
 On diff i see is the advpack.dll in the cab file for th installer
 I'm trying 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
 *Objet :* RE: [flexcoders] Re: Flash player is not a debugger?

 Let me know if that works, and if so, I might have to try the
 same! :-(

 
 --
--
 *From:* flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] *On Behalf Of *Jason Hawryluk
 *Sent:* 29 June 2006 12:48
 *To:* flexcoders@yahoogroups.com
 *Subject:* RE: [flexcoders] Re: Flash player is not a debugger?

 So after installing beta 3 again i have debug for beta 3, and
 the ocx is correctly registered.

 I will now uninstall and reinstall final.

 This is weird

 -Message d'origine-
 *De :* flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] la part de* Daniel
 Tuppeny
 *Envoyé :* jeudi 29 juin 2006 12:48
 *À :* flexcoders@yahoogroups.com
 *Objet :* RE: [flexcoders] Re: Flash player is not a debugger?

 I've got the same issues. I've got a file at c

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 
WindeySent: 28 June 2006 09:11To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flash Player 9 is 
here!!!



Why o why does it come with an optional yahoo toolbar 
L



From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Renaun 
EricksonSent: woensdag 28 juni 
2006 6:40To: flexcoders@yahoogroups.comSubject: [flexcoders] Flash Player 9 is 
here!!!




You can download Flash Player 9 now1http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlashpromoid=BIOWGo 
to www.adobe.com and click on the Download Flash Player 
icon.Yippeee--- In [EMAIL PROTECTED]ups.com, 
"Matt Chotin" [EMAIL PROTECTED] wrote: What is your 
timezone, 4pm is probably wrong :-)We are on 
track for releasing very very very soon. 
  From: [EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
On Behalf Of bobchyko Sent: Tuesday, June 27, 2006 12:40 
PM To: [EMAIL PROTECTED]ups.com 
Subject: [flexcoders] Re: Flex 2 released tomorrow   
 --- In [EMAIL PROTECTED]ups.com 
mailto:flexcoders%40yahoogroups.com , "Jeremy Rottman" 
rottmanList@  wrote:   I was 
carousing the interweb and I found a post on g-unix. Has anyone  
else heard these rumors about flex 2 being released tomorrow?  
  I for one would be extremely delighted to see the hard work 
of  adobe/mm come to fruition.   I'm 
pretty sure it is going to be released today at 4pm (at least that  is 
what my sources tell me). Just tried to post this a few minutes  ago but 
it didn't go through.
__ NOD32 1.1629 (20060628) 
Information __This message was checked by NOD32 antivirus 
system.http://www.eset.com [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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] Flash Player 9 is 
here!!!



Why o why does it come with an optional yahoo toolbar 
L



From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Renaun 
EricksonSent: woensdag 28 juni 
2006 6:40To: flexcoders@yahoogroups.comSubject: [flexcoders] Flash Player 9 is 
here!!!




You can download Flash Player 9 now1http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlashpromoid=BIOWGo 
to www.adobe.com and click on the Download Flash Player 
icon.Yippeee--- In [EMAIL PROTECTED]ups.com, 
"Matt Chotin" [EMAIL PROTECTED] wrote: What is your 
timezone, 4pm is probably wrong :-)We are on 
track for releasing very very very soon. 
  From: [EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
On Behalf Of bobchyko Sent: Tuesday, June 27, 2006 12:40 
PM To: [EMAIL PROTECTED]ups.com 
Subject: [flexcoders] Re: Flex 2 released tomorrow   
 --- In [EMAIL PROTECTED]ups.com 
mailto:flexcoders%40yahoogroups.com , "Jeremy Rottman" 
rottmanList@  wrote:   I was 
carousing the interweb and I found a post on g-unix. Has anyone  
else heard these rumors about flex 2 being released tomorrow?  
  I for one would be extremely delighted to see the hard work 
of  adobe/mm come to fruition.   I'm 
pretty sure it is going to be released today at 4pm (at least that  is 
what my sources tell me). Just tried to post this a few minutes  ago but 
it didn't go through.
__ NOD32 1.1629 (20060628) 
Information __This message was checked by NOD32 antivirus 
system.http://www.eset.com [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[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 confidential 
and intended only for the individual(s) to which it is addressed. If you are 
not named as an addressee you must not disclose, copy or take any action in 
reliance of this transmission. This e-mail and its attachments have been 
scanned for viruses by MessageLabs Ltd.

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




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!
:)

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Beta 3- RTM Changes?

2006-06-28 Thread Daniel Tuppeny
All the datatip stuff has stopped working on my charts too - the tips
always appear at 0,0, and are only around 20px square, with no contents.

Can't find any changes listed on the Flex Wiki, but it doesn't help that
the search doesn't work:

http://labs.adobe.com/wiki/index.php/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] Beta 3-  RTM Changes?

 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!
:)

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 




[Inbound Mail Scanned by MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





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

http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=1271.html

Code doesn't compile 
due to "name" attribute now being "displayName", and with that correction, 
datatips don't work - they appear as small boxes in the top-left hand corner 
with no data.

Anyone know how to 
get these working, and/or when the docs might be fixed?

Thanks,

Danny


The information contained in this e-mail and/or any attachments is confidential and intended only for the individual(s) to which it is addressed. If you are not named as an addressee you must not disclose, copy or take any action in reliance of this transmission. This e-mail and its attachments have been scanned for viruses by MessageLabs Ltd.








__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[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 statements or hit breakpoints 
as things are :-(


The information contained in this e-mail and/or any attachments is confidential and intended only for the individual(s) to which it is addressed. If you are not named as an addressee you must not disclose, copy or take any action in reliance of this transmission. This e-mail and its attachments have been scanned for viruses by MessageLabs Ltd.








__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[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 projects somewhere that I need to copy over so we don't have to create 
new projects to overwrite, on every developers machine?

Thanks,

Danny


The information contained in this e-mail and/or any attachments is confidential and intended only for the individual(s) to which it is addressed. If you are not named as an addressee you must not disclose, copy or take any action in reliance of this transmission. This e-mail and its attachments have been scanned for viruses by MessageLabs Ltd.








__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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 
debugger?


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 statements or hit breakpoints 
as things are :-(


The 
information contained in this e-mail and/or any attachments is confidential and 
intended only for the individual(s) to which it is addressed. If you are not 
named as an addressee you must not disclose, copy or take any action in reliance 
of this transmission. This e-mail and its attachments have been scanned for 
viruses by MessageLabs Ltd. 

 
__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__ [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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

2006-06-28 Thread Daniel Tuppeny





I'm still having issues too.

I tried uninstalling the v9 player and installing the debug 
version from FlexBuilder\players\debug. Then it wouldn't run at all (said I had 
no v9). So I uninstalled the lot, and renamed all the ocx files in 
%windir%\system32\marcomed\Flash and then reinstalled both (normal player first, 
from adobe site, then debug player), and I still can't run in debug 
mode.

Can 
anyone on the RTM version confirmwhether they can run in debug mode? Would 
be nice to know it's our setup, and not a global issue.




From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Jean-Luc ESSERSent: 28 June 2006 15:14To: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flash player is 
not a debugger?

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: 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 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 statements or hit 
  breakpoints as things are :-(
  
  
  The 
  information contained in this e-mail and/or any attachments is confidential 
  and intended only for the individual(s) to which it is addressed. If you are 
  not named as an addressee you must not disclose, copy or take any action in 
  reliance of this transmission. This e-mail and its attachments have been 
  scanned for viruses by MessageLabs Ltd. 
  
  __This 
  email has been scanned by the MessageLabs Email Security System.For more 
  information please visit http://www.messagelabs.com/email 
  __
   [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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 MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





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

2006-06-28 Thread Daniel Tuppeny

On a colleagues machine here, it works fine. He's never had the beta
installed. Is there something been left around from the beta that's
screwing this up maybe?
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of sourcecoderia
Sent: 28 June 2006 15:33
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flash player is not a debugger?

Regular mail not getting through.

I'm having the same problem been working to solve it all day. No luck.

Just can't seem to get a debug working in IE. Firefox works. I even went
as far as to clean any and all flash related stuff from my post.

Did not help a bit. Are you all on another local other then US, it may
have something to do with it..

Jason



--- In flexcoders@yahoogroups.com, Jean-Luc ESSER [EMAIL PROTECTED] wrote:

 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: 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
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 statements or hit breakpoints as things are :-(
 
 
--
   The information contained in this e-mail and/or any attachments
is confidential and intended only for the individual(s) to which it is
addressed. If you are not named as an addressee you must not disclose,
copy or take any action in reliance of this transmission. 
This e-mail and its attachments have been scanned for viruses by
MessageLabs Ltd. 

 
 
   
__
   This email has been scanned by the MessageLabs Email Security 
System.
   For more information please visit 
http://www.messagelabs.com/email 
   
__









--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 




[Inbound Mail Scanned by MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





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

2006-06-28 Thread Daniel Tuppeny

There's a version of the player here:
C:\WINDOWS\system32\Macromed\Flash

Which I couldn't delete, so I renamed it. After several reboots, I still
can't delete it (but can rename it). It seems something is
loading/locking it even after reboots - wonder if this might have
something to do 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. Is there something been left around from the beta that's
screwing this up maybe?
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of sourcecoderia
Sent: 28 June 2006 15:33
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flash player is not a debugger?

Regular mail not getting through.

I'm having the same problem been working to solve it all day. No luck.

Just can't seem to get a debug working in IE. Firefox works. I even went
as far as to clean any and all flash related stuff from my post.

Did not help a bit. Are you all on another local other then US, it may
have something to do with it..

Jason



--- In flexcoders@yahoogroups.com, Jean-Luc ESSER [EMAIL PROTECTED] wrote:

 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: 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
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 statements or hit breakpoints as things are :-(
 
 
--
   The information contained in this e-mail and/or any attachments
is confidential and intended only for the individual(s) to which it is
addressed. If you are not named as an addressee you must not disclose,
copy or take any action in reliance of this transmission. 
This e-mail and its attachments have been scanned for viruses by
MessageLabs Ltd. 

 
 
   
__
   This email has been scanned by the MessageLabs Email Security
System.
   For more information please visit
http://www.messagelabs.com/email 
   
__








 Yahoo! Groups Sponsor ~--
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links



 




[Inbound Mail Scanned by MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





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 debugger?

I've 
been fighting with the same problem all day :(.

Not 
sure what the heck it is, never seen this before, and been using flex since 
alpha...

It 
works with FireFox, but not IE.

I'm 
starting to loose my mind here. What is thedebug version and where must it 
be in order to debug and how to get the right version?

Could 
it be that we are in a none US local ? What local are you 
in?

Jason



  -Message d'origine-De: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Daniel TuppenyEnvoyé: mercredi 28 juin 2006 
  16:07À: flexcoders@yahoogroups.comObjet: 
  [flexcoders] Flash player is not a debugger?
  
  
  
  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 statements or hit 
  breakpoints as things are :-(
  
  
  The 
  information contained in this e-mail and/or any attachments is confidential 
  and intended only for the individual(s) to which it is addressed. If you are 
  not named as an addressee you must not disclose, copy or take any action in 
  reliance of this transmission. This e-mail and its attachments have been 
  scanned for viruses by MessageLabs Ltd. 
  
  __This 
  email has been scanned by the MessageLabs Email Security System.For more 
  information please visit http://www.messagelabs.com/email 
  __
   [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flash player is 
not a debugger?

Please 
let me know if it works,I tried that and had no 
effect.

Jason


  -Message d'origine-De: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Daniel TuppenyEnvoyé: mercredi 28 juin 2006 
  16:15À: flexcoders@yahoogroups.comObjet: RE: 
  [flexcoders] Flash player is not a debugger?
  
  
  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 debugger?
  
  
  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 statements or hit 
  breakpoints as things are :-(
  
  
  The 
  information contained in this e-mail and/or any attachments is confidential 
  and intended only for the individual(s) to which it is addressed. If you are 
  not named as an addressee you must not disclose, copy or take any action in 
  reliance of this transmission. This e-mail and its attachments have been 
  scanned for viruses by MessageLabs Ltd. 
  
  __This 
  email has been scanned by the MessageLabs Email Security System.For more 
  information please visit http://www.messagelabs.com/email 
  __[Inbound Mail Scanned by 
  MessageLabs]__This 
  email has been scanned by the MessageLabs Email Security System.For more 
  information please visit http://www.messagelabs.com/email 
  __
   [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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

2006-06-28 Thread Daniel Tuppeny





That didn't work for me :(



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Jean-Luc 
ESSERSent: 28 June 2006 16:10To: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: Flash player 
is not a debugger?

I just got it to work :

Download uninstaller from adobe site : http://www.adobe.com/shockwave/download/alternates/
Then launch both activeX and normal version 
installers from program files  flex  player  debug

Works on both ie and firefox.

JL


  - Original Message - 
  From: 
  sourcecoderia 
  To: flexcoders@yahoogroups.com 
  Sent: Wednesday, June 28, 2006 4:54 
  PM
  Subject: [flexcoders] Re: Flash player is 
  not a debugger?
  
  
  I can't see how a couple of us could have the problem though. i cleaned 
  everything from beta, even went throuh the registry after i seen i was 
  having problems.Have not had a problem since alpha 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 from the beta 
  that's screwing this up maybe?   -Original 
  Message- From: [EMAIL PROTECTED]ups.com 
  [mailto:[EMAIL PROTECTED]ups.com] 
  On Behalf Of sourcecoderia Sent: 28 June 2006 15:33 
  To: [EMAIL PROTECTED]ups.com 
  Subject: [flexcoders] Re: Flash player is not a debugger?  
  Regular mail not getting through.  I'm having the same problem 
  been working to solve it all day. No luck.  Just can't 
  seem to get a debug working in IE. Firefox works. I even went as 
  far as to clean any and all flash related stuff from my post.  
  Did not help a bit. Are you all on another local other then US, it 
  may have something to do with it..  Jason 
 --- In [EMAIL PROTECTED]ups.com, 
  "Jean-Luc ESSER" flex@ wrote:   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, 2006 4:06 PM  Subject: 
  [flexcoders] Flash player is not a debugger?
  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 
  statements or hit breakpoints as things are :-(
   
  --  The information contained in this e-mail and/or any 
  attachments is confidential and intended only for the individual(s) to 
  which it is addressed. If you are not named as an addressee you 
  must not disclose, copy or take any action in reliance of this 
  transmission.  This e-mail and its attachments have been scanned for 
  viruses by MessageLabs Ltd.   
 
  __ 
   This email has been scanned by the MessageLabs Email Security  
  System.  For more information please visit  http://www.messagelabs.com/email 
 
  __ 
  
   -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
  Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
   Yahoo! Groups Links 
  [Inbound Mail Scanned by 
  MessageLabs]  
  __ 
  This email has been scanned by the MessageLabs Email Security 
  System. For more information please visit http://www.messagelabs.com/email 
   
  __ [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group &qu

[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 can't get the 
debug player working though!


The information contained in this e-mail and/or any attachments is confidential and intended only for the individual(s) to which it is addressed. If you are not named as an addressee you must not disclose, copy or take any action in reliance of this transmission. This e-mail and its attachments have been scanned for viruses by MessageLabs Ltd.








__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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

2006-06-27 Thread Daniel Tuppeny

Yep, it seems if you do DateTime.Now, it includes timezone info. If you
do new Date(x, y, z), it doesn't (but you can probably add it). This is
how Flex should work - if no timezone is specified, it should ignore
timezones!! :-( 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Kelly Birr
Sent: 26 June 2006 18:18
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: About dates sent to a webservice. Is this
correct?

We're also using .NET 2.0 but our web services do not return time zone
information.  They just send 2006-06-26T10:38: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 (to see how bad it was!), and my web service
returned:

dateTime
xmlns=http://tempuri.org/;2006-06-26T10:38:54.6541786+01:00/dateTime

Which includes timezone info. When I call ToString() on the flash date,
it returns exactly the same (10:38+1:00). Is this just an issue with
.NET 1.1?
We're using 2.0.
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Daniel Tuppeny
Sent: 26 June 2006 10:26
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: About dates sent to a webservice. Is this
correct?


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
because the client machine is in a different timezone. There *needs* to
be a way to turn this off. If my web service says an event occurs on the
1st June, I want Flex to give me the 1st June.

What's the point in Flex translating it, and then me having to translate
it back (and remember to do this *everywhere*)?


 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of kellyb723
Sent: 23 June 2006 17:24
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: About dates sent to a webservice. Is this
correct?

Yes this is correct.  I recently had a long thread about this.  What I
was told by Adobe is that If a web service defined the element-type in
WSDL as `dateTime' and sends a value that does not include a time zone
component Flex has to assume that this is UTC time and will
automatically adjust the Date value to your local time zone.

You can read my previous thread, including a post by Peter Farland
(Adobe) that this behavior is by design, and my workaround at:

http://groups.yahoo.com/group/flexcoders/message/39832

- Kelly

--- In flexcoders@yahoogroups.com, Bas J. Brey [EMAIL PROTECTED] wrote:

 You set a date e.g. 25th of January 2005 00:00 GMT +2
 
 Flex sends it to the service as 24th of January 2005 22:00 ?
 
  
 
 If so than you can never use a date type in your webservice cause
then you
 miss timezone information.








 Yahoo! Groups Sponsor ~--
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links



 




[Inbound Mail Scanned by MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links



 




[Inbound Mail Scanned by MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 




[Inbound Mail Scanned by MessageLabs]

__
This email has been

RE: [flexcoders] Difference between two dates

2006-06-27 Thread Daniel Tuppeny





I tried that, and it just didn't work. Returned completely 
wrong numbers! I tried stepping through it, but didn't really understand all the 
magic numbers (like subtracing 1 from the month if one date is lower than the 
other).

I got it working with the code I posted, it's just annoying 
that we have to implement something so trivial (so there'll be tons of different 
buggy implementations doing the rounds soon!)


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Douglas 
KnudsenSent: 26 June 2006 19:56To: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Difference 
between two dates
http://jeff.mxdj.com/datediff_for_actionscript.htmperhaps 
this would be helpful.DK
On 6/26/06, Kelly 
Birr [EMAIL PROTECTED] 
wrote:

  
  
  If you do not wish to 
  change the Date class so it will conform to a (terrible) standard, I can sort 
  of understand that.
  
  Would you please 
  consider the possibility of adding a DateTime or Date2 class in Flex 2.1 that 
  works like a primitive type. Or better yet, make the new class 
  beDate and the standards-compliant one called EcmaDate or EDate or CDate 
  or something like that. :)
  
  - 
  Kelly
  
  
  
  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 standard, we're not going to change 
  it
  
  That's fair enough, 
  but as things are (without a utility class to do this stuff), I can see there 
  being a whole bunch of "buggy" implementations of date stuff in Flex over the 
  coming months, which will be spread amongst developers viasites like 
  CodeProject!! :-(
  
  
  From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Gordon 
  SmithSent: 24 June 2006 00:01To: flexcoders@yahoogroups.comSubject: RE: 
  [flexcoders] Difference between two dates
  
  
  Since the Date class 
  is specified by the EcmaScript-262 standard, we're not going to change it. But 
  it sounds like we should consider adding a flex.utils.DateUtils class in the 
  future to make date manipulation easier.
  
  - 
  Gordon
  
  
  
  
  
  From: flexcoders@yahoogroups.com [mailto: 
  flexcoders@yahoogroups.com] On Behalf 
  Of Pan TroglodytesSent: Friday, June 23, 2006 8:53 
  AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Difference 
  between two dates
  
  
  
  
  Well, it helped when I figured out I could do things 
  like date.date += 12 and it would automatically correct for rolling over 
  months/years. But at the very least, there needs to be a built-in 
  daysBetween function. Yes, yes, I know you can do the getTime() 
  arithmetic. But every time you have to fall back to that, it feels 
  kludgy. If I were redesigning it, it wold at least ook like 
  this:dayOfWeek - what used to be called dayday - day in month 
  (used to be called date)month - 1 based like day (what used to be called 
  date) ishour/minute/second/millisecond - singular (if hour is plural, why 
  not "months"?)year - why fullYear? I mean, c'mon, do people really 
  expect something called "year" to be two digits or 
  what?daysBetween(laterDate:date) - laterDate minus this in days 
  But, alas, it's too late. There's no way they'll make the change 
  at this late day.I mean "date".Haha.
  
  On 
  6/23/06, Daniel Tuppeny  
  [EMAIL PROTECTED] wrote:
  
  
  
  
  
  I wouldn't 
  disagree!
  
  There seems to be no 
  useful functions for manipulating dates. They should copy all the methods and 
  properties from the .NET DateTime class :o)
  
  
  
  
  From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pan TroglodytesSent: 23 June 2006 16:02To: 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 Friday! 
  =)
  
  
  
  
  From: flexcoders@yahoogroups.com [mailto: 
  flexcoders@yahoogroups.com] 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 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 = 
  startDate;startDate = 
  tmp;}var 
  numMonths:Number = 0;// Get number 
  of months in yearsnumMonths += (endDate.fullYear - 
  startDate.fullYear) * 12numMonths += endDate.month - 
  s

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 the items. It CORRECTLY identifies the selected item,
even though all 4 are the same. It can EASILY be done if it used the
index of the current item, rather than the value (which IMO - is
madness).

It might not be very friendly to have multiple items the same (but there
are places this is very useful), I don't see any reason this shouldn't
be fixed.



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ben.clinkinbeard
Sent: 26 June 2006 19:22
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Repost of bug issue over weekend

I don't think this is a bug as I am not sure how it could work any
differently. You are repeatedly adding the same item (the string
hello) to the list so it has no way to differentiate between them and
uses the newest instance for the rollOver and rollOut actions. If you
want to display the same string multiple times I think you will need to
fill your ArrayCollection with objects and access a property via a
labelFunction.

HTH,
Ben


--- In flexcoders@yahoogroups.com, hank williams [EMAIL PROTECTED] wrote:

 I posted this over the weekend, but I am sure most people, including
adobe,
 did not see it.
 
 I saw that someone else had exactly the same problem in another
thread and
 initially responded to that thread. The discussion about that bug
quickly
 devolved into a critique of the persons programming style, and unless 
 I missed something didnt resolve the issue of there being a bug.
 
 I may be doing something wrong but I dont think so. My immediate
issue is to
 find a work around. Since this is a really basic thing I would
imagine that,
 if it is not a known issue (which is hard to imagine) that it will
get some
 attention.
 
 Below describes the problem, along with an mxml code example.
 
 If you take the below text, drop it into an app, You should see four
hello
 items in the list. If you move your mouse over the items, you should 
 see that only the last item in the list of 4 hellos highlights, no 
 matter where the mouse is. (at least hopefully you will see it... if 
 not
that would
 be*really* wierd)
 
 
 ?xml version=1.0 encoding=utf-8? mx:Canvas 
 xmlns:mx=http://www.adobe.com/2006/mxml;
 initialize=initList()
 
 
  mx:Script
 ![CDATA[
 import mx.collections.ArrayCollection;
 
 [Bindable]
 private var selectedChannels:ArrayCollection = new 
 ArrayCollection();
 
 private function initList():void{
 selectedChannels.addItem(hello);
 selectedChannels.addItem(hello);
 selectedChannels.addItem(hello);
 selectedChannels.addItem(hello);
 }
 ]]
 /mx:Script
 
 mx:List  dataProvider={selectedChannels} width=100/ 
 /mx:Canvas







 Yahoo! Groups Sponsor ~--
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links



 



[Inbound Mail Scanned by MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





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
because the client machine is in a different timezone. There *needs* to
be a way to turn this off. If my web service says an event occurs on the
1st June, I want Flex to give me the 1st June.

What's the point in Flex translating it, and then me having to translate
it back (and remember to do this *everywhere*)?


 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of kellyb723
Sent: 23 June 2006 17:24
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: About dates sent to a webservice. Is this
correct?

Yes this is correct.  I recently had a long thread about this.  What I
was told by Adobe is that If a web service defined the element-type in
WSDL as `dateTime' and sends a value that does not include a time zone
component Flex has to assume that this is UTC time and will
automatically adjust the Date value to your local time zone.

You can read my previous thread, including a post by Peter Farland
(Adobe) that this behavior is by design, and my workaround at:

http://groups.yahoo.com/group/flexcoders/message/39832

- Kelly

--- In flexcoders@yahoogroups.com, Bas J. Brey [EMAIL PROTECTED] wrote:

 You set a date e.g. 25th of January 2005 00:00 GMT +2
 
 Flex sends it to the service as 24th of January 2005 22:00 ?
 
  
 
 If so than you can never use a date type in your webservice cause
then you
 miss timezone information.








 Yahoo! Groups Sponsor ~--
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links



 




[Inbound Mail Scanned by MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[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 
base="tns:Item" 
s:sequence 
s:element minOccurs="1" maxOccurs="1" name="StartDate" type="s:dateTime" 
/ 
/s:sequence 
/s:extension 
/s:complexContent/s:complexTypeWhich correctly has the DateTime type. 
When I try to access is in Flex, I get this error:TypeError: Error #1034: Type Coercion failed: cannot convert 
"2006-09-28T11:13:52.2254775+01:00" to Date.at 
TimelineRow$iinit()If I create a simple web service that directly 
returns a date, it's fine. I'm not sure why! :-(


The information contained in this e-mail and/or any attachments is confidential and intended only for the individual(s) to which it is addressed. If you are not named as an addressee you must not disclose, copy or take any action in reliance of this transmission. This e-mail and its attachments have been scanned for viruses by MessageLabs Ltd.








__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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 wrong month when the date is 1st, and our 
timezone is behind GMT. We have to remember to use the .UtcMonth etc. properties 
(which is likely to be the cause of many hard-to-find bugs in the 
future!).


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Dirk 
EismannSent: 26 June 2006 10:48To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: About dates 
sent to a webservice. Is this correct?


Yes - I think it's an issue 
with 1.1

In our last Flex 2/.NET 2 
application we were able to correctly pass date objects between Flex and .NET 


The only thing you have to watchout for is 
to make sure that the DateTime object your return from .NET has its Kind set to 
UTC - if so,it should work fine.

Dirk.


Von: flexcoders@yahoogroups.com im Auftrag von 
Daniel TuppenyGesendet: Mo 26.06.2006 11:41An: 
flexcoders@yahoogroups.comBetreff: RE: [flexcoders] Re: About dates 
sent to a webservice. Is this correct?

I just tested this out (to see how bad it was!), and my web 
servicereturned:dateTimexmlns="http://tempuri.org/"2006-06-26T10:38:54.6541786+01:00/dateTimeWhich 
includes timezone info. When I call ToString() on the flash date,it returns 
exactly the same (10:38+1:00). Is this just an issue with.NET 1.1? We're 
using 2.0.-Original Message-From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
OnBehalf Of Daniel TuppenySent: 26 June 2006 10:26To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: About dates sent to 
a webservice. Is thiscorrect?I've read through that thread, and 
this hardly seems like acceptablebehaviour to me.We're sending dates 
from a .NET web service too, and we don't care aboutthe time. We're plotting 
them on a calendar. We can't afford to havedates sent as one thing, and then 
rolled back to the previous daybecause the client machine is in a different 
timezone. There *needs* tobe a way to turn this off. If my web service says 
an event occurs on the1st June, I want Flex to give me the 1st 
June.What's the point in Flex translating it, and then me having to 
translateit back (and remember to do this 
*everywhere*)?-Original Message-From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
OnBehalf Of kellyb723Sent: 23 June 2006 17:24To: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: About dates sent to a 
webservice. Is thiscorrect?Yes this is correct. I recently had 
a long thread about this. What Iwas told by Adobe is that If a web 
service defined the element-type inWSDL as `dateTime' and sends a value that 
does not include a time zonecomponent Flex "has to" assume that this is UTC 
time and willautomatically adjust the Date value to your local time 
zone.You can read my previous thread, including a post by Peter 
Farland(Adobe) that this behavior is by design, and my workaround 
at:http://groups.yahoo.com/group/flexcoders/message/39832- 
Kelly--- In flexcoders@yahoogroups.com, "Bas J. Brey" [EMAIL PROTECTED] 
wrote: You set a date e.g. 25th of January 2005 00:00 GMT 
+2 Flex sends it to the service as 24th of January 2005 22:00 
? If so than you can never use a "date" 
type in your webservice causethen you miss timezone 
information. 
Yahoo! Groups Sponsor ~--Yahoo! Groups gets a make 
over. See the new email design.http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM~---Flexcoders 
Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links[Inbound Mail Scanned by 
MessageLabs]__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email__--Flexcoders 
Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links[Inbound Mail Scanned by 
MessageLabs]__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email__ 
Yahoo! Groups Sponsor ~--Something is new at Yahoo! 
Groups. Check out the enhanced email 

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 me how do I unsubscribe from this 
list? I no longer work on flex and hence would not like these manu 
emails..Thanks in advance.-Krish


Do you Yahoo!?Everyone is raving about the all-new 
Yahoo! Mail Beta.  [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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 
displayType:String;]]/mx:Scriptmx:TitleWindow 
title="Timeline" width="100%" 
height="100%"link:TimelineBox 
dataProvider="{dataProvider}" width="100%" displayType="{displayType}" 
//mx:TitleWindow

I'm in the process of creating a simple version of that too 
:-(





From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Daniel TuppenySent: 26 June 2006 11:15To: 
flexcoders@yahoogroups.comSubject: [flexcoders] "Type Coercion 
failed" Error when returning date from web service


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 
base="tns:Item" 
s:sequence 
s:element minOccurs="1" maxOccurs="1" name="StartDate" type="s:dateTime" 
/ 
/s:sequence 
/s:extension 
/s:complexContent/s:complexTypeWhich correctly has the DateTime type. 
When I try to access is in Flex, I get this error:TypeError: Error #1034: Type Coercion failed: cannot convert 
"2006-09-28T11:13:52.2254775+01:00" to Date.at 
TimelineRow$iinit()If I create a simple web service that directly 
returns a date, it's fine. I'm not sure why! :-(


The 
information contained in this e-mail and/or any attachments is confidential and 
intended only for the individual(s) to which it is addressed. If you are not 
named as an addressee you must not disclose, copy or take any action in reliance 
of this transmission. This e-mail and its attachments have been scanned for 
viruses by MessageLabs Ltd. 

 
__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__ [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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 
strings.

I'll keep trying to reproduce it in a small sample I can 
post, but if anyone has any ideas, they'd be most 
welcome.


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel 
TuppenySent: 26 June 2006 15:09To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] "Type Coercion 
failed" Error when returning date from web service

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 
displayType:String;]]/mx:Scriptmx:TitleWindow 
title="Timeline" width="100%" 
height="100%"link:TimelineBox 
dataProvider="{dataProvider}" width="100%" displayType="{displayType}" 
//mx:TitleWindow

I'm in the process of creating a simple version of that too 
:-(





From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Daniel TuppenySent: 26 June 2006 11:15To: 
flexcoders@yahoogroups.comSubject: [flexcoders] "Type Coercion 
failed" Error when returning date from web service


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 
base="tns:Item" 
s:sequence 
s:element minOccurs="1" maxOccurs="1" name="StartDate" type="s:dateTime" 
/ 
/s:sequence 
/s:extension 
/s:complexContent/s:complexTypeWhich correctly has the DateTime type. 
When I try to access is in Flex, I get this error:TypeError: Error #1034: Type Coercion failed: cannot convert 
"2006-09-28T11:13:52.2254775+01:00" to Date.at 
TimelineRow$iinit()If I create a simple web service that directly 
returns a date, it's fine. I'm not sure why! :-(


The 
information contained in this e-mail and/or any attachments is confidential and 
intended only for the individual(s) to which it is addressed. If you are not 
named as an addressee you must not disclose, copy or take any action in reliance 
of this transmission. This e-mail and its attachments have been scanned for 
viruses by MessageLabs Ltd. 

__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__[Inbound Mail Scanned by 
MessageLabs]__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__ [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___

s:complexType name=TimelineItem
s:sequence
s:element minOccurs=0 maxOccurs=1 name=Name 
type=s:string / 
/s:sequence
/s:complexType
s:complexType name=Event
s:complexContent mixed=false
s:extension base=tns:TimelineItem
s:sequence
s:element minOccurs=1 maxOccurs=1 
name=StartDate type=s:dateTime / 
/s:sequence
/s:extension
/s:complexContent
/s:complexType
s:complexType name=RangeEvent
s:complexContent mixed=false
s:extension base=tns:Event
 

[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 it as an object (and every 
property, therefore asa string).

Is this 
correct behaviour, or should Flex be reading the type 
sepcified?




From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel 
TuppenySent: 26 June 2006 15:21To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] "Type Coercion 
failed" Error when returning date from web service


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 
strings.

I'll keep trying to reproduce it in a small sample I can 
post, but if anyone has any ideas, they'd be most 
welcome.


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel 
TuppenySent: 26 June 2006 15:09To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] "Type Coercion 
failed" Error when returning date from web service

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 
displayType:String;]]/mx:Scriptmx:TitleWindow 
title="Timeline" width="100%" 
height="100%"link:TimelineBox 
dataProvider="{dataProvider}" width="100%" displayType="{displayType}" 
//mx:TitleWindow

I'm in the process of creating a simple version of that too 
:-(





From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Daniel TuppenySent: 26 June 2006 11:15To: 
flexcoders@yahoogroups.comSubject: [flexcoders] "Type Coercion 
failed" Error when returning date from web service


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 
base="tns:Item" 
s:sequence 
s:element minOccurs="1" maxOccurs="1" name="StartDate" type="s:dateTime" 
/ 
/s:sequence 
/s:extension 
/s:complexContent/s:complexTypeWhich correctly has the DateTime type. 
When I try to access is in Flex, I get this error:TypeError: Error #1034: Type Coercion failed: cannot convert 
"2006-09-28T11:13:52.2254775+01:00" to Date.at 
TimelineRow$iinit()If I create a simple web service that directly 
returns a date, it's fine. I'm not sure why! :-(


The 
information contained in this e-mail and/or any attachments is confidential and 
intended only for the individual(s) to which it is addressed. If you are not 
named as an addressee you must not disclose, copy or take any action in reliance 
of this transmission. This e-mail and its attachments have been scanned for 
viruses by MessageLabs Ltd. 

__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__[Inbound Mail Scanned by 
MessageLabs]__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__[Inbound Mail Scanned by 
MessageLabs]__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__ [Inbound Mail Scanned by 
MessageLabs]


The information contained in this e-mail and/or any attachments is confidential and intended only for the individual(s) to which it is addressed. If you are not named as an addressee you must not disclose, copy or take any action in reliance of this transmission. This e-mail and its attachments have been scanned for viruses by MessageLabs Ltd.








__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   





[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 format .NET's DateTimes are
serialised for web services. Is this not supported? It works when things
are typed in web services, so Flex/FP definitely knows how to parse it.
Do I need to re-invent that? :(

Thanks,

Danny

The information contained in this e-mail and/or any attachments is confidential 
and intended only for the individual(s) to which it is addressed. If you are 
not named as an addressee you must not disclose, copy or take any action in 
reliance of this transmission. This e-mail and its attachments have been 
scanned for viruses by MessageLabs Ltd.

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





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: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel 
TuppenySent: Thursday, June 22, 2006 9:25 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Setting effects in 
states?




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 
name="AfterLoad"mx:SetProperty 
target="{pieseries}" 
name="showDataEffect"mx:valuemx:SeriesInterpolate 
duration="2000" elementOffset="0" 
//mx:value/mx:SetProperty/mx:State

But I get the error:

"Property showDataEffect not found on 
mx.charts.series.PieSeries and there is no default value. "

When I try to run it. But showDataEffect definately exists 
on PieSeries!

Am I doing something stupid? Is there another 
way?


The 
information contained in this e-mail and/or any attachments is confidential and 
intended only for the individual(s) to which it is addressed. If you are not 
named as an addressee you must not disclose, copy or take any action in reliance 
of this transmission. This e-mail and its attachments have been scanned for 
viruses by MessageLabs Ltd. 

__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__
 [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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 in initApp() with:

ExternalInterface.addCallback(setData, setData);

Any ideas?
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of moyosaned
Sent: 16 June 2006 12:57
To: flexcoders@yahoogroups.com
Subject: [flexcoders] SOLUTION IS A BUG ? Re: ExternalInterface Flex 2
FireFox issue.

In de javascript I found the following:
 case width:
  case height:
  case align:
  case vspace: 
  case hspace:
  case class:
  case title:
  case accesskey:
  case name:
  case id:
  case tabindex:
ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i+1];
break;
  default:
ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];


What is does is setting the name for Object AND Embed-code... So in
firefox this will result in a conflict...

I (quick) fixed it with this:

case width:
  case height:
  case align:
  case vspace: 
  case hspace:
  case class:
  case title:
  case accesskey:
  case id:
  case tabindex:
ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i+1];
break;
  case name:
ret.embedAttrs[args[i]] = args[i+1];
break;
  default:
ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];
}


Now It is working...

Mail me for feedback: [EMAIL PROTECTED]




--- In flexcoders@yahoogroups.com, moyosaned [EMAIL PROTECTED]
wrote:

 I traced/alerted the embed-code... It contains a name and id.. soo 
 what I'm I doing wrong
 
 --- In flexcoders@yahoogroups.com, moyosaned maikelsibbald@ wrote:
 
  It's working perfectly in IE! but Firefox is giving a
javascript-error.
  
  in my html-template:
  
  
  function setDirectory(dir) {
  var flash = getMovie(${application});
  flash.setDirectory(dir);
  }
  
  function getMovie(movieName) {
  if ( navigator.appName.indexOf (Microsoft) != -1 ) {
  return window[movieName];
  }
  else {
  return  document[movieName];
  }
  }   
  
  
  
  /// AND MY SWF  
  AC_FL_RunContent(
  src, ${swf},
  width, ${width},
  height, ${height},
  align, middle,
  id, ${application},
  quality, high,
  bgcolor, ${bgcolor},
  name, ${application},
  flashvars,'historyUrl=history.htm?lconid=' + lc_id +',
  allowScriptAccess,always,
  type, application/x-shockwave-flash,
  pluginspage, http://www.macromedia.com/go/getflashplayer;);
 








 Yahoo! Groups Sponsor ~--
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links



 




[Inbound Mail Scanned by MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





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

2006-06-23 Thread Daniel Tuppeny
Fixed it. I changed the getMovie function slightly (it was the same
problem moyosaned had, but the fix didn't seem to work):

function getApp(appName) {
if (navigator.appName.indexOf (Microsoft) != -1) {
return window[appName];
} else {
return 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
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] SOLUTION IS A BUG ? Re: ExternalInterface Flex
2 FireFox issue.

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 in initApp() with:

ExternalInterface.addCallback(setData, setData);

Any ideas?
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of moyosaned
Sent: 16 June 2006 12:57
To: flexcoders@yahoogroups.com
Subject: [flexcoders] SOLUTION IS A BUG ? Re: ExternalInterface Flex 2
FireFox issue.

In de javascript I found the following:
 case width:
  case height:
  case align:
  case vspace: 
  case hspace:
  case class:
  case title:
  case accesskey:
  case name:
  case id:
  case tabindex:
ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i+1];
break;
  default:
ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];


What is does is setting the name for Object AND Embed-code... So in
firefox this will result in a conflict...

I (quick) fixed it with this:

case width:
  case height:
  case align:
  case vspace: 
  case hspace:
  case class:
  case title:
  case accesskey:
  case id:
  case tabindex:
ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i+1];
break;
  case name:
ret.embedAttrs[args[i]] = args[i+1];
break;
  default:
ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];
}


Now It is working...

Mail me for feedback: [EMAIL PROTECTED]




--- In flexcoders@yahoogroups.com, moyosaned [EMAIL PROTECTED]
wrote:

 I traced/alerted the embed-code... It contains a name and id.. soo 
 what I'm I doing wrong
 
 --- In flexcoders@yahoogroups.com, moyosaned maikelsibbald@ wrote:
 
  It's working perfectly in IE! but Firefox is giving a
javascript-error.
  
  in my html-template:
  
  
  function setDirectory(dir) {
  var flash = getMovie(${application});
  flash.setDirectory(dir);
  }
  
  function getMovie(movieName) {
  if ( navigator.appName.indexOf (Microsoft) != -1 ) {
  return window[movieName];
  }
  else {
  return  document[movieName];
  }
  }   
  
  
  
  /// AND MY SWF  
  AC_FL_RunContent(
  src, ${swf},
  width, ${width},
  height, ${height},
  align, middle,
  id, ${application},
  quality, high,
  bgcolor, ${bgcolor},
  name, ${application},
  flashvars,'historyUrl=history.htm?lconid=' + lc_id +',
  allowScriptAccess,always,
  type, application/x-shockwave-flash,
  pluginspage, http://www.macromedia.com/go/getflashplayer;);
 








 Yahoo! Groups Sponsor ~--
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links



 




[Inbound Mail Scanned by MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 




[Inbound Mail Scanned by MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo

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
correctly. Firefox *completely* changed the structure of the document,
nesting nodes that should be siblings. If they can't make it work, they
should take it out - they shouldn't just leave non-standard buggy code
in there! :(

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[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 then wrote the below, but it only works for 
whole months (and I need decimals).

It would've taken me 
seconds in C# (DateTime - DateTime = Timespan), but I can't find any useful 
methods in Flex. Am I missing something simple?



if (startDate  
endDate){var tmp:Date = 
endDate;endDate = 
startDate;startDate = 
endDate;}var 
numMonths:Number = 0;while 
(startDate = 
endDate){numMonths++;trace(startDate.month);if 
(startDate.month == 
12){trace("reset");startDate.fullYear++;startDate.month 
-= 
12;}elsetrace("inc");startDate.month++;}return 
numMonths;


The information contained in this e-mail and/or any attachments is confidential and intended only for the individual(s) to which it is addressed. If you are not named as an addressee you must not disclose, copy or take any action in reliance of this transmission. This e-mail and its attachments have been scanned for viruses by MessageLabs Ltd.








__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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 = 
startDate;startDate = 
tmp;}var 
numMonths:Number = 0;// Get number 
of months in yearsnumMonths += (endDate.fullYear - 
startDate.fullYear) * 12numMonths += endDate.month - 
startDate.month;numMonths += (endDate.day - startDate.day) 
/ 30; // This needs fixingreturn 
numMonths;}

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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 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 = 
startDate;startDate = 
tmp;}var 
numMonths:Number = 0;// Get number 
of months in yearsnumMonths += (endDate.fullYear - 
startDate.fullYear) * 12numMonths += endDate.month - 
startDate.month;numMonths += (endDate.day - startDate.day) 
/ 30; // This needs fixingreturn 
numMonths;}__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__ [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



RE: [flexcoders] Difference between two dates

2006-06-23 Thread Daniel Tuppeny





I wouldn't disagree!

There seems to be no useful functions for manipulating 
dates. They should copy all the methods and properties from the .NET DateTime 
class :o)


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Pan 
TroglodytesSent: 23 June 2006 16:02To: 
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 
  Friday! =)
  
  
  From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 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 
  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 = 
  startDate;startDate = 
  tmp;}var 
  numMonths:Number = 0;// Get number 
  of months in yearsnumMonths += (endDate.fullYear - 
  startDate.fullYear) * 12numMonths += endDate.month - 
  startDate.month;numMonths += (endDate.day - 
  startDate.day) / 30; // This needs 
  fixingreturn 
  numMonths;}__This 
  email has been scanned by the MessageLabs Email Security System.For more 
  information please visit http://www.messagelabs.com/email 
  __
  [Inbound Mail Scanned by MessageLabs]
  __This 
  email has been scanned by the MessageLabs Email Security System.For more 
  information please visit http://www.messagelabs.com/email 
  __
  
  -- Jason  [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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 number of months accurately 
(because of the difference in days). I originally did GetTime of both dates, and 
then created a date from the difference (and took away 1970 years), but the 
length was then out by a number of days! :-(


 If I were redesigning it, it wold at least ook like 
this:
I agree - it was the day/date that had me spending 
an hour to do simple maths!


year - why fullYear?

This got me too... .year appears in the intellisense, 
but when I used it, I got an error - WTF?!
It wouldn't be so bad if they'd actually added a 
2-figure year, but they dumped .year, and added fullYear. 
Grrr!


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Pan 
TroglodytesSent: 23 June 2006 16:53To: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Difference 
between two dates
Well, it helped when I figured out I could do things like date.date 
+= 12 and it would automatically correct for rolling over months/years. 
But at the very least, there needs to be a built-in daysBetween function. 
Yes, yes, I know you can do the getTime() arithmetic. But every time you 
have to fall back to that, it feels kludgy. If I were redesigning it, it 
wold at least ook like this:dayOfWeek - what used to be called 
dayday - day in month (used to be called date)month - 1 based like day 
(what used to be called date) ishour/minute/second/millisecond - singular 
(if hour is plural, why not "months"?)year - why fullYear? I mean, 
c'mon, do people really expect something called "year" to be two digits or 
what?daysBetween(laterDate:date) - laterDate minus this in days But, 
alas, it's too late. There's no way they'll make the change at this late 
day.I mean "date".Haha.

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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 Behalf Of Ely 
GreenfieldSent: 21 June 2006 20:20To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Binding chart to 
XML



Gotcha. I didn't read your post closely 
enough.

I'm nut sure if you're using Flex 1.5 or 2. In Flex 1.5, 
Charts don't support rendering XML data.


In Flex 2, there are two different types of XML supported 
by the player. 'Classic' XML (flash.xml.XMLNode) and ECMA Standard XML. When I 
say E4X, I mean ECMAScript for XML, which is the set of extensions to the 
language to support XML deeply.

Charts support rendering E4X XML, but not classic XML ( in 
general, unless you have really good reason, don't bother with 'classic' 
XML).

I'd change your code to look something like 
this:

var sXML:XML = 
data item name="Aaa" val="6" 
/ item name="Bbb" val="46" 
/ item name="Ccc" val="16" 
//data;
chart.dataProvider = sXML.children(); // (or = 
sXML..item);



Ely.




From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel 
TuppenySent: Wednesday, June 21, 2006 9:22 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Binding chart to 
XML



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] On Behalf Of Ely 
GreenfieldSent: 21 June 2006 16:54To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Binding chart to 
XML




In E4X parlance, attributes are referred to by prefixing 
their name with @. i.e., to get the val of the first item in your code, 
you would write:

[EMAIL PROTECTED];

So to have a data component (chart, list, etc) pull a value 
from an attribute, you need to do the same:

PieSeries field="@val" /

Ely.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel 
TuppenySent: Wednesday, June 21, 2006 4:11 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Binding chart to 
XML


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 = 
mx.utils.XMLUtil.createXMLDocument(sXML);pie.dataProvider = 
gXMLDoc.firstChild.childNodes;/* End of Script */And my 
series looks like this:mx:PieSeries labelPosition="callout" 
field="val"But I keep getting the error: "Property val not found 
onflash.xml.XMLNode and there is no default value".What am I doing 
wrong?ThanksThe 
information contained in this e-mail and/or any attachments is confidential and 
intended only for the individual(s) to which it is addressed. If you are not 
named as an addressee you must not disclose, copy or take any action in reliance 
of this transmission. This e-mail and its attachments have been scanned for 
viruses by MessageLabs 
Ltd.__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__[Inbound Mail Scanned by 
MessageLabs]__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__
 [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! 

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/

is not working for me now for 2 day's ??

jason





 Yahoo! Groups Sponsor ~--
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links



 




[Inbound Mail Scanned by MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[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 
name="AfterLoad"mx:SetProperty 
target="{pieseries}" 
name="showDataEffect"mx:valuemx:SeriesInterpolate 
duration="2000" elementOffset="0" 
//mx:value/mx:SetProperty/mx:State

But I get the error:

"Property showDataEffect not found on 
mx.charts.series.PieSeries and there is no default value. "

When I try to run it. But showDataEffect definately exists 
on PieSeries!

Am I doing something stupid? Is there another 
way?


The information contained in this e-mail and/or any attachments is confidential and intended only for the individual(s) to which it is addressed. If you are not named as an addressee you must not disclose, copy or take any action in reliance of this transmission. This e-mail and its attachments have been scanned for viruses by MessageLabs Ltd.








__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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 the status code in a HttpHandler would be a nicer
solution after all! 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of z l
Sent: 21 June 2006 08:24
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: ACcess SOAP fault code

Hi,

Can someone explain to me that since you've caught the exception in your
code, then how does the fault event handler in flex gets called?

Generally speaking, what is the mechanism that triggers the fault event
in flex?


Thanks,


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com 



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 




[Inbound Mail Scanned by MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[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 = mx.utils.XMLUtil.createXMLDocument(sXML);

pie.dataProvider = gXMLDoc.firstChild.childNodes;

/* End of Script */


And my series looks like this:


mx:PieSeries labelPosition=callout field=val


But I keep getting the error: Property val not found on
flash.xml.XMLNode and there is no default value.

What am I doing wrong?

Thanks

The information contained in this e-mail and/or any attachments is confidential 
and intended only for the individual(s) to which it is addressed. If you are 
not named as an addressee you must not disclose, copy or take any action in 
reliance of this transmission. This e-mail and its attachments have been 
scanned for viruses by MessageLabs Ltd.

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




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] On Behalf Of Ely 
GreenfieldSent: 21 June 2006 16:54To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Binding chart to 
XML




In E4X parlance, attributes are referred to by prefixing 
their name with @. i.e., to get the val of the first item in your code, 
you would write:

[EMAIL PROTECTED];

So to have a data component (chart, list, etc) pull a value 
from an attribute, you need to do the same:

PieSeries field="@val" /

Ely.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel 
TuppenySent: Wednesday, June 21, 2006 4:11 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Binding chart to 
XML


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 = 
mx.utils.XMLUtil.createXMLDocument(sXML);pie.dataProvider = 
gXMLDoc.firstChild.childNodes;/* End of Script */And my 
series looks like this:mx:PieSeries labelPosition="callout" 
field="val"But I keep getting the error: "Property val not found 
onflash.xml.XMLNode and there is no default value".What am I doing 
wrong?ThanksThe 
information contained in this e-mail and/or any attachments is confidential and 
intended only for the individual(s) to which it is addressed. If you are not 
named as an addressee you must not disclose, copy or take any action in reliance 
of this transmission. This e-mail and its attachments have been scanned for 
viruses by MessageLabs 
Ltd.__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__ [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[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
 /object
/body

I want a static swf that I can drop into different pages, 
and have the data dynamic. I don't really want to pull data over http if I can 
help it. Is it possible to access the xml data island from within 
Flex?




The information contained in this e-mail and/or any attachments is confidential and intended only for the individual(s) to which it is addressed. If you are not named as an addressee you must not disclose, copy or take any action in reliance of this transmission. This e-mail and its attachments have been scanned for viruses by MessageLabs Ltd.








__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex  XML 
dataislands

A 
little _javascript_ and the external interface will do it i think if i understand 
correctly.


jason


  -Message d'origine-De: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Daniel TuppenyEnvoyé: mardi 20 juin 2006 
  13:24À: flexcoders@yahoogroups.comObjet: 
  [flexcoders] Flex  XML dataislands
  
  
  
  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
   
  /object
  /body
  
  I want a static swf that I can drop into different pages, 
  and have the data dynamic. I don't really want to pull data over http if I can 
  help it. Is it possible to access the xml data island from within 
  Flex?
  
  
  
  
  The 
  information contained in this e-mail and/or any attachments is confidential 
  and intended only for the individual(s) to which it is addressed. If you are 
  not named as an addressee you must not disclose, copy or take any action in 
  reliance of this transmission. This e-mail and its attachments have been 
  scanned for viruses by MessageLabs Ltd. 
  
  __This 
  email has been scanned by the MessageLabs Email Security System.For more 
  information please visit http://www.messagelabs.com/email 
  __
   [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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 being fixed for 
the final release? :-(





From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Carson 
HagerSent: 20 June 2006 13:29To: 
flexcoders@yahoogroups.com; flexcoders@yahoogroups.comSubject: RE: 
[flexcoders] Access SOAP fault code


This is currently a 
limitation in the Flash Player ( all versions ). SOAP faults require HTTP 
500 to returned. When the FP sees a 500, it stops reading data from the 
socket. The current workaround is to use the proxy or to use some other 
mechanism to change the HTTP status code to 200 before theFP receives it. 
Yes I realize that this is pretty poor and has serious limitations.

One last note, Adobe is evidently working 
on something akin to the proxy that does this for you on your server. Clearly, 
this won't help you when accessing web services one machines over which you have 
no control.

Carson




From: flexcoders@yahoogroups.com on behalf of 
m88e24Sent: Tue 6/20/2006 3:58 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Access SOAP fault 
code




Scenario:Flash players talks directly to a SOAP web service, no proxy 
is used.The proxy attribute of the WebService element is set to "false". 
Aspecific web service operation generates an application level 
userexception and the faultcode and faultstring is returned in the 
SOAPbody. The FaultEvent object received by the fault handler 
functiondoes not contain the faultcode and the faultstring from the 
SOAPmessage. The faultDetail in the FaultEvent object is of type 
"ioError"and the error text is "Error #2032: Stream error .." . Whilst 
theactual SOAP faultcode is "soapenv:Server.userException" and the 
SOAPfaultstring is 
"coldfusion.xml.rpc.CFCInvocationException:[coldfusion.runtime.UndefinedElementException 
: Element SPELER.ID isundefined in SESSION."This is custom exception 
thrown by a remote function in a ColdFusionCFC. This is not an ioError. 
A TCPmonitor shows the correct message request and response with 
thefaultstring and faultcode as expected. How can the actual SOAP 
faultcode and faultstring be retrieved fromthe FaultEvent or in any other 
way. Why is the fault description inthe FaultEvent object totally different 
from the actual SOAP faultmessage. It is not a transport error so why does 
the FaultEvent showsan ioError. It is an application level exception and as 
such returnedto the Flash application encapsulated in the SOAP body. 
Any suggestions, thank you [Inbound Mail Scanned by 
MessageLabs]



__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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 
HagerSent: 20 June 2006 14:11To: 
flexcoders@yahoogroups.com; flexcoders@yahoogroups.comSubject: RE: 
[flexcoders] Access SOAP fault code


Preaching to the choir. 
:) Believe me...we feel the same way. From everything we have heard 
from Adobe, this will not be addressed within the player within this 
release.

That being said, does CF support anything 
like filters in J2EE that allow you to do things like alter the contents of all 
responses before they leave the server? If so, you can simply change that 
HTTP status code to 200 for all CFC requests that have resulted in SOAP 
faults.

Just to clarify, Adobe told us 
informally that they would be coming up with various server side solutions that 
would take care of this for you. You would have to check with them to see if 
they are doing this for Cold Fusion.


Carson



From: flexcoders@yahoogroups.com on behalf of 
Daniel TuppenySent: Tue 6/20/2006 9:06 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Access SOAP fault 
code





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 being fixed for 
the final release? :-(





From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Carson 
HagerSent: 20 June 2006 13:29To: 
flexcoders@yahoogroups.com; flexcoders@yahoogroups.comSubject: RE: 
[flexcoders] Access SOAP fault code


This is currently a 
limitation in the Flash Player ( all versions ). SOAP faults require HTTP 
500 to returned. When the FP sees a 500, it stops reading data from the 
socket. The current workaround is to use the proxy or to use some other 
mechanism to change the HTTP status code to 200 before theFP receives it. 
Yes I realize that this is pretty poor and has serious limitations.

One last note, Adobe is evidently working 
on something akin to the proxy that does this for you on your server. Clearly, 
this won't help you when accessing web services one machines over which you have 
no control.

Carson




From: flexcoders@yahoogroups.com on behalf of 
m88e24Sent: Tue 6/20/2006 3:58 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Access SOAP fault 
code




Scenario:Flash players talks directly to a SOAP web service, no proxy 
is used.The proxy attribute of the WebService element is set to "false". 
Aspecific web service operation generates an application level 
userexception and the faultcode and faultstring is returned in the 
SOAPbody. The FaultEvent object received by the fault handler 
functiondoes not contain the faultcode and the faultstring from the 
SOAPmessage. The faultDetail in the FaultEvent object is of type 
"ioError"and the error text is "Error #2032: Stream error .." . Whilst 
theactual SOAP faultcode is "soapenv:Server.userException" and the 
SOAPfaultstring is 
"coldfusion.xml.rpc.CFCInvocationException:[coldfusion.runtime.UndefinedElementException 
: Element SPELER.ID isundefined in SESSION."This is custom exception 
thrown by a remote function in a ColdFusionCFC. This is not an ioError. 
A TCPmonitor shows the correct message request and response with 
thefaultstring and faultcode as expected. How can the actual SOAP 
faultcode and faultstring be retrieved fromthe FaultEvent or in any other 
way. Why is the fault description inthe FaultEvent object totally different 
from the actual SOAP faultmessage. It is not a transport error so why does 
the FaultEvent showsan ioError. It is an application level exception and as 
such returnedto the Flash application encapsulated in the SOAP body. 
Any suggestions, thank you[Inbound 
Mail Scanned by 
MessageLabs]__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__
 [Inbound Mail Scanned by 
MessageLabs]



__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design 

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 
custom error object.

Maybe we can add some HttpHandlers that catch our web 
services and change the response header, but it's a little nasty, especially 
given those services may be called by other apps (like ClickOnce WinForms), 
which we'd want to server the real response to.

We'll play around when we get that far, and see what works 
best.

Thanks for the info!



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Carson 
HagerSent: 20 June 2006 14:22To: 
flexcoders@yahoogroups.com; flexcoders@yahoogroups.comSubject: RE: 
[flexcoders] Access SOAP fault code


Sorry. I got you mixed up 
with the original poster.

I'd be really surprised if you couldn't do 
this in .NET more generically than that. I'd hate to see you have to change all 
of your implementations. We made this very clear to Adobe that this was 
not acceptable but that didn't seem to matter. It was made pretty clear to us 
that the player would not be changing. Personally, I'd rather the product was 
delayed in order to get this right from the beginning. Once more people who have 
significant experience come to Flex, they are all going to find this as apalling 
as you have. I'd hate to see Flex geta bad rap over 
this.


Carson



From: flexcoders@yahoogroups.com on behalf of 
Daniel TuppenySent: Tue 6/20/2006 9:21 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Access SOAP fault 
code





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 
HagerSent: 20 June 2006 14:11To: 
flexcoders@yahoogroups.com; flexcoders@yahoogroups.comSubject: RE: 
[flexcoders] Access SOAP fault code


Preaching to the choir. 
:) Believe me...we feel the same way. From everything we have heard 
from Adobe, this will not be addressed within the player within this 
release.

That being said, does CF support anything 
like filters in J2EE that allow you to do things like alter the contents of all 
responses before they leave the server? If so, you can simply change that 
HTTP status code to 200 for all CFC requests that have resulted in SOAP 
faults.

Just to clarify, Adobe told us 
informally that they would be coming up with various server side solutions that 
would take care of this for you. You would have to check with them to see if 
they are doing this for Cold Fusion.


Carson



From: flexcoders@yahoogroups.com on behalf of 
Daniel TuppenySent: Tue 6/20/2006 9:06 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Access SOAP fault 
code





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 being fixed for 
the final release? :-(





From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Carson 
HagerSent: 20 June 2006 13:29To: 
flexcoders@yahoogroups.com; flexcoders@yahoogroups.comSubject: RE: 
[flexcoders] Access SOAP fault code


This is currently a 
limitation in the Flash Player ( all versions ). SOAP faults require HTTP 
500 to returned. When the FP sees a 500, it stops reading data from the 
socket. The current workaround is to use the proxy or to use some other 
mechanism to change the HTTP status code to 200 before theFP receives it. 
Yes I realize that this is pretty poor and has serious limitations.

One last note, Adobe is evidently working 
on something akin to the proxy that does this for you on your server. Clearly, 
this won't help you when accessing web services one machines over which you have 
no control.

Carson




From: flexcoders@yahoogroups.com on behalf of 
m88e24Sent: Tue 6/20/2006 3:58 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Access SOAP fault 
code




Scenario:Flash players talks directly to a SOAP web service, no proxy 
is used.The proxy attribute of the WebService element is set to "false". 
Aspecific web service operation generates an application level 
userexception and the faultcode and faultstring is returned in the 
SOAPbody. The FaultEvent object received by the fault handler 
functiondoes not contain the faultcode and the faultstring from the 
SOAPmessage. The faultDetail in the FaultEvent object is of type 
"ioError"and the error text is "Error #2032: Stream error .." . Whilst 
theactual SOAP faultcode is "soapenv:Server.userException" and the 
SOAPfaultstring is 

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: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Access SOAP fault 
code

If you 
can get hold of the pure HTTP response in .NET (which I doubt) then you could 
set the HTTP status code to 200. This way the exception will be handled 
correctly by Flash Player (and that's how the Flex WS proxy handle this, 
too)

Another way would be to use servlet/ISAPI filters for this. With servlet 
filters this should be straightforward, not sure about ISAPI filters however. 


Dirk.

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Daniel 
  TuppenySent: Tuesday, June 20, 2006 3:22 PMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Access SOAP 
  fault code
  
  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 
  HagerSent: 20 June 2006 14:11To: 
  flexcoders@yahoogroups.com; flexcoders@yahoogroups.comSubject: RE: 
  [flexcoders] Access SOAP fault code
  
  
  Preaching to the choir. 
  :) Believe me...we feel the same way. From everything we have 
  heard from Adobe, this will not be addressed within the player within this 
  release.
  
  That being said, does CF support anything 
  like filters in J2EE that allow you to do things like alter the contents of 
  all responses before they leave the server? If so, you can simply change 
  that HTTP status code to 200 for all CFC requests that have resulted in SOAP 
  faults.
  
  Just to clarify, Adobe told us 
  informally that they would be coming up with various server side solutions 
  that would take care of this for you. You would have to check with them to see 
  if they are doing this for Cold Fusion.
  
  
  Carson
  
  
  
  From: flexcoders@yahoogroups.com on behalf of 
  Daniel TuppenySent: Tue 6/20/2006 9:06 AMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Access SOAP 
  fault code
  
  
  
  
  
  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 being 
  fixed for the final release? :-(
  
  
  
  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Carson 
  HagerSent: 20 June 2006 13:29To: 
  flexcoders@yahoogroups.com; flexcoders@yahoogroups.comSubject: RE: 
  [flexcoders] Access SOAP fault code
  
  
  This is currently a 
  limitation in the Flash Player ( all versions ). SOAP faults require 
  HTTP 500 to returned. When the FP sees a 500, it stops reading data from the 
  socket. The current workaround is to use the proxy or to use some other 
  mechanism to change the HTTP status code to 200 before theFP receives 
  it. Yes I realize that this is pretty poor and has serious 
  limitations.
  
  One last note, Adobe is evidently working 
  on something akin to the proxy that does this for you on your server. Clearly, 
  this won't help you when accessing web services one machines over which you 
  have no control.
  
  Carson
  
  
  
  
  From: flexcoders@yahoogroups.com on behalf of 
  m88e24Sent: Tue 6/20/2006 3:58 AMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Access SOAP fault 
  code
  
  
  
  
  Scenario:Flash players talks directly to a SOAP web service, no 
  proxy is used.The proxy attribute of the WebService element is set to 
  "false". Aspecific web service operation generates an application level 
  userexception and the faultcode and faultstring is returned in the 
  SOAPbody. The FaultEvent object received by the fault handler 
  functiondoes not contain the faultcode and the faultstring from the 
  SOAPmessage. The faultDetail in the FaultEvent object is of type 
  "ioError"and the error text is "Error #2032: Stream error .." . Whilst 
  theactual SOAP faultcode is "soapenv:Server.userException" and the 
  SOAPfaultstring is 
  "coldfusion.xml.rpc.CFCInvocationException:[coldfusion.runtime.UndefinedElementException 
  : Element SPELER.ID isundefined in SESSION."This is custom 
  exception thrown by a remote function in a ColdFusionCFC. This is not an 
  ioError. A TCPmonitor shows the correct message request and response 
  with thefaultstring and faultcode as expected. How can the actual 
  SOAP faultcode and faultstring be retrieved fromthe FaultEvent or in any 
  other way. Why is the fault description inthe FaultEvent object totally 
  different from 

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; flexcoders@yahoogroups.comSubject: RE: 
[flexcoders] Access SOAP fault code


You can definitely do this so 
that only the flex app gets the affected response. The FP has a unique 
user agent name that you can look at to determine if you need to change the http 
status code or not. That's how we've done this.


Carson



From: flexcoders@yahoogroups.com on behalf of 
Daniel TuppenySent: Tue 6/20/2006 9:50 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Access SOAP fault 
code





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 
custom error object.

Maybe we can add some HttpHandlers that catch our web 
services and change the response header, but it's a little nasty, especially 
given those services may be called by other apps (like ClickOnce WinForms), 
which we'd want to server the real response to.

We'll play around when we get that far, and see what works 
best.

Thanks for the info!



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Carson 
HagerSent: 20 June 2006 14:22To: 
flexcoders@yahoogroups.com; flexcoders@yahoogroups.comSubject: RE: 
[flexcoders] Access SOAP fault code


Sorry. I got you mixed up 
with the original poster.

I'd be really surprised if you couldn't do 
this in .NET more generically than that. I'd hate to see you have to change all 
of your implementations. We made this very clear to Adobe that this was 
not acceptable but that didn't seem to matter. It was made pretty clear to us 
that the player would not be changing. Personally, I'd rather the product was 
delayed in order to get this right from the beginning. Once more people who have 
significant experience come to Flex, they are all going to find this as apalling 
as you have. I'd hate to see Flex geta bad rap over 
this.


Carson



From: flexcoders@yahoogroups.com on behalf of 
Daniel TuppenySent: Tue 6/20/2006 9:21 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Access SOAP fault 
code





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 
HagerSent: 20 June 2006 14:11To: 
flexcoders@yahoogroups.com; flexcoders@yahoogroups.comSubject: RE: 
[flexcoders] Access SOAP fault code


Preaching to the choir. 
:) Believe me...we feel the same way. From everything we have heard 
from Adobe, this will not be addressed within the player within this 
release.

That being said, does CF support anything 
like filters in J2EE that allow you to do things like alter the contents of all 
responses before they leave the server? If so, you can simply change that 
HTTP status code to 200 for all CFC requests that have resulted in SOAP 
faults.

Just to clarify, Adobe told us 
informally that they would be coming up with various server side solutions that 
would take care of this for you. You would have to check with them to see if 
they are doing this for Cold Fusion.


Carson



From: flexcoders@yahoogroups.com on behalf of 
Daniel TuppenySent: Tue 6/20/2006 9:06 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Access SOAP fault 
code





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 being fixed for 
the final release? :-(





From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Carson 
HagerSent: 20 June 2006 13:29To: 
flexcoders@yahoogroups.com; flexcoders@yahoogroups.comSubject: RE: 
[flexcoders] Access SOAP fault code


This is currently a 
limitation in the Flash Player ( all versions ). SOAP faults require HTTP 
500 to returned. When the FP sees a 500, it stops reading data from the 
socket. The current workaround is to use the proxy or to use some other 
mechanism to change the HTTP status code to 200 before theFP receives it. 
Yes I realize that this is pretty poor and has serious limitations.

One last note, Adobe is evidently working 
on something akin to the proxy that does this for you on your server. Clearly, 
this won't help you when accessing web services one machines over which you have 
no control.

Carson




From: flexcoders@yahoogroups.com on behalf of 

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:

C:\Documents and Settings\[USERNAME]\Local Settings\Temporary Internet
Files

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Carabetta
Sent: 20 June 2006 16:50
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flash Video Crash Frequency Becoming Alarming

On 6/20/06, Tom Chiverton [EMAIL PROTECTED] wrote:
 On Tuesday 20 June 2006 15:56, Dave Carabetta wrote:
  Major commercial sites where the browser tends to crash:
  CNN.com
  ESPN.com

 I spent 5 minutes clicking on each site, and it didn't crash.
 Mind you, ESPN claims I needed Flash 8 most of the time, so their in a

 world of hurt already :-)


Yeah, I've posted feedback to them as well noting that their detection
scripts need to be updated. It's usually on their sub-pages (clicking
into a story link), and, like I said, it's usually only when it's the
Apple ad with the two dudes (using Flash Video rather than the standard
movie). If it were a clear repro (i.e., I could get the link to the SWF
before my browser crashes), I'd certainly post it.

Regards,
Dave.


 Yahoo! Groups Sponsor ~--
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links



 




[Inbound Mail Scanned by MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





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 folder, 
so sounds like a problem with compiling, rather than the Clean 
option.

I'm guessing there are still files in your html-templates 
folder?


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Phil 
MarstonSent: 15 June 2006 14:55To: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] How to recover 
from 'cleaning' project?
Thanks Daniel,but there must be a difference in behavior 
between your FlexBuilder and mine because thats where the problem lays for 
me. When I selected Project - Clean... it cleared everything out of 
the project bin including the html files the debug files and everything! 
The damn thing wont recompile or rebuild - I get no "regenerate html" option and 
there is no message in the Problems pane - it just bombs with a "Launch Failed" 
modal dialog saying "File not found {the path to /bin/project.html 
here}"I've been trying to create a whole new project from scratch with 
different name, but the whole IDE seems to've given up on running the code for 
this project . . . . curses-under-breath/PhilDaniel 
Tuppeny wrote: 

  
  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 
  :-)
  
  
  From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
  On Behalf Of Michael SchmalleSent: 15 June 2006 
  12:50To: flexcoders@yahoogroups.comSubject: 
  Re: [flexcoders] How to recover from 'cleaning' 
  project?Oh yeah,You could also just copy in the 
  swf's and html from another project rename them and recompile.I have 
  found this method is not so 'stable' but most of the time works.Peace, 
  Mike
  On 6/15/06, Michael 
  Schmalle [EMAIL PROTECTED] 
  wrote: 
  
Hi,This is what I do,Rename your project, oldProj or 
something. Create a new project with the same name as your old one. 
If I were you with this still in beta, rebuild your project if not to 
complicated. In the new project, you then have new swf's and .html 
files.You also could copy the files back into the old and rename it 
back.But, when something like that happens to me, I am more than 
willing to just start from scratch with a new project with the same 
name.It only takes me about 1-2 minutes to rename, move and delete 
stuff and it's back up and running.If anybody knows a better way, I 
am all ears.Peace, Mike

On 6/15/06, Phil 
Marston  
[EMAIL PROTECTED] wrote: 

  
  
  
  
  
  Hi all,Making a mess here! For some reason Flex Builder didn't 
  seem to be incorporating changes I'd made to source files, so I 
  figured there was some sort of caching issue (I don't really know how 
  Eclipse works) so I figured if I clear out all the compiled stuff and 
  get FB to build from scratch that'd do it ... big mistake it's now 
  refusing to build apparently because the html file to display the swf 
  in is missing - my projects bin directory is empty!What do I 
  have to do?:'(-- 
  __ Phil 
  Marston Learning TechnologistLearning Technology Unit Edward 
  Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK[EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 
  723660 http://www.abdn.ac.uk/diss/ltu/pmarston/http://www.abdn.ac.uk/diss/ltu/__The 
  University of Aberdeen Open Day 29th August 2006Booking is 
  essentialwww.abdn.ac.uk/opendayemail [EMAIL PROTECTED]or call 0800 027 
  1495
-- What goes up, does come down. 
  -- What goes up, 
  does come down. [Inbound Mail 
  Scanned by 
  MessageLabs]__This 
  email has been scanned by the MessageLabs Email Security System.For more 
  information please visit http://www.messagelabs.com/email 
  __-- 
__ 
Phil Marston 
Learning Technologist
Learning Technology Unit 
Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK
[EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660 
http://www.abdn.ac.uk/diss/ltu/pmarston/
http://www.abdn.ac.uk/diss/ltu/
__

The University of Aberdeen Open Day 29th August 2006
Booking is essential
www.abdn.ac.uk/openday
email [EMAIL PROTECTED]
or call 0800 

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

2006-06-19 Thread Daniel Tuppeny





 it's 
like it's got a cached version of your last error free source file that it uses 
to compile from

Sounds like the Clean stuff is working fine, but if you're 
hitting Run with build errors and it's opening up an old version and pretending 
everything is ok, I'd be a little worried!

Every time I hit the Run button, it compiles, and halts if 
there are errors. Do you not get the same?




From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Phil MarstonSent: 19 June 2006 14:18To: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] How to recover 
from 'cleaning' project?
Yeah the html-templates folder is untouched - what I'm beginning to 
discover is that if there are any errors in your code when you clean, then the 
project wont recompile - kind of obvious really! Trouble was that I 
thought is was compiling despite there being errors prior to cleaning - I'm now 
realising that it was compiling using a previous version even if you make some 
alterations to your source file and save, but still have errors - it's like it's 
got a cached version of your last error free source file that it uses to compile 
from.Maybe this is normal experience 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 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 folder, so sounds like a problem with compiling, rather than the 
  Clean option.
  
  I'm guessing there are still files in your html-templates 
  folder?
  
  
  From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
  On Behalf Of Phil MarstonSent: 15 June 2006 
  14:55To: flexcoders@yahoogroups.comSubject: 
  Re: [flexcoders] How to recover from 'cleaning' 
  project?Thanks Daniel,but there must be a 
  difference in behavior between your FlexBuilder and mine because thats where 
  the problem lays for me. When I selected Project - Clean... it 
  cleared everything out of the project bin including the html files the debug 
  files and everything! The damn thing wont recompile or rebuild - I get 
  no "regenerate html" option and there is no message in the Problems pane - it 
  just bombs with a "Launch Failed" modal dialog saying "File not found {the 
  path to /bin/project.html here}"I've been trying to create a whole new 
  project from scratch with different name, but the whole IDE seems to've given 
  up on running the code for this project . . . . 
  curses-under-breath/PhilDaniel Tuppeny wrote: 
  

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


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Michael SchmalleSent: 15 June 2006 
12:50To: flexcoders@yahoogroups.comSubject: 
Re: [flexcoders] How to recover from 'cleaning' 
project?Oh yeah,You could also just copy in the 
swf's and html from another project rename them and recompile.I have 
found this method is not so 'stable' but most of the time 
works.Peace, Mike
On 6/15/06, Michael 
Schmalle [EMAIL PROTECTED] 
wrote: 

  Hi,This is what I do,Rename your project, oldProj or 
  something. Create a new project with the same name as your old 
  one. If I were you with this still in beta, rebuild your project if not to 
  complicated. In the new project, you then have new swf's and .html 
  files.You also could copy the files back into the old and rename 
  it back.But, when something like that happens to me, I am more 
  than willing to just start from scratch with a new project with the same 
  name.It only takes me about 1-2 minutes to rename, move and delete 
  stuff and it's back up and running.If anybody knows a better way, 
  I am all ears.Peace, Mike
  
  On 6/15/06, Phil 
  Marston  
  [EMAIL PROTECTED] wrote: 
  





Hi all,Making a mess here! For some reason Flex Builder 
didn't seem to be incorporating changes I'd made to source files, so 
I figured there was some sort of caching issue (I don't really know 
how Eclipse works) so I figured if I clear out all the compiled 
stuff and get FB to build from scratch that'd do it ... big mistake 
it's now refusing to build apparently because the html file to 
display the swf in is missing - my projects bi

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: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] how to assign 
itemRenderer w/ActionScript
itemRenderers are sometimes styles and sometimes not. And 
when they are styles, they're not really.:)That makes sense to a 
programmer... hehePeace, MikeActually I am glad this was brought 
up, something to figure out.
On 6/19/06, Pan 
Troglodytes [EMAIL PROTECTED]  
wrote:

  
  
  
  
  
  Okay, let me correct my statement:itemRenderers are sometimes 
  styles and sometimes not. And when they are styles, they're not 
  really.;)
  
  On 6/19/06, 
  Michael Schmalle [EMAIL PROTECTED] wrote:
  
  





Hi,Don't get them confused; itemRenderers ARE 
stylesTheoretically it is a property not a style. You may be able to 
set them with setStyle() but, they are not styles of the 
ListBase.Anytime you see this in a class file;itemRenderer = 
new ClassFactory(ListItemRenderer);Which is in the Constructor of 
List, it is a property.and when you see this in a 
class public function get 
itemRenderer():IFactory 
{  
} /** * 
@private */ public 
function set itemRenderer(value:IFactory):void 
{ ... }It is 
a property of that class not a style.BTW, itemRenderer is not in 
either of the nonInheritingStyles or inheritingStyles proto chain. So I 
really don't know how that is even working.It may just be a fluke 
because itemRenderer is a public property already defined on the 
ListBase.Just to clear some things up :)Peace, 
Mike

On 6/19/06, Pan 
Troglodytes  
[EMAIL PROTECTED] wrote:


  
  
  
  
  
  
  itemRenderers ARE styles, the help just hasn't completely been updated 
  yet.You were actually very 
  close.myTile.setStyle("itemRenderer", new 
  ClassFactory(myThumbnail));You may have to fully qualify it: 
  myTile.setStyle("itemRenderer", new 
  ClassFactory(itemRenderers.myThumbnail));Now, as to how to 
  manipulate it after this, I don't know. See my thread "changing out 
  pieSeries.itemRenderer at runtime" where I'm asking the same thing. 
  
  
  On 6/19/06, keishichi2001  
  [EMAIL PROTECTED] wrote:
  





I've trying following code to assign custom renderer into 
itemRendererproperty on a TileList.You'll see commented 
part, which works well.However, I just want to try how i can do this 
by ActionScript.Following code reports no error, but each cell is 
empty(actuallyprinted 'object Object').Someone could help me 
out?k?xml version="1.0" 
encoding="utf-8"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" 
xmlns:comp="*"creationComplete="init()"mx:Script![CDATA[import 
itemRenderers.myThumbnail;import 
mx.collections.ArrayCollection;[Bindable]private var 
photoColl:ArrayCollection;private var mT:myThumbnail = new 
myThumbnail;private function 
init():void{simpletest.send();myTile.setStyle("itemRenderer", 
mT);}]]/mx:Scriptmx:Label 
id="foodName"text="Watch here"/mx:HTTPService 
id="simpletest"url=""result="photoColl=newArrayCollection(simpletest.lastResult.list.food)"/mx:TileList 
id="myTile"dataProvider="{photoColl}"width="700"rowHeight="170"columnWidth="220"/!-- 
mx:TileList 
id="foodTile"dataProvider="{photoColl}"itemRenderer="itemRenderers.myThumbnail"width="700"rowHeight="170"columnWidth="220"/--/mx:Application
  
  -- --Jason 
  
-- What goes up, does come down. 

-- --Jason 
  -- What goes up, does come down.  [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS 

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

2006-06-19 Thread Daniel Tuppeny





I see. I took that dialog to mean similar to Visual 
Studio's, which is basically "I failed to build because your code is broken. 
Should I launch the last version?". I guess it's so you can get into your app as 
it was last built if you need to see something, but you've screwed the code up. 
It's not building from old files, it's just launching the last build (since it 
failed to overwrite the old one with the new one, because of the 
errors).

If you see that error, you should pretty much 
alwaysclick No, and check the problems :-)




From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Phil MarstonSent: 19 June 2006 16:54To: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] How to recover 
from 'cleaning' project?
Yeah it does halt . . . and a dialog pops up saying "Errors exist in 
required project(s):projName. Continue launch? [Yes][No]" 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 cached version of your last error free source file 
  that it uses to compile from
  
  Sounds like the Clean stuff is working fine, but if 
  you're hitting Run with build errors and it's opening up an old version and 
  pretending everything is ok, I'd be a little worried!
  
  Every time I hit the Run button, it compiles, and halts 
  if there are errors. Do you not get the same?
  
  
  
  
  From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
  On Behalf Of Phil MarstonSent: 19 June 2006 
  14:18To: flexcoders@yahoogroups.comSubject: 
  Re: [flexcoders] How to recover from 'cleaning' 
  project?Yeah the html-templates folder is untouched - 
  what I'm beginning to discover is that if there are any errors in your code 
  when you clean, then the project wont recompile - kind of obvious 
  really! Trouble was that I thought is was compiling despite there being 
  errors prior to cleaning - I'm now realising that it was compiling using a 
  previous version even if you make some alterations to your source file and 
  save, but still have errors - it's like it's got a cached version of your last 
  error free source file that it uses to compile from.Maybe this is 
  normal experience 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 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 folder, so sounds like a problem with compiling, rather than 
the Clean option.

I'm guessing there are still files in your 
html-templates folder?


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Phil MarstonSent: 15 June 2006 
14:55To: flexcoders@yahoogroups.comSubject: 
Re: [flexcoders] How to recover from 'cleaning' 
project?Thanks Daniel,but there must be a 
difference in behavior between your FlexBuilder and mine because thats where 
the problem lays for me. When I selected Project - Clean... it 
cleared everything out of the project bin including the html files the debug 
files and everything! The damn thing wont recompile or rebuild - I get 
no "regenerate html" option and there is no message in the Problems pane - 
it just bombs with a "Launch Failed" modal dialog saying "File not found 
{the path to /bin/project.html here}"I've been trying to create a 
whole new project from scratch with different name, but the whole IDE seems 
to've given up on running the code for this project . . . . 
curses-under-breath/PhilDaniel Tuppeny wrote: 

  
  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 
  :-)
  
  
  From: flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] 
  On Behalf Of Michael SchmalleSent: 15 June 2006 
  12:50To: flexcoders@yahoogroups.comSubject: 
  Re: [flexcoders] How to recover from 'cleaning' 
  project?Oh yeah,You could also just copy in 
  the swf's and html from another project rename them and 
  recompile.I have found this method is not so 'stable' but most of 
  the time works.Peace, Mike
  On 6/15/06, Michael 
  Schmalle [EMAIL PROTECTED] 
  wr

  1   2   >