[Mapserver-users] Flash Capabilities

Yewondwossen Assefa assefa at dmsolutions.ca
Tue Jun 17 13:30:35 EDT 2003


--------------060508020406030806010703
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

I could add something like SWFACTIONSCRIPT metadata (on the web object) 
which can be use at save time to add specific actions script codes to 
the main movie : In your case It would be:

 Web
     ...
    metadata
      "SWFACTIONSCRIPT" "#inclue ./action/map.as;stop"
      ...
    end

Would this be enough ?

Later,

 

Liangxu Wang wrote:

>Hi all,
>   I am trying mapserver with swf output format now. There are some trouble with learning flash's action script when I planning use swf format. 
>  When I load a map swf file from my main flash file,I can't do some change with the map swf file. so,if the map file generate 
>in the mapserver can dynamically load some specail action script from web server? for example, if exist "./action/map.as",the map swf file load it,just like this:
>         #inclue ./action/map.as;
>        stop;
>
>    Sorry for my poor english.
>wlx
>----- Original Message ----- 
>From: "Yewondwossen Assefa" <assefa at dmsolutions.ca>
>To: <woodbri at swoodbridge.com>
>Cc: <mapserver-users at lists.gis.umn.edu>
>Sent: Tuesday, June 17, 2003 12:41 AM
>Subject: Re: [Mapserver-users] Flash Capabilities
>
>
>  
>
>>Hi There,
>> Sorry for the late answer. I was out of the office since Friday.
>>
>>woodbri at swoodbridge.com wrote:
>>
>>    
>>
>>>Hi Flashy People,
>>>
>>>I read this over and plan to give it a try:
>>>http://www2.dmsolutions.ca/mapserver/dl/FlashMapserverUserDoc.html
>>> 
>>>
>>>      
>>>
>>  Most of the information is uptodate. Parts that needed updating :
>>   - Events and Highlights : the document described the initial 
>>proposition. It did not describe how It was currently implemented.  I 
>>have updated that part of the document to describe what currently exists.
>> 
>>
>>    
>>
>>>Is this document current or has more been done on this? 
>>>Do you have a priority wishlist?
>>>Who is the principal developer on this?
>>> 
>>>
>>>      
>>>
>> There is no real priority list right now. I guess It will depend on how 
>>things go when people use theis output more frequently.
>>
>> I would be the main developper of this although I have had contribution 
>>and suggestion from other developpers like Jan Hartmann.
>>
>>    
>>
>>>I wanted to animate a route, like have each successive segment 
>>>highlight after a short delay and then repeat. Is this possible? How 
>>>hard would it be to implement? I saw some comments in the doc above 
>>>about highlighing, but it seemed to imply that this was not done yet.
>>>I would probably have the route in its own layer if that makes a 
>>>difference.
>>> 
>>>
>>>      
>>>
>>  Hightlighting is implemented as noted above. Right now a second shape 
>>with the highlight color is drawn on top of the original shape when a 
>>mouse over happens on the shape.
>>  I am not sure how your case would be solved though. One possiblity 
>>would be to export for each element, it x,y coordinates (same way as the 
>>attributes are exported), and these coordinates would be accessible 
>>through Action Script. This idea was intially proposed for symbol layers 
>>to export the posisition of the symbols(x,y) and at the application  
>>level,  position flash symbols at these specific positions.  If there 
>>are other ideas, I would like to hear them.
>>
>>    
>>
>>>I think some people have posted links to their apps, but if anyone 
>>>can share what they have done, I would be willing to add it to the 
>>>Wiki page and add my experiences to it.
>>>
>>> 
>>>
>>>      
>>>
>>Later,
>>
>>-- 
>>----------------------------------------------------------------
>>Assefa Yewondwossen           
>>Software Analyst   
>>
>>Email: assefa at dmsolutions.ca    
>>http://www.dmsolutions.ca/
>>
>>Phone: (613) 565-5056 (ext 14)
>>Fax:   (613) 565-0925
>>----------------------------------------------------------------
>>
>>
>>
>>
>>
>>
>>
>>
>>    
>>
>
>
>  
>

-- 
----------------------------------------------------------------
Assefa Yewondwossen           
Software Analyst   

Email: assefa at dmsolutions.ca    
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------




--------------060508020406030806010703
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body>
I could add something like SWFACTIONSCRIPT metadata (on the web object) which
can be use at save time to add specific actions script codes to the main
movie : In your case It would be:<br>
<br>
&nbsp;Web<br>
&nbsp; &nbsp; &nbsp;...<br>
&nbsp; &nbsp; metadata<br>
&nbsp; &nbsp; &nbsp; "SWFACTIONSCRIPT" "#inclue ./action/map.as;stop"<br>
&nbsp; &nbsp; &nbsp; ...<br>
&nbsp; &nbsp; end<br>
<br>
Would this be enough ?<br>
<br>
Later,<br>
<br>
&nbsp;<br>
<br>
Liangxu Wang wrote:<br>
<blockquote type="cite" cite="mid00c901c33474$e299b240$f84dfea9 at gisedu">
  <pre wrap="">Hi all,
   I am trying mapserver with swf output format now. There are some trouble with learning flash's action script when I planning use swf format. 
  When I load a map swf file from my main flash file,I can't do some change with the map swf file. so,if the map file generate 
