RE: [flexcoders] Quick question - who calls UIComponent.measure()?

2008-05-13 Thread Mansour Raad
Question - is it part of the lifecycle of the component ?

Mansour
:-)




-Original Message-
From: flexcoders@yahoogroups.com on behalf of Alex Harui
Sent: Tue 5/13/2008 8:07 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Quick question - who calls UIComponent.measure()?
 
It is called by LayoutManager via validateSize()

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Josh McDonald
Sent: Tuesday, May 13, 2008 4:33 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Quick question - who calls UIComponent.measure()?

 

Hey guys,

Since UIComponent.measure() is protected, does the container invoke it
via a round-about way, or is it simply called from a ResizeEvent.RESIZE
handler somewhere in UIComponent?

-J

-- 
Therefore, send not to know For whom the bell tolls. It tolls for
thee.

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  

 


winmail.dat

[flexcoders] webservice and subclasses

2008-02-20 Thread Mansour Raad
I'm using the import WSDL tool in FB3 to generate my AS3 classes -  
One of my methods has the following signature:


reverse( point : PointXY ) : void

In addition, the following PointZ subclass is generated

class PointZ extends PointXY
{
public var z : Number;
}

Whenever I call the reverse method with a PointZ instance, the soap  
envelope contains only the superclass (PointXY) properties.
I had to adjust the generated class to implement the  
IXMLSchemaInstance interface, and set the xsiType to the default  
namespace and the class name.
This is now picking up the subclass properties, however the attribute  
xsi:type value is malformed as follows:


  SOAP-ENV:Body
Reverse xmlns=http://www.company.com;
  Location xsi:type=:PointZ
X-117.351922/X
Y33.999418/Y
Z0/Z


Note the prefix ':' before PointZ 

Any clues how to generate a well-formed type ?

Thanks
Mansour
:-)

check out my blog http://thunderheadxpler.blogspot.com/



RE: [flexcoders] Tools to monitor flex network traffic for debugging SOAP calls and responses (kinda urgent)?

2008-02-18 Thread Mansour Raad
try mx:TraceTarget/ :-)

Mansour
:-)




-Original Message-
From: flexcoders@yahoogroups.com on behalf of Josh McDonald
Sent: Sun 2/17/2008 7:13 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Tools to monitor flex network traffic for debugging SOAP 
calls and responses (kinda urgent)?
 
Hi Guys,

Is there something good out there I can use to view the raw XML
request/response data going to and from the server when making SOAP calls? A
vcr proxy? An option in the debugger I don't know about?

-Josh

-- 
Therefore, send not to know For whom the bell tolls, It tolls for thee.

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]

winmail.dat

Re: [flexcoders] Yahoo Maps

2007-10-20 Thread Mansour Raad


If you are looking for a mapping component, check out ESRI Flex2  
mapping component at http://www.esri.com/flex


Mansour
Check out my blog http://thunderheadxpler.blogspot.com
:-)





Re: [flexcoders] for in loop does not work

2007-09-28 Thread Mansour Raad

try item[prop] ???

On Sep 28, 2007, at 9:55 AM, Webdevotion wrote:


Hey Guys and Gals,

My for var prop in object loop does not work :(
The debugger clearly states that the object contains the correct  
properties ...

Any ideas ?

var item : Object = model.services [i];
for(var prop:String in item)
{
 trace(prop:  + prop);
}





Mansour
http://thunderheadxpler.blogspot.com
:-)





Re: [flexcoders] multiple http requests

2007-09-27 Thread Mansour Raad
the player is limited by the number concurrent http to the _same_  
domain of the browser (typically 2)
If u target multiple domains at once - then u should be ok - so -  
create www.host[abcde...].com


Mansour
http://thunderheadxpler.blogspot.com
:-)



On Sep 27, 2007, at 11:35 AM, Randy Troppmann wrote:


My application sometimes needs to make a flurry of http requests to a
web service to populate some values. So it may send out 10 in a row
quickly. Although the responses always come back in the order that
they were requested, I am pretty sure that I cannot rely on this
always being so. So I cache the calls and send them out one at a time
and only when the previous response has been recieved. But this makes
the mechanism pretty slow. Is there a better way or a pattern I should
look at?

- Randy


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






Mansour
http://thunderheadxpler.blogspot.com
:-)