[flexcoders] Reducing padding / margin between UI items

2006-06-20 Thread polestar11
Hi there

Does anyone know how to control the padding / margin amounts between
UI items, some kind of a container command equivallent to
childPaddingLeft/Right.

I have a TileList that contians a item-rendered component that
contians 2 labels. I am struggling to shift the 1 label closer to the
other. Here is the code:

mx:TileList columnCount=4 direction=horizontal
verticalAlign=top itemRenderer=MyListItem
/mx:TileList

The component item, MyListItem:
mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; height=20
horizontalScrollPolicy=off verticalScrollPolicy=off autoLayout=true
mx:HBox
mx:Label text={data.number}. /
mx:Label text={data.text} /
/mx:HBox
/mx:Canvas






 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] Re: Reducing padding / margin between UI items

2006-06-20 Thread Tim Hoff
That would be HorizontalGap for an HBox (VerticalGap for VBox).  You 
can go negative here if needed.

-TH 

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

 Hi there
 
 Does anyone know how to control the padding / margin amounts 
between
 UI items, some kind of a container command equivallent to
 childPaddingLeft/Right.
 
 I have a TileList that contians a item-rendered component that
 contians 2 labels. I am struggling to shift the 1 label closer to 
the
 other. Here is the code:
 
 mx:TileList columnCount=4 direction=horizontal
 verticalAlign=top itemRenderer=MyListItem
 /mx:TileList
 
 The component item, MyListItem:
 mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; height=20
 horizontalScrollPolicy=off verticalScrollPolicy=off 
autoLayout=true
   mx:HBox
   mx:Label text={data.number}. /
   mx:Label text={data.text} /
   /mx:HBox
 /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

* 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 assign itemRenderer w/ActionScript

2006-06-20 Thread Tom Chiverton
On Monday 19 June 2006 16:57, Pan Troglodytes wrote:
 Charts, for one.  See the thread changing out pieSeries.itemRenderer at
 runtime.

What happens if you just assign to the property rather than using setStyle ?
Maybe Ely Greenfield can shed light on why there is an inconsistency here 
(might be bug, might be feature).

-- 
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 ~-- 
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] how to assign itemRenderer w/ActionScript

2006-06-20 Thread Tom Chiverton
On Monday 19 June 2006 17:02, Pan Troglodytes wrote:
 In fact, I couldn't find a single example in the help that explained using
 setStyle for itemRenderers.

Maybe that's because you're not meant to do it :-)

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

* 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] Re: Flex2B2 - cut off any gui controls that appear outside of parent container

2006-06-20 Thread bhaq1972
hi Jason

How can I keep this effect if i modify your example to become

mx:HBox width=100% height=100 backgroundColor=yellow
 mx:Button label=number1 width=75%/
 mx:Canvas width=25% horizontalScrollPolicy=off
 mx:Button width=100 label=number2/
 /mx:Canvas
 /mx:HBox

thanks
bod

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

 Have a nested container do the clipping for you. eg:
 
 mx:HBox width=300 height=100 backgroundColor=yellow
 mx:Button label=number1 width=75%/
 mx:Canvas width=25% horizontalScrollPolicy=off
 mx:Button width=100 label=number2/
 /mx:Canvas
 /mx:HBox
 
 
 On 6/16/06, bhaq1972 [EMAIL PROTECTED] wrote:
 
  Mike and Tom thanks for the input.
 
  firstly, I tried using clipContent before but doesn't work.
 
  if i was dealing with fixed widths and set the
  horizonatalScrollPolicy 'off', i can achieve the effect i was
  looking for eg
 
  mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; 
xmlns=* 
  mx:HBox width=300 height=100 
backgroundColor=yellow
  horizontalScrollPolicy=off
  mx:Button label=number1 width=225/
  mx:Button label=number2 width=85/
  /mx:HBox
  /mx:Application
 
  But as i'm not dealing with fixed button widths, i had to think 
of
  another way to get this effecthence paddingRight=-15 and some
  kind of contentClip.
 
  As i'm only dealing with layout, i would have thought something
  would work out of the box. Adobe???
 
  I'm willing to try your suggestion of a mask, if you can gives 
us a
  few ideas on how to do that thanks.
 
 
  regrds
  bod
 
 
 
 
 
 
 
 
 
  --- In flexcoders@yahoogroups.com, Michael Schmalle
  teoti.graphix@ wrote:
  
I don't think the layout algorithm  takes negetives into 
account.
  
   I didn't mean it doesn't use the negetive padding, just it 
doesn't
  calculate
   the 'measured width' right when laying out the mask for the
  container using
   a negetive padding with a percentage.
  
   Ah, to hard to explain right.
  
   Peace, Mike
  
   On 6/15/06, Michael Schmalle teoti.graphix@ wrote:
   
Hi,
   
For you to understand the problem you need to understand how 
the
  HBox lays
it's children out and uses viewMetrics.
   
The reason this is not working is because since you specified
  75% width,
the container will calc the .75 of the width minus anything 
that
  is static
IE your button 2.
   
When you say paddingRight = -15, this kind defines the logic 
of
  the
layout.
   
For some reason, when you specify -15 for paddingLeft, the
  content on both
sides then get clipped.
   
I am not Adobe, but I would venture to guess this cannot be 
done
  right
now. Not saying this is a bug but, I don't think the layout
  algorithm  takes
negetives into account.
   
You could always subclass HBox and create a mask over it and 
use
borderMetrics to size the mask.
   
Peace, Mike
   
   
   
On 6/15/06, Tom Chiverton tom.chiverton@ wrote:

On Thursday 15 June 2006 12:09, bhaq1972 wrote:
  how do i achieve this ?

 clipContent ?

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



   
   
   
--
What goes up, does come down.
   
  
  
  
   --
   What goes up, does come down.
  
 
 
 
 
 
 
 
  --
  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
 
 
 
 
 
 
 
 








 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.

[flexcoders] FYI - this email address has been abused and is no longer an acceptable email address

2006-06-20 Thread phlux



Hi there,

If you are getting this message it is probably because you tried to email me at [EMAIL PROTECTED]  Unfortunately, this email generates too much spam, which renders it quite useless.

The best way to reach me is through my myspace account.  This way I can be sure I do not get followed by these spammers.

http://www.myspace.com/phlux

Thank you.  I look forward to hearing from you.

Smiles,

Phlux
__._,_.___





--
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 Jason Hawryluk





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 
  __
  
__._,_.___





--
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] How to capture/handle runtime errors?

2006-06-20 Thread Michael Schmalle



Just guessing but,

additional compiler arguments?

Peace, MikeOn 6/20/06, Daniel Tuppeny [EMAIL PROTECTED] wrote:









  






Is this configurable, so we can still find bugs when we 
upgrade to the release player?


From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Jason 
SzetoSent: 20 June 2006 00:23To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] How to 
capture/handle runtime errors?


This is probably too 
late for your demo. You can use the Release version of the player. It will 
silently ignore any RTE. 

Jason







From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Pat 
BuchananSent: Thursday, June 
15, 2006 5:43 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] How to capture/handle 
runtime errors?




Hello all!I'm experiencing runtime error # 2025 
(The supplied DisplayObject must be a child of the caller). I have not 
been able to solve the problem, but I have a demo tomorrow and do not want to 
have the error pop up and have to click the dismiss all button. This may 
even be a Flex 2 beta problem, but I have not been able to track it down. 
It happens when I push the Tab key.Is there a way to 
handle/capture/mute the runtime error message, just until I can figure out the 
bug???Thanks!-Pat
 [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 
__


  













-- What goes up, does come down.

__._,_.___





--
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] Re: Getting a DataGrid item renderer instance

2006-06-20 Thread Bruce Denham
Very nice! Thank you Jeremy and Tim for putting this together for 
me! Now I just need to go read more in the Flex docs about the item 
renderer interfaces and the eventing magic that's going on behind 
the scenes. Again, much thanks.

Bruce

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

 
 Per Jeremy's suggestion, this will work in your components.imgReset
 itemRenderer component.
 
 -TH
 
 mx:Script
![CDATA[
 
 import mx.events.DataGridEvent;
 
 public function init():void   // creationComplete of the 
itemRenderer
 {
 
 parentDocument.myGrid.addEventListener
(DataGridEvent.ITEM_EDIT_BEGIN,
 showResetState);
 
 parentDocument.myGrid.addEventListener(DataGridEvent.ITEM_EDIT_END,
 showDefaultState);
  }
 
  public function showResetState(event:DataGridEvent):void
  {
  if (this.data == event.itemRenderer.data)
  {
   currentState = 'showReset';
  }
   }
 
  public function showDefaultState(event:DataGridEvent):void
  {
  currentState = '';
   }
 
 ]]
 /mx:Script
 
 --- In flexcoders@yahoogroups.com, Bruce Denham bdenham@ wrote:
 
  Thanks, Tim and Tracy. I've started to explore/experiment more 
based
  on your feedback. I'll play with it more tonight and let you know
  what I come up with. Thanks, again!
 
  Bruce
 
  --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:
  
  
   Hi Bruce,
  
   I've been trying to figure this one out. As Tracy suggests, you
  could
   put something like this in the itemRenderer component? I'm not
  sure,
   however, how to associate the itemEditorInstance with the
  itemRenderer
   instance. This might get you a little closer.
  
   -TH
  
   mx:Script
   ![CDATA[
  
   import mx.core.Application;
   import mx.events.DataGridEvent;
  
   public function init():void // creationComplete of the
  itemRenderer
   {
  
   Application.application.myGrid.addEventListener
  (DataGridEvent.ITEM_EDIT_\
   BEGIN, showResetState);
  
   Application.application.myGrid.addEventListener
  (DataGridEvent.ITEM_EDIT_\
   END, showDefaultState);
   }
  
   public function showResetState(event:DataGridEvent):void
   {
   // not sure exactly how, but you probably have to
  check here
   to see if the itemEditorInstance relates to this
   // itemRenderer instance. Something like if
  (this =
   event.itemRenderer) {} ???
   currentState = 'showReset';
   }
  
   public function showDefaultState(event:DataGridEvent):void
   {
   currentState = '';
   }
  
   ]]
   /mx:Script
  
   --- In flexcoders@yahoogroups.com, Tracy Spratt tspratt@ 
wrote:
   
I think you need to do this via the underlying dataProvider,
  instead
   of
trying to directly manipulate rendered controls.
   
   
   
On the edit event of the text control, set a property in the
corresponding dataProvider item. Have the item renderer 
respond
  to
   that
value change by changing its state.
   
   
   
Tracy
   
   
   

   
From: flexcoders@yahoogroups.com
  [mailto:[EMAIL PROTECTED]
   On
Behalf Of flex8it
Sent: Monday, June 19, 2006 1:24 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Getting a DataGrid item renderer
  instance
   
   
   
More specifically, here's what I'm trying to change the
  viewState in
my itemRenderer when the DataGrid's textfield is edited. But 
in
order to do that, I need to somehow get an instance 
reference to
  my
renderer component. And nothing I've done seems to work...
   
?xml version=1.0?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
http://www.adobe.com/2006/mxml 
xmlns:comp=components.*
verticalAlign=top horizontalAlign=center
layout=absolute
   
mx:Script
![CDATA[
import components.imgReset;
import mx.collections.ArrayCollection;
import mx.events.DataGridEvent;
import mx.controls.Alert;
   
[Bindable]
public var choices:ArrayCollection = choices = new
ArrayCollection([
{resetImage: images/reset.png, fieldName: Smalltown},
{resetImage: images/reset.png, fieldName: Bigtown},
]);
   
private function changeRendererState(event:DataGridEvent) : 
void
{
// I can get the rowIndex and columnIndex for the renderer,
// but I don't exactly how to use them to get to the
renderer object...
Alert.show(event.rowIndex + ,  + (event.columnIndex - 1));
   
// I just want to get the renderer instance...
// First, there's a problem with my typecasting ??
// Second, there's no such thing as a row property on
// the DataGrid, but I really want there to be...
var RendererInstance:imgReset = imgReset(this.myGrid.columns
[event.columnIndex-1].row[event.rowIndex].itemRenderer);
   
// Now I want to manipulate renderer instance
properties/states...
RendererInstance.currentState = 'showReset';
}
]]

[flexcoders] dragging constraints

2006-06-20 Thread Rajesh Deshmukh










Hello friends,




I am having an application just like multiple choice.


Also iam having feedback window(an
instance of TitleWindow) to show .


I can drag and drop this window but after dropping the feedback window
gets disappeared can anybody please let me know


How to fix that window instead of disappearing.





Regards

Rajesh Deshmukh








__._,_.___





--
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] info abt companies using Flex

2006-06-20 Thread vicky
can anyone give information abt the companies in india who r using 
flex .i hv recently completed one project in flex 1.5 and java.
any location in india is welcome but delhi ncr will bepreferred.

with regards
vinay sharma






 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/
 





[flexcoders] mxmlc - context root - any root

2006-06-20 Thread ssundke
Hi, 

I have a framework product for which im using flex. I would like to 
distribute as a compiled swf. In my mxml I need to make an HTTP 
Service call to the same server on which this swf is used i.e the 
context root can vary on deployment but I always want to reach the 
same url given a context root
/context-root/RouterServlet.

Now my problem is how do I give the url in the mxml and or mxmlc so 
that my swf can be placed in any context root but it always need to 
reach the url /context-root/RouterServlet

Im using Flex 1.5 right now and intend to go live with this since Flex 
2.0 is not out yet.








 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] Converting Java objects to ActionScript

2006-06-20 Thread hans73it
I'm trying to call a remote object that returns a List of String.

After I've invoked the method Flex throws this Error:


ArgumentError: Error #2004: One of the parameters is invalid.

myFault: (mx.messaging.messages::ErrorMessage)#0
  body = (Object)#1
  clientId = (null)
  correlationId = 6D027356-DA87-5CBB-9C7D-F07EFBCDE4F0
  destination = 
  extendedData = (null)
  faultCode = Server.Acknowledge.Failed
  faultDetail = Was expecting 
mx.messaging.messages.AcknowledgeMessage, but received null
  faultString = Didn't receive an acknowledge message
  headers = (Object)#2
  messageId = D11F9A89-1A82-88CD-AF17-F07EFF841B75
  rootCause = (null)
  timestamp = 0
  timeToLive = 0

