Re: [flexcoders] mx:HTTPService - relative url's - relative to swf vs relative to html wrapper

2006-07-11 Thread Tom Chiverton
On Monday 10 July 2006 16:52, Carson Hager wrote:
 The good news is that this was only an issue of semantics.

\o/

:-)

-- 
Tom Chiverton



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

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

CONFIDENTIALITY

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

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



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

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

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

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

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




Re: [flexcoders] mx:HTTPService - relative url's - relative to swf vs relative to html wrapper

2006-07-11 Thread JesterXL





Utilize the all-your-base-are-belong-to-flex 
attribute?http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_04157


- Original Message - 
From: Tracy Spratt 

To: flexcoders@yahoogroups.com 
Sent: Friday, July 07, 2006 2:29 PM
Subject: RE: [flexcoders] mx:HTTPService - relative url's - relative 
to swf vs relative to html wrapper


We are not helping with 
the problem yet.

I do not know of a way 
to change the way the url resolves. Since the location of the swf 
presumably does not change, you could pass the necessary url into the Flex app 
using flashvars in the wrapper. Then, in the Flex app, you could use the 
passed in url as the base address and concatenate on the http service relative 
url.

Actually, I can see 
myself facing this issue soon. If I get time, I will try to do an 
example.

Tracy





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Carson 
HagerSent: Friday, July 07, 
2006 11:36 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] mx:HTTPService - 
relative url's - relative to swf vs relative to html 
wrapper




Always here is pretty strong. The only time I could see 
this is forsomething like a publicly available web service like a FedEx 
trackingrequest - (1) read only so no damage done in dev and (2) not under 
yourdirect control so you don't have a choice. If you have any kind of 
devvs. prod environment for your own developed web services ( 
hopefullyyou do ), you're then looking at changing your code each time you 
go toproduction. I could also see a case where you know your web 
serviceswill be on a separate box from your web server requiring a 
fullyqualified but then I would hope that the rootURL property was in use 
andset somewhere. My point here is that I don't agree with the 
"always"notion. I see too many cases where relative URLs are very 
helpful.CarsonCarson HagerCynergy 
Systems, Inc.http://www.cynergysystems.comEmail: 
carson.hager@cynergysystems.comOffice: 
866-CYNERGYMobile: 1.703.489.6466-Original 
Message-From: [EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
OnBehalf Of Tom ChivertonSent: Friday, July 07, 2006 2:36 AMTo: [EMAIL PROTECTED]ups.comSubject: 
Re: [flexcoders] mx:HTTPService - relative url's - relative toswf vs 
relative to html wrapperOn Thursday 06 July 2006 14:57, dehemke 
wrote: Is there a way to force relative urls to resolve based on the swf 
 location instead of the html wrapper location?Web service URLs 
should always be absolute.--Tom 
ChivertonThis 
email is sent for and on behalf of Halliwells LLP.Halliwells LLP is a 
limited liability partnership registered in Englandand 
Wales under registered number OC307980 whose registered officeaddress is at 
St James's Court Brown 
Street Manchester M2 2JF. A listof members is 
available for inspection at the registered office. Anyreference to a partner 
in relation to Halliwells LLP means a member ofHalliwells LLP. Regulated by 
the Law Society.CONFIDENTIALITYThis email is intended only for 
the use of the addressee named above andmay be confidential or legally 
privileged. If you are not the addresseeyou must not read it and must not 
use any information contained in norcopy it nor inform any person other than 
Halliwells LLP or the addresseeof its existence or contents. If you have 
received this email in errorplease delete it and notify Halliwells LLP IT 
Department on 0870 3658008.For more information about Halliwells LLP 
visit www.halliwells.com. Yahoo! 
Groups Sponsor ~--Great things are 
happening at Yahoo! Groups. See the new email design.http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM--~- 
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
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] mx:HTTPService - relative url's - relative to swf vs relative to html wrapper

2006-07-11 Thread Tracy Spratt












Whoa, yeah, that is going to be it. I hope
the original poster is still following the thread.



Tracy











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL
Sent: Monday, July 10, 2006 9:43
PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
mx:HTTPService - relative url's - relative to swf vs relative to html wrapper













Utilize the all-your-base-are-belong-to-flex attribute?



http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_04157
















- Original Message - 



From: Tracy Spratt






To: flexcoders@yahoogroups.com






Sent: Friday, July 07,
2006 2:29 PM





Subject: RE: [flexcoders]
mx:HTTPService - relative url's - relative to swf vs relative to html wrapper













We are not helping with the problem yet.



I do not know of a way to change the way the url resolves.
Since the location of the swf presumably does not change, you could pass the
necessary url into the Flex app using flashvars in the wrapper. Then, in
the Flex app, you could use the passed in url as the base address and
concatenate on the http service relative url.



Actually, I can see myself facing this issue soon. If I get
time, I will try to do an example.



Tracy













From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Carson Hager
Sent: Friday, July 07, 2006 11:36
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
mx:HTTPService - relative url's - relative to swf vs relative to html wrapper











