Re: [flexcoders] flex2 and simple form question

2005-12-18 Thread Raymond Camden
Ah, thats what I wanted to find - an example. Thanks.

On 12/17/05, Dekayd Media Inc. [EMAIL PROTECTED] wrote:
 There is a very simple way to do it.

 There is a really good example of it in the Flex explorer.






 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Raymond Camden
 Sent: Saturday, December 17, 2005 9:36 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] flex2 and simple form question

 So I've got a form. Each field has a validator. These work fine if you
 click in the field and then leave it w/o entering data. I've marked
 the form items required, and a nice little * shows up. In general,
 everything works, but you can still hit the submit button and none of
 the validators run.

 It seems like there should be a simple way to say, on submit - check
 each field and run the validator, but I can' t seem to find an example
 on that.

 --
 ===
 Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com)

 Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

 Email: [EMAIL PROTECTED]
 Blog : ray.camdenfamily.com
 Yahoo IM : cfjedimaster

 My ally is the Force, and a powerful ally it is. - Yoda



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









--
===
Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com)

Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email: [EMAIL PROTECTED]
Blog : ray.camdenfamily.com
Yahoo IM : cfjedimaster

My ally is the Force, and a powerful ally it is. - Yoda


 Yahoo! Groups Sponsor ~-- 
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/.QUssC/izNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] flex2 and simple form question

2005-12-18 Thread Raymond Camden
Matt, I can understand the desire to give more control to users - but
considering how easy everything else is, it seems a bit odd that there
isn't a simpler way to do validation. It's like everything was done
for us (auto marking of required fields with *, nice validators out of
the box) except the final piece (auto validate on submit). I'm not
saying it makes it useless per se it was just surprising that
everything else was done _but_ that.


On 12/17/05, Matt Chotin [EMAIL PROTECTED] wrote:
 Validators in Flex 2 are faceless objects which means you can store them
 in an array and then go through that array and call validate on each
 one.  In 1.5 we have a validateStructure method, but that's been
 deprecated to give everyone more control over the validator
 infrastructure.

 So store your validators in an array, and then in the submit button go
 through and call validate() on each.  If all of the return values have a
 results property with length of 0 you're good to go, if any have a
 non-zero length it was invalid.

 Matt

 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Raymond Camden
 Sent: Saturday, December 17, 2005 6:36 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] flex2 and simple form question

 So I've got a form. Each field has a validator. These work fine if you
 click in the field and then leave it w/o entering data. I've marked
 the form items required, and a nice little * shows up. In general,
 everything works, but you can still hit the submit button and none of
 the validators run.

 It seems like there should be a simple way to say, on submit - check
 each field and run the validator, but I can' t seem to find an example
 on that.

 --
 ===
 Raymond Camden, Director of Development for Mindseye, Inc
 (www.mindseye.com)

 Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

 Email: [EMAIL PROTECTED]
 Blog : ray.camdenfamily.com
 Yahoo IM : cfjedimaster

 My ally is the Force, and a powerful ally it is. - Yoda



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









--
===
Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com)

Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email: [EMAIL PROTECTED]
Blog : ray.camdenfamily.com
Yahoo IM : cfjedimaster

My ally is the Force, and a powerful ally it is. - Yoda


 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/2jUsvC/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] flex2 and simple form question

2005-12-17 Thread Raymond Camden
So I've got a form. Each field has a validator. These work fine if you
click in the field and then leave it w/o entering data. I've marked
the form items required, and a nice little * shows up. In general,
everything works, but you can still hit the submit button and none of
the validators run.

It seems like there should be a simple way to say, on submit - check
each field and run the validator, but I can' t seem to find an example
on that.

--
===
Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com)

Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email: [EMAIL PROTECTED]
Blog : ray.camdenfamily.com
Yahoo IM : cfjedimaster

My ally is the Force, and a powerful ally it is. - Yoda


 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] Odd error showing up in logs

2005-12-08 Thread Raymond Camden



I -am- doing image loading like that. Seems like an odd error though for that. I'll check into the images though. Thanks!On 12/7/05, Matt Chotin 
[EMAIL PROTECTED] wrote:
















Probably you're requesting an image or
Loader and the url to the image is a string concatentation of some values, but
you either have the wrong second value (like forgetting to put parentheses on a
function call) or maybe the value is not what you think it should be.



Or if it's not a concatenation
(maybe imo is your app directory) just try to find other Image tags or whatever
and see how they're set up? Are you using your own custom HTML wrapper
by chance? Maybe the history manager got messed up or something if so?



Matt











From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Raymond Camden
Sent: Wednesday, December 07, 2005
6:52 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Odd error
showing up in logs





Anyone seen an error like
this before:

11/16 11:01:43 error Requested resource
'/imo/[type Function]'
(%2fimo%2f%5btype%20Function%5d) not found

We see a bunch of them and can't seem to tell what
is causing them.

--
===
Raymond Camden, Director of Development for
Mindseye, Inc (www.mindseye.com)

Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)


Email : [EMAIL PROTECTED]
Blog :
ray.camdenfamily.com
Yahoo IM : cfjedimaster