I also have this error with a Set class as result...Flex 
documentation said that a Java Collection is converted in an 
ActionScript ArrayCollection...I'm missing something?

-I'm using the JDK5.0, Flex beta3, tomcat 5.5.17
-If I use a Map object as result, it works...

Thanks,
Roberto





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



  






__,_._,___



[flexcoders] Re: Getting rid of rectangle on axis (FB2.3 charts)

2006-06-20 Thread sp0rarb3jd3r
On the axis there is a different coloured underlying rectangle (to
contrast the individual individual tick lines, I think). I would like
for there to be only one straight line.
To exemplify:  
http://www.itu.dk/people/urlgrey/example1.gif.

Y!



  
 Do you mean the axis itself? I'm not sure what rectangle you're
 referring to.
  
 E.
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of sp0rarb3jd3r
 Sent: Monday, June 19, 2006 6:13 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Getting rid of rectangle on axis (FB2.3 charts)
 
 
 
 Is there anyway to get rid of the little rectangle* that forms around
 the vertical axis on the linecharts.
 I can't seem to find the style that turns it off.
 If that is possible, mind.
 
 Y!
 
 *It's the bit that is there to ensure you spot the tick-lines.








 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] Access SOAP fault code

2006-06-20 Thread Carson Hager









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 



__._,_.___





--
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 Jason Hawryluk





import flash.external.*;

It works well.

Good 
luck

Jason



  -Message d'origine-De: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Daniel TuppenyEnvoyé: mardi 20 juin 2006 
  14:10À: flexcoders@yahoogroups.comObjet: RE: 
  [flexcoders] Flex  XML dataislands
  
  
  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] Re: Getting rid of rectangle on axis (FB2.3 charts)

2006-06-20 Thread Sreejith Unnikrishnan





mx:verticalAxisRenderermx:AxisRenderermx:axisStrokemx:Stroke 
color="#33" weight="1" 
//mx:axisStroke/mx:AxisRenderer/mx:verticalAxisRenderer




  - Original Message - 
  From: 
  sp0rarb3jd3r 
  To: flexcoders@yahoogroups.com 
  Sent: Tuesday, June 20, 2006 1:54 
PM
  Subject: [flexcoders] Re: Getting rid of 
  rectangle on axis (FB2.3 charts)
  
  
  On the axis there is a different coloured underlying rectangle 
  (tocontrast the individual individual tick lines, I think). I would 
  likefor there to be only one straight line.To exemplify: http://www.itu.dk/people/urlgrey/example1.gif.Y! 
   Do you mean the axis itself? I'm not sure what rectangle 
  you're referring to.  E.   
    From: [EMAIL PROTECTED]ups.com 
  [mailto:[EMAIL PROTECTED]ups.com] 
  On Behalf Of sp0rarb3jd3r Sent: Monday, June 19, 2006 6:13 
  AM To: [EMAIL PROTECTED]ups.com 
  Subject: [flexcoders] Getting rid of rectangle on axis (FB2.3 charts) 
 Is there anyway to get rid of the little rectangle* 
  that forms around the vertical axis on the linecharts. I can't 
  seem to find the style that turns it off. If that is possible, 
  mind.  Y!  *It's the bit that is there to 
  ensure you spot the tick-lines.
__._,_.___





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



  






__,_._,___



[flexcoders] Re: toolTip for dataGrid headers?

2006-06-20 Thread djbrown_rotonews

I'm discovered that I need to implement my own headerRenderer as part 
of each DataGridColumn, but how do I go about accessing what column 
I'm currently looking at. I'm wanting to add a generic headerRenderer 
for all 22 columns of my DataGrid, displaying a tool tip based on the 
id of the UIComponent I'm currently looking at.


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

 I'm wanting to add toolTip for dataGrid headers, where a tool tip is 
 displayed when hovering over a header of a data grid that displays 
 more information about that particular column. It doesn't appear 
than 
 an itemRollOverEvent is generated when rolling over a header, so 
 what's the best way to do this?







 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] Access SOAP fault code

2006-06-20 Thread Carson Hager









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 
__
 



__._,_.___





--
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 Carson Hager









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 
"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 

RE: [flexcoders] Access SOAP fault code

2006-06-20 Thread Carson Hager









Clarification...significant 
experience in web services development.


Carson



From: flexcoders@yahoogroups.com on behalf of 
Carson HagerSent: Tue 6/20/2006 9:21 AMTo: 
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 
"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 

RE: [flexcoders] Access SOAP fault code

2006-06-20 Thread Dirk Eismann





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

[flexcoders] Debugging RTMP

2006-06-20 Thread David Clark



Is there any tool that can debug (monitor) RTMP traffic from flex2b3 to FMS2?I am still trying to figure out what is going on with NetConnection.connect arguments missing, but now I realise that there is no longer any way to see what is being passed in connect or call requests. There used to be NetConnection Debugger but that does not work anymore, I found one adobe site that talks about a Network Debugger but I cannot find it, ServiceCapture does not do RTMP yet.
Anyone shed any light?-- davidMany people die at twenty five and aren't buried until they are seventy five. - Benjamin Franklin

__._,_.___





--
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] Tabbing through items in a container

2006-06-20 Thread polestar11
Hi there

I am trying to build a custom list that allows the same type of cursor
tabbing though child items as a list / datagrid.

I have created a custom class that extends HBox. I have chosen a
container rather than a list to extend from, because I do not want a
fixed column width for items.
 
I have tried various test cases to implement tabbing though a
container's children with no luck. Ultimately I want to build a custom
class that extends a container and dynamically adds child UI-items
that can be tabbed through.

Alternatively, is there a way to allow for dynamic column sizes for
items within a list?

Code:
mx:Canvas tabChildren=true
mx:Label text=1. /
mx:Label text=A tabIndex=0 tabEnabled=true /
mx:Label text=B tabIndex=1 tabEnabled=true /
mx:Label text=2. /
mx:Label text=C tabIndex=2 tabEnabled=true /
mx:Label text=D tabIndex=3 tabEnabled=true /
/mx:Canvas





 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] Converting Java objects to ActionScript

2006-06-20 Thread Peter Farland





Roberto, in flex-enterprise-services.xml, can you go to the 
logging section, set the level to Debug and then make sure the only logging 
pattern is Endpoint.*. Restart the server and then rerun your application and 
look on the console (if you started the server using the command line) or in the 
app server's std err/out logs and see if you can provide more 
information?

Otherwise, you can send me a zip offlist (remember to 
rename the .zip extension to something else, like .z so that the email filter 
doesn't discard it) of the server code so I can take a closer 
look.

Pete


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of hans73itSent: 
Tuesday, June 20, 2006 4:19 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Converting Java 
objects to ActionScript


I'm trying to call a remote object that returns a List of 
String.After I've invoked the method Flex throws this 
Error:ArgumentError: Error #2004: One of the parameters is 
invalid.myFault: 
(mx.messaging.messages::ErrorMessage)#0body = 
(Object)#1clientId = (null)correlationId = 
"6D027356-DA87-5CBB-9C7D-F07EFBCDE4F0"destination = 
""extendedData = (null)faultCode = 
"Server.Acknowledge.Failed"faultDetail = "Was expecting 
mx.messaging.messages.AcknowledgeMessage, but received 
null"faultString = "Didn't receive an acknowledge message"headers = 
(Object)#2messageId = 
"D11F9A89-1A82-88CD-AF17-F07EFF841B75"rootCause = 
(null)timestamp = 0timeToLive = 0I also have this error with a 
Set class as result...Flex documentation said that a Java Collection is 
converted in an ActionScript ArrayCollection...I'm missing 
something?-I'm using the JDK5.0, Flex beta3, tomcat 5.5.17-If I use 
a Map object as result, it works...Thanks,Roberto
__._,_.___





--
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] Debugging RTMP

2006-06-20 Thread Peter Farland





David, we've forward your email to Flash 
QA.


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of David 
ClarkSent: Tuesday, June 20, 2006 9:36 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Debugging 
RTMP


Is there any tool that can debug (monitor) RTMP traffic from flex2b3 to 
FMS2?I am still trying to figure out what is going on with 
NetConnection.connect arguments missing, but now I realise that there is no 
longer any way to see what is being passed in connect or call requests. There 
used to be NetConnection Debugger but that does not work anymore, I found one 
adobe site that talks about a Network Debugger but I cannot find it, 
ServiceCapture does not do RTMP yet. Anyone shed any light?-- david"Many people die at twenty five and aren't 
buried until they are seventy five".- Benjamin Franklin 
__._,_.___





--
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] Re: RTE htmlText img tags

2006-06-20 Thread Suzy Lawson
Here's a blog that allows you to display html within a browser. I was
able to combine this with an embedded iframe which I can hide and
display...to the user, it looks like a normal TextArea within Flash.

http://ebaggg.blogspot.com/

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

 --- In flexcoders@yahoogroups.com, phillmidwinter
 phillmidwinter@ wrote:
 
  Flex could be the one if they sort that issue.
 
 I agree. Once Adobe addresses this issue, they should also finally get
 rid of the font tag (in favour of a CSS solution) and add support
 for some more HTML tags. I don't ask for tables but ol should be
 supported at least.
 
 Stefan







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

[flexcoders] cant find flex.bootstrap.BootstrapServlet

2006-06-20 Thread hank williams



I am just getting fds setup, and I am having a problem setting up my own project.Everything worked fine when I was using the sample, but somehow when I setup my own project I must not have set some parameter properly or copied some necessary file into my project. Any clues.
Hank[EMAIL PROTECTED]flex.bootstrap.BootstrapServletjava.lang.ClassNotFoundException: flex.bootstrap.BootstrapServlet at org.apache.catalina.loader.WebappClassLoader.loadClass
(WebappClassLoader.java:1352) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1034) at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917) at org.apache.catalina.core.StandardContext.start(
StandardContext.java:4201) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:1013) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start
(StandardServer.java:709) at org.apache.catalina.startup.Catalina.start(Catalina.java:551) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke
(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)Jun 20, 2006 9:39:59 AM org.apache.catalina.core.StandardContext loadOnStartup

__._,_.___





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

[flexcoders] Design Pattern books for AS3 and Flex 2

2006-06-20 Thread judah
Are there any design pattern books coming out in the near future that 
talk about design patterns with ActionScript 3 or Flex 2?

Best Regards,
Judah Frangipane

-- 
Always bear in mind that your own resolution to succeed is more important than 
any one thing.

You can have anything you want - if you want it badly enough. You can be 
anything you want to be, do anything you set out to accomplish if you hold to 
that desire with singleness of purpose. 

- Abraham Lincoln



 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] Access SOAP fault code

2006-06-20 Thread Carson Hager









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

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 

[flexcoders] FLV can't load in to videoDisplay component from remote machine

2006-06-20 Thread Bhavin Padhiyar



hi all,Strange!!!I am making one prototype of online television application in flex. In  that I use video display component. I change source property to load  different movies this method works fine when I am working in to  development environment when I put data on server this method give  shows me nothing.I try out with some other examples that also give same kind of error even in flexstore example of adobe having same error.Please help me is there my mistake or this is system problem. 
		Yahoo! Groups gets better. Check out the new email design. Plus there’s much more to come. 
 

__._,_.___





--
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] [FileReference] change title on file chooser

2006-06-20 Thread keishichi2001
Following code will pop os-native file chooser up.
FileReference.browse();
However, I couldn't find any property to change title on the file chooser.

Any clue?

K





 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] Re: Getting rid of rectangle on axis (FB2.3 charts)

2006-06-20 Thread sp0rarb3jd3r
THANK YOU PROFOOUNDLY!
yes, I had to shout!!!
Y!

  mx:verticalAxisRenderer
   mx:AxisRenderer
mx:axisStroke
 mx:Stroke color=#33 weight=1 /
/mx:axisStroke
   /mx:AxisRenderer
  /mx:verticalAxisRenderer
 
 
 
   - Original Message - 
   From: sp0rarb3jd3r 
   To: flexcoders@yahoogroups.com 
   Sent: Tuesday, June 20, 2006 1:54 PM
   Subject: [flexcoders] Re: Getting rid of rectangle on axis (FB2.3
charts)
 
 
   On the axis there is a different coloured underlying rectangle (to
   contrast the individual individual tick lines, I think). I would like
   for there to be only one straight line.
   To exemplify: 
   http://www.itu.dk/people/urlgrey/example1.gif.
 
   Y!
 

Do you mean the axis itself? I'm not sure what rectangle you're
referring to.

E.




From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of sp0rarb3jd3r
Sent: Monday, June 19, 2006 6:13 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Getting rid of rectangle on axis (FB2.3
charts)



Is there anyway to get rid of the little rectangle* that forms
around
the vertical axis on the linecharts.
I can't seem to find the style that turns it off.
If that is possible, mind.

Y!

*It's the bit that is there to ensure you spot the tick-lines.
   







 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] Design Pattern books for AS3 and Flex 2

2006-06-20 Thread Mark Lapasa
Design Patterns (and the design principles they are grounded upon) are very
much language neutral. A couple of pages of Head First Design Patterns can
go a long way. The implementation language is Java but it's easy to pick up
if you've done a fair amount of ActionScripting v2.0 or higher.

http://www.amazon.ca/exec/obidos/ASIN/0596007124/qid=1150813503/sr=8-1/ref=s
r_8_xs_ap_i1_xgl/701-3725986-4069911

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
Behalf Of judah
Sent: Tuesday, June 20, 2006 10:12 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Design Pattern books for AS3 and Flex 2


Are there any design pattern books coming out in the near future that
talk about design patterns with ActionScript 3 or Flex 2?

Best Regards,
Judah Frangipane

--
Always bear in mind that your own resolution to succeed is more important
than any one thing.

You can have anything you want - if you want it badly enough. You can be
anything you want to be, do anything you set out to accomplish if you hold
to that desire with singleness of purpose.

- Abraham Lincoln




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












 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] how to assign itemRenderer w/ActionScript

2006-06-20 Thread Pan Troglodytes