in the mapserver can dynamically load some specail action script from web server? for example, if exist "./action/map.as",the map swf file load it,just like this:
         #inclue ./action/map.as;
        stop;

    Sorry for my poor english.
wlx
----- Original Message ----- 
From: "Yewondwossen Assefa" <a class="moz-txt-link-rfc2396E" href="mailto:assefa at dmsolutions.ca">&lt;assefa at dmsolutions.ca&gt;</a>
To: <a class="moz-txt-link-rfc2396E" href="mailto:woodbri at swoodbridge.com">&lt;woodbri at swoodbridge.com&gt;</a>
Cc: <a class="moz-txt-link-rfc2396E" href="mailto:mapserver-users at lists.gis.umn.edu">&lt;mapserver-users at lists.gis.umn.edu&gt;</a>
Sent: Tuesday, June 17, 2003 12:41 AM
Subject: Re: [Mapserver-users] Flash Capabilities


  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi There,
 Sorry for the late answer. I was out of the office since Friday.

<a class="moz-txt-link-abbreviated" href="mailto:woodbri at swoodbridge.com">woodbri at swoodbridge.com</a> wrote:

    </pre>
    <blockquote type="cite">
      <pre wrap="">Hi Flashy People,

I read this over and plan to give it a try:
<a class="moz-txt-link-freetext" href="http://www2.dmsolutions.ca/mapserver/dl/FlashMapserverUserDoc.html">http://www2.dmsolutions.ca/mapserver/dl/FlashMapserverUserDoc.html</a>
 

      </pre>
    </blockquote>
    <pre wrap="">  Most of the information is uptodate. Parts that needed updating :
   - Events and Highlights : the document described the initial 
proposition. It did not describe how It was currently implemented.  I 
have updated that part of the document to describe what currently exists.
 

    </pre>
    <blockquote type="cite">
      <pre wrap="">Is this document current or has more been done on this? 
Do you have a priority wishlist?
Who is the principal developer on this?
 

      </pre>
    </blockquote>
    <pre wrap=""> There is no real priority list right now. I guess It will depend on how 
things go when people use theis output more frequently.

 I would be the main developper of this although I have had contribution 
and suggestion from other developpers like Jan Hartmann.

    </pre>
    <blockquote type="cite">
      <pre wrap="">I wanted to animate a route, like have each successive segment 
highlight after a short delay and then repeat. Is this possible? How 
hard would it be to implement? I saw some comments in the doc above 
about highlighing, but it seemed to imply that this was not done yet.
I would probably have the route in its own layer if that makes a 
difference.
 

      </pre>
    </blockquote>
    <pre wrap="">  Hightlighting is implemented as noted above. Right now a second shape 
with the highlight color is drawn on top of the original shape when a 
mouse over happens on the shape.
  I am not sure how your case would be solved though. One possiblity 
would be to export for each element, it x,y coordinates (same way as the 
attributes are exported), and these coordinates would be accessible 
through Action Script. This idea was intially proposed for symbol layers 
to export the posisition of the symbols(x,y) and at the application  
level,  position flash symbols at these specific positions.  If there 
are other ideas, I would like to hear them.

    </pre>
    <blockquote type="cite">
      <pre wrap="">I think some people have posted links to their apps, but if anyone 
can share what they have done, I would be willing to add it to the 
Wiki page and add my experiences to it.

 

      </pre>
    </blockquote>
    <pre wrap="">Later,

-- 
----------------------------------------------------------------
Assefa Yewondwossen           
Software Analyst   

Email: <a class="moz-txt-link-abbreviated" href="mailto:assefa at dmsolutions.ca">assefa at dmsolutions.ca</a>    
<a class="moz-txt-link-freetext" href="http://www.dmsolutions.ca/">http://www.dmsolutions.ca/</a>

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------








    </pre>
  </blockquote>
  <pre wrap=""><!---->

  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="$mailwrapcol">-- 
----------------------------------------------------------------
Assefa Yewondwossen           
Software Analyst   

Email: <a class="moz-txt-link-abbreviated" href="mailto:assefa at dmsolutions.ca">assefa at dmsolutions.ca</a>    
<a class="moz-txt-link-freetext" href="http://www.dmsolutions.ca/">http://www.dmsolutions.ca/</a>

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------

</pre>
<br>
</body>
</html>

--------------060508020406030806010703--





More information about the mapserver-users mailing list