My ally is the Force, and a powerful ally it
is. - Yoda










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



  










-- ===Raymond Camden, Director of Development for Mindseye, Inc (
www.mindseye.com)Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)Email: [EMAIL PROTECTED]
Blog : ray.camdenfamily.comYahoo IM : cfjedimasterMy ally is the Force, and a powerful ally it is. - Yoda






--
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] Odd error showing up in logs

2005-12-07 Thread Raymond Camden
Anyone seen an error like this before:

11/16 11:01:43 error Requested resource '/imo/[type Function]'
(%2fimo%2f%5btype%20Function%5d) not found

We see a bunch of them and can't seem to tell what is causing them.

--
===
Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com)

Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email: [EMAIL PROTECTED]
Blog : ray.camdenfamily.com
Yahoo IM : cfjedimaster

My ally is the Force, and a powerful ally it is. - Yoda




 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/u8TY5A/tzNLAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] MX:Image and caching

2005-10-28 Thread Raymond Camden
In a normal HTML app, the rendering of remoteimage/foo.jpg can be
cache after the first hit. How does Flex (or Flash for that matter)
handle this? Let's say I set a MX:Image to

remote/foo.jpg

then

remote/goo.jpg

and then back to foo. Will Flex make another HTTP request to load the
image, or will it recognize the fact that it already has it?

--
===
Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com)

Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email: [EMAIL PROTECTED]
Blog : ray.camdenfamily.com
Yahoo IM : cfjedimaster

My ally is the Force, and a powerful ally it is. - Yoda


 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] centering an image within a canvas

2005-10-23 Thread Raymond Camden
I'm loading a large image into a canvas. When the image loads, I want
to center the image inside the view port. Here is how I have the image
defined:

mx:Canvas id=viewport width=100% height=100%
vScrollPolicy=off hScrollPolicy=off
mx:Image id=mapImage source={mapPath}
mouseDown=handleMouseDown()
mouseUpSomewhere=handleMouseUp()
mouseMoveSomewhere=handleMouseMove() 
/
/mx:Canvas

I've tried a code to center items like so:

function center() {
var viewPortWidth:Number = viewport.width;
var viewPortHeight:Number = viewport.height;
var thisWidth = this.mapImage.width;
var thisHeight = this.mapImage.height;

var newX = Math.round((viewPortWidth - thisWidth) / 2);
var newY = Math.round((viewPortHeight - thisHeight) / 
2);

this.mapImage.x = -1 * newX;
this.mapImage.y = -1 * newY;

Echo.debug(new coord +newX +,+ newY+ the width was 
+thisWidth);
}

However, I noticed that width was 0, so I got unexpected results. Do I
need to wait for the image to finish loading? If so - how/when  would
I run center?

--
===
Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com)

Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email: [EMAIL PROTECTED]
Blog : ray.camdenfamily.com
Yahoo IM : cfjedimaster

My ally is the Force, and a powerful ally it is. - Yoda


 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Re: centering an image within a canvas

2005-10-23 Thread Raymond Camden
Figured it out - used complete() to call. Only one thing wierd. I'm
doing this on 5 images, and one image doesn't seem to load. My debug
shows complete() firing though, but the image width is marked as
6710886, which is pretty darn huge for an image. :)

On 10/23/05, Raymond Camden [EMAIL PROTECTED] wrote:
 I'm loading a large image into a canvas. When the image loads, I want
 to center the image inside the view port. Here is how I have the image
 defined:

 mx:Canvas id=viewport width=100% height=100%
 vScrollPolicy=off hScrollPolicy=off
 mx:Image id=mapImage source={mapPath}
 mouseDown=handleMouseDown()
 mouseUpSomewhere=handleMouseUp()
 
 mouseMoveSomewhere=handleMouseMove() /
 /mx:Canvas

 I've tried a code to center items like so:

 function center() {
 var viewPortWidth:Number = viewport.width;
 var viewPortHeight:Number = viewport.height;
 var thisWidth = this.mapImage.width;
 var thisHeight = this.mapImage.height;

 var newX = Math.round((viewPortWidth - thisWidth) / 
 2);
 var newY = Math.round((viewPortHeight - thisHeight) / 
 2);

 this.mapImage.x = -1 * newX;
 this.mapImage.y = -1 * newY;

 Echo.debug(new coord +newX +,+ newY+ the width 
 was +thisWidth);
 }

 However, I noticed that width was 0, so I got unexpected results. Do I
 need to wait for the image to finish loading? If so - how/when  would
 I run center?

 --
 ===
 Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com)

 Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

 Email: [EMAIL PROTECTED]
 Blog : ray.camdenfamily.com
 Yahoo IM : cfjedimaster

 My ally is the Force, and a powerful ally it is. - Yoda



--
===
Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com)

Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email: [EMAIL PROTECTED]
Blog : ray.camdenfamily.com
Yahoo IM : cfjedimaster

My ally is the Force, and a powerful ally it is. - Yoda


 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] disabling a component, but leaving a portion on

2005-10-21 Thread Raymond Camden
Never mind - I found out how to set the map below the checkbox. Thanks!

