<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=ISO-8859-1 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18854"></HEAD>
<BODY bgColor=#ffffff text=#000000>
<DIV><FONT face=Arial>Bob, P Kishor, and Dan Little,</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>Thanks for the responses.</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>After reading the article at blooberry.com, it looks like 
other stuff needs to be fixed also.</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>Is there some other means of accessing the 
mapserver?&nbsp; some of the documentation seemed&nbsp;to indicate that I should 
be generating a request in some kind of XML request.</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>I'd sure like to know if anyone is using Flash to actually 
access a mapserver.</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>Sincerely,</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>Ken</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE 
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px" 
dir=ltr>
  <DIV 
  style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> 
  <A title=bob.b@gritechnologies.com href="mailto:bob.b@gritechnologies.com">Bob 
  Basques</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=ets1@runestone.net 
  href="mailto:ets1@runestone.net">Ken S. Elvehjem</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, December 19, 2009 8:26 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [mapserver-users] Accessing 
  mapserver from Flash Script</DIV>
  <DIV><BR></DIV>Ken, <BR><BR>You could try to enocde the entire URL from stage 
  one.&nbsp; Read more here:<BR><BR><A class=moz-txt-link-freetext 
  href="http://www.blooberry.com/indexdot/html/topics/urlencoding.htm">http://www.blooberry.com/indexdot/html/topics/urlencoding.htm</A><BR><BR>Using 
  the converter near the bottom of the page, your URL goes from :<BR><BR><FONT 
  size=2 face=Arial><SPAN style="MARGIN: 0.5em 0pt 0pt -15px" 
  class=ul-threaded><SPAN class=connect post-id="4193425"><SPAN id=li4193425 
  class=li-threaded><SPAN class=threaded><SPAN class=post-middle><SPAN 
  style="DISPLAY: block" id=post4193425 
  jsurl="/forum/ThreadTree$ViewPostJs.jtp?post=4193425&amp;user=378907&amp;maybePending=true"><A 
  href="http://mapserver.soilsampling.com/cgi-bin/mapserv.exe?map=c:" 
  rel=nofollow target=_top 
  moz-do-not-send="true">http://mapserver.soilsampling.com/cgi-bin/mapserv.exe?map=c:</A>\ms4w\Apache\htdocs\ND\ND_griggs-wms.map&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetMap&amp;LAYERS=NAIP2006&amp;STYLES=&amp;SRS=EPSG:4269&amp;BBOX=554649,5245688,557949,5248988&amp;WIDTH=1650&amp;HEIGHT=1650&amp;FORMAT=image/jpeg 
  <BR><BR>to<BR><BR><TT><A class=moz-txt-link-freetext 
  href="http://mapserver.soilsampling.com/cgi-bin/mapserv.exe?map=c:%5Cms4w%5CApache%5Chtdocs%5CND%5CND_griggs-wms.map&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetMap&amp;LAYERS=NAIP2006&amp;STYLES=&amp;SRS=EPSG:4269&amp;BBOX=554649%2C5245688%2C557949%2C5248988&amp;WIDTH=1650&amp;HEIGHT=1650&amp;FORMAT=image/jpeg">http://mapserver.soilsampling.com/cgi-bin/mapserv.exe?map=c:%5Cms4w%5CApache%5Chtdocs%5CND%5CND_griggs-wms.map&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetMap&amp;LAYERS=NAIP2006&amp;STYLES=&amp;SRS=EPSG:4269&amp;BBOX=554649%2C5245688%2C557949%2C5248988&amp;WIDTH=1650&amp;HEIGHT=1650&amp;FORMAT=image/jpeg</A></TT><BR></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></FONT><BR>You 
  can even escape the "&amp;" characters if needed using the same 
  syntax.<BR><BR>bobb<BR><BR><BR>Ken S. Elvehjem wrote: 
  <BLOCKQUOTE cite=mid:4E0F9193A97D4F19B80A99510C1B6305@ibmfree type="cite">
    <META name=GENERATOR content="MSHTML 8.00.6001.18854">
    <STYLE></STYLE>

    <DIV><FONT size=2 face=Arial><SPAN style="MARGIN: 0.5em 0pt 0pt -15px" 
    class=ul-threaded><SPAN class=connect post-id="4193425"><SPAN id=li4193425 
    class=li-threaded><SPAN class=threaded><SPAN class=post-middle><SPAN 
    style="DISPLAY: block" id=post4193425 
    jsurl="/forum/ThreadTree$ViewPostJs.jtp?post=4193425&amp;user=378907&amp;maybePending=true"><BR>Hi, 
    <BR><BR>I have set up a Mapserver which serves up aerial photography. 
    &nbsp;Works better than "just great!" <BR><BR>Now, I'm trying to write some 
    web/flash based software using the OpenLaszlo software. &nbsp;This product 
    allows me to write a "script" in a kind of XML, which then gets compiled to 
    a Flash .swf file. <BR><BR>With this tool, I can set an image(JPEG) on my 
    page from anywhere on the web, simply by using the correct URL. 
    &nbsp;However, I cannot understand how to create the URL to get a JPG file 
    from the mapserver. &nbsp;The troubleshooting data suggests that the problem 
    is with an "unescaped ampersand (&amp;) ... is there a way to escape this 
    escape madness? &nbsp; <BR><BR>URL: <BR><BR><A 
    href="http://mapserver.soilsampling.com/cgi-bin/mapserv.exe?map=c:" 
    rel=nofollow target=_top 
    moz-do-not-send="true">http://mapserver.soilsampling.com/cgi-bin/mapserv.exe?map=c:</A>\ms4w\Apache\htdocs\ND\ND_griggs-wms.map&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetMap&amp;LAYERS=NAIP2006&amp;STYLES=&amp;SRS=EPSG:4269&amp;BBOX=554649,5245688,557949,5248988&amp;WIDTH=1650&amp;HEIGHT=1650&amp;FORMAT=image/jpeg 
    <BR><BR>This URL is also problematic, tho it's not a "MapServer" url: 
    <BR><BR><A 
    href="http://cairo.gis.iastate.edu/server.cgi/Aerial.jpg?layer=naip_2007&amp;zoom=1&amp;X0=222375&amp;y0=4744771&amp;pwidth=858&amp;pheight=738&amp;format=jpg" 
    rel=nofollow target=_top 
    moz-do-not-send="true">http://cairo.gis.iastate.edu/server.cgi/Aerial.jpg?layer=naip_2007&amp;zoom=1&amp;X0=222375&amp;y0=4744771&amp;pwidth=858&amp;pheight=738&amp;format=jpg</A><BR><BR>Any 
    ideas would be greatly appreciated! <BR><BR>sincerely, <BR><BR>Ken S. 
    Elvehjem </SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></FONT></DIV>
    <DIV><FONT size=2 face=Arial>Ken S. Elvehjem<BR>PO Box 37<BR>Lowry MN&nbsp; 
    56349</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT size=2 face=Arial>320.283.5684<BR>320.424.1299 c<BR>320.283.5247 
    h</FONT></DIV><PRE wrap=""><HR SIZE=4 width="90%">
_______________________________________________
mapserver-users mailing list
<A class=moz-txt-link-abbreviated href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</A>
<A class=moz-txt-link-freetext href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</A>
  </PRE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>