Always
here is pretty strong. The only time I could see this is for
something like a publicly available web service like a FedEx tracking
request - (1) read only so no damage done in dev and (2) not under your
direct control so you don't have a choice. If you have any kind of dev
vs. prod environment for your own developed web services ( hopefully
you do ), you're then looking at changing your code each time you go to
production. I could also see a case where you know your web services
will be on a separate box from your web server requiring a fully
qualified but then I would hope that the rootURL property was in use and
set somewhere. My point here is that I don't agree with the always
notion. I see too many cases where relative URLs are very helpful.

Carson



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

Email: carson.hager@cynergysystems.com
Office: 866-CYNERGY
Mobile:
1.703.489.6466

-Original Message-
From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
Behalf Of Tom Chiverton
Sent: Friday, July 07, 2006 2:36 AM
To: [EMAIL PROTECTED]ups.com
Subject: Re: [flexcoders] mx:HTTPService - relative url's - relative to
swf vs relative to html wrapper

On Thursday 06 July 2006 14:57, dehemke wrote:
 Is there a way to force relative urls to resolve based on the swf 
 location instead of the html wrapper location?

Web service URLs should always be absolute.

--
Tom Chiverton



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

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

CONFIDENTIALITY

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

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

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


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














__._,_.___





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

RE: [flexcoders] mx:HTTPService - relative url's - relative to swf vs relative to html wrapper

2006-07-10 Thread Carson Hager
All of the URLs we use point to a URL relative to the server root so
moving code has no effect and we get the benefit of not hardcoding a
hostname.


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 Tom Chiverton
Sent: Monday, July 10, 2006 2:55 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] mx:HTTPService - relative url's - relative to
swf vs relative to html wrapper

On Friday 07 July 2006 16:35, Carson Hager wrote:
 notion. I see too many cases where relative URLs are very helpful.

Whereas I've never seen one :-)
If you are publishing a service, you must be publishing at a static
absolute URL, otherwise what happens if you move the calling code, and
the relative URL now points of into empty space ?

--
Tom Chiverton



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

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

CONFIDENTIALITY

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

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



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

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



 




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

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

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

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

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





Re: [flexcoders] mx:HTTPService - relative url's - relative to swf vs relative to html wrapper

2006-07-10 Thread Tom Chiverton
On Monday 10 July 2006 16:05, Carson Hager wrote:
 All of the URLs we use point to a URL relative to the server root 

Isn't that an absolute URL ?
:-)

-- 
Tom Chiverton



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

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

CONFIDENTIALITY

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

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



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

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

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

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

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




RE: [flexcoders] mx:HTTPService - relative url's - relative to swf vs relative to html wrapper

2006-07-10 Thread Carson Hager
The good news is that this was only an issue of semantics.


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 Tom Chiverton
Sent: Monday, July 10, 2006 8:27 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] mx:HTTPService - relative url's - relative to
swf vs relative to html wrapper

On Monday 10 July 2006 16:05, Carson Hager wrote:
 All of the URLs we use point to a URL relative to the server root

Isn't that an absolute URL ?
:-)

--
Tom Chiverton



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

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

CONFIDENTIALITY

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

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



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

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



 




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

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

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

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

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





RE: [flexcoders] mx:HTTPService - relative url's - relative to swf vs relative to html wrapper

2006-07-10 Thread Carson Hager
No it isn't. An absolute URL specifies the host and the protocol.  What
I've been describing is a relative URL, just relative to the root.  I
think you're assuming that relative URLs are always relative to an inner
directory which is not the case.


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 Tom Chiverton
Sent: Monday, July 10, 2006 8:27 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] mx:HTTPService - relative url's - relative to
swf vs relative to html wrapper

On Monday 10 July 2006 16:05, Carson Hager wrote:
 All of the URLs we use point to a URL relative to the server root

Isn't that an absolute URL ?
:-)

--
Tom Chiverton



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

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

CONFIDENTIALITY

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

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



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

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



 




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

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

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

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

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





RE: [flexcoders] mx:HTTPService - relative url's - relative to swf vs relative to html wrapper

2006-07-10 Thread Carson Hager





This message managed to beat my first reply. This will make 
more sense when the other one finally hits.


Carson

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



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Carson 
HagerSent: Monday, July 10, 2006 8:52 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] mx:HTTPService - 
relative url's - relative to swf vs relative to html 
wrapper