On 10/21/05, Raymond Camden [EMAIL PROTECTED] wrote:
 This is working a bit - although for some reason the checkbox now
 doesn't show up.

 What I had originally was a component wrapped with a vbox. My stuff,
 including the checkbox, was all inside.

 I changed it to a canvas on the outside - with a vbox wrapping
 everything I want to disable, using x=0 and y=0. I moved my checkbox
 before the vbox and used x=50, y=50, just as a random place to put it.
 However, the checkbox just doesn't show up.



 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] disabling a component, but leaving a portion on

2005-10-21 Thread Raymond Camden
This is working a bit - although for some reason the checkbox now
doesn't show up.

What I had originally was a component wrapped with a vbox. My stuff,
including the checkbox, was all inside.

I changed it to a canvas on the outside - with a vbox wrapping
everything I want to disable, using x=0 and y=0. I moved my checkbox
before the vbox and used x=50, y=50, just as a random place to put it.
However, the checkbox just doesn't show up.


On 10/20/05, Deepa Subramaniam [EMAIL PROTECTED] wrote:
 This is just a though, but is the CheckBox part of the Map component? It
 might be easier to separate them out and put your Map component in a
 Canvas so you can explicitly position a CheckBox atop the Map wherever
 you'd like. The CheckBox and Map can refer to each other just as any
 other set of components would (reference through the id property).

--
===
Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com)

Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email: [EMAIL PROTECTED]
Blog : ray.camdenfamily.com
Yahoo IM : cfjedimaster

My ally is the Force, and a powerful ally it is. - Yoda


 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] disabling a component, but leaving a portion on

2005-10-20 Thread Raymond Camden
I have a component that displays a map in a nice little VBox with
rounded corners. In one corner is a checkbox. This checkbox calls a
function in the parent to disable the entire component. This works
great. However, I'd like the checkbox to stay active so I can click it
again to re-enable the map. That possible?
--
===
Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com)

Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email: [EMAIL PROTECTED]
Blog : ray.camdenfamily.com
Yahoo IM : cfjedimaster

My ally is the Force, and a powerful ally it is. - Yoda


 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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






[flexcoders] Odd error with send()

2005-10-20 Thread Raymond Camden
I'm using this syntax to call a WS:

var params = new Object();
params.specification = new Object();
params.specification.PanDirection = None;
params.specification.ZoomLevel = currentZoom;
params.specification.Carriers = activeCarrierNames;
params.specification.StartingZipCode = currentZip;
params.specification.Dimensions = new Object();
params.specification.Dimensions.Width = 600;
params.specification.Dimensions.Height = 502;

xx.GetMaps.send(params);

The web service has a fault method that I use to log errors. The fault
method is fired and the msg I get is:

-1 Arguments not allowed in send()

First off - since the message comes from the fault method, this means
the message comes from the remote system, right? But it seems like
Flex is complaining since it mentions send.

FYI, I was using the mx:operation tag, but I needed my Flex app to
call the same method with 2 different types of args. As far as I know,
that means I _cant_ use this format anymore:

mx:operation name=GetMaps fault=showFault(event.fault)
result=spResult(event.result)
mx:request
specification
PanDirection{currentPan}/PanDirection
ZoomLevel{currentZoom}/ZoomLevel

Carriersarray{activeCarrierNames}/array/Carriers
StartingZipCode{currentZip}/StartingZipCode

DimensionsWidth600/WidthHeight502/Height/Dimensions
/specification
/mx:request
/mx:operation

This worked fine btw. I assumed my script version above was a one to
one remapping of it. (Just noticed that PanDirection was hard coded,
but changing that didn't help.)
--
===
Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com)

Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email: [EMAIL PROTECTED]
Blog : ray.camdenfamily.com
Yahoo IM : cfjedimaster

My ally is the Force, and a powerful ally it is. - Yoda


 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] falseOverSkin not working

2005-10-13 Thread Raymond Camden
For some reason, my falseUpSkin and falseDownSkin work fine, but when
I add falseOverSkin (using the same value as down) it doesn't work.
Any ideas why?

mx:SimpleButton  falseUpSkin={ModelLocator.assets.coverage_nw_off}
falseDownSkin={ModelLocator.assets.coverage_nw_on}
falseOverSkin={ModelLocator.assets.coverage_nw_on} /
--
===
Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com)

Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email: [EMAIL PROTECTED]
Blog : ray.camdenfamily.com
Yahoo IM : cfjedimaster

My ally is the Force, and a powerful ally it is. - Yoda


 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] followup on rollovers

2005-10-13 Thread Raymond Camden
So I asked a little while ago about why falseOverSkin didn't seem to
be working in SImpleButton. I decided to simply set the value myself
using mouseOver. However, this doesn't seem to be working.

Assuming that FOO is a simplebutton - how would I change the visible skin?

--
===
Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com)

Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email: [EMAIL PROTECTED]
Blog : ray.camdenfamily.com
Yahoo IM : cfjedimaster

My ally is the Force, and a powerful ally it is. - Yoda


 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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






[flexcoders] calling WS with array as an argument type

2005-10-11 Thread Raymond Camden
I'm testing a web service call, and am using this format:

mx:operation name=GetMaps fault=showFault(event.fault)
result=showGood()
mx:request
specification
PanDirectionNone/PanDirection
ZoomLevel1/ZoomLevel
Carriers{myArray}/Carriers
/specification
/mx:request
/mx:operation

The problem I'm having is with Carriers. According to the WSDL,
Carriers needs to be an array of strings. I tried:

CarriersstringDoo/string/Carriers. I tried the version above.
I'm stuck now. How can I pass in an array using the format above?
--
===
Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com)

Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email: [EMAIL PROTECTED]
Blog : ray.camdenfamily.com
Yahoo IM : cfjedimaster

My ally is the Force, and a powerful ally it is. - Yoda


 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders] calling WS with array as an argument type

2005-10-11 Thread Raymond Camden
I got it working - ended up using array{arrayName}/array

On 10/11/05, João Fernandes [EMAIL PROTECTED] wrote:
 I don't know if it solves the problem:

 mx:operation name=GetMaps fault=showFault(event.fault)
 result=showGood()
 mx:request
 specification
 PanDirectionNone/PanDirection
 ZoomLevel1/ZoomLevel
 Carriers
 mx:Array
 {myArray}
 /mx:Array
 /Carriers
 /specification
 /mx:request
 /mx:operation




 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders] Re: calling a secured web service

2005-10-10 Thread Raymond Camden
Not yet, I was hoping it was some simple config issue on my part. Is
_no one_ calling a secured web service? I did confirm last week that I
could call it via CF, so it is a valid service. This is my second week
now of trying to get this to work. Something so basic should _not_ be
this much trouble.

On 10/7/05, Dave Wolf [EMAIL PROTECTED] wrote:
 Have you tried putting the Apache SOAP TCPTunnel in between to see if
 the proper credentials are being sent from the proxy to the service?

 --


 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders] Re: calling a secured web service

2005-10-10 Thread Raymond Camden
Ahah. We are getting somewhere. So, in the flex-out log file, I see
I'm getting an Authentication denied error, even though I'm passing in
my credentials. Let me show you my config again, and maybe you can see
what is wrong. Obviously the URL is changed, as is the U/P.

named
service name=foo
allow-unnamed-accesstrue/allow-unnamed-access
wsdlhttp://foo.com/foo.asmx?WSDL/wsdl
run-as user=User password=pass /
endpoints
endpointhttp://foocom/foo.asmx/endpoint
/endpoints
/service
/named

So, why would run-as simply be ignored? I'm also including the
relevant portion of the log file, again with URLs changed. Oh wait. I
just noticed in the header it said it WAS sending the data for my
User. Could it be something else?

10/10 10:30:43 INFO -- GET : http://foo.com/foo.asmx?WSDL
10/10 10:30:43 INFO -- Authentication header being sent for User
10/10 10:30:43 INFO -- Header in request: Keep-Alive : 300
10/10 10:30:43 INFO -- Header in request: User-Agent : Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
Firefox/1.0.7
10/10 10:30:43 INFO -- Header in request: Connection : keep-alive
10/10 10:30:43 INFO -- Header in request: Accept-Charset :
ISO-8859-1,utf-8;q=0.7,*;q=0.7
10/10 10:30:43 INFO -- Header in request: Accept-Language : en-us,en;q=0.5
10/10 10:30:43 INFO -- Header in request: --- : 
10/10 10:30:43 INFO -- Header in request: Accept :
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
10/10 10:30:43 INFO -- Header in response: Date : Mon, 10 Oct 2005 15:31:50 GMT
10/10 10:30:43 INFO -- Header in response: Server : Microsoft-IIS/6.0
10/10 10:30:43 INFO -- Header in response: WWW-Authenticate : Negotiate
10/10 10:30:43 INFO -- Header in response: WWW-Authenticate : NTLM
10/10 10:30:43 INFO -- Header in response: WWW-Authenticate : Basic
realm=staging1.spatialpoint.com
10/10 10:30:43 INFO -- Header in response: X-Powered-By : ASP.NET
10/10 10:30:43 INFO -- Header in response: X-AspNet-Version : 1.1.4322
10/10 10:30:43 INFO -- Header in response: Cache-Control : private
10/10 10:30:43 INFO -- Header in response: Content-Type : text/html;
charset=utf-8



On 10/10/05, Matt Chotin [EMAIL PROTECTED] wrote:



 Well we have it passing in our internal test suites J  Have you turned on the 
 debugging in flex-config.xml for the web-service-proxy?



   


 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
 Raymond Camden
  Sent: Monday, October 10, 2005 9:34 AM
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] Re: calling a secured web service




 Not yet, I was hoping it was some simple config issue on my part. Is
  _no one_ calling a secured web service? I did confirm last week that I
  could call it via CF, so it is a valid service. This is my second week
  now of trying to get this to work. Something so basic should _not_ be
  this much trouble.

  On 10/7/05, Dave Wolf [EMAIL PROTECTED] wrote:
   Have you tried putting the Apache SOAP TCPTunnel in between to see if
   the proper credentials are being sent from the proxy to the service?
  
   --



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








