Re: [flexcoders] TitleWindow width issue

2006-01-30 Thread Manish Jethani
On 1/28/06, Deepa Subramaniam <[EMAIL PROTECTED]> wrote:
> Try using PopUpManager.popUpWindow() which takes the window to pop up. After 
> you create the window object to pop up, set its width and height to the 
> parent application's width and height and then call popUpWindow().
>
> Something like:
>
> private function pop():void
> {
>var win:IFlexDisplayObject = new test();
>win.width = this.width;
>win.height = this.height;
>PopUpManager.popUpWindow(win, this);
> }

Even createPopUp returns a reference to the window object, whose width
and height can be set.


--
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] DividedBox question - divider position

2006-01-30 Thread jgraham_us
Is there an easy way to set a minimum position for a divider in a 
DividedBox?  For example.  I have three panels in a VDividedBox when I 
drag divider 0 up I want it to stop and not size past the headerHeight 
of the panel, in essence not cover the panel header up.  

I assume this can be done by overriding the DividedBox, but was 
wondering if there was an easier way.

I have tried setting the minHeight on the panel but that appears to 
have no effect.

Thanks






--
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: Custom Tree Icons Flex 2.0

2006-01-30 Thread Jason Y. Kwong



After playing with it for a while, I wasn't able to set the icon of a branch, but I was able for a leaf, though it's not that straightforward.  [Embed('item_bullet.png')]private var ITEM_BULLET_ICON: Class;
               Test2_ITEM_BULLET_ICON
"/>     And what the heck is "Test2_ITEM_BULLET_ICON"?  It's the actual name of the class created by the embed.  You can see the name if you trace the variable ITEM_BULLET_ICON.  The project name I used was Test2 so that's where that came from.
I think the problem here is that the ListBase class (which Tree inherits from) requires a reference to the class when specifying the icon.  When I used a List component, the only way I got the icon to show up was to put the following in the Array dataprovider:
You can't do something like that for an XML dataprovider cause that XML is just seen as raw data, so you have to specify the name of the class to get it to work.
Meh...I just think it's broken.  It certainly doesn't follow what the docs say...On 1/30/06, Brendan Meutzner <
[EMAIL PROTECTED]> wrote:Hi Jason,Thanks for the reply.  I really should have been more specific last
night when I posted this...  I'm actually trying to define an iconwithin the individual nodes using the "icon" parameter.  I've definedthe Class as you have by embedding an asset, but when I try to
reference that asset like so:[Embed(source='mypng.png')]public var myCustomIcon:Class;and within the dataprovider structure for the tree...
it gives me the error I described previously.  What works in 1.5 doesnot work in 2.0, although it's document the same... well actually, notquite the same... the documentation for 2.0 still states that the
embedded asset be typed as String.  So it works as a String in 1.5,but I've tried both String and Class in 2.0 with no luck.Thanks,Brendan--- In 
flexcoders@yahoogroups.com, "Jason Y. Kwong" <[EMAIL PROTECTED]>wrote:>> This works for me:>> > > >> > 
>> > >> Or you can short-hand it a bit:>> 
 On 1/30/06, Brendan Meutzner <[EMAIL PROTECTED]> wrote:> >> > Hi,> >> > When I try to implement a custom icon in a Tree component for Flex> > 
2.0, it gives me a runtime error stating that it can't find the> > variable I've defined for the icon class...> >> > Has anyone gotten this to work?  I can post code if need be...> >
> > Thanks,> >> > Brendan> >> >> >> >> >> >> >> > --> > Flexcoders Mailing List> > FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> > Search Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > Yahoo! Groups Links> >> >> >> >> >> >> >> >>--Flexcoders Mailing 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





  




  
  
  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] Unable to detect changes to variable

2006-01-30 Thread Deepa Subramaniam
Just to add some context, by marking your page and perPage variables with the 
Bindable metadata, Flex will monitor those properties for changes and generate 
events for when something in that property chain changes. This is a new 
mechanism added in Flex 2. 



From: flexcoders@yahoogroups.com on behalf of Joan Tan
Sent: Mon 1/30/2006 5:58 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Unable to detect changes to variable



You need to make the variable bindable. Try this:

 

// variables

[Bindable]
public var perPage:Number = 6;

 

[Bindable]
public var page:Number = 1;

 

Joan

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Albert
Sent: Monday, January 30, 2006 5:36 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Unable to detect changes to variable

 

I defined the page variable in Script and want to increment it on
click of a button with the next() function. The variable is bound to a
parameter of an HTTPService call (get_data). The page variable works
on the initial HTTPService call, but can not be changed. I get the
compile warning "Unable to detect changes to "page". Code:




 






--
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 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] listOwner equivalent Flex 2

2006-01-30 Thread Joan Tan










Yep, I believe parent should work.

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL
Sent: Monday, January 30, 2006
7:49 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
listOwner equivalent Flex 2



 

Haven't tried myself, but
give parent a shot since he should be a 
DisplayObject.  Don't have the livedocs
available to confirm yet.

- Original Message - 
From: "Brendan Meutzner"
<[EMAIL PROTECTED]>
To: 
Sent: Monday, January 30, 2006 10:11 PM
Subject: [flexcoders] listOwner equivalent Flex 2


Hi,

So working with CellRenderers in Flex 2.0 is
great... easy... however,
what if I want to reference the parent control via
"listOwner" as in
Flex 1.5?

Brendan





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













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








  
  
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] listOwner equivalent Flex 2

2006-01-30 Thread JesterXL
Haven't tried myself, but give parent a shot since he should be a 
DisplayObject.  Don't have the livedocs available to confirm yet.

- Original Message - 
From: "Brendan Meutzner" <[EMAIL PROTECTED]>
To: 
Sent: Monday, January 30, 2006 10:11 PM
Subject: [flexcoders] listOwner equivalent Flex 2


Hi,

So working with CellRenderers in Flex 2.0 is great... easy... however,
what if I want to reference the parent control via "listOwner" as in
Flex 1.5?

Brendan





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







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

<*> 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] listOwner equivalent Flex 2

2006-01-30 Thread Brendan Meutzner
Hi,

So working with CellRenderers in Flex 2.0 is great... easy... however,
what if I want to reference the parent control via "listOwner" as in
Flex 1.5?

Brendan





--
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: >< Re: [flexcoders] Flex 1.5 / FlashPlayer 8 Upload problems on remote host

2006-01-30 Thread Stacy Young

Sorry I should have mentioned that as well...yes we had to revert back to 
8.0.15 player for our user base.

-Stace


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave 
Wolf
Sent: Monday, January 30, 2006 8:13 PM
To: flexcoders@yahoogroups.com
Subject: >< Re: [flexcoders] Flex 1.5 / FlashPlayer 8 Upload problems on remote 
host

Have you checked out this thread?

http://www.mail-archive.com/flexcoders@yahoogroups.com/msg16045.html

-- 
Dave Wolf
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
http://www.cynergysystems.com

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY





--
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: FlashServices/Gateway

2006-01-30 Thread Paul Kenney



Agha, is the CFC located under the IIS webroot?On 1/30/06, João Fernandes <[EMAIL PROTECTED]> wrote:





To tell you the truth, I never runned Flex side-by-side with ColdFusion in separated instances, always under the same instance + under the same contextRoot.

Try to change your endpoint to Flex's amfgateway "/amfgateway" see if you can get any data. 
BTW, what was the fault when calling the RO pointing to /flashservices/gateway ?

João Fernandes
Secção de Desenvolvimento
Departamento de Informática

-Original Message-
From: flexcoders@yahoogroups.com on behalf of Mehdi, Agha
Sent: Mon 30-Jan-06 11:36 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: FlashServices/Gateway
 
Flex is a separate instance and both CF and Flex instances are running under
IIS. I have already mapped the instances to IIS sites using wsconfig.exe.
The CF instance is running just fine no problem. Flex runs fine too if it
doesn't have to communicate with the backend (CF instance)

Agha Mehdi
IDT - eBusiness Program Manager



-Original Message-
From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On
Behalf Of joao_m_fernandes
Sent: Monday, January 30, 2006 3:30 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: FlashServices/Gateway

To map a CFInstance to a IIS you can go to your
CFinstallationFolder\bin and run wsconfig.exe. This will allow you to
map any of your current CFInstances to your (or all) IIS site(s).

After mapping it if it doesn't work:

1)Are ColdFusion and Flex running under the same instance?
if yes 2) Are they under the same contextRoot or in separate ?
if no 2) shouldn't your Http://server/flashservices/gateway be
Http://server/{cfcontextRoot}/flashservices/gateway ?

João Fernandes
Secção de Desenvolvimento
Departamento de Informática


--- In flexcoders@yahoogroups.com, "Mehdi, Agha" <[EMAIL PROTECTED]> wrote:
>
> When I run the cfc from coldfusion, it runs just fine. It doesn't
work when
> I run it through my Remote Object from Flex.
> 
> Flash Remoting is not configured for the CF instance that runs on
IIS, which
> is why Http://server/flashservices/gateway doesn't work. I found
this link
> 
>
http://www.macromedia.com/support/flashremoting//ts/documents/iis_gateway_co

> nnection.htm
> 
> but I can't find the connectors.bat files anywhere on the server.
> 
> Agha Mehdi
> IDT - eBusiness Program Manager
> 
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On
> Behalf Of joao_m_fernandes
> Sent: Monday, January 30, 2006 3:09 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: FlashServices/Gateway
> 
> Can you send a bit of your code? how are you calling your CFC?
> 
> 
> João Fernandes
> Secção de Desenvolvimento
> Departamento de Informática
> 
> --- In flexcoders@yahoogroups.com, "Mehdi, Agha" <[EMAIL PROTECTED]>
wrote:
> >
> > I am seeing this error in the logs:
> > 
> > ==
> > [Flash Remoting MX]->Request received was not Flash-based (not of
> the binary
> > AMF protocol).
> > ==
> > 
> > when I try to access http:///flashservices/gateway. The
> server is
> > CF.
> > 
> > Please let me know how to fix it.
> > 
> > Thanks
> > 
> > Agha Mehdi
> > IDT - eBusiness Program Manager
> > Work: 408.284.8239
> > Cell  : 209.275.0482
> > 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 
> Yahoo! Groups Links
>






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 

Yahoo! Groups Links



 









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



  







-- Paul Kenney[EMAIL PROTECTED][EMAIL PROTECTED]
http://www.pjk.us






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


RE: [flexcoders] Unable to detect changes to variable

2006-01-30 Thread Joan Tan










You need to make the variable bindable.
Try this:

 

// variables

[Bindable]
public var perPage:Number = 6;

 

[Bindable]
public var page:Number = 1;

 

Joan

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Albert
Sent: Monday, January 30, 2006
5:36 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Unable to
detect changes to variable



 

I defined the page variable
in Script and want to increment it on
click of a button with the next() function. The
variable is bound to a
parameter of an HTTPService call (get_data). The
page variable works
on the initial HTTPService call, but can not be
changed. I get the
compile warning "Unable to detect changes to
"page". Code:




 











--
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] Unable to detect changes to variable