The good news is that this was only an issue of 
semantics.CarsonCarson 
HagerCynergy Systems, Inc.http://www.cynergysystems.comEmail: 
carson.hager@cynergysystems.comOffice: 
866-CYNERGYMobile: 1.703.489.6466-Original Message-From: 
[EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
OnBehalf Of Tom ChivertonSent: Monday, July 10, 2006 8:27 AMTo: [EMAIL PROTECTED]ups.comSubject: 
Re: [flexcoders] mx:HTTPService - relative url's - relative toswf vs 
relative to html wrapperOn Monday 10 July 2006 16:05, Carson Hager 
wrote: All of the URLs we use point to a URL relative to the server 
rootIsn't that an absolute URL ?:-)--Tom 
ChivertonThis 
email is sent for and on behalf of Halliwells LLP.Halliwells LLP is a 
limited liability partnership registered in Englandand Wales under 
registered number OC307980 whose registered officeaddress is at St James's 
Court Brown Street Manchester M2 2JF. A listof members is available for 
inspection at the registered office. Anyreference to a partner in relation 
to Halliwells LLP means a member ofHalliwells LLP. Regulated by the Law 
Society.CONFIDENTIALITYThis email is intended only for the use 
of the addressee named above andmay be confidential or legally privileged. 
If you are not the addresseeyou must not read it and must not use any 
information contained in norcopy it nor inform any person other than 
Halliwells LLP or the addresseeof its existence or contents. If you have 
received this email in errorplease delete it and notify Halliwells LLP IT 
Department on 0870 3658008.For more information about Halliwells LLP 
visit www.halliwells.com. Yahoo! 
Groups Sponsor ~--Check out the new 
improvements in Yahoo! Groups email.http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM--~- 
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
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] mx:HTTPService - relative url's - relative to swf vs relative to html wrapper

2006-07-10 Thread Tracy Spratt












We are not helping with the problem yet.



I do not know of a way to change the way
the url resolves. Since the location of the swf presumably does not
change, you could pass the necessary url into the Flex app using flashvars in
the wrapper. Then, in the Flex app, you could use the passed in url as
the base address and concatenate on the http service relative url.



Actually, I can see myself facing this
issue soon. If I get time, I will try to do an example.



Tracy











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Carson Hager
Sent: Friday, July 07, 2006 11:36
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
mx:HTTPService - relative url's - relative to swf vs relative to html wrapper











Always here is pretty strong. The only time I could
see this is for
something like a publicly available web service like a FedEx tracking
request - (1) read only so no damage done in dev and (2) not under your
direct control so you don't have a choice. If you have any kind of dev
vs. prod environment for your own developed web services ( hopefully
you do ), you're then looking at changing your code each time you go to
production. I could also see a case where you know your web services
will be on a separate box from your web server requiring a fully
qualified but then I would hope that the rootURL property was in use and
set somewhere. My point here is that I don't agree with the always
notion. I see too many cases where relative URLs are very helpful.

Carson



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

Email: carson.hager@cynergysystems.com
Office: 866-CYNERGY
Mobile:
1.703.489.6466

-Original Message-
From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
Behalf Of Tom Chiverton
Sent: Friday, July 07, 2006 2:36 AM
To: [EMAIL PROTECTED]ups.com
Subject: Re: [flexcoders] mx:HTTPService - relative url's - relative to
swf vs relative to html wrapper

On Thursday 06 July 2006 14:57, dehemke wrote:
 Is there a way to force relative urls to resolve based on the swf 
 location instead of the html wrapper location?

Web service URLs should always be absolute.

--
Tom Chiverton



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

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

CONFIDENTIALITY

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

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

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


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






__._,_.___





--
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] mx:HTTPService - relative url's - relative to swf vs relative to html wrapper

2006-07-07 Thread Tom Chiverton
On Thursday 06 July 2006 14:57, dehemke wrote:
 Is there a way to force relative urls to resolve based on the swf
 location instead of the html wrapper location?

Web service URLs should always be absolute.

-- 
Tom Chiverton



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

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

CONFIDENTIALITY

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

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



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

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

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

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

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




RE: [flexcoders] mx:HTTPService - relative url's - relative to swf vs relative to html wrapper

2006-07-07 Thread Carson Hager
Always here is pretty strong.  The only time I could see this is for
something like a publicly available web service like a FedEx tracking
request - (1) read only so no damage done in dev and (2) not under your
direct control so you don't have a choice. If you have any kind of dev
vs. prod environment for your own developed web services (  hopefully
you do ), you're then looking at changing your code each time you go to
production. I could also see a case where you know your web services
will be on a separate box from your web server requiring a fully
qualified but then I would hope that the rootURL property was in use and
set somewhere. My point here is that I don't agree with the always
notion. I see too many cases where relative URLs are very helpful.


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 Tom Chiverton
Sent: Friday, July 07, 2006 2:36 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] mx:HTTPService - relative url's - relative to
swf vs relative to html wrapper

On Thursday 06 July 2006 14:57, dehemke wrote:
 Is there a way to force relative urls to resolve based on the swf 
 location instead of the html wrapper location?

Web service URLs should always be absolute.

--
Tom Chiverton



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

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

CONFIDENTIALITY

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

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



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

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



 




--
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:HTTPService - relative url's - relative to swf vs relative to html wrapper

2006-07-06 Thread dehemke
I'm new to Flex development.

The problem I'm having is resolving relative urls within the swf,
specificly in HTTPService calls.

The url in the HTTPService for a html wrapped swf resolves from the
html wrapper location, this causes a problem as the swf might be
called from multiple html wrappers in different locations.

Is there a way to force relative urls to resolve based on the swf
location instead of the html wrapper location?

Dave Hemke
[EMAIL PROTECTED]






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

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

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

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

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