--
===
Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com)

Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email: [EMAIL PROTECTED]
Blog : ray.camdenfamily.com
Yahoo IM : cfjedimaster

My ally is the Force, and a powerful ally it is. - Yoda


 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

* Your use

Re: [flexcoders] Re: calling a secured web service

2005-10-10 Thread Raymond Camden
I responded to Matt offline with my log. He suggested that the web
service provider turn off everything but Basic security. Once that was
done, things started working great. (Time for a blog posting I think.)
Thanks Matt!

On 10/10/05, Matt Chotin [EMAIL PROTECTED] wrote:



 Well, can you send the rest of the relevant log?  This is just showing the
 headers and nothing in there seems to point to a problem.



--
===
Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com)

Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email: [EMAIL PROTECTED]
Blog : ray.camdenfamily.com
Yahoo IM : cfjedimaster

My ally is the Force, and a powerful ally it is. - Yoda


 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders] calling a secured web service

2005-10-07 Thread Raymond Camden
I made both changes. The error simply changed to

Error: Client.Disconnected Could not load WSDL

On 10/6/05, Matt Chotin [EMAIL PROTECTED] wrote:



 Try removing use-custom-authentication, just have the run-as.  Make sure
 you're going through mx:WebService service=xxx … / and don't use
 wsdl=…



 Matt



  



 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Raymond Camden
  Sent: Thursday, October 06, 2005 2:06 PM
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] calling a secured web service



 Nod, I've restarted about a hundred times now. :(

  Do you see anything obviously wrong with this current setup:

  service name=xxx

 use-custom-authenticationtrue/use-custom-authentication
  allow-unnamed-accesstrue/allow-unnamed-access
wsdlhttp://foo.com/foo.asmx?WSDL/wsdl
run-as user=u password=p /
  endpoints
  endpointhttp://foo.asmx/endpoint
  /endpoints
  /service


  On 10/6/05, Carson Hager [EMAIL PROTECTED] wrote:
   FWIW, you don't have to prompt the user with custom auth. You can simply
   catch the credentials request then submit the username and password in
   code. That being said, if the username/pwd is fixed, run-as makes sense.
   Given Flex's response, it's going with the default behavior of
   passthrough.  Have you reloaded your web app ( or restarted your servlet
   container ) since changing flex-config.xml?
  
  
   Carson
  
  
   
  
   Carson Hager
   Cynergy Systems, Inc.
   http://www.cynergysystems.com
  
   Email:  [EMAIL PROTECTED]
   Office:  866-CYNERGY ext. 89
   Mobile: 1.703.489.6466
  
  
  
   -Original Message-
   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
   Behalf Of Raymond Camden
   Sent: Thursday, October 06, 2005 1:35 PM
   To: flexcoders@yahoogroups.com
   Subject: Re: [flexcoders] calling a secured web service
  
   In this case, my app is suing a secured service where the u/p will never
   change. Therefore, it doesn't make sense to prompt on the client side.
   It should be hard coded. Thanks for trying though.
  
   Can anyone from Macromedia Flex team comment? :)
  
   On 10/6/05, Carson Hager [EMAIL PROTECTED] wrote:
I've never used run-as due to the fact that I think it has very
limited usage given that all users connect to the web service with the
  
same credentials.  Have you tried custom auth?  With that you can
specify a client specific username and password for the web service.
Do you have access to the password from the app?
   
 ==
=
   Raymond Camden, Director of Development for Mindseye, Inc
   (www.mindseye.com)
  
   Member of Team Macromedia
 (http://www.macromedia.com/go/teammacromedia)
  
   Email: [EMAIL PROTECTED]
   Blog : ray.camdenfamily.com
   Yahoo IM : cfjedimaster
  
   My ally is the Force, and a powerful ally it is. - Yoda
  
  
  
   --
   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
  
  
  
  
  
  
  
  


  --
 ===
  Raymond Camden, Director of Development for Mindseye, Inc
 (www.mindseye.com)

  Member of Team Macromedia
 (http://www.macromedia.com/go/teammacromedia)

  Email: [EMAIL PROTECTED]
  Blog : ray.camdenfamily.com
  Yahoo IM : cfjedimaster

  My ally is the Force, and a powerful ally it is. - Yoda



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

  





--
===
Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com)

Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email: [EMAIL PROTECTED]
Blog : ray.camdenfamily.com
Yahoo IM : cfjedimaster

My ally is the Force, and a powerful ally it is. - Yoda


 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM

[flexcoders] calling a secured web service

2005-10-06 Thread Raymond Camden
I think I may be missing something simple. How do I, on server A, call
a web service on server B that has basic authentication? I don't want
the user to be prompted, I was hoping/assuming I could

mx:WebSerice  username=x password=y

--
===
Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com)

Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email: [EMAIL PROTECTED]
Blog : ray.camdenfamily.com
Yahoo IM : cfjedimaster

My ally is the Force, and a powerful ally it is. - Yoda


 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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






Re: [flexcoders] calling a secured web service

2005-10-06 Thread Raymond Camden
Nope - any particular chapter you can suggest in the Flex docs?