2006-01-30 Thread Albert
I defined the page variable in Script and want to increment it on
click of a button with the next() function. The variable is bound to a
parameter of an HTTPService call (get_data). The page variable works
on the initial HTTPService call, but can not be changed. I get the
compile warning "Unable to detect changes to "page". Code:




 





--
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: >< Re: [flexcoders] Flex 1.5 / FlashPlayer 8 Upload problems on remote host

2006-01-30 Thread Dekayd Media Inc.
I have run into that problem in the past.

It's easy to fix though.

Just change the capitalization in one file and it should work fine.

I can't remember which file it is that has the error though.


--Kelly
[EMAIL PROTECTED]
Dekayd Media Inc.




-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Stacy Young
Sent: Monday, January 30, 2006 4:36 PM
To: flexcoders@yahoogroups.com
Subject: RE: >< Re: [flexcoders] Flex 1.5 / FlashPlayer 8 Upload problems on
remote host

Are you deploying on unix? I remember there was a case issue with that
sample download (a while back)...Some places there's reference to
fileio.swf and other places fileIO.swf.

Stace


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Reto M. Kiefer
Sent: Monday, January 30, 2006 5:31 PM
To: flexcoders@yahoogroups.com
Subject: >< Re: [flexcoders] Flex 1.5 / FlashPlayer 8 Upload problems on
remote host

Hello Jesse,

thnak you for your answer!

> Did you upload the File Upload SWF as well?

Yes the installation is the same, local and remote identical... It is
the fileIO.swf drom the example zip from the MM website...

> Is the SWF loaded on the same
> domain your Flex MXML is served from?

We have an Apache-Server in front of a Tomcat-Server.
The Apache uses Proxy-Pass and Proxy-Reverse for tunneling the
requests from the machine in front of the FW to the protected Tomcat
Server. But the SWF is on the same physical machine as the MXML/AS
stuff. It is embedded by  alomst identical to the
description in the MM document.

CU

Reto





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



 




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

<*> 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 1.5 / FlashPlayer 8 Upload problems on remote host

2006-01-30 Thread Dave Wolf
Have you checked out this thread?

 http://www.mail-archive.com/flexcoders@yahoogroups.com/msg16045.html

-- 
Dave Wolf
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
http://www.cynergysystems.com

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY


--- In flexcoders@yahoogroups.com, "Stacy Young" <[EMAIL PROTECTED]> wrote:
>
> Are you deploying on unix? I remember there was a case issue with that
> sample download (a while back)...Some places there's reference to
> fileio.swf and other places fileIO.swf.
> 
> Stace
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Reto M. Kiefer
> Sent: Monday, January 30, 2006 5:31 PM
> To: flexcoders@yahoogroups.com
> Subject: >< Re: [flexcoders] Flex 1.5 / FlashPlayer 8 Upload problems on
> remote host
> 
> Hello Jesse,
> 
> thnak you for your answer!
> 
> > Did you upload the File Upload SWF as well?
> 
> Yes the installation is the same, local and remote identical... It is
> the fileIO.swf drom the example zip from the MM website...
> 
> > Is the SWF loaded on the same
> > domain your Flex MXML is served from?
> 
> We have an Apache-Server in front of a Tomcat-Server.
> The Apache uses Proxy-Pass and Proxy-Reverse for tunneling the
> requests from the machine in front of the FW to the protected Tomcat
> Server. But the SWF is on the same physical machine as the MXML/AS
> stuff. It is embedded by  alomst identical to the
> description in the MM document.
> 
> CU
> 
> Reto
>






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

2006-01-30 Thread Deepa Subramaniam










Hi - 

 

backgroundAlpha will only work if a backgroundColor or backgroundImage
is specified. Try adding one of those and then setting backgroundAlpha and you
should achieve transparency. 

 

Deepa Subramaniam

 

-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of pioplacz
Sent: Saturday,
 January 28, 2006 2:54 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Transparent
Tilelist

 

Hi! 

Is there any way to make tilelist transparent. The
backgroundalpha 
does not work :(











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





  




  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Re: FlashServices/Gateway

2006-01-30 Thread João Fernandes

To tell you the truth, I never runned Flex side-by-side with ColdFusion in 
separated instances, always under the same instance + under the same 
contextRoot.

Try to change your endpoint to Flex's amfgateway "/amfgateway" see if you can 
get any data. 
BTW, what was the fault when calling the RO pointing to /flashservices/gateway ?

João Fernandes
Secção de Desenvolvimento
Departamento de Informática

-Original Message-
From: flexcoders@yahoogroups.com on behalf of Mehdi, Agha
Sent: Mon 30-Jan-06 11:36 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: FlashServices/Gateway
 
Flex is a separate instance and both CF and Flex instances are running under
IIS. I have already mapped the instances to IIS sites using wsconfig.exe.
The CF instance is running just fine no problem. Flex runs fine too if it
doesn't have to communicate with the backend (CF instance)

Agha Mehdi
IDT - eBusiness Program Manager



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of joao_m_fernandes
Sent: Monday, January 30, 2006 3:30 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: FlashServices/Gateway

To map a CFInstance to a IIS you can go to your
CFinstallationFolder\bin and run wsconfig.exe. This will allow you to
map any of your current CFInstances to your (or all) IIS site(s).

After mapping it if it doesn't work:

1)Are ColdFusion and Flex running under the same instance?
if yes 2) Are they under the same contextRoot or in separate ?
if no 2) shouldn't your Http://server/flashservices/gateway be
Http://server/{cfcontextRoot}/flashservices/gateway ?

João Fernandes
Secção de Desenvolvimento
Departamento de Informática


--- In flexcoders@yahoogroups.com, "Mehdi, Agha" <[EMAIL PROTECTED]> wrote:
>
> When I run the cfc from coldfusion, it runs just fine. It doesn't
work when
> I run it through my Remote Object from Flex.
> 
> Flash Remoting is not configured for the CF instance that runs on
IIS, which
> is why Http://server/flashservices/gateway doesn't work. I found
this link
> 
>
http://www.macromedia.com/support/flashremoting//ts/documents/iis_gateway_co
> nnection.htm
> 
> but I can't find the connectors.bat files anywhere on the server.
> 
> Agha Mehdi
> IDT - eBusiness Program Manager
> 
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of joao_m_fernandes
> Sent: Monday, January 30, 2006 3:09 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: FlashServices/Gateway
> 
> Can you send a bit of your code? how are you calling your CFC?
> 
> 
> João Fernandes
> Secção de Desenvolvimento
> Departamento de Informática
> 
> --- In flexcoders@yahoogroups.com, "Mehdi, Agha" <[EMAIL PROTECTED]>
wrote:
> >
> > I am seeing this error in the logs:
> > 
> > ==
> > [Flash Remoting MX]->Request received was not Flash-based (not of
> the binary
> > AMF protocol).
> > ==
> > 
> > when I try to access http:///flashservices/gateway. The
> server is
> > CF.
> > 
> > Please let me know how to fix it.
> > 
> > Thanks
> > 
> > Agha Mehdi
> > IDT - eBusiness Program Manager
> > Work: 408.284.8239
> > Cell  : 209.275.0482
> > 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 
> Yahoo! Groups Links
>






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



 




--
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: FlashServices/Gateway

2006-01-30 Thread Mehdi, Agha
Title: RE: [flexcoders] Re: FlashServices/Gateway







Flex is a separate instance and both CF and Flex instances are running under IIS. I have already mapped the instances to IIS sites using wsconfig.exe. The CF instance is running just fine no problem. Flex runs fine too if it doesn't have to communicate with the backend (CF instance)

Agha Mehdi
IDT - eBusiness Program Manager




-Original Message-
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of joao_m_fernandes
Sent: Monday, January 30, 2006 3:30 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: FlashServices/Gateway


To map a CFInstance to a IIS you can go to your
CFinstallationFolder\bin and run wsconfig.exe. This will allow you to
map any of your current CFInstances to your (or all) IIS site(s).


After mapping it if it doesn't work:


1)Are ColdFusion and Flex running under the same instance?
if yes 2) Are they under the same contextRoot or in separate ?
if no 2) shouldn't your Http://server/flashservices/gateway be
Http://server/{cfcontextRoot}/flashservices/gateway ?


João Fernandes
Secção de Desenvolvimento
Departamento de Informática



--- In flexcoders@yahoogroups.com, "Mehdi, Agha" <[EMAIL PROTECTED]> wrote:
>
> When I run the cfc from coldfusion, it runs just fine. It doesn't
work when
> I run it through my Remote Object from Flex.
> 
> Flash Remoting is not configured for the CF instance that runs on
IIS, which
> is why Http://server/flashservices/gateway doesn't work. I found
this link
> 
>
http://www.macromedia.com/support/flashremoting//ts/documents/iis_gateway_co
> nnection.htm
> 
> but I can't find the connectors.bat files anywhere on the server.
> 
> Agha Mehdi
> IDT - eBusiness Program Manager
> 
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On
> Behalf Of joao_m_fernandes
> Sent: Monday, January 30, 2006 3:09 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: FlashServices/Gateway
> 
> Can you send a bit of your code? how are you calling your CFC?
> 
> 
> João Fernandes
> Secção de Desenvolvimento
> Departamento de Informática
> 
> --- In flexcoders@yahoogroups.com, "Mehdi, Agha" <[EMAIL PROTECTED]>
wrote:
> >
> > I am seeing this error in the logs:
> > 
> > ==
> > [Flash Remoting MX]->Request received was not Flash-based (not of
> the binary
> > AMF protocol).
> > ==
> > 
> > when I try to access http:///flashservices/gateway. The
> server is
> > CF.
> > 
> > Please let me know how to fix it.
> > 
> > Thanks
> > 
> > Agha Mehdi
> > IDT - eBusiness Program Manager
> > Work: 408.284.8239
> > Cell  : 209.275.0482
> > 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 
> Yahoo! Groups Links
>







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


<*> 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: >< Re: [flexcoders] Flex 1.5 / FlashPlayer 8 Upload problems on remote host

2006-01-30 Thread Stacy Young
Are you deploying on unix? I remember there was a case issue with that
sample download (a while back)...Some places there's reference to
fileio.swf and other places fileIO.swf.

Stace


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Reto M. Kiefer
Sent: Monday, January 30, 2006 5:31 PM
To: flexcoders@yahoogroups.com
Subject: >< Re: [flexcoders] Flex 1.5 / FlashPlayer 8 Upload problems on
remote host

Hello Jesse,

thnak you for your answer!

> Did you upload the File Upload SWF as well?

Yes the installation is the same, local and remote identical... It is
the fileIO.swf drom the example zip from the MM website...

> Is the SWF loaded on the same
> domain your Flex MXML is served from?

We have an Apache-Server in front of a Tomcat-Server.
The Apache uses Proxy-Pass and Proxy-Reverse for tunneling the
requests from the machine in front of the FW to the protected Tomcat
Server. But the SWF is on the same physical machine as the MXML/AS
stuff. It is embedded by  alomst identical to the
description in the MM document.

CU

Reto





--
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: FlashServices/Gateway

2006-01-30 Thread joao_m_fernandes
To map a CFInstance to a IIS you can go to your
CFinstallationFolder\bin and run wsconfig.exe. This will allow you to
map any of your current CFInstances to your (or all) IIS site(s).