There is no property itemRenderer on charts. What happens is you get a syntax error.On 6/20/06, Tom Chiverton 
[EMAIL PROTECTED] wrote:On Monday 19 June 2006 16:57, Pan Troglodytes wrote:
 Charts, for one.See the thread changing out pieSeries.itemRenderer at runtime.What happens if you just assign to the property rather than using setStyle ?Maybe Ely Greenfield can shed light on why there is an inconsistency here
(might be bug, might be feature).--Tom ChivertonThis 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.
CONFIDENTIALITYThis 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 ~--Something is new at Yahoo! Groups.Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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
* 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/
-- Jason

__._,_.___





--
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] Error: Flex Builder could not publish the project source: null

2006-06-20 Thread Pan Troglodytes



I get this error when trying to publish some applications. The publish fine, though. Just thought I'd make it known that there seems to be some kind of bug in it.-- Jason

__._,_.___





--
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] Problem with displaying exactly one item in a DataGrid.

2006-06-20 Thread sreedhar reddy



Hi, This is Sreedhar. I am working with Flex Builder 2Beta 3, Java Server Pages, and SQL Server 2005. Currently, I am working on "Search based on Keyword". When I execute the search through the JSP, I am able to see the proper results. I am having a problem when displaying these results in a Flex DataGrid. If my search yields more than one result, the results are displayed in the DataGrid properly. However, if there is only one result, the DataGrid is blank./**The Query in JSP */  ResultSet rs = st.executeQuery("select User_FirstName, User_LastName, Podcast_Name, Rating, Category, FileType, Subscription_Fee, LogoPath, Sub_Category, Website_Url, FeedDescription, FilePath, Keywords from User_Info U, Podcast_Info P where U.User_ObjId = P.User_ObjId and P.Keywords like '%" +keyword+ "%'");   
 /*/We are using an ArrayCollection as follows:mx:HTTPService id="selectdata" url=""http://localhost:8080/Essential2/SelectData.jsp">http://localhost:8080/Essential2/SelectData.jsp" result="emp = new ArrayCollection(selectdata.lastResult.userinfo)" mx:request  key1{key1.text}/key1  /mx:request /mx:HTTPService*Emp is the DataProvider for the DataGrid.I suspect the error is in the MXML, as the query executes correctly in JSP. If anyone has any suggestions, it would be greatly appreciated.Thanks  Regards,Sreedhar 
	

	
		 
 Yahoo! India Answers: Share what you know. Learn something new Click here 
Send free SMS to your Friends on Mobile from your Yahoo! Messenger Download now
__._,_.___





--
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] Design Pattern books for AS3 and Flex 2

2006-06-20 Thread Phil Marston
don't know about flex as 3 specifically, but worth checking out 
O'Reilly's Head First Design Patterns 
http://www.amazon.com/gp/product/0596007124/ref=sr_11_1/002-8231286-1107262?%5Fencoding=UTF8
 


HTH

Phil

judah wrote:
 Are there any design pattern books coming out in the near future that 
 talk about design patterns with ActionScript 3 or Flex 2?

 Best Regards,
 Judah Frangipane

   

-- 
__ 
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 027 1495



 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] Re: Flex2B2 - cut off any gui controls that appear outside of parent container

2006-06-20 Thread Jason Y. Kwong



I'm not sure exactly what effect you want. Do you always want a part of button2 to be clipped off the right? If so, by how much?What's happening in my example is that the nested Canvas gives button2 only 25% of the available horizontal space. When the HBox was 300 pixels wide, that gave it 75 pixels. Since I set button2 to be 100 pixels wide, the right 25 pixels are cut off. 
But if you set the HBox's width to be 100%, then that 25% space could be a lot wider than 75 pixels. If it goes over 100 pixels, then of course all of button2 would be shown. You'll have to play with the numbers to get a specific effect.
On 6/20/06, bhaq1972 [EMAIL PROTECTED] wrote:
hi JasonHow can I keep this effect if i modify your example to becomemx:HBox width=100% height=100 backgroundColor=yellow mx:Button label=number1 width=75%/
 mx:Canvas width=25% horizontalScrollPolicy=off mx:Button width=100 label=number2/ /mx:Canvas /mx:HBox
thanksbod--- In flexcoders@yahoogroups.com, Jason Y. Kwong [EMAIL PROTECTED]wrote: Have a nested container do the clipping for you. eg:
 mx:HBox width=300 height=100 backgroundColor=yellow mx:Button label=number1 width=75%/ mx:Canvas width=25% horizontalScrollPolicy=off
 mx:Button width=100 label=number2/ /mx:Canvas /mx:HBox On 6/16/06, bhaq1972 [EMAIL PROTECTED] wrote: 
  Mike and Tom thanks for the input.   firstly, I tried using clipContent before but doesn't work.   if i was dealing with fixed widths and set the  horizonatalScrollPolicy 'off', i can achieve the effect i was
  looking for eg   mx:Application xmlns:mx=http://www.adobe.com/2006/mxmlxmlns=*   mx:HBox width=300 height=100
backgroundColor=yellow  horizontalScrollPolicy=off  mx:Button label=number1 width=225/  mx:Button label=number2 width=85/
  /mx:HBox  /mx:Application   But as i'm not dealing with fixed button widths, i had to thinkof  another way to get this effecthence paddingRight=-15 and some
  kind of contentClip.   As i'm only dealing with layout, i would have thought something  would work out of the box. Adobe???   I'm willing to try your suggestion of a mask, if you can gives
us a  few ideas on how to do that thanks.regrds  bod
   --- In flexcoders@yahoogroups.com, Michael Schmalle  teoti.graphix@ wrote:  I don't think the layout algorithmtakes negetives into
account. I didn't mean it doesn't use the negetive padding, just itdoesn't  calculate   the 'measured width' right when laying out the mask for the
  container using   a negetive padding with a percentage. Ah, to hard to explain right. Peace, Mike On 6/15/06, Michael Schmalle 
teoti.graphix@ wrote:   Hi,   For you to understand the problem you need to understand howthe  HBox laysit's children out and uses viewMetrics.
   The reason this is not working is because since you specified  75% width,the container will calc the .75 of the width minus anythingthat
  is staticIE your button 2.   When you say paddingRight = -15, this kind defines the logicof  thelayout.
   For some reason, when you specify -15 for paddingLeft, the  content on bothsides then get clipped.   I am not Adobe, but I would venture to guess this cannot be
done  rightnow. Not saying this is a bug but, I don't think the layout  algorithmtakesnegetives into account.   You could always subclass HBox and create a mask over it and
useborderMetrics to size the mask.   Peace, Mike On 6/15/06, Tom Chiverton 
tom.chiverton@ wrote:On Thursday 15 June 2006 12:09, bhaq1972 wrote:  how do i achieve this ?
 clipContent ? -- 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 notthe  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 0870365  8008. For more information about Halliwells LLP visit
  www.halliwells.com. We are pleased to announce that Halliwells LLP has beenvoted  AIM Lawyer
 of the Year at the 2005 Growth Company Awards 
--What goes up, does come down.--   What goes up, does come down.
  

[flexcoders] Aligning the control bar of a RichTextEditor

2006-06-20 Thread Suzy Lawson
I feel silly asking this question b/c it seems like something too
easy...but I can't get the control bar of a rich text editor to be
ABOVE the text field (by default it sits below the text box). 

I've tried everything including adding a style for controlBarStyleName
with vertical-align:top but that didn't work. Any ideas?

mx:RichTextEditor id=bodyField width=100%  height=100% /

Thanks in advance.





 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] Re: cant find flex.bootstrap.BootstrapServlet

2006-06-20 Thread hank williams



Problem solved. I had just not copied some files in the samples lib directory.HankOn 6/20/06, hank williams 
[EMAIL PROTECTED] wrote:I am just getting fds setup, and I am having a problem setting up my own project.
Everything worked fine when I was using the sample, but somehow when I setup my own project I must not have set some parameter properly or copied some necessary file into my project. Any clues.
Hank[EMAIL PROTECTED]flex.bootstrap.BootstrapServletjava.lang.ClassNotFoundException: flex.bootstrap.BootstrapServlet at org.apache.catalina.loader.WebappClassLoader.loadClass

(WebappClassLoader.java:1352) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1034) at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917) at org.apache.catalina.core.StandardContext.start
(
StandardContext.java:4201) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start

(ContainerBase.java:1013) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start

(StandardServer.java:709) at org.apache.catalina.startup.Catalina.start(Catalina.java:551) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke

(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)Jun 20, 2006 9:39:59 AM org.apache.catalina.core.StandardContext loadOnStartup



__._,_.___





--
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 Video Crash Frequency Becoming Alarming

2006-06-20 Thread Dave Carabetta
I posted this in the FP 9 forums, but it doesn't look like anybody
really pays attention to it, so I thought I'd re-post this to more
eyeballs to see what your experience has been:

I know that there is a final push to get FP 9 out the door by the end
of the month. However, I have to say that the frequency with which my
browsers are crashing, predominantly when the content is Flash Video,
is giving me some serious cause for alarm. In a browser like Firefox,
where there is one process for every window you have open, losing
multiple windows worth of work is immensely frustrating. I have
submitted this same issue via the Wish Form several times as well, so
this isn't the first I'm noting this. Here's my (seemingly standard)
setup:

Windows XP Professional with SP2, fully patched
Internet Explorer 6.0.2900.2180.xpsp_sp2_gdr.050301-1519
Firefox 1.5.0.4
Flash Player 9, beta 3 (IE: Version 9,0,0,296, FF: Version 9.0 b296)

Major commercial sites where the browser tends to crash:
CNN.com
ESPN.com

In both cases, it is almost invariably any time one of the Flash Video
ads for Apple's new Mac campaign appears. Further, I've noted that it
gets to the point where the video looks to be done loading and is
about to play back. I went to a second machine that had FP 8
installed, and the video played fine.

I'm a huge fan of the improvements that FP 9 is offering for
developers, but if I can't achieve stability accessing very common web
sites, I can't ask my customers to upgrade so that they can use my
Flex 2 appsthat just won't fly.

Again, this looks to be Flash *Video*-related, as I've had no problems
as of yet accessing standard SWF files (i.e., forms, etc.) that I have
been developing.

Are others experiences stability issues?

Regards,
Dave.


 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] Design Pattern books for AS3 and Flex 2

2006-06-20 Thread Michael Schmalle



Patterns are language neutral; yes

But, this is a double edge sword. Maybe he meant, A book about how to
implement those neutral patterns in Flex that is not neutral;

That's like saying in all foreign languages a sentence has the pattern
signature of blah blah... When some go from left to right, right to
left, sentence structure and signature relies on the foundation of the
language itself. The pattern expresses the intent of what needs to be
described IN the language that is not neutral.

This is why there are books on how to write English, Spanish, French, Japanese etc. ;-)

I can already tell you that there will be new patterns found using mxml-as3.

Peace, MikeOn 6/20/06, Phil Marston [EMAIL PROTECTED] wrote:









  



don't know about flex as 3 specifically, but worth checking out 
O'Reilly's Head First Design Patterns 
http://www.amazon.com/gp/product/0596007124/ref=sr_11_1/002-8231286-1107262?%5Fencoding=UTF8
 

HTH

Phil

judah wrote:
 Are there any design pattern books coming out in the near future that 
 talk about design patterns with ActionScript 3 or Flex 2?

 Best Regards,
 Judah Frangipane

   

-- 
__ 
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 027 1495


  













-- What goes up, does come down.

__._,_.___





--
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 zoom effect to datagrid row

2006-06-20 Thread Pan Troglodytes



Thanks for the info, Jason and Tim. I'm actually going to give up on this for now to move onto other things. But here's what I was REALLY wanting. When rolling over any part of the row, I wanted the whole row to zoom. I haven't been able to figure out how to do that because of the scoping issues. As it stands now, each cell is an island and can't communicate easily to the whole that it needs to zoom. It would be great if the datagrid itself had events for row rollovers and a way to apply an effect to the whole row.
On 6/19/06, Jason Szeto [EMAIL PROTECTED] wrote:









  











Pan,



 You
are actually running into a scoping problem. You don't get an error
because your effectTriggers are using strings instead of effect instances. Try
changing rollOverEffect="zoomIn" to rollOverEffect="{zoomIn}".
You should get an error complaining that zoomIn doesn't exist. 



The problem is that when you use inline
components, the component must be self-contained. It has no access to objects in
the parent app. If you move the two zoom effects into the VBox component, then
your effects will play. I've included an updated version. Notice that I
had to set the scrollPolicy of the VBox to prevent scrollbars from appearing
during the zoom. 



?xml version=1.0
encoding=utf-8?

mx:Application
xmlns:mx=http://www.adobe.com/2006/mxml
layout=absolute



 mx:ArrayCollection
id=dataSet 

 mx:source


mx:Objectmx:MonthJanuary/mx:Monthmx:Costs20/mx:Costs/mx:Object


mx:Objectmx:MonthFebruary/mx:Monthmx:Costs60/mx:Costs/mx:Object



mx:Objectmx:MonthMarch/mx:Monthmx:Costs90/mx:Costs/mx:Object

 /mx:source

 /mx:ArrayCollection



 mx:DataGrid id=grid
dataProvider={dataSet} width=100%
height=100% 

 mx:columns


mx:DataGridColumn


mx:itemRenderer


mx:Component

  mx:VBox
verticalScrollPolicy=off horizontalScrollPolicy=off

  
mx:Zoom id=zoomIn zoomWidthTo=2
zoomHeightTo=2 / 

 
mx:Zoom id=zoomOut zoomWidthTo=1
zoomHeightTo=1 /


mx:Text text=some text width=100%
rollOverEffect={zoomIn} rollOutEffect={zoomOut}/ 


/mx:VBox


/mx:Component


/mx:itemRenderer 


/mx:DataGridColumn 


mx:DataGridColumn dataField=Month/


mx:DataGridColumn dataField=Costs/ 

 /mx:columns

 /mx:DataGrid

/mx:Application



Jason











From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Pan Troglodytes
Sent: Monday, June 19, 2006 1:07
PM
To: flexcoders
Subject: [flexcoders] adding zoom
effect to datagrid row











I'm
having a real time trying to get a rolloverEffect to work on a datagrid.
What I want is for the text to zoom a little bit when rolled over. Here's
my code:

?xml version=1.0
encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
layout=absolute
 mx:ArrayCollection id=dataSet 
 mx:source

mx:Objectmx:MonthJanuary/mx:Monthmx:Costs20/mx:Costs/mx:Object

mx:Objectmx:MonthFebruary/mx:Monthmx:Costs60/mx:Costs/mx:Object


mx:Objectmx:MonthMarch/mx:Monthmx:Costs90/mx:Costs/mx:Object
 /mx:source
 /mx:ArrayCollection
 mx:Zoom id=zoomIn zoomWidthTo=2
zoomHeightTo=2 / 
 mx:Zoom id=zoomOut zoomWidthTo=1
zoomHeightTo=1 /

 mx:DataGrid id=grid dataProvider={dataSet}
width=100% height=100% 
 mx:columns
 mx:DataGridColumn
 mx:itemRenderer
 mx:Component
 mx:VBox
 mx:Text
text=some text width=100%
rollOverEffect=zoomIn rollOutEffect=zoomOut/ 
 /mx:VBox
 /mx:Component
 /mx:itemRenderer 
 /mx:DataGridColumn 
 mx:DataGridColumn dataField=Month/
 mx:DataGridColumn dataField=Costs/

 /mx:columns
 /mx:DataGrid
/mx:Application

But the effect never happens. I've tried a lot of different variations
with no luck.

-- 
Jason 










  













-- Jason

__._,_.___





--
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] Converting Java objects to ActionScript

2006-06-20 Thread Peter Farland





Thanks Roberto, I tried your sample and it worked. Now that 
I see the error message again I know what the issue is you don't have a 
reference to mx.collections.ArrayCollection so this class definition isn't 
linked into the SWF during compilation...

Typically if a typed object's class isn't found the player 
just creates an anonymous Object, however mx.collections.ArrayCollection 
implements flash.net.IExternalizable, which means it controls its own 
serialization and can't be skipped by the player... so we end up (unfortunately) 
with this generic error.

In your MXML add a line in Script like 
this:

import mx.collections.ArrayCollection;

private var dep:ArrayCollection;

That should be enough to force a dependency on this class 
so that it is linked into the SWF.

We fixed this after Beta 3 to always have a dependency on 
this class when using RPC services.

Pete



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Peter 
FarlandSent: Tuesday, June 20, 2006 9:44 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Converting Java 
objects to ActionScript



Roberto, in flex-enterprise-services.xml, can you go to the 
logging section, set the level to Debug and then make sure the only logging 
pattern is Endpoint.*. Restart the server and then rerun your application and 
look on the console (if you started the server using the command line) or in the 
app server's std err/out logs and see if you can provide more 
information?

Otherwise, you can send me a zip offlist (remember to 
rename the .zip extension to something else, like .z so that the email filter 
doesn't discard it) of the server code so I can take a closer 
look.

Pete


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of hans73itSent: 
Tuesday, June 20, 2006 4:19 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Converting Java 
objects to ActionScript


I'm trying to call a remote object that returns a List of 
String.After I've invoked the method Flex throws this 
Error:ArgumentError: Error #2004: One of the parameters is 
invalid.myFault: 
(mx.messaging.messages::ErrorMessage)#0body = 
(Object)#1clientId = (null)correlationId = 
"6D027356-DA87-5CBB-9C7D-F07EFBCDE4F0"destination = 
""extendedData = (null)faultCode = 
"Server.Acknowledge.Failed"faultDetail = "Was expecting 
mx.messaging.messages.AcknowledgeMessage, but received 
null"faultString = "Didn't receive an acknowledge message"headers = 
(Object)#2messageId = 
"D11F9A89-1A82-88CD-AF17-F07EFF841B75"rootCause = 
(null)timestamp = 0timeToLive = 0I also have this error with a 
Set class as result...Flex documentation said that a Java Collection is 
converted in an ActionScript ArrayCollection...I'm missing 
something?-I'm using the JDK5.0, Flex beta3, tomcat 5.5.17-If I use 
a Map object as result, it works...Thanks,Roberto

__._,_.___





--
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] [Flex2Beta3] CF/Flex integration - 500 NULL

2006-06-20 Thread Thomas Rühl -akitogo-

Hello list,

I just tried to set up the FlexMessaging gateway instance in the 
Coldfusion administrator. Everything fine during the setup, but when I 
try to start up the instance, it returns a blank page with 500 null on 
it. Any idea what to do?

I already checked the jre version, but that matches the prerequisites...


Thanks and greetings,
Thomas





 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/
 





[flexcoders] Re: Flex2B2 - cut off any gui controls that appear outside of parent container

2006-06-20 Thread bhaq1972
sorry, the width of button2 should have been 100% (i only want to 
specify percentage widths).

 I'm not sure exactly what effect you want.  Do you always want a 
part of
 button2 to be clipped off the right?  If so, by how much?
 

Thats correct. i want to have part of the button clipped off to the 
right.

i'm only using a button as an example (could be any gui control).

Essentially i want to clip the right edge of the following example.

mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
mx:HBox width=100% height=100 backgroundColor=yellow 
paddingRight=-20 clipContent=true
mx:Button label=number1 width=75%/ 
mx:Canvas width=25% horizontalScrollPolicy=off
mx:Button width=100% label=number2/
/mx:Canvas
/mx:HBox
/mx:Application

if i was using a Canvas instead of an HBox in the above example. it 
works.but then i'll have to position the children.


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

 I'm not sure exactly what effect you want.  Do you always want a 
part of
 button2 to be clipped off the right?  If so, by how much?
 
 What's happening in my example is that the nested Canvas gives 
button2 only
 25% of the available horizontal space.  When the HBox was 300 
pixels wide,
 that gave it 75 pixels.  Since I set button2 to be 100 pixels 
wide, the
 right 25 pixels are cut off.
 
 But if you set the HBox's width to be 100%, then that 25% space 
could be a
 lot wider than 75 pixels.  If it goes over 100 pixels, then of 
course all of
 button2 would be shown.  You'll have to play with the numbers to 
get a
 specific effect.
 
 
 On 6/20/06, bhaq1972 [EMAIL PROTECTED] wrote:
 
  hi Jason
 
  How can I keep this effect if i modify your example to become
 
  mx:HBox width=100% height=100 backgroundColor=yellow
   mx:Button label=number1 width=75%/
   mx:Canvas width=25% horizontalScrollPolicy=off
   mx:Button width=100 label=number2/
   /mx:Canvas
  /mx:HBox
 
  thanks
  bod
 
  --- In flexcoders@yahoogroups.com, Jason Y. Kwong inlineblue@
  wrote:
  
   Have a nested container do the clipping for you. eg:
  
   mx:HBox width=300 height=100 backgroundColor=yellow
   mx:Button label=number1 width=75%/
   mx:Canvas width=25% horizontalScrollPolicy=off
   mx:Button width=100 label=number2/
   /mx:Canvas
   /mx:HBox
  
  
   On 6/16/06, bhaq1972 mbhaque@ wrote:
   
Mike and Tom thanks for the input.
   
firstly, I tried using clipContent before but doesn't work.
   
if i was dealing with fixed widths and set the
horizonatalScrollPolicy 'off', i can achieve the effect i was
looking for eg
   
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
  xmlns=* 
mx:HBox width=300 height=100
  backgroundColor=yellow
horizontalScrollPolicy=off
mx:Button label=number1 width=225/
mx:Button label=number2 width=85/
/mx:HBox
/mx:Application
   
But as i'm not dealing with fixed button widths, i had to 
think
  of
another way to get this effecthence paddingRight=-15 and 
some
kind of contentClip.
   
As i'm only dealing with layout, i would have thought 
something
would work out of the box. Adobe???
   
I'm willing to try your suggestion of a mask, if you can 
gives
  us a
few ideas on how to do that thanks.
   
   
regrds
bod
   
   
   
   
   
   
   
   
   
--- In flexcoders@yahoogroups.com, Michael Schmalle
teoti.graphix@ wrote:

  I don't think the layout algorithm  takes negetives into
  account.

 I didn't mean it doesn't use the negetive padding, just it
  doesn't
calculate
 the 'measured width' right when laying out the mask for the
container using
 a negetive padding with a percentage.

 Ah, to hard to explain right.

 Peace, Mike

 On 6/15/06, Michael Schmalle teoti.graphix@ wrote:
 
  Hi,
 
  For you to understand the problem you need to understand 
how
  the
HBox lays
  it's children out and uses viewMetrics.
 
  The reason this is not working is because since you 
specified
75% width,
  the container will calc the .75 of the width minus 
anything
  that
is static
  IE your button 2.
 
  When you say paddingRight = -15, this kind defines the 
logic
  of
the
  layout.
 
  For some reason, when you specify -15 for paddingLeft, 
the
content on both
  sides then get clipped.
 
  I am not Adobe, but I would venture to guess this cannot 
be
  done
right
  now. Not saying this is a bug but, I don't think the 
layout
algorithm  takes
  negetives into account.
 
  You could always subclass HBox and create a mask over it 
and
  use
  borderMetrics to size the mask.
 
  Peace, Mike
 
 
 
  On 6/15/06, Tom Chiverton tom.chiverton@ wrote:
  
  On 

Re: [flexcoders] Flash Video Crash Frequency Becoming Alarming

2006-06-20 Thread Tom Bray
On 6/20/06, Dave Carabetta [EMAIL PROTECTED] wrote:

  Are others experiences stability issues?

Yes.  I have exactly the same setup.  FP9 crashes Firefox for me very
frequently, usually on Engadget.com.  I don't use IE much and haven't
seen it crash.

I, too, submitted a bug and I assume it's being looked into but
getting confirmation of that from Adobe would be reassuring.

-Tom


 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] Re: Flex2B2 - cut off any gui controls that appear outside of parent container

2006-06-20 Thread Jason Y. Kwong



Ah, ok. So if you want to clip 20 pixels, then you need to make sure that button2 is always 20 pixels wider than the enclosing canvas. You can make use of binding:mx:HBox width=100% height=100% backgroundColor=yellow
 mx:Button label=number1 width=75%/ mx:Canvas id=mycanvas width=25% horizontalScrollPolicy=off
  mx:Button width={mycanvas.width+20} label=number2/ /mx:Canvas/mx:HBoxYes, it's quite a pain when the HBox/VBox just won't clip their content. I always thought it was a bug.
On 6/20/06, bhaq1972 [EMAIL PROTECTED] wrote:
sorry, the width of button2 should have been 100% (i only want tospecify percentage widths). I'm not sure exactly what effect you want.Do you always want apart of button2 to be clipped off the right?If so, by how much?
Thats correct. i want to have part of the button clipped off to theright.i'm only using a button as an example (could be any gui control).Essentially i want to clip the right edge of the following example.
mx:Application xmlns:mx=http://www.adobe.com/2006/mxmlmx:HBox width=100% height=100 backgroundColor=yellow
paddingRight=-20 clipContent=truemx:Button label=number1 width=75%/mx:Canvas width=25% horizontalScrollPolicy=off
mx:Button width=100% label=number2//mx:Canvas/mx:HBox/mx:Applicationif i was using a Canvas instead of an HBox in the above example. it
works.but then i'll have to position the children.--- In flexcoders@yahoogroups.com, Jason Y. Kwong [EMAIL PROTECTED]wrote:
 I'm not sure exactly what effect you want.Do you always want apart of button2 to be clipped off the right?If so, by how much? What's happening in my example is that the nested Canvas gives
button2 only 25% of the available horizontal space.When the HBox was 300pixels wide, that gave it 75 pixels.Since I set button2 to be 100 pixelswide, the right 25 pixels are cut off.
 But if you set the HBox's width to be 100%, then that 25% spacecould be a lot wider than 75 pixels.If it goes over 100 pixels, then ofcourse all of button2 would be shown.You'll have to play with the numbers to
get a specific effect. On 6/20/06, bhaq1972 [EMAIL PROTECTED] wrote:   hi Jason   How can I keep this effect if i modify your example to become
   mx:HBox width=100% height=100 backgroundColor=yellow mx:Button label=number1 width=75%/ mx:Canvas width=25% horizontalScrollPolicy=off
 mx:Button width=100 label=number2/ /mx:Canvas  /mx:HBox   thanks  bod 
  --- In flexcoders@yahoogroups.com, Jason Y. Kwong inlineblue@  wrote: Have a nested container do the clipping for you. eg:
 mx:HBox width=300 height=100 backgroundColor=yellow   mx:Button label=number1 width=75%/
   mx:Canvas width=25% horizontalScrollPolicy=off   mx:Button width=100 label=number2/   /mx:Canvas
   /mx:HBox   On 6/16/06, bhaq1972 mbhaque@ wrote:   Mike and Tom thanks for the input.   
firstly, I tried using clipContent before but doesn't work.   if i was dealing with fixed widths and set thehorizonatalScrollPolicy 'off', i can achieve the effect i was
looking for eg   mx:Application xmlns:mx=http://www.adobe.com/2006/mxml  xmlns=* 
mx:HBox width=300 height=100  backgroundColor=yellowhorizontalScrollPolicy=offmx:Button label=number1 width=225/
mx:Button label=number2 width=85//mx:HBox/mx:Application   But as i'm not dealing with fixed button widths, i had to
think  ofanother way to get this effecthence paddingRight=-15 andsomekind of contentClip.   As i'm only dealing with layout, i would have thought
somethingwould work out of the box. Adobe???   I'm willing to try your suggestion of a mask, if you cangives  us afew ideas on how to do that thanks.
  regrdsbod   
--- In flexcoders@yahoogroups.com, Michael Schmalle
teoti.graphix@ wrote:  I don't think the layout algorithmtakes negetives into  account.
 I didn't mean it doesn't use the negetive padding, just it  doesn'tcalculate the 'measured width' right when laying out the mask for the
container using a negetive padding with a percentage. Ah, to hard to explain right.
 Peace, Mike On 6/15/06, Michael Schmalle teoti.graphix@ wrote:   Hi,
   For you to understand the problem you need to understandhow  theHBox lays  it's children out and uses viewMetrics.
   The reason this is not working is because since youspecified75% width,  the container will calc the .75 of the width minus
anything  thatis static  IE your button 2.   When you say paddingRight = -15, this kind defines the
logic  ofthe  layout.   For some reason, when you specify -15 for paddingLeft,the
content on both  sides then get clipped.   I am not Adobe, but I would venture to guess this cannot
be  doneright  now. Not saying this is a bug but, I don't think thelayoutalgorithmtakes  negetives into account.
   You could always subclass HBox and 

RE: [flexcoders] Debugging RTMP

2006-06-20 Thread Peter Farland





As for getting functionality akin to NetConnection Debugger 
for RTMP communicatons... hmm, this might be an interesting hack... could you 
change the RTMP endpoint of your NetConnection connect statement to point to an 
Flex Data Services 2 (FDS)RTMPChannel endpoint and ensure that 
/WEB-INF/flex/flex-enterprise-services.xml has the logging level set to Debug 
and that the only filter enabled is Endpoint.*

You could then restart the server on the console and 
watch what the FDS RTMP channel endpoint decoded for the 
request...

Pete





From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of David 
ClarkSent: Tuesday, June 20, 2006 11:08 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Debugging 
RTMP


Thanks again Peter.
On 6/20/06, Peter 
Farland [EMAIL PROTECTED] 
wrote:

  
  
  
  
  
  
  David, 
  we've forward your email to Flash QA.
  
  
  

__._,_.___





--
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] FLV can't load in to videoDisplay component from remote machine

2006-06-20 Thread Tom Chiverton
On Tuesday 20 June 2006 15:16, Bhavin Padhiyar wrote:
   I try out with some other examples that also give same kind of error even
 in flexstore example of adobe having same error.

What error is that then ?

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

* 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] Re: Design Pattern books for AS3 and Flex 2

2006-06-20 Thread ben.clinkinbeard
Just wanted to add another vote for Head First Design Patterns. Its a
great way to approach the topic that I think could be helpful for
anyone from absolute beginner up to a pretty experienced 'patterner'.

In my limited reading on it, it also seems like the Cairngorm
framework has some pretty direct implementations of various patterns
in Flex. 

These articles are a good intro:
http://www.adobe.com/devnet/flex/articles/cairngorm_pt1.html

Ben






 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] Reusing Cairngorm views

2006-06-20 Thread Tom Chiverton
If I try and reuse a view (say on two different tabs, each using a different 
dataProvider in the model), I get an error like:

Error: View names must be unique. A view has already been registered with 
filesAndCheckoutControlBarViewHelper
at org.nevis.cairngorm.view::ViewLocator/register()[C:
\dev\swat\projects\ac_emea\Cairngorm\org\nevis\cairngorm\view\ViewLocator.as:126]
at org.nevis.cairngorm.view::ViewHelper/initialized()[C:
\dev\swat\projects\ac_emea\Cairngorm\org\nevis\cairngorm\view\ViewHelper.as:106]

I'm embededing both views with MXML code like:
view:FilesAndCheckoutControlBar /
view:FilesAndCheckoutViewStack  /

It must be possible to reuse view components, surely ? What have I missed ?
-- 
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 ~-- 
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: Design Pattern books for AS3 and Flex 2

2006-06-20 Thread Michael Schmalle



 Head First Design Patterns

It's on my shelf also, btw, check out the Kiwi project at adobe.

There are very good examples of Abstract Factories, Singleton managers and a bunch of interface tricks.

Peace, MikeOn 6/20/06, ben.clinkinbeard [EMAIL PROTECTED] wrote:









  



Just wanted to add another vote for Head First Design Patterns. Its a
great way to approach the topic that I think could be helpful for
anyone from absolute beginner up to a pretty experienced 'patterner'.

In my limited reading on it, it also seems like the Cairngorm
framework has some pretty direct implementations of various patterns
in Flex. 

These articles are a good intro:
http://www.adobe.com/devnet/flex/articles/cairngorm_pt1.html

Ben


  













-- What goes up, does come down.

__._,_.___





--
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] F2B3 bug in serialization of XML in AMF0

2006-06-20 Thread Xavi Beumala



Hi there,I'm trying to receive an org.w3c.dom.Document Object from OpenAMF using AMF0 in F2B3. It works great on Flash8 but on F2B3 it's not receiving anything. It seems like the XML serialization is not working correctly.
Couls someone confirm it please?BestX.

__._,_.___





--
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 Video Crash Frequency Becoming Alarming

2006-06-20 Thread Tom Chiverton
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 :-)

-- 
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 ~-- 
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] New to Flex 2.0 Help please

2006-06-20 Thread Tom Chiverton
On Monday 19 June 2006 02:45, Silpa sirivella wrote:
 I may have to develop some RIA application using
 Flex2.0. I'm using Weblogic as my application server. When try to
.
 I've got Flex 1.5 jars(flex-bootstrap.jar). do i need to update any
 jars for flex 2.0? if so where can i get new jar files. 

You can't mix 1.5 and 2.0 in the same server instance.
Head over to labs.adobe.com and download the Flex2 beta.

-- 
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 ~-- 
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] Flash Video Crash Frequency Becoming Alarming

2006-06-20 Thread Dave Carabetta
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

* 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 assign itemRenderer w/ActionScript

2006-06-20 Thread Ely Greenfield



Well, there is no itemRenderer property on the chart classes, just the
style, so trying to assign it will result in either a compiler error or
a runtime error (depending on whether the compiler can determine if it's
illegal...i.e., depending on whether the reference is strongly typed or
not).

Regarding the inconsistency...honestly, it's probably not driven by any
well defined reasoning.  We spend a lot of time trying to make sure the
framework API is consistent across all the classes, but occasionally
things like this slip through the cracks.

Ely.
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Tuesday, June 20, 2006 1:13 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] how to assign itemRenderer w/ActionScript

On Monday 19 June 2006 16:57, Pan Troglodytes wrote:
 Charts, for one.  See the thread changing out pieSeries.itemRenderer 
 at runtime.

What happens if you just assign to the property rather than using
setStyle ?
Maybe Ely Greenfield can shed light on why there is an inconsistency
here (might be bug, might be feature).

--
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 ~--
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



 





 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] Re: Getting rid of rectangle on axis (FB2.3 charts)

2006-06-20 Thread Ely Greenfield







Your link seems to be broken.

Still hard to undestand what you're describing, but it 
sounds like you may be misinterpreting what's on screen. By default, most of the 
charts' axes draw a thick axis line, and then white minor tick marks on top of 
it. if you set the minorTickPlacement style of the axis renderer to 
"none", it will make it appear as one solid axis line.

Ely.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
sp0rarb3jd3rSent: Tuesday, June 20, 2006 1:25 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: Getting rid of 
rectangle on axis (FB2.3 charts)


On the axis there is a different coloured underlying rectangle 
(tocontrast the individual individual tick lines, I think). I would 
likefor there to be only one straight line.To exemplify: http://www.itu.dk/people/urlgrey/example1.gif.Y! 
 Do you mean the axis itself? I'm not sure what rectangle you're 
referring to.  E.   
  From: [EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
On Behalf Of sp0rarb3jd3r Sent: Monday, June 19, 2006 6:13 
AM To: [EMAIL PROTECTED]ups.com 
Subject: [flexcoders] Getting rid of rectangle on axis (FB2.3 charts) 
   Is there anyway to get rid of the little rectangle* 
that forms around the vertical axis on the linecharts. I can't 
seem to find the style that turns it off. If that is possible, 
mind.  Y!  *It's the bit that is there to ensure 
you spot the tick-lines.
__._,_.___





--
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] Garbage collection and removeChild [Flex 2 beta 3]?

2006-06-20 Thread sourcecoderia
From the documents when using removeChild the removed display item is 
added to the garbage collection for later removal. However I'm 
reusing component instances and creating new instance of the same (a 
sort of tabbed interface where children are created and removed at 
will.

The listeners for the child component are removed and other objects 
set to null, but; it does not seem to be collected.

Should one have to remove all objects created through the chain or 
just on the child being removed?

I.e. if I instantiate a class called toto through a component called 
texavery and toto creates an instance of titi do I have to unload all 
objects created by or in the children following the entire chain 

texavery  toto  titi 

where each one unloads it's owned/created objects? 
Or is this cleaned up from the child object on down?

Is there a way to force the garbage collection clean up, or destroy 
an object completely?

I did wait to see if it unloaded 25mins and still no change in the 
process memory usage. However I'm only at this time unloading objects 
created by the child component and not it's children's objects.

So unload the entire chain or just the first ?
Is removeChild working properly ?

How is this supposed to work, and are there any best practices in 
regards to this?

Thanks, 

Jason







 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 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/
 





[flexcoders] Re: How to integrate Flash and Flex well done ?

2006-06-20 Thread rbn
Hey Roberto,

maybe these links could be of help...

http://lists.motion-twin.com/pipermail/mtasc/2005-October/028565.html
http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=2940.html


cheers,

rbn



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

 Jason, thanks for the prompt reply... But that doesn't really help,
 does it ? How strange.. I just spoke today with James Ward, a Flex
 Evangelist, and he assure me that the future for Flash developers was
 to build customs components (SWC) to interact with Flex... and also
 sugest me to ask the flexcoders group about this issue (what I'm doing).
 
 Anyhow, do you know where I can learn how to do that ? Meaning: build
 a custom SWC component with Flash and use it as a Flex component tag.
 
 I really appreciate it,
 Roberto Rosenthal








 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] Design Pattern books for AS3 and Flex 2

2006-06-20 Thread Alan Shaw



Danny Patterson and Joey Lott have an AS3 design patterns book coming out this summer from Adobe. They presented parts of it at FlashBelt last week, and it's going to be a must buy.

-A

On 6/20/06, Phil Marston [EMAIL PROTECTED] wrote:
don't know about flex as 3 specifically, but worth checking outO'Reilly's Head First Design Patterns
http://www.amazon.com/gp/product/0596007124/ref=sr_11_1/002-8231286-1107262?%5Fencoding=UTF8HTH
Philjudah wrote: Are there any design pattern books coming out in the near future that talk about design patterns with ActionScript 3 or Flex 2? Best Regards, Judah Frangipane
--__Phil MarstonLearning TechnologistLearning Technology UnitEdward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK
[EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660http://www.abdn.ac.uk/diss/ltu/pmarston/
http://www.abdn.ac.uk/diss/ltu/__The University of Aberdeen Open Day 29th August 2006Booking is essential
www.abdn.ac.uk/opendayemail [EMAIL PROTECTED]or call 0800 027 1495 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* 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 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] Is it possible to replace UI controls in mxml at runtime?

2006-06-20 Thread Dong Lee





Hi,

I'mcreating a generic Search 
componentthat contains few buttons, a form, say 'formSearch'to 
capture the search parameters. 
Using the component I need to serach on persons, 
accounts, transactions etc. and have separate PersonSearch, AccountSearch, 
TransactionSerach

1. Is it possible to 
replace the 'formSearch' with another form at runtime?How would you do it 
and at whatevent?
2. Are there any preference 
betweenMXMLandAS for this purpose?


Dong
__._,_.___





--
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 2 Consultant Wanted

2006-06-20 Thread bchirgwin
We would like a consultant to help us with the design and maybe code a 
Flex product currently under development. The development is in Flex 
2b3.  

Preferably the candidate would be located near Orlando or Washington 
DC. After inital contact we would like the person available on occasion 
to answer questions we may have as they arise. Please contact me at 
bchirgwin at yahoo dot com if your interested.  Include details of your 
experience and rates.







 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] Is it possible to replace UI controls in mxml at runtime?

2006-06-20 Thread Jeremy Lu




Sure you can, try view state or viewstack, they are built for this :-)

Jeremy.

On 6/20/06, Dong Lee [EMAIL PROTECTED] wrote:









  






Hi,

I'mcreating a generic Search 
componentthat contains few buttons, a form, say 'formSearch'to 
capture the search parameters. 
Using the component I need to serach on persons, 
accounts, transactions etc. and have separate PersonSearch, AccountSearch, 
TransactionSerach

1. Is it possible to 
replace the 'formSearch' with another form at runtime?How would you do it 
and at whatevent?
2. Are there any preference 
betweenMXMLandAS for this purpose?


Dong

  















__._,_.___





--
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] Design Pattern books for AS3 and Flex 2

2006-06-20 Thread Jeremy Lu




well, seems it's a bit too late to add my vote for Head First Design Patterns.

Personally I think this is a *MUST* read (over and over again and port those java code to AS3) for every serious engineer :-)

Recently I've be thinking about implement Memento and Command Pattern in Flex 2 so the application could undo things.

Jeremy.
On 6/20/06, Alan Shaw [EMAIL PROTECTED] wrote:









  



Danny
Patterson and Joey Lott have an AS3 design patterns book coming out
this summer from Adobe. They presented parts of it at FlashBelt
last week, and it's going to be a must buy.

-A

On 6/20/06, Phil Marston 
[EMAIL PROTECTED] wrote:
don't know about flex as 3 specifically, but worth checking outO'Reilly's Head First Design Patterns
http://www.amazon.com/gp/product/0596007124/ref=sr_11_1/002-8231286-1107262?%5Fencoding=UTF8
HTH
Philjudah wrote: Are there any design pattern books coming out in the near future that talk about design patterns with ActionScript 3 or Flex 2? Best Regards, Judah Frangipane
--__Phil MarstonLearning TechnologistLearning Technology UnitEdward 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 essential

www.abdn.ac.uk/opendayemail [EMAIL PROTECTED]or call 0800 027 1495
 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.txt
Search Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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 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] remoteObject send failing

2006-06-20 Thread hank williams
I am trying to get remoteObjects up and running, talking to a FDS.

I use mxml binding, and when I actually make the send() call to my
remote object it generates an error send failed. It does not appear
that the message is ever getting to the server because there is no
traffic on the java console. If it was a bad destination or method
name I would think that would require asking the server, which it
doesnt seem to do.

The error generated is just send failed.

So I suspect I am doing something bone headed on the client side but
dont know what. Below is the failing app.

Any help appeciated.

Hank


?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute

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

mx:RemoteObject
id = chartTemplate
destination = charts

mx:method
name=findCharts
result = dgChartTemplate.dataProvider=event.result
fault = Alert.show(event.fault.faultstring,'Error'); 
mx:arguments
chartTemplateID
1
/chartTemplateID
/mx:arguments
/mx:method
/mx:RemoteObject

mx:DataGrid x=20 y=80 id=dgChartTemplate width=400
mx:columns
mx:DataGridColumn headerText=c1 dataField=name/
mx:DataGridColumn headerText=c1 
dataField=time_interval/
/mx:columns
/mx:DataGrid

mx:Button label=get chart data
click = chartTemplate.findCharts.send()/
/mx:Application


 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] Anyone has UML of BusinessDelegate, ServiceLocator, EventBroadcaster

2006-06-20 Thread junhufr
Does anyone have the UML diagrams of
BusinessDelegate
ServiceLocator
EventBroadcaster
FrontController
etc.,

which mentioned in the book Developing rich clients with Macromedia Flex

Thanks in advance.





 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] Re: Access SOAP fault code

2006-06-20 Thread kellyb723
I'm using .NET 2.0 WebService from Flex 2.0. If my web service throws
an exception I do receive the exception message in the
FaultEvent.fault.faultString in Flex.

- Kelly

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

 Cool, I thought it just copied the one from IE! In any case, I guess the
 WinForms one would be different. Thanks :-)
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Carson Hager
 Sent: 20 June 2006 15:01
 To: flexcoders@yahoogroups.com; flexcoders@yahoogroups.com
 Subject: 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 Tuppeny
 Sent: Tue 6/20/2006 9:50 AM
 To: flexcoders@yahoogroups.com
 Subject: 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 that I 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 Hager
 Sent: 20 June 2006 14:22
 To: flexcoders@yahoogroups.com; flexcoders@yahoogroups.com
 Subject: 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 get a
 bad rap over this.
  
  
 Carson
  
 
 
 
 From: flexcoders@yahoogroups.com on behalf of Daniel Tuppeny
 Sent: Tue 6/20/2006 9:21 AM
 To: flexcoders@yahoogroups.com
 Subject: 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 Hager
 Sent: 20 June 2006 14:11
 To: flexcoders@yahoogroups.com; flexcoders@yahoogroups.com
 Subject: 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 Tuppeny
 Sent: Tue 6/20/2006 9:06 AM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Access SOAP fault code
 
 
 
 This sounds pretty worrying. We're using SOAP without any server/proxy.
 So we won't be able to get the SOAP 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 Hager
 Sent: 20 June 2006 13:29
 To: flexcoders@yahoogroups.com; flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Access SOAP fault code
 
 
 This is currently a limitation in the Flash Player ( all versions ).
 SOAP 

[flexcoders] Re: [Flex2Beta3] CF/Flex integration - 500 NULL

2006-06-20 Thread Bill Sahlas










Are you attempting the Sample app called SessionTracker? Can
you give me more details? 




 
  
  
   






Bill
Sahlas
ColdFusion QA
Adobe Systems Inc.
275 Grove Street



Newton MA 02246
p: 617.219.2167

[EMAIL PROTECTED] 


   
  
  
  
 















__._,_.___





--
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-20 Thread Carson Hager









That is very surprising. That 
really should not happen. Are your web services not sending back an HTTP 
500? Per the spec, they are required to.


Carson



From: flexcoders@yahoogroups.com on behalf of 
kellyb723Sent: Tue 6/20/2006 1:44 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: Access SOAP fault 
code




I'm using .NET 2.0 WebService from Flex 2.0. If my web service throwsan 
exception I do receive the exception message in 
theFaultEvent.fault.faultString in Flex.- Kelly--- In 
[EMAIL PROTECTED]ups.com, 
"Daniel Tuppeny" [EMAIL PROTECTED].. wrote: Cool, I 
thought it just copied the one from IE! In any case, I guess the 
WinForms one would be different. Thanks :-)  
  From: [EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
On Behalf Of Carson Hager Sent: 20 June 2006 15:01 To: 
[EMAIL PROTECTED]ups.com; 
[EMAIL PROTECTED]ups.com 
Subject: 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: [EMAIL PROTECTED]ups.com 
on behalf of Daniel Tuppeny Sent: Tue 6/20/2006 9:50 AM To: [EMAIL PROTECTED]ups.com 
Subject: 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 that I 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: 
[EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
On Behalf Of Carson Hager Sent: 20 June 2006 14:22 To: 
[EMAIL PROTECTED]ups.com; 
[EMAIL PROTECTED]ups.com 
Subject: 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 get a bad rap over 
this.   Carson   
  From: [EMAIL PROTECTED]ups.com 
on behalf of Daniel Tuppeny Sent: Tue 6/20/2006 9:21 AM To: [EMAIL PROTECTED]ups.com 
Subject: 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: [EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
On Behalf Of Carson Hager Sent: 20 June 2006 14:11 To: 
[EMAIL PROTECTED]ups.com; 
[EMAIL PROTECTED]ups.com 
Subject: 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: [EMAIL PROTECTED]ups.com 
on behalf of Daniel Tuppeny Sent: Tue 6/20/2006 9:06 AM To: [EMAIL PROTECTED]ups.com 
Subject: RE: [flexcoders] Access SOAP fault code   
 This sounds pretty worrying. We're using SOAP without any 
server/proxy. So we won't be able to get the SOAP 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: [EMAIL PROTECTED]ups.com 
[mailto:[EMAIL 

[flexcoders] Re: Access SOAP fault code

2006-06-20 Thread kellyb723
I have to appologize for my own stupidity.  I'm actaully wrapping my
WebServices in a try/catch that return a failure status.  The fault
event only tell me an HTTP Error occured.

- Kelly

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

 I'm using .NET 2.0 WebService from Flex 2.0. If my web service throws
 an exception I do receive the exception message in the
 FaultEvent.fault.faultString in Flex.
 
 - Kelly
 
 --- In flexcoders@yahoogroups.com, Daniel Tuppeny d.tuppeny@ wrote:
 
  Cool, I thought it just copied the one from IE! In any case, I
guess the
  WinForms one would be different. Thanks :-)
  
  
  
  From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
  Behalf Of Carson Hager
  Sent: 20 June 2006 15:01
  To: flexcoders@yahoogroups.com; flexcoders@yahoogroups.com
  Subject: 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 Tuppeny
  Sent: Tue 6/20/2006 9:50 AM
  To: flexcoders@yahoogroups.com
  Subject: 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 that I 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 Hager
  Sent: 20 June 2006 14:22
  To: flexcoders@yahoogroups.com; flexcoders@yahoogroups.com
  Subject: 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
get a
  bad rap over this.
   
   
  Carson
   
  
  
  
  From: flexcoders@yahoogroups.com on behalf of Daniel Tuppeny
  Sent: Tue 6/20/2006 9:21 AM
  To: flexcoders@yahoogroups.com
  Subject: 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 Hager
  Sent: 20 June 2006 14:11
  To: flexcoders@yahoogroups.com; flexcoders@yahoogroups.com
  Subject: 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 Tuppeny
  Sent: Tue 6/20/2006 9:06 AM
  To: flexcoders@yahoogroups.com
  Subject: RE: [flexcoders] Access SOAP fault code
  
  
  
  This sounds pretty worrying. We're using SOAP without any
server/proxy.
  So we won't be able to get the SOAP 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 

[flexcoders] remove all content of RichtextEditor

2006-06-20 Thread Jesús Iglesias
Title: Mensaje





Hi, 


I 
have a richtexteditor in wich I load some html with embeded images, 
ie:

ptext text text img src=""/ 
more text more text /p

At 
one moment I need to change the content of the richtexteditor and load other 
diferent text. This is partially done, the text is changed but the images does 
not disapeared, it seems asthe images where objects of the textarea, but 
the textarea has no getchilds method to remove each image.

How 
can I remove ALL the content of the richtexteditor?

Thanks!!
Jesus Iglesias
__._,_.___





--
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] Re: Anyone has UML of BusinessDelegate, ServiceLocator, EventBroadcaster

2006-06-20 Thread Tim Hoff



Don't have the UML diagrams, but there is a good Cairngorm Flow Chart pdf here:
http://www.corbell.com.au/docs/Cairngorm%20flow%20chart.pdf
Cheers,-TH--- In flexcoders@yahoogroups.com, "junhufr" [EMAIL PROTECTED] wrote: Does anyone have the UML diagrams of BusinessDelegate ServiceLocator EventBroadcaster FrontController etc.,  which mentioned in the book Developing rich clients with Macromedia Flex  Thanks in advance.

__._,_.___





--
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] Tabbing through items in a container

2006-06-20 Thread Deepa Subramaniam
Currently in the framework, you cannot tab through components like
Label, Text and Image. They will not respond with a focus highlight
which other controls, like a Button, do. Try your same test case with a
Button and you'll see that the controls respond to tabbing in the order
specified by tabIndex.

-deepa

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of polestar11
Sent: Tuesday, June 20, 2006 6:40 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Tabbing through items in a container

Hi there

I am trying to build a custom list that allows the same type of cursor
tabbing though child items as a list / datagrid.

I have created a custom class that extends HBox. I have chosen a
container rather than a list to extend from, because I do not want a
fixed column width for items.
 
I have tried various test cases to implement tabbing though a
container's children with no luck. Ultimately I want to build a custom
class that extends a container and dynamically adds child UI-items
that can be tabbed through.

Alternatively, is there a way to allow for dynamic column sizes for
items within a list?

Code:
mx:Canvas tabChildren=true
mx:Label text=1. /
mx:Label text=A tabIndex=0 tabEnabled=true /
mx:Label text=B tabIndex=1 tabEnabled=true /
mx:Label text=2. /
mx:Label text=C tabIndex=2 tabEnabled=true /
mx:Label text=D tabIndex=3 tabEnabled=true /
/mx:Canvas






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



 





 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] Re: How to integrate Flash and Flex well done ?

2006-06-20 Thread David Mendels
Hi,

Future yes; present--requires some hoops.

Background: the new Flash Player contains both the old Actionscript
Virtual Machine (AVM0) the executes AS1 and AS2 and the new AVM2 that
executes AS3.  This allows us to have the new VM, language and
performance and keep backward compatibility with existing SWFs written
prior to AS3.  Unfortunately, there is no real interop between the two
VMs.  For the most part, one has to choose AS1/2 or AS3 and not mix
them. The workaround is, as written earlier in the thread is to have the
two SWFs talk to each other with local connection.  This works, but is
not the best ieal solution.

Tha said, James was right that the *future* will make it easy to create
SWFs and SWCs in Flash and use them in a Flex applications.  The future
assume the Flash authoring tool with full support for AS3.  This future
version of the Flash authoring tool is code named Blaze.  It is still
a ways off, but we expect to have a version on labs.adobe.com as early
as possible to enable this interop across Flash authoring and Flex. It
will not however provide an automatic way to use earlier (AS1/2)
SWF/SWCs in Flex--you will need to either port these to AS3 or use the
local connection technique.

Hope this helps.

-David

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of roberto.rosenthal
 Sent: Monday, June 19, 2006 1:13 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: How to integrate Flash and Flex well done ?
 
 Jason, thanks for the prompt reply... But that doesn't really 
 help, does it ? How strange.. I just spoke today with James 
 Ward, a Flex Evangelist, and he assure me that the future for 
 Flash developers was to build customs components (SWC) to 
 interact with Flex... and also sugest me to ask the 
 flexcoders group about this issue (what I'm doing).
 
 Anyhow, do you know where I can learn how to do that ? 
 Meaning: build a custom SWC component with Flash and use it 
 as a Flex component tag.
 
 I really appreciate it,
 Roberto Rosenthal 
 
 
 
 
 
  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
 
 
 
  
 
 
 
 


 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] Re: remoteObject send failing

2006-06-20 Thread Doug Lowder
Hi Hank,

You should be able to call your RemoteObject method directly.  See 
if the following works:

  mx:Button label=get chart data
click=chartTemplate.findCharts(1) /


- Doug

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

 I am trying to get remoteObjects up and running, talking to a FDS.
 
 I use mxml binding, and when I actually make the send() call to my
 remote object it generates an error send failed. It does not 
appear
 that the message is ever getting to the server because there is no
 traffic on the java console. If it was a bad destination or method
 name I would think that would require asking the server, which it
 doesnt seem to do.
 
 The error generated is just send failed.
 
 So I suspect I am doing something bone headed on the client side 
but
 dont know what. Below is the failing app.
 
 Any help appeciated.
 
 Hank
 
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; 
layout=absolute
 
   mx:Script
   ![CDATA[
   import mx.controls.Alert;
   ]]
   /mx:Script
 
   mx:RemoteObject
   id = chartTemplate
   destination = charts
   
   mx:method
   name=findCharts
   result 
= dgChartTemplate.dataProvider=event.result
   fault = Alert.show
(event.fault.faultstring,'Error'); 
   mx:arguments
   chartTemplateID
   1
   /chartTemplateID
   /mx:arguments
   /mx:method
   /mx:RemoteObject
   
   mx:DataGrid x=20 y=80 id=dgChartTemplate width=400
   mx:columns
   mx:DataGridColumn headerText=c1 
dataField=name/
   mx:DataGridColumn headerText=c1 
dataField=time_interval/
   /mx:columns
   /mx:DataGrid
   
   mx:Button label=get chart data
   click = chartTemplate.findCharts.send()/
 /mx:Application








 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] Re: remoteObject send failing

2006-06-20 Thread hank williams



Well, that is a much cleaner call, but it still does the same thing :(HankOn 6/20/06, Doug Lowder [EMAIL PROTECTED]
 wrote:Hi Hank,You should be able to call your RemoteObject method directly.See
if the following works:mx:Button label=get chart dataclick=chartTemplate.findCharts(1) /- Doug--- In flexcoders@yahoogroups.com
, hank williams [EMAIL PROTECTED]wrote: I am trying to get remoteObjects up and running, talking to a FDS. I use mxml binding, and when I actually make the send() call to my
 remote object it generates an error send failed. It does notappear that the message is ever getting to the server because there is no traffic on the java console. If it was a bad destination or method
 name I would think that would require asking the server, which it doesnt seem to do. The error generated is just send failed. So I suspect I am doing something bone headed on the client side
but dont know what. Below is the failing app. Any help appeciated. Hank ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=
http://www.adobe.com/2006/mxmllayout=absolute mx:Script ![CDATA[ import 
mx.controls.Alert; ]] /mx:Script mx:RemoteObject id = chartTemplate destination = charts
 mx:method name=findCharts result= dgChartTemplate.dataProvider=event.result fault = 
Alert.show(event.fault.faultstring,'Error');  mx:arguments chartTemplateID 1
 /chartTemplateID /mx:arguments /mx:method /mx:RemoteObject
 mx:DataGrid x=20 y=80 id=dgChartTemplate width=400 mx:columns mx:DataGridColumn headerText=c1
dataField=name/ mx:DataGridColumn headerText=c1dataField=time_interval/ /mx:columns /mx:DataGrid
 mx:Button label=get chart data click = chartTemplate.findCharts.send()/ /mx:Application 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* 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 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: remoteObject send failing

2006-06-20 Thread Peter Farland





Hank:

1. Are you compiling with a reference to the services 
configuration file? Either through a --services command line option to mxmlc (or 
a compiler services element in flex-config.xml)?

2. Do any of your channel endpoints use a {context.root} 
token? If so, have you specified a --context-root command line option to 
mxmlc?

3. Can you add a mx:TraceTarget level="0" / to your 
MXML and then watch the flashlog.txt for more info?

Pete


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of hank 
williamsSent: Tuesday, June 20, 2006 3:02 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: remoteObject 
send failing


Well, that is a much cleaner call, but it still does the same thing 
:(Hank
On 6/20/06, Doug 
Lowder [EMAIL PROTECTED] 
 wrote:
Hi Hank,You should be 
  able to call your RemoteObject method directly.See if the 
  following works:mx:Button label="get chart 
  data"click="chartTemplate.findCharts(1)" 
  /- Doug--- In flexcoders@yahoogroups.com , 
  "hank williams" [EMAIL PROTECTED]wrote: I am trying to 
  get remoteObjects up and running, talking to a FDS. I use mxml 
  binding, and when I actually make the send() call to my  remote object 
  it generates an error "send failed". It does notappear that the 
  message is ever getting to the server because there is no traffic on 
  the java console. If it was a bad destination or method  name I would 
  think that would require asking the server, which it doesnt seem to 
  do. The error generated is just "send failed". 
  So I suspect I am doing something bone headed on the client side 
  but dont know what. Below is the failing app. Any 
  help appeciated. Hank ?xml 
  version="1.0" encoding="utf-8"? mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml"layout="absolute" 
  mx:Script 
  ![CDATA[ 
  import 
  mx.controls.Alert; 
  ]] 
  /mx:Script 
  mx:RemoteObject 
  id = 
  "chartTemplate" 
  destination = "charts" 
   
  mx:method 
  name="findCharts" 
  result= 
  "dgChartTemplate.dataProvider=event.result" 
  fault = " Alert.show(event.fault.faultstring,'Error');" 
   
  mx:arguments 
  chartTemplateID 
  1 
   
  /chartTemplateID 
  /mx:arguments 
  /mx:method 
  /mx:RemoteObject 
  mx:DataGrid x="20" y="80" id="dgChartTemplate" 
  width="400" 
  mx:columns 
  mx:DataGridColumn headerText="c1" 
  dataField="name"/ 
  mx:DataGridColumn 
  headerText="c1"dataField="time_interval"/ 
  /mx:columns 
  /mx:DataGrid  
  mx:Button label="get chart 
  data" 
  click = "chartTemplate.findCharts.send()"/ 
  /mx:Application 
  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* 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 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: remoteObject send failing

2006-06-20 Thread hank williams



On 6/20/06, Peter Farland [EMAIL PROTECTED] wrote:







Hank:

1. Are you compiling with a reference to the services 
configuration file? Either through a --services command line option to mxmlc (or 
a compiler services element in flex-config.xml)?This is what is in the properties  flex compiler  additional compiler arguments-services C:\Program Files\Apache Software Foundation\Tomcat 
5.5\webapps\uploadServer\WEB-INF\flex\flex-enterprise-services.xml -locale en_USThe path above is a valid path to my flex-enterprise-services.xml file.
2. Do any of your channel endpoints use a {context.root} 
token? If so, have you specified a --context-root command line option to 
mxmlc?It looks like they do. This is right out of samples and I just pasted it into my code.endpoint uri=http://{server.name
}:{server.port}/{context.root}/messagebroker/amf class=flex.messaging.endpoints.AMFEndpoint/The bad news is I changed it to the below line just to see if I could get it working.endpoint uri=
http://localhost:8080/uploadServer/messagebroker/amf class=flex.messaging.endpoints.AMFEndpoint/It didnt work.So now I am wondering if uploadServer isnt my 
context.root. It is the name of my webapp. Perhaps these are not the same thing.
3. Can you add a mx:TraceTarget level=0 / to your 
MXML and then watch the flashlog.txt for more info?I did stick this in, but could you tell me where flashlog.txt is kept?ThanksHank 

Pete


From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of hank 
williamsSent: Tuesday, June 20, 2006 3:02 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: remoteObject 
send failing


Well, that is a much cleaner call, but it still does the same thing 
:(Hank
On 6/20/06, Doug 
Lowder [EMAIL PROTECTED] 
 wrote:
Hi Hank,You should be 
  able to call your RemoteObject method directly.See if the 
  following works:mx:Button label=get chart 
  dataclick=chartTemplate.findCharts(1) 
  /- Doug--- In flexcoders@yahoogroups.com , 
  hank williams [EMAIL PROTECTED]wrote: I am trying to 
  get remoteObjects up and running, talking to a FDS. I use mxml 
  binding, and when I actually make the send() call to my  remote object 
  it generates an error send failed. It does notappear that the 
  message is ever getting to the server because there is no traffic on 
  the java console. If it was a bad destination or method  name I would 
  think that would require asking the server, which it doesnt seem to 
  do. The error generated is just send failed. 
  So I suspect I am doing something bone headed on the client side 
  but dont know what. Below is the failing app. Any 
  help appeciated. Hank ?xml 
  version=1.0 encoding=utf-8? mx:Application xmlns:mx= http://www.adobe.com/2006/mxml
layout=absolute 
  mx:Script 
  ![CDATA[ 
  import 
  mx.controls.Alert; 
  ]] 
  /mx:Script 
  mx:RemoteObject 
  id = 
  chartTemplate 
  destination = charts 
   
  mx:method 
  name=findCharts 
  result= 
  dgChartTemplate.dataProvider=event.result 
  fault =  Alert.show(event.fault.faultstring,'Error'); 
   
  mx:arguments 
  chartTemplateID 
  1 
   
  /chartTemplateID 
  /mx:arguments 
  /mx:method 
  /mx:RemoteObject 
  mx:DataGrid x=20 y=80 id=dgChartTemplate 
  width=400 
  mx:columns 
  mx:DataGridColumn headerText=c1 
  dataField=name/ 
  mx:DataGridColumn 
  headerText=c1dataField=time_interval/ 
  /mx:columns 
  /mx:DataGrid  
  mx:Button label=get chart 
  data 
  click = chartTemplate.findCharts.send()/ 
  /mx:Application 
  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.txt
Search 
  Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
  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 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 

Re: [flexcoders] Re: Accordion state change?

2006-06-20 Thread Impudent1
Tim Hoff wrote:
 Instead of states, you can use a little binding, like:
 
 mx:Text x=10 y=10 text={ScriptsAccordion.selectedChild.label} 
 Page Text width=218 id=text1/
 
 Or, create an Array that contains the text that you want to display, 
 in the same order as the Accordion children.  You would then 
 similarly bind like:
 
 text={myArray[ScriptsAccordion.selectedIndex]}
 


Ah, nice idea ty :)

What I ended up doing last eve was dumping all the states and replacing 
them as a viewstack. Then I could just go:

change=vs.selectedIndex = Acc.selectedIndex

only caveat seems to be you have to have the same # of canvas' in both 
or you can go out of bounds with a selection.

Impudent1
LeapFrog Productions



 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] Please Help With MXMLC Compile Error

2006-06-20 Thread Tobias Patton










Hi Lance;



I had a similar problem and the solution
was to remove all the comments from the mxml file that was failing in the
compiler.



Yes. Thats right. Remove all the
comments. It made no sense to me either.



Ive been assured by Adobe that this
is a known bug that will be fixed in the next release.



Tobias.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Lance Linder
Sent: Friday, June 16, 2006 12:48
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Please Help
With MXMLC Compile Error













I posted
this a few days ago with no response. I am still hoping that I can resolve this
or at least feel comfortable in believing that the error might go away with the
next release of Flex.



I might feel
this error is my fault but what I cant get around is the fact that it
compiles fine from FlexBuilder but not MXMLC compiler. I thought FlexBuilder
uses MXMLC as its compiler?



I have tried
reproducing the problem with smaller applications but it works just fine. The
error only comes up on a much larger application I am working on.



Here is the
entire error:



[exec] Starting 'mxmlc.exe ( -load-config tt3-flex-config.xml
TimeTracking3.mxml)' in 'flex'

[exec] Loading configuration file tt3-flex-config.xml, root element
flex-config

[exec] Initial setup: 296ms

[exec] Loaded 9 SWCs: 936ms

[exec] Compiling...

[exec] Files: 630 Time: 7454ms

[exec] Error: Compilation unit had no type info and after parsing
has no syntax tree

[exec]

[exec] java.lang.AssertionError: Compilation unit had no type info
and after parsing has no syntax tree

[exec] at flex2.compiler.as3.binding.TypeAnalyzer.analyzeClass(TypeAnalyzer.java:175)

[exec] at
flex2.compiler.as3.binding.TypeAnalyzer.analyzeBaseClass(TypeAnalyzer.java:120)

[exec] at
flex2.compiler.as3.binding.TypeAnalyzer.evaluate(TypeAnalyzer.java:392)

[exec] at macromedia.asc.parser.ClassDefinitionNode.evaluate(ClassDefinitionNode.java:86)

[exec] at
flash.swf.tools.as3.EvaluatorAdapter.evaluate(EvaluatorAdapter.java:330)

[exec] at
macromedia.asc.parser.StatementListNode.evaluate(StatementListNode.java:36)

[exec] at flash.swf.tools.as3.EvaluatorAdapter.evaluate(EvaluatorAdapter.java:910)

[exec] at
macromedia.asc.parser.ProgramNode.evaluate(ProgramNode.java:63)

[exec] at
flex2.compiler.as3.genext.GenerativeExtension.parse(GenerativeExtension.java:55)

[exec] at flex2.compiler.as3.Compiler.parse(Compiler.java:313)



[exec] at
flex2.compiler.mxml.ImplementationCompiler.parse(ImplementationCompiler.java:148)

[exec] at flex2.compiler.mxml.Compiler.parse(Compiler.java:89)



[exec] at flex2.compiler.API.parse(API.java:1631)

[exec] at flex2.compiler.API.parse(API.java:1592)

[exec] at flex2.compiler.API.batch2(API.java:285)

[exec] at flex2.compiler.API.batch(API.java:764)

[exec] at flex2.compiler.API.compile(API.java:889)

[exec] at flex2.compiler.API.compile(API.java:796)

[exec] at flex2.tools.Compiler.main(Compiler.java:194)

[exec] Total time: 8686ms

[exec] Peak memory usage: 72 MB (Heap: 49, Non-Heap: 23)



I can only
hope that this will be resolved in the next release!



Lance










__._,_.___





--
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] F2B3 bug in serialization of XML in AMF0

2006-06-20 Thread Carlos Rovira



Xavi, the same here,Yesterday I was trying the same and notice the same issue. It's very strange because if Adobe maintains AMF0 for backward compatibility, we should expect to work with XML the same as before and we should be able to send as expected in any version of the flash player. The same with other data types.
On 6/20/06, Xavi Beumala [EMAIL PROTECTED] wrote:









  



Hi there,I'm trying to receive an org.w3c.dom.Document Object from OpenAMF using AMF0 in F2B3. It works great on Flash8 but on F2B3 it's not receiving anything. It seems like the XML serialization is not working correctly.
Couls someone confirm it please?BestX.

  













-- ::| Carlos Rovira::| http://www.carlosrovira.com

__._,_.___





--
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] High Level: Actionscript Components vs. Importing Actionscript Classes

2006-06-20 Thread Jim Robson





Evan:

Good question! I think that the primary difference between 
a component and a class is how you use it. You import a class using the 
ActionScript import statement and then access the properties and methods of that 
class in your ActionScript code, whereas a component is declared using an MXML 
tag. 

Here's some stuff on building custom 
components:
http://livedocs.macromedia.com/labs/1/flex20beta3/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=Part3_CreateComps.html

You may have already noticed that the documentation on 
writing an ActionScript class actually links back to the section on building 
components, which helps to make your point, that there isn't much difference 
between a component and a class:
http://livedocs.macromedia.com/labs/1/flex20beta3/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=0418.html

There are some classes (such as SimpleButton)that are 
accessible via ActionScript but not MXML tags. Apart from that, I don't think 
there is any difference between components and classes.If my understanding 
is lacking, I trust that others on the list will make necessary corrections. 


Jim





From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Evan 
GiffordSent: Tuesday, June 20, 2006 2:03 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] High Level: 
Actionscript Components vs. Importing Actionscript Classes




Wow .. .Im humbled to 
ask this question .. but the truth is I cant find an answer to 
this:

In the LiveDocs article 
here: 
http://livedocs.macromedia.com/labs/1/flex20beta3/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=0453.html

It states the 5 ways 
that actionscript can be worked into MXML.

The first 3 I 
understand, basics like using actionscript in an event handler and embedding it 
into the MXML file.

The last two though are 
confusing to me:
 
Import ActionScript classes. 

 
Create ActionScript components. 


What is the difference 
between importing classes and Creating/Using actionscript 
components?

Thanks Guys, Im 
honored to be a part of this list and hope to be able to contribute to it 
soon.
-Evan





From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim HoffSent: Monday, June 19, 2006 7:38 
PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: Accordion state 
change?




Instead of 
states, you can use a little binding, like:mx:Text x="10" y="10" 
text="{ScriptsAccordion.selectedChild.label} Page Text" 
width="218" id="text1"/Or, create an Array that contains the text 
that you want to display, in the same order as the Accordion children. You 
would then similarly bind 
like:text="{myArray[ScriptsAccordion.selectedIndex]}"-TH--- 
In [EMAIL PROTECTED]ups.com, 
Impudent1 [EMAIL PROTECTED].. wrote: I have been playing 
with flex a bit lately, doing the tutorials, some  web examples from 
the blogs (ty all ;p )  I decided to try to rebuild a basic web 
page that currently lists all  the scripts I created for After 
Effects in Flex2B3.  What I am stuck on is trying to have an 
accordion navigator change the  content in a specific canvas. I 
currently have setup states to do this.  Thinking that I would be 
able to setup a function that would test the  accordions selected id 
vs a list of states and change accordingly I  setup the 
following:  ?xml version="1.0" 
encoding="utf-8"? mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" 
layout="absolute" mx:states mx:State 
name="BackBurnerSubmitUI" mx:SetProperty 
target="{text1}" name="text"  value="Backburner page 
text"/ /mx:State mx:State 
name="BackupProject" mx:SetProperty target="{text1}" 
name="text"  value="BackupProject page text"/ 
/mx:State mx:State name="Calc" 
mx:SetProperty target="{text1}" name="text" value="Calc  
page text"/ /mx:State mx:State 
name="DefaultFolders" mx:SetProperty target="{text1}" 
name="text" value="Default  Folders page text"/ 
/mx:State mx:State name="DropFootageTime0" 
mx:SetProperty target="{text1}" name="text"  value="DropFootage 
page text"/ /mx:State mx:State 
name="FilmCalc" mx:SetProperty target="{text1}" 
name="text"  value="Filmcalc page text"/ 
/mx:State mx:State name="FontCollector" 
mx:SetProperty target="{text1}" name="text" value="Font  
collector page text"/ /mx:State mx:State 
name="GoWarpStatic" mx:SetProperty target="{text1}" 
name="text" value="Gowarp  page text"/ 
/mx:State mx:State name="Gspot" 
mx:SetProperty target="{text1}" name="text" value="Gspot  
page text"/ /mx:State mx:State 
name="ImportExportLayouts" mx:SetProperty 
target="{text1}" name="text" value="Layouts  page 
text"/ /mx:State mx:State 
name="ImportExportMRU" mx:SetProperty target="{text1}" 
name="text" value="MRU  page text"/ 
/mx:State mx:State name="MusterBatchUI" 
mx:SetProperty target="{text1}" name="text"  value="Musterbatch 
page text"/ /mx:State mx:State 
name="MusterSubmitUI" mx:SetProperty target="{text1}" 
name="text"  value="Mustersubmit page text"/ 

Re: [flexcoders] Re: remoteObject send failing

2006-06-20 Thread hank williams



Oh also, in my flex-config.xml I do define the context root like this:context-root/uploadSever/context-rootagain, that is the name of the web app.Hank
On 6/20/06, hank williams [EMAIL PROTECTED] wrote:
On 6/20/06, Peter Farland 
[EMAIL PROTECTED] wrote:







Hank:

1. Are you compiling with a reference to the services 
configuration file? Either through a --services command line option to mxmlc (or 
a compiler services element in flex-config.xml)?This is what is in the properties  flex compiler  additional compiler arguments-services C:\Program Files\Apache Software Foundation\Tomcat 
5.5\webapps\uploadServer\WEB-INF\flex\flex-enterprise-services.xml -locale en_USThe path above is a valid path to my flex-enterprise-services.xml file.

2. Do any of your channel endpoints use a {context.root} 
token? If so, have you specified a --context-root command line option to 
mxmlc?It looks like they do. This is right out of samples and I just pasted it into my code.endpoint uri=http://{
server.name
}:{server.port}/{context.root}/messagebroker/amf class=flex.messaging.endpoints.AMFEndpoint/The bad news is I changed it to the below line just to see if I could get it working.endpoint uri=
http://localhost:8080/uploadServer/messagebroker/amf class=flex.messaging.endpoints.AMFEndpoint
/It didnt work.So now I am wondering if uploadServer isnt my 
context.root. It is the name of my webapp. Perhaps these are not the same thing.

3. Can you add a mx:TraceTarget level=0 / to your 
MXML and then watch the flashlog.txt for more info?I did stick this in, but could you tell me where flashlog.txt is kept?Thanks
Hank 


Pete


From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of hank 
williamsSent: Tuesday, June 20, 2006 3:02 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: remoteObject 
send failing


Well, that is a much cleaner call, but it still does the same thing 
:(Hank
On 6/20/06, Doug 
Lowder [EMAIL PROTECTED] 
 wrote:
Hi Hank,You should be 
  able to call your RemoteObject method directly.See if the 
  following works:mx:Button label=get chart 
  dataclick=chartTemplate.findCharts(1) 
  /- Doug--- In flexcoders@yahoogroups.com , 
  hank williams [EMAIL PROTECTED]wrote: I am trying to 
  get remoteObjects up and running, talking to a FDS. I use mxml 
  binding, and when I actually make the send() call to my  remote object 
  it generates an error send failed. It does notappear that the 
  message is ever getting to the server because there is no traffic on 
  the java console. If it was a bad destination or method  name I would 
  think that would require asking the server, which it doesnt seem to 
  do. The error generated is just send failed. 
  So I suspect I am doing something bone headed on the client side 
  but dont know what. Below is the failing app. Any 
  help appeciated. Hank ?xml 
  version=1.0 encoding=utf-8? mx:Application xmlns:mx= http://www.adobe.com/2006/mxml
layout=absolute 
  mx:Script 
  ![CDATA[ 
  import 
  mx.controls.Alert; 
  ]] 
  /mx:Script 
  mx:RemoteObject 
  id = 
  chartTemplate 
  destination = charts 
   
  mx:method 
  name=findCharts 
  result= 
  dgChartTemplate.dataProvider=event.result 
  fault =  Alert.show(event.fault.faultstring,'Error'); 
   
  mx:arguments 
  chartTemplateID 
  1 
   
  /chartTemplateID 
  /mx:arguments 
  /mx:method 
  /mx:RemoteObject 
  mx:DataGrid x=20 y=80 id=dgChartTemplate 
  width=400 
  mx:columns 
  mx:DataGridColumn headerText=c1 
  dataField=name/ 
  mx:DataGridColumn 
  headerText=c1dataField=time_interval/ 
  /mx:columns 
  /mx:DataGrid  
  mx:Button label=get chart 
  data 
  click = chartTemplate.findCharts.send()/ 
  /mx:Application 
  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.txt
Search 
  Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
  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 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
  
  

[flexcoders] How do I get around having 1 or 0 items when bound to a grid?

2006-06-20 Thread richardhughes260
How do I get around having 1 or 0 items when bound to a grid?

In the Data Grid, Retreiving Data example on 
http://flexapps.macromedia.com/flex2beta3/explorer/explorer.html

It breaks when you have less than two items in the XML data. :(

How do I get around this?

?xml version=1.0 encoding=utf-8?

mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
backgroundAlpha=0
creationComplete=srv.send()

mx:Script

import mx.collections.ArrayCollection;

[Bindable]
public var employees:ArrayCollection;

/mx:Script

mx:HTTPService id=srv url=../assets/employees.xml
useProxy=false
result=employees = new
ArrayCollection(srv.lastResult.list.employee)/

mx:HBox width=100% height=100%

mx:DataGrid id=dg width=100% height=100%
dataProvider={employees}
mx:columns
mx:Array
mx:DataGridColumn dataField=name
headerText=Name/
mx:DataGridColumn dataField=phone
headerText=Phone/
mx:DataGridColumn dataField=email
headerText=Email/
/mx:Array
/mx:columns
/mx:DataGrid

mx:Form width=100% height=100%
mx:FormItem label=Name
mx:Label text={dg.selectedItem.name}/
/mx:FormItem
mx:FormItem label=Email
mx:Label text={dg.selectedItem.email}/
/mx:FormItem
mx:FormItem label=Phone
mx:Label text={dg.selectedItem.phone}/
/mx:FormItem
/mx:Form
/mx:HBox

/mx:Application

?xml version=1.0 encoding=utf-8?

list

employee
nameChristina Coenraets/name
phone555-219-2270/phone
email[EMAIL PROTECTED]/email
activetrue/active
/employee
 

/list






 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] LoadVars problem

2006-06-20 Thread Mehdi, Agha
Title: LoadVars problem







Hi all,

I have any application that submits data to a coldfusion page using LoadVars. When I run it from 1 server it works fine but doesn't work from the other server. The page that accepts submission is the same in both cases.

Scenario:

Server 1 submits to a page on Server3 (blank structure)

Server 2 submits to a page on Server3 (works fine)

The code is same on both servers.

Is there any issues with security for LoadVars that might be different?

Thanks

Agha Mehdi

IDT - eBusiness Program Manager

Work: 408.284.8239

Cell : 510.493.0491

Fax : 408.284.2766




__._,_.___





--
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] FlexPrintJob and large DataGrids?

2006-06-20 Thread djbrown_rotonews
I've got a large DataGrid that the user needs to scroll (vertically) 
through to view completely. When I go to print this, I only get the 
portion that is currently displayed to print out (I'm using the 
dataGrid itself as the UI component to print, so that's not the 
issue). Any ideas?

Here's the relevant snippets:


public function printGrid(e:Event):void {
import mx.printing.FlexPrintJob;
var myPrintJob:FlexPrintJob = new FlexPrintJob();
myPrintJob.start();
myPrintJob.addObject(dgBags, FlexPrintJobScaleType.SHOW_ALL);
myPrintJob.send();
}

mx:DataGrid id=dgBags x=10 y=75 width=95% height=90% 
dataProvider={bags_xml}






 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/
 




[flexcoders] Flex Custom Security W/Jboss

2006-06-20 Thread jfournet
We are using flex 1.5 custom security w/jobss.  Jboss appears to be 
caching security data.  When we delete a user it seems that we can 
still log in as that user for a short period of time.  Does anyone know 
if jboss caches this and if so how to purget this from the cache so 
users that don't exist anymore cannot log in?






 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] Re: FlexPrintJob and large DataGrids?

2006-06-20 Thread Tim Hoff
Hi,

The docs recommend that, for print jobs, you create a seperate 
custom component that contans the DataGrid in it's full size (no 
scroll bars).  The print DataGrid is bound to the same dataProvider 
as the view DataGrid.

-TH

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

 I've got a large DataGrid that the user needs to scroll 
(vertically) 
 through to view completely. When I go to print this, I only get 
the 
 portion that is currently displayed to print out (I'm using the 
 dataGrid itself as the UI component to print, so that's not the 
 issue). Any ideas?
 
 Here's the relevant snippets:
 
 
 public function printGrid(e:Event):void {
 import mx.printing.FlexPrintJob;
 var myPrintJob:FlexPrintJob = new FlexPrintJob();
 myPrintJob.start();
 myPrintJob.addObject(dgBags, FlexPrintJobScaleType.SHOW_ALL);
   myPrintJob.send();
 }
 
 mx:DataGrid id=dgBags x=10 y=75 width=95% height=90% 
 dataProvider={bags_xml}







 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: remoteObject send failing

2006-06-20 Thread hank williams



Just as a test I changed the definiton of the my-amf endpoint in flex-enterprise-services.xml to 
http://localhost:8080/uploadServer/messagebrokersilly/amfjust to see if this would effect what the flex debugger says I am looking for.It still says it thinks the channel definition is:channel id=my-amf type=
mx.messaging.channels.AMFChannel endpoint uri=http://{server.name}:{server.port}//messagebroker/amf/
 properties polling-enabledfalse/polling-enabled /properties/channelSo the question is, where is it getting this from?Hank
On 6/20/06, hank williams [EMAIL PROTECTED] wrote:
Ok, so we are getting down to the nub of the problem.this is what my flex-enterprise-services.xml file says my channel definition is: channel-definition id=my-amf class=mx.messaging.channels.AMFChannel

 endpoint uri=http://localhost:8080/uploadServer/messagebroker/amf
 class=flex.messaging.endpoints.AMFEndpoint
/ properties polling-enabledfalse/polling-enabled /properties /channel-definitionAnd this is what the debugger thinks it is:
channel id=my-amf type=mx.messaging.channels.AMFChannel endpoint uri=http://{
server.name}:{server.port}//messagebroker/amf/
 properties polling-enabledfalse/polling-enabled /properties/channelAs you suggested in the last email I did test the endpoint in the browser and 

http://localhost:8080/uploadServer/messagebroker/amf is a valid endpoint because I dont get the 500 error, the screen just goes blank.I also did a global search of the word messagebroker just to see if there might be some conflicting definition. But there isnt. The only place it is is where it should be. There is no other definition for my-amf. Could there be some wierd caching issue since I recently changed the endpoint to the hardcoded definition that it doesnt seem to be seeing.
ThanksHankOn 6/20/06, Peter Farland 
[EMAIL PROTECTED] wrote:














 It didnt work.

 So now I am wondering if uploadServer isnt my context.root.

 It is the name of my webapp. Perhaps these are not the same

 thing.


[Pete] Try browsing to the endpoint URI. If it's correct, it will not throw a 500 error and present a blank screen.



 3. Can you add a mx:TraceTarget level=0 / to your

 MXML and then watch the flashlog.txt for more info?


 I did stick this in, but could you tell me where flashlog.txt is kept?


[Pete] You could either debug with Flex Builder and it usually show trace output in the console panel, though I usually launch SWFs from a variety of places so I like to configure Flash Player trace logging manually. If you're on Windows, then you need to have a 
mm.cfg file in your %HOMEDRIVE%%HOMEPATH% directory, i.e. C:\Documents and Settings\yourusername\mm.cfg

In here, the contents should be:


ErrorReportingEnable=1

TraceOutputFileEnable=1


Then, assuming you're using the debug versions of the Flash Player, a file called flashlog.txt will be created in your user directory. (I use tail.exe from cygwin to tail this file so that it appears as an updating console log).


Pete










__._,_.___





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



  






__,_._,___



  1   2   >