On 10/6/05, Carson Hager [EMAIL PROTECTED] wrote:
 So you're trying to call a web service from a server that is different
 from the server from which you downloaded the flex client?  That's not
 going to work. It's a violation of the security sandbox that the Flash
 player runs within. This is the reason why the Flex proxy exists.  Have
 you looked into proxying web services?


 Carson


 

 Carson Hager
 Cynergy Systems, Inc.
 http://www.cynergysystems.com

 Email:  [EMAIL PROTECTED]
 Office:  866-CYNERGY ext. 89
 Mobile: 1.703.489.6466



 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Raymond Camden
 Sent: Thursday, October 06, 2005 9:24 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] calling a secured web service

 From the Flex client. The web service is a .Net service. I should add
 that, when I try to use it, I'm getting this fault code/string:

 Error: Client.Disconnected Could not load WSDL

 I have verified that the WS produces valid WSDL, although I'm also
 having trouble calling it from CF as well.

 On 10/6/05, Carson Hager [EMAIL PROTECTED] wrote:
  You want to call a web service from server a or from a client that
  originated from server a?
 
  What kinds of web services?  Are they the same technology or a variety

  of technologies?  If they're Java or .NET, I can provide some
  assistance. If there is any CF involved, I am definitely not the right

  person. :)
 
 
  Carson
 
  
 
  Carson Hager
  Cynergy Systems, Inc.
  http://www.cynergysystems.com
 
  Email:  [EMAIL PROTECTED]
  Office:  866-CYNERGY ext. 89
  Mobile: 1.703.489.6466
 
 
 
  -Original Message-
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
  On Behalf Of Raymond Camden
  Sent: Thursday, October 06, 2005 8:40 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] calling a secured web service
 
  I think I may be missing something simple. How do I, on server A, call

  a web service on server B that has basic authentication? I don't want
  the user to be prompted, I was hoping/assuming I could
 
  mx:WebSerice  username=x password=y
 
  --
  ==
  = Raymond Camden, Director of Development for Mindseye, Inc
  (www.mindseye.com)
 
  Member of Team Macromedia
  (http://www.macromedia.com/go/teammacromedia)
 
  Email: [EMAIL PROTECTED]
  Blog : ray.camdenfamily.com
  Yahoo IM : cfjedimaster
 
  My ally is the Force, and a powerful ally it is. - Yoda
 
 
 
  --
  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
 
 
 
 
 
 
 
 


 --
 ===
 Raymond Camden, Director of Development for Mindseye, Inc
 (www.mindseye.com)

 Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

 Email: [EMAIL PROTECTED]
 Blog : ray.camdenfamily.com
 Yahoo IM : cfjedimaster

 My ally is the Force, and a powerful ally it is. - Yoda



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











--
===
Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com)

Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email: [EMAIL PROTECTED]
Blog : ray.camdenfamily.com
Yahoo IM : cfjedimaster

My ally is the Force, and a powerful ally it is. - Yoda


 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

* Your use of Yahoo! Groups is subject

Re: [flexcoders] calling a secured web service

2005-10-06 Thread Raymond Camden
In this case, my app is suing a secured service where the u/p will
never change. Therefore, it doesn't make sense to prompt on the client
side. It should be hard coded. Thanks for trying though.

Can anyone from Macromedia Flex team comment? :)

On 10/6/05, Carson Hager [EMAIL PROTECTED] wrote:
 I've never used run-as due to the fact that I think it has very limited
 usage given that all users connect to the web service with the same
 credentials.  Have you tried custom auth?  With that you can specify a
 client specific username and password for the web service. Do you have
 access to the password from the app?
 ===
Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com)

Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email: [EMAIL PROTECTED]
Blog : ray.camdenfamily.com
Yahoo IM : cfjedimaster

My ally is the Force, and a powerful ally it is. - Yoda


 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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






Re: [flexcoders] calling a secured web service

2005-10-06 Thread Raymond Camden
Nod, I've restarted about a hundred times now. :(

Do you see anything obviously wrong with this current setup:

service name=xxx
use-custom-authenticationtrue/use-custom-authentication
allow-unnamed-accesstrue/allow-unnamed-access
wsdlhttp://foo.com/foo.asmx?WSDL/wsdl
run-as user=u password=p /
endpoints
endpointhttp://foo.asmx/endpoint
/endpoints
/service