After mapping it if it doesn't work:

1)Are ColdFusion and Flex running under the same instance?
if yes 2) Are they under the same contextRoot or in separate ?
if no 2) shouldn't your Http://server/flashservices/gateway be
Http://server/{cfcontextRoot}/flashservices/gateway ?

João Fernandes
Secção de Desenvolvimento
Departamento de Informática


--- In flexcoders@yahoogroups.com, "Mehdi, Agha" <[EMAIL PROTECTED]> wrote:
>
> When I run the cfc from coldfusion, it runs just fine. It doesn't
work when
> I run it through my Remote Object from Flex.
> 
> Flash Remoting is not configured for the CF instance that runs on
IIS, which
> is why Http://server/flashservices/gateway doesn't work. I found
this link
> 
>
http://www.macromedia.com/support/flashremoting//ts/documents/iis_gateway_co
> nnection.htm
> 
> but I can't find the connectors.bat files anywhere on the server.
> 
> Agha Mehdi
> IDT - eBusiness Program Manager
> 
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of joao_m_fernandes
> Sent: Monday, January 30, 2006 3:09 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: FlashServices/Gateway
> 
> Can you send a bit of your code? how are you calling your CFC?
> 
> 
> João Fernandes
> Secção de Desenvolvimento
> Departamento de Informática
> 
> --- In flexcoders@yahoogroups.com, "Mehdi, Agha" <[EMAIL PROTECTED]>
wrote:
> >
> > I am seeing this error in the logs:
> > 
> > ==
> > [Flash Remoting MX]->Request received was not Flash-based (not of
> the binary
> > AMF protocol).
> > ==
> > 
> > when I try to access http:///flashservices/gateway. The
> server is
> > CF.
> > 
> > Please let me know how to fix it.
> > 
> > Thanks
> > 
> > Agha Mehdi
> > IDT - eBusiness Program Manager
> > Work: 408.284.8239
> > Cell  : 209.275.0482
> > 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 
> Yahoo! Groups Links
>






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

<*> 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] Resizing Panel child components when ControlBar is resized

2006-01-30 Thread douglowder
Hi,

I have a Flex 1.5 app that contains various Panels and TitleWindows 
that use a technique described by Kevin Hoyt: 
http://weblogs.macromedia.com/khoyt/archives/2005/01/getting_started.
cfm#comments

Now, in my Panels I'm putting the hideable options area into a 
ControlBar, but I'm running into two problems when I do that.  1) 
The rest of the panel does not automatically resize when the control 
bar is resized, resulting in either wasted space or some of the 
panel's contents being obscured by the control bar, and 2) Once the 
control bar's hideable area is resized by either hiding or showing 
the options, the control bar no longer resizes to the browser window 
when the user resizes the entire browser window.  Even weirder, to 
me, is that everything resizes to the browser window just fine 
*before* the control bar has been resized, just not after.

I've tried various combinations of invalidation calls, redrawing 
child components, and even explicitly setting the height of 
components to get the effect I want when resizing, all to no avail. 
Is there a method to get the full-available-size resizing effect for 
the panel, as well as the entire app when the browser window is 
resized, or are ControlBar components just not meant to be resized 
in this fashion?

Thanks,
Doug

Code follows:



http://www.macromedia.com/2003/mxml";
pageTitle="Resizable Control Bar Test"
width="100%"
height="100%"
initialize="initApp()">


















































--
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: FlashServices/Gateway

2006-01-30 Thread Mehdi, Agha
Title: RE: [flexcoders] Re: FlashServices/Gateway







When I run the cfc from coldfusion, it runs just fine. It doesn't work when I run it through my Remote Object from Flex.

Flash Remoting is not configured for the CF instance that runs on IIS, which is why Http://server/flashservices/gateway doesn't work. I found this link

http://www.macromedia.com/support/flashremoting//ts/documents/iis_gateway_connection.htm


but I can't find the connectors.bat files anywhere on the server.


Agha Mehdi
IDT - eBusiness Program Manager



-Original Message-
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of joao_m_fernandes
Sent: Monday, January 30, 2006 3:09 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: FlashServices/Gateway


Can you send a bit of your code? how are you calling your CFC?



João Fernandes
Secção de Desenvolvimento
Departamento de Informática


--- In flexcoders@yahoogroups.com, "Mehdi, Agha" <[EMAIL PROTECTED]> wrote:
>
> I am seeing this error in the logs:
> 
> ==
> [Flash Remoting MX]->Request received was not Flash-based (not of
the binary
> AMF protocol).
> ==
> 
> when I try to access http:///flashservices/gateway. The
server is
> CF.
> 
> Please let me know how to fix it.
> 
> Thanks
> 
> Agha Mehdi
> IDT - eBusiness Program Manager
> Work: 408.284.8239
> Cell  : 209.275.0482
> 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 
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 Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Returning XML from a Java web service to Flex (2.0)

2006-01-30 Thread thunderstumpgesatwork
Hi all,

I have been using .NET web services with my Flex 2.0 client and
successfully returning objects of type System.Xml.XmlDocument
(Microsoft's implementation of the DOM). These xml documents are
successfully consumed by the Flex WebService class and converted to an
ActionScript result Object.

Recently I tried to create a similar web service in Java (Using
Oracle's Application Server OC4J) to return an object of type
org.w3c.dom.Document. I have published the web service, and
successfully tested it from a Java Client app. In Flex though, I get
an error in the WSDL parser "Type dom:org.w3c.dom.Document not
resolvable". Shouldn't Flex recognize this as XML just like it did
with the .NET web service?

Has anyone else successfully returned XML data from web services in
Java to Flex? Any chance I could get a simple example of this web
service? I am not partial to OC4J, so if there's an example in Axis,
or some other server that's fine.
 
Any guidance or information on this is greatly appreciated. Any
additional information needed for my setup? I'll gladly post some
code. See complete Flash exception below.

thanks,
Thunder Stumpges



Type dom:org.w3c.dom.Document not resolvable at
mx.rpc.soap::WSDLParser/http://www.macromedia.com/2005/flex/mx/internal::parseMessage()[C:\dev\max\sdk\frameworks\mx\rpc\soap\WSDLParser.as:717]
at
mx.rpc.soap$internal::WSDLOperation/parseMessages()[C:\dev\max\sdk\frameworks\mx\rpc\soap\WSDLOperation.as:48]
at
mx.rpc.soap::Operation/http://www.macromedia.com/2005/flex/mx/internal::invokePendingCall()[C:\dev\max\sdk\frameworks\mx\rpc\soap\Operation.as:508]
at
mx.rpc.soap::Operation/http://www.macromedia.com/2005/flex/mx/internal::invokeAllPending()[C:\dev\max\sdk\frameworks\mx\rpc\soap\Operation.as:393]
at
mx.rpc.soap::WebService/WebService$733$private::unEnqueueCalls()[C:\dev\max\sdk\frameworks\mx\rpc\soap\WebService.as:770]
at
mx.rpc.soap::WebService/http://www.macromedia.com/2005/flex/mx/internal::wsdlHandler()[C:\dev\max\sdk\frameworks\mx\rpc\soap\WebService.as:572]
at 
flash.events::EventDispatcher/dispatchEvent() at
mx.rpc.soap::WSDLParser/dispatchEvent()[C:\dev\max\sdk\frameworks\mx\rpc\soap\WSDLParser.as:748]
at
mx.rpc.soap::WSDLParser/WSDLParser$1050$private::parseCompleted()[C:\dev\max\sdk\frameworks\mx\rpc\soap\WSDLParser.as:293]
at
mx.rpc.soap::WSDLParser/http://www.macromedia.com/2005/flex/mx/internal::httpResultHandler()[C:\dev\max\sdk\frameworks\mx\rpc\soap\WSDLParser.as:170]
at 
flash.events::EventDispatcher/dispatchEvent() at
mx.rpc::AbstractInvoker/http://www.macromedia.com/2005/flex/mx/internal::dispatchRpcEvent()[C:\dev\max\sdk\frameworks\mx\rpc\AbstractInvoker.as:119]
at
mx.rpc::AbstractInvoker/http://www.macromedia.com/2005/flex/mx/internal::resultHandler()[C:\dev\max\sdk\frameworks\mx\rpc\AbstractInvoker.as:139]
at 
flash.events::EventDispatcher/dispatchEvent() at
mx.rpc::Producer/http://www.macromedia.com/2005/flex/mx/internal::acknowledge()[C:\dev\max\sdk\frameworks\mx\rpc\Producer.as:59]
at
mx.messaging.channels$1021$private::HTTPMessageResponder/completeHandler()[C:\dev\max\sdk\frameworks\mx\messaging\channels\DirectHTTPChannel.as:237]
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/URLLoader$502$private::onComplete()





--
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 do you reference an object to get attributes for a tag?

2006-01-30 Thread Rob Rusher
Are you talking about binding?



If your custom object has a String property that you want to display in a
Label, you just reference it by name.

Rob Rusher

 

RIA Consultant

Macromedia Certified Flex Instructor

e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher

blog:http://www.robrusher.com

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Libby
Sent: Monday, January 30, 2006 3:22 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How do you reference an object to get attributes for a
tag?

I wanna do something like this:


So far I have not hit upon the magic combination through research and
trial and error : (

Thanks,
Libby





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



 




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

<*> 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: FlashServices/Gateway

2006-01-30 Thread joao_m_fernandes
Can you send a bit of your code? how are you calling your CFC?


João Fernandes
Secção de Desenvolvimento
Departamento de Informática

--- In flexcoders@yahoogroups.com, "Mehdi, Agha" <[EMAIL PROTECTED]> wrote:
>
> I am seeing this error in the logs:
> 
> ==
> [Flash Remoting MX]->Request received was not Flash-based (not of
the binary
> AMF protocol).
> ==
> 
> when I try to access http:///flashservices/gateway. The
server is
> CF.
> 
> Please let me know how to fix it.
> 
> Thanks
> 
> Agha Mehdi
> IDT - eBusiness Program Manager
> Work: 408.284.8239
> Cell  : 209.275.0482
> 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 
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: why can't I use xmlns="*" (1.5)

2006-01-30 Thread joao_m_fernandes
That's what flexcoders are for ;)

I also do feel like a numbskull sometimes, don't worry, and sometimes
I make even more basic questions!

João Fernandes
Secção de Desenvolvimento
Departamento de Informática

--- In flexcoders@yahoogroups.com, "Sauro, Nick" <[EMAIL PROTECTED]> wrote:
>
> Thanks Joao, that was very helpful.  I feel like a numbskull >< :-)
> 
>  
> 
> Nick
>






--
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 do you reference an object to get attributes for a tag?

2006-01-30 Thread douglowder
Sorry to answer a question with a question, but do you mean like with 
data binding?



You can bind the label text to a bindable string property if your 
object is not of type String.


Doug


--- In flexcoders@yahoogroups.com, "Libby" <[EMAIL PROTECTED]> wrote:
>
> I wanna do something like this:
> 
> 
> So far I have not hit upon the magic combination through research and
> trial and error : (
> 
> Thanks,
> Libby
>






--
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 1.5 / FlashPlayer 8 Upload problems on remote host

2006-01-30 Thread Reto M. Kiefer
Hello Jesse,

thnak you for your answer!

> Did you upload the File Upload SWF as well?

Yes the installation is the same, local and remote identical... It is
the fileIO.swf drom the example zip from the MM website...

> Is the SWF loaded on the same
> domain your Flex MXML is served from?

We have an Apache-Server in front of a Tomcat-Server.
The Apache uses Proxy-Pass and Proxy-Reverse for tunneling the
requests from the machine in front of the FW to the protected Tomcat
Server. But the SWF is on the same physical machine as the MXML/AS
stuff. It is embedded by  alomst identical to the
description in the MM document.

CU

Reto


--
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: why can't I use xmlns="*" (1.5)

2006-01-30 Thread Sauro, Nick










Thanks Joao, that was very helpful.  I
feel like a numbskull >< J

 

Nick









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





  




  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] DateField & selectedDate toggle

2006-01-30 Thread JesterXL
If you select a day in a DateChooser or DateField, it sets the selectedDate 
to the Date value chosen.  If you select it again, it sets it to undefined.

This is not desirable.  This is the only control that does not follow the 
List way of working:
- click to select
- control + click to deselect

This is driving our validation crazy as well.

In Flash MX 2004, I simply extended the CalendarLayout & DateChooser to fix 
the problem.  I did not allow de-selection, therefore never had to worry 
about selectedDate toggling to a non-selectable value if a user clicks the 
same date again.

In Flex, this isn't so straightforward.  For now, I'm going to just try to 
extend the DateField, extend DateChooser's getter/setter functions (since 
there are like 3 functions that are too huge to extend that atcually do the 
re-setting of the variable), and then hi-jack the class that DateField 
throws up in the PopUpManager to use mine instead.

...anyone have a... you know... better way?  Perhaps an already fixed 
DateField?

--JesterXL 




--
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] How do you reference an object to get attributes for a tag?

2006-01-30 Thread Libby
I wanna do something like this:


So far I have not hit upon the magic combination through research and
trial and error : (

Thanks,
Libby





--
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 1.5 / FlashPlayer 8 Upload problems on remote host

2006-01-30 Thread JesterXL
Did you upload the File Upload SWF as well?  Is the SWF loaded on the same 
domain your Flex MXML is served from?

- Original Message - 
From: "Reto M. Kiefer" <[EMAIL PROTECTED]>
To: 
Sent: Monday, January 30, 2006 5:13 PM
Subject: [flexcoders] Flex 1.5 / FlashPlayer 8 Upload problems on remote 
host


Dear all,

we just implemented a file upload function for a mail module
(attachment uploads). We followed the instructions quite closely from
this nice article:

http://www.macromedia.com/devnet/flex/articles/fp8_features.html

Running Flex on our local development machines (i.e.
http://localhost/...) everything works like a charm we can upload
attachments up to 100 MB.

But as soon as we deploy the application on our staging server (remote
host) the feature doesn't work any longer. By clicking the "browse"
button nothing happens, no file selection dialog box appears :o(

Maybe something with FB Security but I read the documentation but
didn't found a solution.

I would be thankful if anyone could give me a hint how to solve this issue.

Thanks in advance

Reto


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








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

<*> 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: why can't I use xmlns="*" (1.5)

2006-01-30 Thread douglowder
Doh!!  Joao (and my own code for that matter) prove me wrong.  One 
of those days...

Doug

--- In flexcoders@yahoogroups.com, "douglowder" <[EMAIL PROTECTED]> 
wrote:
>
> I always use an import statement within a script block to 
access .as 
> files, and xmlns="*" (or variant) to access mxml.  Your app is 
> probably expecting there to be a MyLabel.mxml file instead of 
> MyLabel.as.
> 
> Doug
> 
> --- In flexcoders@yahoogroups.com, "Sauro, Nick" <[EMAIL PROTECTED]> 
wrote:
> >
> > Hello Flex coders, I have a real simple question, which has been
> > plaguing me all day.  It might because I feel kind of dense 
today, 
> but
> > for some reason, if I create an AS class file in the same 
> directory, I
> > cannot reference it!!  
> > 
> >  
> > 
> > EG:
> > 
> > There is a subdirectory called 'components'
> > 
> >  
> > 
> > So when I create a class "MyLabel.as":
> > 
> >  
> > 
> > Public components.MyLabelextends..etc
> > 
> >  
> > 
> >  
> > 
> > In another file in the same directory, I try to reference it, 
and 
> it
> > says "Don't know how to parse *.MyLabel, it's not a known 
> component of
> > HBox"
> > 
> >  
> > 
> > I've read up on the documentation on the subject and it seems 
like 
> I'm
> > doing everything, what am I missing?
> > 
> >  
> > 
> > First I've tried   , and got that 
> error
> > messge
> > 
> > Then I tried importing that namespace in the component that I'm 
> trying
> > to use MyLabel:  xmlns:cmp="*", and then tried referencing the 
> class via
> >  > 
> >  
> > 
> > What am I doing wrong?  I'm sure its something simple.  I 
remember 
> doing
> > this before, but I have not worked with Flex in about 7 months, 
> and only
> > had attended the training course before that, so my Flex coding 
is 
> going
> > to need some major brushing up.
> > 
> >  
> > 
> > Thanks everyone
> > 
> >  
> > 
> > Nick
> >
>







--
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: why can't I use xmlns="*" (1.5)

2006-01-30 Thread douglowder
I always use an import statement within a script block to access .as 
files, and xmlns="*" (or variant) to access mxml.  Your app is 
probably expecting there to be a MyLabel.mxml file instead of 
MyLabel.as.

Doug

--- In flexcoders@yahoogroups.com, "Sauro, Nick" <[EMAIL PROTECTED]> wrote:
>
> Hello Flex coders, I have a real simple question, which has been
> plaguing me all day.  It might because I feel kind of dense today, 
but
> for some reason, if I create an AS class file in the same 
directory, I
> cannot reference it!!  
> 
>  
> 
> EG:
> 
> There is a subdirectory called 'components'
> 
>  
> 
> So when I create a class "MyLabel.as":
> 
>  
> 
> Public components.MyLabelextends..etc
> 
>  
> 
>  
> 
> In another file in the same directory, I try to reference it, and 
it
> says "Don't know how to parse *.MyLabel, it's not a known 
component of
> HBox"
> 
>  
> 
> I've read up on the documentation on the subject and it seems like 
I'm
> doing everything, what am I missing?
> 
>  
> 
> First I've tried   , and got that 
error
> messge
> 
> Then I tried importing that namespace in the component that I'm 
trying
> to use MyLabel:  xmlns:cmp="*", and then tried referencing the 
class via
>  
>  
> 
> What am I doing wrong?  I'm sure its something simple.  I remember 
doing
> this before, but I have not worked with Flex in about 7 months, 
and only
> had attended the training course before that, so my Flex coding is 
going
> to need some major brushing up.
> 
>  
> 
> Thanks everyone
> 
>  
> 
> Nick
>






--
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 1.5 / FlashPlayer 8 Upload problems on remote host

2006-01-30 Thread Reto M. Kiefer
Dear all,

we just implemented a file upload function for a mail module
(attachment uploads). We followed the instructions quite closely from
this nice article:

http://www.macromedia.com/devnet/flex/articles/fp8_features.html

Running Flex on our local development machines (i.e.
http://localhost/...) everything works like a charm we can upload
attachments up to 100 MB.

But as soon as we deploy the application on our staging server (remote
host) the feature doesn't work any longer. By clicking the "browse"
button nothing happens, no file selection dialog box appears :o(

Maybe something with FB Security but I read the documentation but
didn't found a solution.

I would be thankful if anyone could give me a hint how to solve this issue.

Thanks in advance

Reto


--
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: why can't I use xmlns="*" (1.5)

2006-01-30 Thread joao_m_fernandes
Nick try this: 
xmlns="components.*"

João Fernandes
Secção de Desenvolvimento
Departamento de Informática


--- In flexcoders@yahoogroups.com, "Sauro, Nick" <[EMAIL PROTECTED]> wrote:
>
> Hello Flex coders, I have a real simple question, which has been
> plaguing me all day.  It might because I feel kind of dense today, but
> for some reason, if I create an AS class file in the same directory, I
> cannot reference it!!  
> 
>  
> 
> EG:
> 
> There is a subdirectory called 'components'
> 
>  
> 
> So when I create a class "MyLabel.as":
> 
>  
> 
> Public components.MyLabelextends..etc
> 
>  
> 
>  
> 
> In another file in the same directory, I try to reference it, and it
> says "Don't know how to parse *.MyLabel, it's not a known component of
> HBox"
> 
>  
> 
> I've read up on the documentation on the subject and it seems like I'm
> doing everything, what am I missing?
> 
>  
> 
> First I've tried   , and got that error
> messge
> 
> Then I tried importing that namespace in the component that I'm trying
> to use MyLabel:  xmlns:cmp="*", and then tried referencing the class via
>  
>  
> 
> What am I doing wrong?  I'm sure its something simple.  I remember doing
> this before, but I have not worked with Flex in about 7 months, and only
> had attended the training course before that, so my Flex coding is going
> to need some major brushing up.
> 
>  
> 
> Thanks everyone
> 
>  
> 
> Nick
>






--
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] why can't I use xmlns="*" (1.5)

2006-01-30 Thread Sauro, Nick










Hello Flex coders, I have a real simple
question, which has been plaguing me all day.  It might because I feel kind of
dense today, but for some reason, if I create an AS class file in the same
directory, I cannot reference it!!  

 

EG:

There is a subdirectory called ‘components’

 

So when I create a class “MyLabel.as”:

 

Public components.MyLabelextends..etc

 

 

In another file in the same directory, I
try to reference it, and it says “Don’t know how to parse *.MyLabel, it’s not a known
component of HBox”

 

I’ve read up on the documentation on the subject and it
seems like I’m doing everything, what am I missing?

 

First I’ve tried   , and got that error messge

Then I tried importing that namespace in
the component that I’m trying to use MyLabel:  xmlns:cmp=”*”,
and then tried referencing the class via 

 

What am I doing wrong?  I’m sure its
something simple.  I remember doing this before, but I have not worked with
Flex in about 7 months, and only had attended the training course before that,
so my Flex coding is going to need some major brushing up.

 

Thanks everyone

 

Nick









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





  




  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] Re: customized combo

2006-01-30 Thread douglowder
Works for me.  Perhaps you were calling setPropertiesAt() before the 
ComboBox had been created.

Here is a working example.  Note that the theme color overrides the 
background color for the selected item (select a different item from 
the combobox to see what I mean).

Doug




http://www.macromedia.com/2003/mxml"; 
width="100%" height="100%">









Red
Green
Blue









--- In flexcoders@yahoogroups.com, "douglowder" <[EMAIL PROTECTED]> 
wrote:
>
> Well that's strange.  I don't see any typos offhand, but I'll give 
it
> a quick test to see what's up.  You of course need to supply your 
own
> definitions for the "myComboBox" and "itemNumber" variables in 
your code.
> 
> In the meantime, have a look at the "dropdown" property of 
ComboBox,
> and the "setPropertiesAt" method of ScrollSelectList.  That should
> give you the information you need.
> 
> Doug
> 
> --- In flexcoders@yahoogroups.com, Rajni <[EMAIL PROTECTED]> wrote:
> >
> >   Hi Daug,
> > 
> > Thanks a lot for replying...But this code doesn't work
> > 
> > Thanks
> > -Rajni
> > 
> > 
> > On Fri, Jan 27, 2006 at 11:37 PM, douglowder wrote:
> > 
> > > To change the background color, try something like:
> > >
> > >myComboBox.dropdown.setPropertiesAt(itemNumber, 
{backgroundColor: 
> > > 0x80});
> > >
> > > You can also replace the color with a function that returns the
> proper 
> > > color value based on the item number or whatever else you want.
> > >
> > > Doug
> > >
> > > --- In flexcoders@yahoogroups.com, Rajni <[EMAIL PROTECTED]> wrote:
> > >>
> > >>
> > >> how to change color  or background color of more than one 
item in
> > > a
> > >> combo box?
> > >>
> > >>
> > >> Sent using Laszlo Mail. Try it yourself.
> > >> http://www.laszlomail.com
> > >>
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > Flexcoders Mailing List
> > > FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > Search Archives: 
> > > http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo!
> Groups 
> > > Links
> > >
> > >
> > >
> > >
> > >
> > >
> > -- 
> > Sent using Laszlo Mail. Try it yourself.
> > http://www.laszlomail.com
> >
>






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

<*> 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] Stacktraces from Flex 1.5 server

2006-01-30 Thread Julian Suggate



Cheers Douglas.
 
I am starting Tomcat from Eclipse usually, but that should capture all console output ok. We have got log4j set up with console logging, and our server BO+DAO code is 95% tested... but curently the remoting is tested through a dummy API rather than actual server-client-server roundtrips. Sometimes lazy relations in hibernate can cause problems when they're being remoted and because our unit tests only mock up the client-server comms we're not catching some of the errors. We can hone in on the problems eventually but I just spent an hour with the Eclipse debugger, stepping through a remote call in finegrained detail, only to (eventually) figure out that the call that was failing was a completely different asynch request that was being fired by a piece of code written by a team mate. That's why I'm gasping for a stacktrace ..
 
Jules
 
ps "Sometimes lazy relations [...] can cause problems when they're being remoted" sounds like trying to get rid of the in-laws on Christmas day after a few too many hahaha 
On 1/28/06, Douglas Knudsen <[EMAIL PROTECTED]> wrote:
hibernate, kewl...learning that schtuff nowwe just finished up our first Flex 1.5 app.  It uses JRun in the middle.  One thing for sure, use JUnit to test out your Java code first before hooking Flex calls to it.  Next up, setup logging via log4j and have it dump to the console and make sure you start Tomcat from a console too.  I'm still all noob like about J2EE stuff, but this is working for us so far. 
On a side note...anyone here using JRun?   Did you use log4j or JRun loggin?DK 

On 1/26/06, Julian Suggate <
 [EMAIL PROTECTED]> wrote:


Hi all,
 
I am using Flex 1.5 with Tomcat and Hibernate. Now, sometimes I don't do so well with Hibernate :-) which to cut a long story short causes exceptions within the Flex server during remoting calls (we are using AMF). I am able to work out the wrinkles in my hibernate mappings (eventually) but it would be a lot faster if Flex would print stacktraces when it catches exceptions rather than just the exception message. An example is this: 
 
27/01 10:54:41 DEBUG Mxml Base Servlet: keep generated SWFs = true
Error: failed to lazily initialize a collection of role: [...], no session or session was closedError: null
 
This is all the info I get on the console. Because there are sometimes multiple asynch calls coming into the server it is hard to tell which one caused the error -- a stacktrace would help tremendously .. anyone know how to turn them on? I have turned on all the debug settings in 
flex-config.xml and raised the logging level to debug but still no joy :(
 
If you can help, thanks very much,
Jules--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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 . 



-- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it? 
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 


YAHOO! GROUPS LINKS 

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










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





  




  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Re: Using HTTPService to POST complex data

2006-01-30 Thread Dave Wolf
Yup.  Its just a well known URL.  In effect its really

http://foo.bar.com/j_security_check

As Carson says, its a logical token that denotes the authentication
service.  You could use this example to POST to any URL, but I thought
this example was double useful. (and technically it is a URL and not a
URI, but now we're splitting hairs )

-- 
Dave Wolf
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
http://www.cynergysystems.com

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY
--- In flexcoders@yahoogroups.com, "Carson Hager" <[EMAIL PROTECTED]>
wrote:
>
> Dave is about to arrive out here on the West Coast so I'll answer this
> for him. j_security_check is a token in J2EE web applications that
> signals a J2EE web application to authenticate a user with FORM
> authentication.  Required to be sent to this "page" are parameters of
> "j_username" and "j_password".  At this point, the container takes over
> authentication however you have set it up.
> 
> 
> Carson
> 
> 
> 
>  
> Carson Hager
> Cynergy Systems, Inc.
> http://www.cynergysystems.com
>  
> Email:  [EMAIL PROTECTED]
> Office:  866-CYNERGY
> Mobile: 1.703.489.6466
>  
> 
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Tracy Spratt
> Sent: Monday, January 30, 2006 9:00 AM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Re: Using HTTPService to POST complex data
> 
> Dave, in your example, what is " j_security_check"?
> Tracy
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Dave Wolf
> Sent: Sunday, January 29, 2006 6:03 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Using HTTPService to POST complex data
> 
> 
> Here is an example of doing a login form which does a POST from a MXML
> form.  This "simulates" the posting of a HTML form to the standard
> J2EE login service.  This also goes to show how simple it is to
> integrate into J2EE security.  There's no reason to need to roll your
> own security.
> 
> 
> 
>  
> 
> 
> 
>  
>   
>   
>  
>  
>   
>   
>  
>  
>  
>   
>  
>  
> 
> 
> 
> -- 
> Dave Wolf
> Cynergy Systems, Inc.
> Macromedia Flex Alliance Partner
> http://www.cynergysystems.com
> 
> Email:  [EMAIL PROTECTED]
> Office: 866-CYNERGY
> 
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "Mark Wales" <[EMAIL PROTECTED]> wrote:
> >
> > 
> > I've tried using child tags in the same namespace, I've also tried
> > creating objects in Actioncript and then embedding them such as:
> > 
> > In MXML:
> >  {myRequestObject}
> > 
> > In Actionscript:
> > new myRequestObject:Object = new Object;
> > new embeddedObject:Object = new Object;
> > 
> > embeddedObject.name = "test"
> > myRequestObject.commit = "Create";
> > myRequestObject.category = embeddedObject;
> > 
> > The "commit"=>"Create" works fine but "category" points to some
> > variation of "{object}" - never quite what I am trying to attain.
> > 
> > I've used generic objects as well as arrays - all to no avail. I can
> > give an enumeration of the variations and permutations on my results
> in
> > my next email - but it seems there is probably some obvious "right
> way"
> > to do this that I'm just missing somehow.
> > 
> > -Mark
> > 
> > -Original Message-
> > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
> On
> > Behalf Of Peter Farland
> > Sent: Saturday, January 28, 2006 3:49 PM
> > To: flexcoders@yahoogroups.com
> > Subject: RE: [flexcoders] Using HTTPService to POST complex data
> > 
> > Have you tried moving your custom values as the child tags of
> >  to the same namespace by prefixing them with mx:   ?
> > Alternatively, have you assigned an id to your HTTPService and then
> used
> > script to set the request property to an anonymous Object that
> contains
> > the properties that you want to POST?
> > 
> > What do you have set for the contentType? The default should be
> > "application/x-www-form-urlencoded" which is what you'd want for a
> form
> > submission.
> > 
> > Pete
> > 
> > -Original Message-
> > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
> On
> > Behalf Of stuff
> > Sent: Saturday, January 28, 2006 9:18 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Using HTTPService to POST complex data
> > 
> > 
> > I am trying to emulate an HTML form submission with HTTPService and I
> > seem to be missing something on the construction of the associated
> > request. From the server log of a successful POST I have the
> following:
> > 
> > [POST]  Parameters: {"commit"=>"Create", "category"=>{"name"=>"Test"},
> > ...}
> > 
> > At present, my request looks like this:
> > 
> > 
> > Test
> > Create
> > 
> > 
> > ...But that generates a runtime error. I have tried multiple
> constructs
> > (Array

[flexcoders] Help with XMLDecoder

2006-01-30 Thread thunderstumpgesatwork
 Hello,

I am hoping someone can help get me started on this task. I am getting
an XML string back from a web service call which I load into an XML
object. Part of the XML string contains the XSD schema for the actual
data. (the XML is actually an Oracle ResultSet that has been
serialized to an XML string including schema. (see sample included below).

I noticed that the XMLDecoder class takes as parameters a
SchemaVersion, and a SchemaContext class as parameters in addition to
the root node. From what I can tell from the signatures for the
SchemaContext class, it has a SchemaVersion proeprty to it. I see a
'registerSchemaNode' method, and I would hope that I could take the
schema node portion of the XML result object and register this
SchemaContext class?

Is this the correct approach? Can someone provide just a tad bit of
guidance on this? I can't seem to find a single bit of documentation
on this (other than the class signatures)...

Thanks in advance,
Thunder

See the XML payload I have below...
_


http://www.w3.org/2001/XMLSchema";>
http://www.w3.org/2001/XMLSchema";>

 

 














 


http://www.w3.org/2001/XMLSchema-instance";
xsi:noNamespaceSchemaLocation="#/DOCUMENT/xsd:schema[not(@targetNamespace)]">
 ATT 2003
21.983 21.983
23.731 0 
 ATT 2004
-21.983 0
-8.741 0 
 ATT 2005
0 0 0
0 
 ATT 2006
0 0 0
0 
 ATT 2007
0 0 0
0 
 ATT 2008
0 0 0
0 
 ATT 2009
0 0 0
0 
 ATT 2010
0 0 0
0 







--
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] FlashServices/Gateway

2006-01-30 Thread Mehdi, Agha
Title: FlashServices/Gateway







I am seeing this error in the logs:

==

[Flash Remoting MX]->Request received was not Flash-based (not of the binary AMF protocol).

==

when I try to access http:///flashservices/gateway. The server is CF.

Please let me know how to fix it.

Thanks

Agha Mehdi

IDT - eBusiness Program Manager

Work: 408.284.8239

Cell  : 209.275.0482

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] Re: Custom Tree Icons Flex 2.0

2006-01-30 Thread Brendan Meutzner
Hi Jason,

Thanks for the reply.  I really should have been more specific last
night when I posted this...  I'm actually trying to define an icon
within the individual nodes using the "icon" parameter.  I've defined
the Class as you have by embedding an asset, but when I try to
reference that asset like so:

[Embed(source='mypng.png')]
public var myCustomIcon:Class;



and within the dataprovider structure for the tree...




it gives me the error I described previously.  What works in 1.5 does
not work in 2.0, although it's document the same... well actually, not
quite the same... the documentation for 2.0 still states that the
embedded asset be typed as String.  So it works as a String in 1.5,
but I've tried both String and Class in 2.0 with no luck.

Thanks,

Brendan



--- In flexcoders@yahoogroups.com, "Jason Y. Kwong" <[EMAIL PROTECTED]>
wrote:
>
> This works for me:
> 
> 
> 
> 
> 
> 
> 
>
> 
> 
> 
> Or you can short-hand it a bit:
> 
> 
> 
> 
> 
> On 1/30/06, Brendan Meutzner <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > When I try to implement a custom icon in a Tree component for Flex
> > 2.0, it gives me a runtime error stating that it can't find the
> > variable I've defined for the icon class...
> >
> > Has anyone gotten this to work?  I can post code if need be...
> >
> > Thanks,
> >
> > Brendan
> >
> >
> >
> >
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
>







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

<*> 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] Object Comparison

2006-01-30 Thread Clint Modien



Pretty sure you'd have to write your own equality test...private function compare(obj:Object) {  for (var prop in obj) { //compare code here }}here is a class that I pulled together from code in flexcoders to do clone/compare
/** * Created for comparing and copying complex objects.  */class core.utils.ObjectUtil{    public function ObjectUtil() {        copyDepthLevel = 0;        copyCache = new Array();
    }        public static function isEqual(object1,object2):Boolean {        var returnVal = true;        for (var p in object1) {                            var objType = typeof object1[p];            if(objType == "object") 
                returnVal = isEqual(object1[p],object2[p]);            else {                if (object1[p] != object2[p])                    returnVal = false;            }            if (returnVal == false) break;
        }        return returnVal;    }        /**      * Got this from here:     *      * http://www.mail-archive.com/flexcoders@yahoogroups.com/msg09540.html
     * There is a reason this function is not static.     */    private var copyDepthLevel:Number = 0;    private var copyCache = new Array();    public function copyObject(source):Object {        var cl:Number = 
copyCache.length;        for (var i:Number = 0; i < cl; i++) {            var o = copyCache[i];            if (o.s == source) {                return o.t;                            }        }    
        copyDepthLevel++;            var newObj;            if (typeof(source.__constructor__) == "function") {            // for AS2 classes            newObj = new source.__constructor__();
        } else if (typeof(source.constructor) == "function") {            // for Arrays and Objects            newObj = new source.constructor();        } else {            // for goodness sake, instantiate *something*!
            newObj = new Object();        }        copyCache.push({s: source, t: newObj});        for (var p in source) {                        var v = source[p];            var type = typeof v;
            newObj[p] =   type == "object" ? copyObject(v) : v;        }        if (--copyDepthLevel == 0) {            copyCache = [];        }        return newObj;    }}
On 1/30/06, fowleryj <[EMAIL PROTECTED]> wrote:
When two objects are compared, on what level are they compared? Sayfor instance that I pass a reference into a class and compare thatreference to "this." Under what circumstances would the two objects
pass an equality test?--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.



  









RE: [flexcoders] Object Comparison

2006-01-30 Thread Alistair McLeod
See

http://livedocs.macromedia.com/flex/15/flex_docs_en/2385.htm and
http://livedocs.macromedia.com/flex/15/flex_docs_en/2386.htm

Ali 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of fowleryj
Sent: 30 January 2006 16:53
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Object Comparison

When two objects are compared, on what level are they compared? Say for
instance that I pass a reference into a class and compare that reference
to "this." Under what circumstances would the two objects pass an
equality test?








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



 




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

<*> 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] Custom Tree Icons Flex 2.0

2006-01-30 Thread Jason Y. Kwong



This works for me:                    
                       Or you can short-hand it a bit:        
On 1/30/06, Brendan Meutzner <[EMAIL PROTECTED]> wrote:
Hi,When I try to implement a custom icon in a Tree component for Flex2.0, it gives me a runtime error stating that it can't find thevariable I've defined for the icon class...Has anyone gotten this to work?  I can post code if need be...
Thanks,Brendan--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] Re: customized combo

2006-01-30 Thread douglowder
Well that's strange.  I don't see any typos offhand, but I'll give it
a quick test to see what's up.  You of course need to supply your own
definitions for the "myComboBox" and "itemNumber" variables in your code.

In the meantime, have a look at the "dropdown" property of ComboBox,
and the "setPropertiesAt" method of ScrollSelectList.  That should
give you the information you need.

Doug

--- In flexcoders@yahoogroups.com, Rajni <[EMAIL PROTECTED]> wrote:
>
>   Hi Daug,
> 
> Thanks a lot for replying...But this code doesn't work
> 
> Thanks
> -Rajni
> 
> 
> On Fri, Jan 27, 2006 at 11:37 PM, douglowder wrote:
> 
> > To change the background color, try something like:
> >
> >myComboBox.dropdown.setPropertiesAt(itemNumber, {backgroundColor: 
> > 0x80});
> >
> > You can also replace the color with a function that returns the
proper 
> > color value based on the item number or whatever else you want.
> >
> > Doug
> >
> > --- In flexcoders@yahoogroups.com, Rajni <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >> how to change color  or background color of more than one item in
> > a
> >> combo box?
> >>
> >>
> >> Sent using Laszlo Mail. Try it yourself.
> >> http://www.laszlomail.com
> >>
> >
> >
> >
> >
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: 
> > http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo!
Groups 
> > Links
> >
> >
> >
> >
> >
> >
> -- 
> Sent using Laszlo Mail. Try it yourself.
> http://www.laszlomail.com
>






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

<*> 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] Object Comparison