On 10/6/05, Carson Hager [EMAIL PROTECTED] wrote:
 FWIW, you don't have to prompt the user with custom auth. You can simply
 catch the credentials request then submit the username and password in
 code. That being said, if the username/pwd is fixed, run-as makes sense.
 Given Flex's response, it's going with the default behavior of
 passthrough.  Have you reloaded your web app ( or restarted your servlet
 container ) since changing flex-config.xml?


 Carson


 

 Carson Hager
 Cynergy Systems, Inc.
 http://www.cynergysystems.com

 Email:  [EMAIL PROTECTED]
 Office:  866-CYNERGY ext. 89
 Mobile: 1.703.489.6466



 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Raymond Camden
 Sent: Thursday, October 06, 2005 1:35 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] calling a secured web service

 In this case, my app is suing a secured service where the u/p will never
 change. Therefore, it doesn't make sense to prompt on the client side.
 It should be hard coded. Thanks for trying though.

 Can anyone from Macromedia Flex team comment? :)

 On 10/6/05, Carson Hager [EMAIL PROTECTED] wrote:
  I've never used run-as due to the fact that I think it has very
  limited usage given that all users connect to the web service with the

  same credentials.  Have you tried custom auth?  With that you can
  specify a client specific username and password for the web service.
  Do you have access to the password from the app?
  ==
  =
 Raymond Camden, Director of Development for Mindseye, Inc
 (www.mindseye.com)

 Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

 Email: [EMAIL PROTECTED]
 Blog : ray.camdenfamily.com
 Yahoo IM : cfjedimaster

 My ally is the Force, and a powerful ally it is. - Yoda



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










--
===
Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com)

Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email: [EMAIL PROTECTED]
Blog : ray.camdenfamily.com
Yahoo IM : cfjedimaster

My ally is the Force, and a powerful ally it is. - Yoda


 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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






Re: [flexcoders] images being cached w/ mx:image

2005-10-05 Thread Raymond Camden
Eh? I've never heard of a flash plugin cache. It isn't in the
settings. The only thing close is the local storage option, which is
for shared objects I believe, not cached data.

On 10/5/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Maybe its the flash plugin cache. Right mouse and set all to 0.

 On 4 Oct 2005 at 16:27, Raymond Camden wrote:

  I am calling a custom control that makes use of mx:image. When I
  update the jpg file on the file system, it isn't reflected in Flex,
  even after a restart. Any ideas?
 


--
===
Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com)

Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email: [EMAIL PROTECTED]
Blog : ray.camdenfamily.com
Yahoo IM : cfjedimaster

My ally is the Force, and a powerful ally it is. - Yoda


 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] images being cached w/ mx:image

2005-10-05 Thread Raymond Camden
Production mode is false. I'm not @Embeding.

On 10/4/05, Roger Gonzalez [EMAIL PROTECTED] wrote:
  I am calling a custom control that makes use of mx:image. When I
  update the jpg file on the file system, it isn't reflected in Flex,
  even after a restart. Any ideas?

 Make sure that
 - you're not in production mode
 - you're not @Embed-ing a http URL

 -Roger

 Roger Gonzalez
 mailto:[EMAIL PROTECTED]




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









--
===
Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com)

Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email: [EMAIL PROTECTED]
Blog : ray.camdenfamily.com
Yahoo IM : cfjedimaster

My ally is the Force, and a powerful ally it is. - Yoda


 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] images being cached w/ mx:image

2005-10-04 Thread Raymond Camden
I am calling a custom control that makes use of mx:image. When I
update the jpg file on the file system, it isn't reflected in Flex,
even after a restart. Any ideas?

--
===
Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com)

Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email: [EMAIL PROTECTED]
Blog : ray.camdenfamily.com
Yahoo IM : cfjedimaster

My ally is the Force, and a powerful ally it is. - Yoda


 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Flex and basse64 images

2005-09-21 Thread Raymond Camden
I thought I posted this yesterday, but I never saw it show up. Forgive
me though if this is a dupe.

Imagine a WS that returns the base64 encoding of a binary image. Could
Flex decode it and render the image?

--
===
Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com)

Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email: [EMAIL PROTECTED]
Blog : ray.camdenfamily.com
Yahoo IM : cfjedimaster

My ally is the Force, and a powerful ally it is. - Yoda


 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] binary data to render...

2005-09-20 Thread Raymond Camden
If I call a web service that returns a base64 encoded version of a JPG
file, is there anyway to actually render the image in Flex? Or must I
call a local WS, pass in the data there, have it save and then load it
via URL?

-- 
===
Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com)

Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email: [EMAIL PROTECTED]
Blog : ray.camdenfamily.com
Yahoo IM : cfjedimaster

My ally is the Force, and a powerful ally it is. - Yoda


 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] Binding a tree to a web service call and formatting the result

2005-07-12 Thread Raymond Camden
I actually ended up using a labelFunction - didn't even realize that
was possible.

On 7/12/05, Tracy Spratt [EMAIL PROTECTED] wrote:
 Typically web services return xml and the tree can consume xml directly.
 
 Have you examined the contents of the result object in a debugger?
 Perhaps you CAN simply use the result.
 
-- 
===
Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com)

Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email: [EMAIL PROTECTED]
Blog : ray.camdenfamily.com
Yahoo IM : cfjedimaster

My ally is the Force, and a powerful ally it is. - Yoda





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




odd issue w/ flex install

2004-05-12 Thread Raymond Camden
So, I installed Flex, and configured it to work with CF. This is only the
third time I've done it, but I've had success before. This time, however,
whenever I request a mxml file, the browser prompts me to download it. This
seems like a simple config issue somewhere, but I've just double checked and
I didn't see anything I've missed. Any ideas?

===
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com)
Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email : [EMAIL PROTECTED]
Blog : www.camdenfamily.com/morpheus/blog
Yahoo IM : morpheus