2006-01-30 Thread fowleryj
When two objects are compared, on what level are they compared? Say
for instance that I pass a reference into a class and compare that
reference to "this." Under what circumstances would the two objects
pass an equality test?








--
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: Using HTTPService to POST complex data

2006-01-30 Thread Carson Hager
Dave is about to arrive out here on the West Coast so I'll answer this
for him. j_security_check is a token in J2EE web applications that
signals a J2EE web application to authenticate a user with FORM
authentication.  Required to be sent to this "page" are parameters of
"j_username" and "j_password".  At this point, the container takes over
authentication however you have set it up.


Carson



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


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tracy Spratt
Sent: Monday, January 30, 2006 9:00 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Using HTTPService to POST complex data

Dave, in your example, what is " j_security_check"?
Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Wolf
Sent: Sunday, January 29, 2006 6:03 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Using HTTPService to POST complex data


Here is an example of doing a login form which does a POST from a MXML
form.  This "simulates" the posting of a HTML form to the standard
J2EE login service.  This also goes to show how simple it is to
integrate into J2EE security.  There's no reason to need to roll your
own security.



 



 
  
  
 
 
  
  
 
 
 
  
 
 



-- 
Dave Wolf
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
http://www.cynergysystems.com

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY




--- In flexcoders@yahoogroups.com, "Mark Wales" <[EMAIL PROTECTED]> wrote:
>
> 
> I've tried using child tags in the same namespace, I've also tried
> creating objects in Actioncript and then embedding them such as:
> 
> In MXML:
>{myRequestObject}
> 
> In Actionscript:
>   new myRequestObject:Object = new Object;
>   new embeddedObject:Object = new Object;
>   
>   embeddedObject.name = "test"
>   myRequestObject.commit = "Create";
>   myRequestObject.category = embeddedObject;
> 
> The "commit"=>"Create" works fine but "category" points to some
> variation of "{object}" - never quite what I am trying to attain.
> 
> I've used generic objects as well as arrays - all to no avail. I can
> give an enumeration of the variations and permutations on my results
in
> my next email - but it seems there is probably some obvious "right
way"
> to do this that I'm just missing somehow.
> 
> -Mark
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
> Behalf Of Peter Farland
> Sent: Saturday, January 28, 2006 3:49 PM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Using HTTPService to POST complex data
> 
> Have you tried moving your custom values as the child tags of
>  to the same namespace by prefixing them with mx:   ?
> Alternatively, have you assigned an id to your HTTPService and then
used
> script to set the request property to an anonymous Object that
contains
> the properties that you want to POST?
> 
> What do you have set for the contentType? The default should be
> "application/x-www-form-urlencoded" which is what you'd want for a
form
> submission.
> 
> Pete
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
> Behalf Of stuff
> Sent: Saturday, January 28, 2006 9:18 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Using HTTPService to POST complex data
> 
> 
> I am trying to emulate an HTML form submission with HTTPService and I
> seem to be missing something on the construction of the associated
> request. From the server log of a successful POST I have the
following:
> 
> [POST]  Parameters: {"commit"=>"Create", "category"=>{"name"=>"Test"},
> ...}
> 
> At present, my request looks like this:
> 
>   
>   Test
>   Create
> 
> 
> ...But that generates a runtime error. I have tried multiple
constructs
> (Arrays, ActionScript, etc.) but I've not been able to hit on the
right
> solution. 
> 
> Does anyone have any suggestions?
> 
> Thanks,
> 
> -Mark
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
>






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



 






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