My ally is the Force, and a powerful ally it is. - Yoda 






RE: [flexcoders] odd issue w/ flex install

2004-05-12 Thread Raymond Camden



Yes. I found part of the issue.

For IIS, apparently, you need to tell IIS to map *.mxml and 
*.swf to the same DLL as *.cfm.

I did that and now the following 
happens..

I hit *.mxml, and I get pushed to 
*.mxml?versionchecked=whatever, but I still see no content.

For a CF file that embeds Flex, I see nothing. No errors, 
but the Flex portion of the CF file is blank.

===Raymond 
Camden, ColdFusion Jedi Master for Mindseye, IncMember of Team 
MacromediaEmail : 
[EMAIL PROTECTED]Blog : 
www.camdenfamily.com/morpheus/blogYahoo IM : morpheus"My ally is the 
Force, and a powerful ally it is." - Yoda 




From: John Zhao [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 12, 2004 5:01 PMTo: 
'flexcoders@yahoogroups.com'Subject: RE: [flexcoders] odd issue w/ 
flex install


Do you have the 
following setting in the web.xml?

 
servlet-mapping
 
servlet-nameFlexMxmlServlet/servlet-name
 
url-pattern*.mxml/url-pattern
 
/servlet-mapping

-Original 
Message-From: Raymond 
Camden [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 5:27 
PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] odd issue w/flex 
install

So, I installed Flex, and configured it 
to work with CF. This is only thethird time I've done it, but I've had success before. This 
time, however,whenever I request 
a mxml file, the browser prompts me to download it. 
Thisseems like a simple config 
issue somewhere, but I've just double checked andI didn't see anything I've missed. Any 
ideas?=======Raymond Camden, ColdFusion Jedi Master for Mindseye,Inc 
(www.mindseye.com)Member of Team 
Macromedia (http://www.macromedia.com/go/teammacromedia)Email : 
[EMAIL PROTECTED]Blog : 
www.camdenfamily.com/morpheus/blogYahoo IM : morpheus"My ally is the Force, and a powerful ally it is." -Yoda 



RE: [flexcoders] odd issue w/ flex install

2004-05-12 Thread Raymond Camden



More info. I noticed when I attempted to load a mxml file 
w/ IE, I got a JS error. I viewed source and saw this..

/flex-internal?action="">

on my home system, using Apache, I requested this,and got 
valid JS back. On my IIS system a request for this URL returned a 
404.

=======Raymond 
Camden, ColdFusion Jedi Master for Mindseye, IncMember of Team 
MacromediaEmail : 
[EMAIL PROTECTED]Blog : 
www.camdenfamily.com/morpheus/blogYahoo IM : morpheus"My ally is the 
Force, and a powerful ally it is." - Yoda 




From: Raymond Camden 
[mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 5:04 
PMTo: flexcoders@yahoogroups.comSubject: RE: 
[flexcoders] odd issue w/ flex install

Yes. I found part of the issue.

For IIS, apparently, you need to tell IIS to map*.mxml 
and *.swf to the same DLL as *.cfm.

I did that and now the following 
happens..

I hit *.mxml, and I get pushed to 
*.mxml?versionchecked=whatever, but I still see no 
content.

For a CF file that embeds Flex, I see nothing. No errors, 
but the Flex portion of the CF file is blank.

=======Raymond 
Camden, ColdFusion Jedi Master for Mindseye, IncMember of Team 
MacromediaEmail : 
[EMAIL PROTECTED]Blog : 
www.camdenfamily.com/morpheus/blogYahoo IM : morpheus"My allyis 
the Force, and a powerful ally it is." - Yoda 




From: John Zhao 
[mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 5:01 
PMTo: 'flexcoders@yahoogroups.com'Subject: RE: 
[flexcoders] odd issue w/ flex install


Do you have the 
following setting in the web.xml?

 
servlet-mapping
 
servlet-nameFlexMxmlServlet/servlet-name
 
url-pattern*.mxml/url-pattern
 
/servlet-mapping

-Original 
Message-From: Raymond 
Camden [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 5:27 
PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] odd issue w/ flex 
install

So, I installed Flex, and configured it 
to work with CF. This is only thethird time I've done it, but I've had success before. 
This time, however,whenever I 
request a mxml file, the browser prompts me to download it. 
Thisseems like a simple config 
issue somewhere, but I've just double checked andI didn't see anything I've missed. Any 
ideas?===========Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc 
(www.mindseye.com)Memberof 
Team Macromedia (http://www.macromedia.com/go/teammacromedia)Email : 
[EMAIL PROTECTED]Blog : 
www.camdenfamily.com/morpheus/blogYahoo IM : morpheus"My ally is the Force, and a powerful ally it is."- Yoda 



datefield/chooser and formatters

2004-05-04 Thread Raymond Camden
Why is it that we can't use a DateFormatter as the value of the
dateFormatter attribute for dateField/Chooser controls?

===
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com)
Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email : [EMAIL PROTECTED]
Blog : www.camdenfamily.com/morpheus/blog
Yahoo IM : morpheus

My ally is the Force, and a powerful ally it is. - Yoda