RE: [flexcoders] Re: Using HTTPService to POST complex data

2006-01-30 Thread Tracy Spratt
Dave, in your example, what is " j_security_check"?
Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Wolf
Sent: Sunday, January 29, 2006 6:03 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Using HTTPService to POST complex data


Here is an example of doing a login form which does a POST from a MXML
form.  This "simulates" the posting of a HTML form to the standard
J2EE login service.  This also goes to show how simple it is to
integrate into J2EE security.  There's no reason to need to roll your
own security.



 



 
  
  
 
 
  
  
 
 
 
  
 
 



-- 
Dave Wolf
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
http://www.cynergysystems.com

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY




--- In flexcoders@yahoogroups.com, "Mark Wales" <[EMAIL PROTECTED]> wrote:
>
> 
> I've tried using child tags in the same namespace, I've also tried
> creating objects in Actioncript and then embedding them such as:
> 
> In MXML:
>{myRequestObject}
> 
> In Actionscript:
>   new myRequestObject:Object = new Object;
>   new embeddedObject:Object = new Object;
>   
>   embeddedObject.name = "test"
>   myRequestObject.commit = "Create";
>   myRequestObject.category = embeddedObject;
> 
> The "commit"=>"Create" works fine but "category" points to some
> variation of "{object}" - never quite what I am trying to attain.
> 
> I've used generic objects as well as arrays - all to no avail. I can
> give an enumeration of the variations and permutations on my results
in
> my next email - but it seems there is probably some obvious "right
way"
> to do this that I'm just missing somehow.
> 
> -Mark
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
> Behalf Of Peter Farland
> Sent: Saturday, January 28, 2006 3:49 PM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Using HTTPService to POST complex data
> 
> Have you tried moving your custom values as the child tags of
>  to the same namespace by prefixing them with mx:   ?
> Alternatively, have you assigned an id to your HTTPService and then
used
> script to set the request property to an anonymous Object that
contains
> the properties that you want to POST?
> 
> What do you have set for the contentType? The default should be
> "application/x-www-form-urlencoded" which is what you'd want for a
form
> submission.
> 
> Pete
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
> Behalf Of stuff
> Sent: Saturday, January 28, 2006 9:18 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Using HTTPService to POST complex data
> 
> 
> I am trying to emulate an HTML form submission with HTTPService and I
> seem to be missing something on the construction of the associated
> request. From the server log of a successful POST I have the
following:
> 
> [POST]  Parameters: {"commit"=>"Create", "category"=>{"name"=>"Test"},
> ...}
> 
> At present, my request looks like this:
> 
>   
>   Test
>   Create
> 
> 
> ...But that generates a runtime error. I have tried multiple
constructs
> (Arrays, ActionScript, etc.) but I've not been able to hit on the
right
> solution. 
> 
> Does anyone have any suggestions?
> 
> Thanks,
> 
> -Mark
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
>






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



 






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

<*> 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] Linechart problem with one horizontal data point

2006-01-30 Thread dsc_tyrant
I have attached some example code of a line chart that has only one
horizontal data point. If you run this code you will see some serious
formatting problems. Is this a known issue? Are there any work
arounds? Thanks for any help.



http://www.macromedia.com/2003/mxml";
backgroundColor="#FF">


































--
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] Problem with image and cache

2006-01-30 Thread Barrau Antoine
Hi,
we are currently exeperiencing a strange issue, and i
want to know if anyone have a clue on this.
We're doing a store application in Flex 1.5, and we
use a simple mx:image tag to display a product image.
To display the image, we use a binding on a global
object called selectedItem.(very basic for the
moment).
so we have : 


Things are very simple here, but we have the following
issue : 
if i display the product several time, we don't get
the same image each time!
The weird thing is that if i add a Dumper.trace("Image
source="+largeImage.source) on a mouseDown event on
the image, we have each time the same source (so
there's no mistake on the selectedItem).

I think it's may be a cache problem, but i want to
know if anyone  has already experienced that?

Thanks a lot,
Antoine

R.I.A Consultant
Unilog








___ 
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs 
exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com


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

<*> 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: Customizing default Flex preloader

2006-01-30 Thread moyosaned
Look at the code that comes along with "developing rich client with
Macromedia Flex" look on the site of iteration two..

download all chapter-code en look for chapter ... uhm one of the last
chapters it contains source code for a preloader


--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> There's a whole section in the docs on writing a custom progress bar:
> http://livedocs.macromedia.com/flex/15/flex_docs_en/0325.htm
> 
> Matt 
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Robs
> Sent: Friday, January 27, 2006 1:58 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Customizing default Flex preloader
> 
> Hi all,
>How do I show the percentage download value along with 
> the "Initializing" text in the preloader provided with Flex? Do I need 
> to code specifically? If yes, then how?
>Please help...
> 
> Thanks.
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
>






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

<*> 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] referencing mxml file in createChild - flex 1.5

2006-01-30 Thread martin schioeth










Hi,

 

Again.

 

I’ve found my
error. as often happens when finally asking the question.

 

I’ve been using
namespace.filename instead of foldername.filename

 

So now it works.

 

Regards,

Martin









From:
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of martin schioeth
Sent: 30. januar 2006 14:43
To: flexcoders@yahoogroups.com
Subject: [flexcoders] referencing
mxml file in createChild - flex 1.5



 

Hi,

 

Perhaps a very basic question.

 

I want to use a createChild() on a TabNavigator

Instead of a class i want to reference a mxml-file

I can do it as long as the file being referenced is
in the same folder.

But i’d like to reference a file in another folder.

 

 

IF User.mxml is in the same folder:

TabNavigator.createChild(User,…..);
 WORKS

 

IF User.mxml is in a subfolder:

 
TabNavigator.createChild(,……);

 

I’ve tried 

subfoldername.User

and

“subfoldername/User.mxml”

 

With no success.

 

Is there anyone who can explain the solution to me.

 

Thx,

 

Best regards,

martin









--
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 an image from java

2006-01-30 Thread gunnar a reinseth



A couple of useful resources the should help you get going:http://www.javaworld.com/javaworld/jw-05-2000/jw-0505-servlets.html
http://today.java.net/pub/a/today/2004/04/22/images.htmlOn 1/30/06, sdhfhdgs <
[EMAIL PROTECTED]> wrote:



thanks for that. 
I've never dealt with mime types before, can you give me a bit more 
feed back.
my function returns an Image "public java.awt.Image createImage( )", 
so if I was to do "return myImage;" where would I set the mime type so 
that the returning data is seen as being a jpg.

do I need to set some sort of config file, or would it be in the 
actual function that returns the image. 





--- In flexcoders@yahoogroups.com, Manish Jethani 
<[EMAIL PROTECTED]> wrote:
>
> On 1/27/06, sdhfhdgs <[EMAIL PROTECTED]> wrote:
> 
> > How do you get an Image from java to flex.
> 
> In your Java servlet, write the image data to the output stream with
> the mime type set correctly.  In Flex, just set the servlet URL as 
the
> "source" of a Image object.
>














--
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 Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Re: unselectable nodes in Tree

2006-01-30 Thread moyosaned
It would be great if there is a solution. I think it should be
standard functionality in the Tree component.. I tried to use
Tree.rows... like this:

tree.rows[0].enabled = false;

or

tree.rows[0].visible = false;

but it has no effect.


--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> I'm not sure we really provide a way to do that.  It's either all or
> nothing.  You could use a custom cell renderer that avoids sending a
> click up through to the Tree I suppose.
> 
> I think the same will be true in 2.0.  Might be worth filing an
> enhancement request at http://www.macromedia.com/go/wish.
> 
> Or maybe someone else will have an idea :-)
> 
> Matt
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of moyosaned
> Sent: Friday, January 27, 2006 1:49 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] unselectable nodes in Tree
> 
> How do you set one or more (Parent)node unselectable in a tree
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
>







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

<*> 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: referencing mxml file in createChild - flex 1.5

2006-01-30 Thread moyosaned
import subfoldername.User 

--- In flexcoders@yahoogroups.com, "martin schioeth" <[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
>  
> 
> Perhaps a very basic question.
> 
>  
> 
> I want to use a createChild() on a TabNavigator
> 
> Instead of a class i want to reference a mxml-file
> 
> I can do it as long as the file being referenced is in the same folder.
> 
> But i'd like to reference a file in another folder.
> 
>  
> 
>  
> 
> IF User.mxml is in the same folder:
> 
> TabNavigator.createChild(User,…..);  WORKS
> 
>  
> 
> IF User.mxml is in a subfolder:
> 
>   TabNavigator.createChild(,……);
> 
>  
> 
> I've tried 
> 
> subfoldername.User
> 
> and
> 
> "subfoldername/User.mxml"
> 
>  
> 
> With no success.
> 
>  
> 
> Is there anyone who can explain the solution to me.
> 
>  
> 
> Thx,
> 
>  
> 
> Best regards,
> 
> martin
>






--
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] referencing mxml file in createChild - flex 1.5

2006-01-30 Thread martin schioeth










Hi,

 

Perhaps a very basic question.

 

I want to use a createChild() on a TabNavigator

Instead of a class i want to reference a mxml-file

I can do it as long as the file being referenced is
in the same folder.

But i’d like to reference a file in another
folder.

 

 

IF User.mxml is in the same folder:

TabNavigator.createChild(User,…..);
 WORKS

 

IF User.mxml is in a subfolder:

  TabNavigator.createChild(,……);

 

I’ve tried 

subfoldername.User

and

“subfoldername/User.mxml”

 

With no success.

 

Is there anyone who can explain the solution to me.

 

Thx,

 

Best regards,

martin









--
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 send data to server by using Remote Object ?

2006-01-30 Thread Partha Sarathi Das





Hi Matt,
Thanks a lot to reply me .Now I am facing a design issue.I have to search for Users having 
different criterias like "Search by Name","Search By ZIP","Search By Age" etc..I 
have design a UI using Navigators/Accrodian.If I click on any Search Tab like 
"Search By Name" or "Search By ZIP" , user will get different Input fields 
(i.e.,First name,Last name, Age etc for Search By Name  and zip 
code,City,Age etc for "Search By ZIP' )The result data will be shown in a 
same DataGrid.
Now My question is 
1.) Should I use Different RemoteObjects for each 
Search process?
2.) Should I use Different Data Model(Though some 
input fields like Age,Sex etc. are same for each Search process) for 
sending request to server or retrieving Result from server?
3.) As Flex is design on the basis of MVC 
design pattern ,then which will play the role of Controller? And How 
? 
Advance Thanks for descriptive/sample code based 
 Advice.
 
Thanks and Regards,Partha Sarathi Das,Cybage Software Pvt. Ltd. (An 
SEI-CMMI Level 5 Company)Marisoft , Kalyani Nagar,Pune,India[EMAIL PROTECTED],www.cybage.comPh.(Office) : 91 20 
56041700  Ext. 2812

  - Original Message - 
  From: 
  Matt Chotin 
  
  To: flexcoders@yahoogroups.com 
  Sent: Monday, January 30, 2006 2:59 
  AM
  Subject: RE: [flexcoders] How to send 
  data to server by using Remote Object ?
  
  
  Create a Java object 
  that has a method that takes two parameters, login and 
  password.
   
  
   
  
   
  //somewhere in your 
  code
  ro.yourMethod(login, 
  password); //when the method returns your handleResult method will be called 
  with the return value.
   
  Matt
   
  
  
  
  
  From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Partha Sarathi 
  DasSent: Thursday, January 
  26, 2006 10:28 PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] How to send data to 
  server by using Remote Object ?
   
  
  Hi,
  
  Can anybody send me a sample code 
  for sending FORM data to server by Remote Object?For example I have two form 
  data named login and password?I want to send these form data and My java Class 
  will process the data and do something 
  required.
  
  Thanks and Regards,Partha 
  Sarathi Das,Cybage Software Pvt. Ltd. (An SEI-CMMI Level 5 
  Company)Marisoft , Kalyani Nagar,Pune,India[EMAIL PROTECTED],www.cybage.comPh.(Office) : 91 20 
  56041700  Ext. 2812
  





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





  




  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Re: getting an image from java

2006-01-30 Thread sdhfhdgs
thanks for that. 
I've never dealt with mime types before, can you give me a bit more 
feed back.
my function returns an Image "public java.awt.Image createImage( )", 
so if I was to do "return myImage;" where would I set the mime type so 
that the returning data is seen as being a jpg.

do I need to set some sort of config file, or would it be in the 
actual function that returns the image. 





--- In flexcoders@yahoogroups.com, Manish Jethani 
<[EMAIL PROTECTED]> wrote:
>
> On 1/27/06, sdhfhdgs <[EMAIL PROTECTED]> wrote:
> 
> > How do you get an Image from java to flex.
> 
> In your Java servlet, write the image data to the output stream with
> the mime type set correctly.  In Flex, just set the servlet URL as 
the
> "source" of a Image object.
>









--
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] WebService: SOAP and PHP5 on Apache

2006-01-30 Thread Jan L. Nauta
Hi Matt,

I've found the problem! It appears that the PHP5 WSDL parser is a little
more flexible than the FLEX one :) The port binding (inside the service tag)
was missing a namespace id (tns). The PHP5 client didn't have a problem with
that. After I added the namespace id, everything worked fine in PHP5 _and_
FLEX.

Regards,

Jan L. Nauta

> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Matt Chotin
> Sent: Friday, January 27, 2006 08:26
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] WebService: SOAP and PHP5 on Apache
> 
> I'll forward this testcase on internally.  Unfortunately I'm not sure if
> we have any PHP servers set up right now for testing, but I'll see if I
> can get it into the 2.0 testcases.  Not a short-term help I know but
> we're pretty headsdown on getting the beta out the door.
> 
> If someone else knows what's going on please feel free to jump in.
> 
> Matt
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Jan L. Nauta
> Sent: Thursday, January 26, 2006 5:13 AM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] WebService: SOAP and PHP5 on Apache
> 
> Hi Matt,
> 
> The WSDL and the server are part of a PHP SOAP example:
> 
> http://www.zend.com/php5/articles/php5-SOAP.php
> 
> I've used server1.php and tested with client3.php, that worked. Then
> tried
> to point a Flex 2 mx:WebService to the url, but no luck...
> 
> Regards,
> 
> Jan L. Nauta
> 
> > -Original Message-
> > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
> On
> > Behalf Of Matt Chotin
> > Sent: Thursday, January 26, 2006 05:10
> > To: flexcoders@yahoogroups.com
> > Subject: RE: [flexcoders] WebService: SOAP and PHP5 on Apache
> >
> > Might be a bug in our parser.  I don't know much about PHP web
> services,
> > do you control whether it's RPC style or doc-lit?  If you can try RPC
> > style.  Otherwise we'll need to see the WSDL to see if we can
> reproduce.
> >
> > Matt
> >
> > -Original Message-
> > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
> On
> > Behalf Of Jan L. Nauta
> > Sent: Monday, January 23, 2006 5:52 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] WebService: SOAP and PHP5 on Apache
> >
> > Hi,
> >
> > I'm trying to get a simple  to work in Flex 2.0. The
> > WebService is written in PHP5 and runs on Apache, nothing fancy, only
> a
> > single function is exported for test purposes. I can access the server
> > from
> > php (i.e. a client script can communicate with a server script using
> > SOAP),
> > but all I get from Flash is "Error: The WSDL parser has no registered
> > document for the namespace ''".
> >
> > 1) my Flex app _can_ communicate with other SOAP servers, tested with
> > the
> > restaurant example.
> > 2) my SOAP server _can_ communicate with a PHP soap client.
> >
> > What is going wrong here? Any clues are greatly appreciated.
> >
> > Regards,
> >
> > Jan L. Nauta
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
> > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 






--
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: Form as CellRenderer Strangeness in 1.5

2006-01-30 Thread ehogberg
Hi Matt:

Never got that far--thought I'd try using addChild(...) in the
AS-based CellRenderer.  Interestingly enough, that worked like a
charm--my Form-based component's children are all playing nicely now
w/ spacing, layout, etc.

So this leads me to ask...what's the purpose of having two different
calls to add subcomponents to a component?  What's the designed use
for createClassObject() vs. addChild()?

-E-

--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> Check out layoutChildren and measure() and see if any strangeness is
> going on?  Are you calling super in the createChildren() method too?
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of ehogberg
> Sent: Friday, January 27, 2006 9:59 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Form as CellRenderer Strangeness in 1.5
> 
> Hi all:
> 
> I've noticed some strangeness attempting to use a Form-based custom
> component (with nested TextEntry's, ComboBox's, etc.) as a CellRenderer:
> 
> a)  When I directly specify my custom component as the CellRenderer
> for the list, everything works fine.
> 
> b)  When I write a AS-based CellRenderer, overriding the
> createChildren() method, calling createClassObject() to insert a new
> instance of the custom component, the rendered component is unusable.
>  Text fields never receive focus when I click on them.  When I open
> the combo, the drop-down list appears in the upper-left corner of the
> Flex application.
> 
> Based on the latter, I'd guess that the relative X/Y coords are
> getting screwed up somehow.  No idea how,however.  Any special
> properties I need to set when using a AS-based CellRenderer to get
> around this?
> 
> Thanks in advance,
> 
> -Eric-
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
>









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

<*> 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: Using HTTPService to POST complex data

2006-01-30 Thread alariccole
The problem is the nested object category.name. You can only pass
simple variables, as they're converted to HTTP (e.g.
name=Test&commit=Create). As taken from the FB help file:

"When you use explicit parameter passing, you can specify an object
that contains name-value pairs as a send() method parameter. A send()
method parameter must be a simple base type; you cannot use complex
nested objects because there is no generic way to convert them to
name-value pairs."

So just change it to something like:

   Test
   Create


-Alaric


--- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> wrote:
>
> Have you tried moving your custom values as the child tags of
>  to the same namespace by prefixing them with mx:   ?
> Alternatively, have you assigned an id to your HTTPService and then used
> script to set the request property to an anonymous Object that contains
> the properties that you want to POST?
> 
> What do you have set for the contentType? The default should be
> "application/x-www-form-urlencoded" which is what you'd want for a form
> submission.
> 
> Pete
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of stuff
> Sent: Saturday, January 28, 2006 9:18 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Using HTTPService to POST complex data
> 
> 
> I am trying to emulate an HTML form submission with HTTPService and I
> seem to be missing something on the construction of the associated
> request. From the server log of a successful POST I have the following:
> 
> [POST]  Parameters: {"commit"=>"Create", "category"=>{"name"=>"Test"},
> ...}
> 
> At present, my request looks like this:
> 
>   
>   Test
>   Create
> 
> 
> ...But that generates a runtime error. I have tried multiple constructs
> (Arrays, ActionScript, etc.) but I've not been able to hit on the right
> solution. 
> 
> Does anyone have any suggestions?
> 
> Thanks,
> 
> -Mark
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>










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

<*> 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] Exciting Job Oppty for Senio Flex Developer

2006-01-30 Thread Hal Rucker
Is it appropriate to post job opportunities on this forum? If so,
Smalltown, Inc is hiring. Read a bit about us at www.smalltown.com and
send your resume to [EMAIL PROTECTED] If not, my apologies and I
will remove the post. 

Smalltown is a VC funded startup. We're building a consumer-facing RIA
from the ground up and this is an excellent opportunity for a senior
level Flex developer to join our small growing team. Applicants must
have a previous experience building an enterprise strength Web
application and be tolerant of designers trying to redefine the web's
user experience.









--
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: Errors in lines that do not exist (Flex 2)

2006-01-30 Thread alariccole
You might want to check for orphaned text or slashes; I think I've
received similar warnings when I neglected to completely delete a comment.

If all else fails, restart. FB's gone screwy on me before.

--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> Usually the compiler doesn't know where that left brace is located, and
> like I said this is probably via generated code so it's having a hard
> time matching it up into your source file.
> 
> Check all of your event handlers and binding statements.  Also you can
> turn on keep-generated (--keep-generated-as=true as an additional
> compiler arg) (though that may not work in FB in the Alpha) and take a
> look at the generated files and find the error in there.
> 
> Matt
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of yaagcur
> Sent: Friday, January 27, 2006 8:35 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Errors in lines that do not exist (Flex 2)
> 
> Thanks for reply Matt but I cannot find the missing rightbrace
> I have even tried completely removing the script block and
> copy/pasting to new project to no avail
> The same error recurs
> 
> Any reason why the errant left brace could not be highlighted
> rather than provide line numbers that do not exist?
> 
> --- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
> >
> > Sounds like the error is in your MXML but it doesn't get matched up
> > correctly in the generated code.  You'll just need to check your
> script
> > blocks and event handlers and see if you can find a missing }
> > 
> > Matt
> > 
> > -Original Message-
> > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
> On
> > Behalf Of yaagcur
> > Sent: Friday, January 20, 2006 11:38 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Errors in lines that do not exist (Flex 2)
> > 
> > I have just returned to a project which I thought was working to date
> > but am getting the followin errors
> > 
> > Unexpected token Line 496
> > Expecting rightbrace before end of program Line 1787
> > 
> > The file is 171 lines in toto
> > 
> > Not sure what unexpected token is and all leftbraces appear to have
> > corresponding rightbraces
> > 
> > Can someone elucidate?
> > 
> > 
> > 
> > 
> > 
> > 
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
> > http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> > Yahoo! Groups Links
> >
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
>









--
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: customized combo

2006-01-30 Thread Rajni
  Hi Daug,

Thanks a lot for replying...But this code doesn't work

Thanks
-Rajni


On Fri, Jan 27, 2006 at 11:37 PM, douglowder wrote:

> To change the background color, try something like:
>
>myComboBox.dropdown.setPropertiesAt(itemNumber, {backgroundColor: 
> 0x80});
>
> You can also replace the color with a function that returns the proper 
> color value based on the item number or whatever else you want.
>
> Doug
>
> --- In flexcoders@yahoogroups.com, Rajni <[EMAIL PROTECTED]> wrote:
>>
>>
>> how to change color  or background color of more than one item in
> a
>> combo box?
>>
>>
>> Sent using Laszlo Mail. Try it yourself.
>> http://www.laszlomail.com
>>
>
>
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups 
> Links
>
>
>
>
>
>
-- 
Sent using Laszlo Mail. Try it yourself.
http://www.laszlomail.com





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

<*> 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] customized combo

2006-01-30 Thread Rajni



Hi Abdul,  Thanks for replying...But i am not able to figure it out. Could you pl send me the code to change background color or text color of particular item in Combo box.  Thanks -Rajni  On Sun, Jan 29, 2006 at  9:31 AM, Abdul Qabiz wrote:Hi Rajni, You can look at the styles of List component. Because the  list you see in combobox is an instance of List. If you are not able to figure out, let use know  again. -abdul ___From: flexcoders@yahoogroups.com  [mailto:[EMAIL PROTECTED] On Behalf Of Rajni Sent: Friday, January 27, 2006 9:05 AM To: flexcoders@yahoogroups.com;  flexcoders@yahoogroups.com Subject: [flexcoders] customized  combo how to change color  or background color of more than  one item in a combo box? Sent using Laszlo Mail. Try it  yourself. http://www.laszlomail.com-- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com___YAHOO! GROUPS LINKS    •  Visit your group " flexcoders  " on the web.    •  To unsubscribe from this group, send an email to: [EMAIL PROTECTED]   •  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service  . ___-- Sent using Laszlo Mail. Try it yourself.http://www.laszlomail.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] Flex 2 using the exercise from FlexBook

2006-01-30 Thread Manuel Saint-Victor



Okay- Thanks.  I might just do my practice from the book in Flex 1.5 until the beta gets here.ManiOn 1/29/06, Matt Chotin <
[EMAIL PROTECTED]> wrote:















I'm not sure if the example requires
you to have the server proxy running as the destination may not have a
crossdomain.xml file (I don't have the book with me).  The proxy didn't
ship with the Alpha so you'd need to just find a different service that
does work without a proxy for now.  Otherwise when the beta comes out the proxy
will be available again.

 

Matt

 









From:
flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Manuel Saint-Victor
Sent: Thursday, January 26, 2006
8:28 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2 using
the exercise from FlexBook



 

I'm having some trouble
migrating my Webservice from chapt 19 of the Flex Book.  Can someone point
me to or let me know the differences in how I should be using Webservices in
Flex2.

Mani








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com






  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 

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



  

















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





  




  
  
  YAHOO! GROUPS LINKS



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