|
FREE!
ProFX+
Map
Flash
Component
ProFX
MP Map is a Macromedia Flash MX SWF tool. It provides a method of
filling colors in the districts of the State of Madhya Pradesh in
a very attractive and animated fashion. The color to be filled in
a district region, can be any one of five pre-defined colors. It also
provides facility of five legends, and a title of the Map which can
be again defined by the user.
The
data is provided to the ProFX MP Map as normal mime type
request which is mostly used in .ASP files i.e. example.asp?name=Moon.
Here also the SWF is followed by a '?' and then 'Data=' word which
is followed by the data. The data supplied to the map must be a
string of seven fields, each one is separated by a comma ','. The
first field is a string of 45 single digit numbers, each represents
a color code for a district. The second field is the title of the
Map followed by five more fields each separated by a comma representing
five legends.
Following are the color codes and district order in which the data is interpreted by the ProFX MP Map:
District Sequence |
Color Codes (RGB) |
Badwani, Balaghat, Betul Bhind, Bhopal, Chhatarpur Chhindwara, Damoh, Datia Dewas, Dhar, Dindori
Guna, Gwalior, Harda Hoshangabad, Indore, Jabalpur Jhabua, Katni, Khandwa Khargone, Mandla, Mandsaur Morena, Narsinghpur, Neemuch Panna, Raisen, Rajgarh Ratlam, Rewa, Sagar
Satna, Sehore, Seoni Shahdol, Shajapur, Sheopur Shivpuri, Sidhi, Tikamgarh Ujjain, Umaria, Vidisha
|
1 - Green (0,144,0) 2 - Red (224,96,0) 3 - Blue (0,96,192) 4 - Orange (255,176,16) 5 - Purple (192,96,255)
|
The following is used to generate above map (look at the parameter passed to
ProFXMPMap.swf file) |
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash6/cabs/swflash.cab#version=6,0,0,0" id="movie_6" width=600 height=400> <param name=movie
value="ProFXMPMap.swf?Data=123451234512345123451234512345123451234512345,tula[;k o`f) nj,0 ls 9 izfr'kr,10 ls 19 izfr'kr,20 ls 29 izfr'kr,30 ls 39 izfr'kr,40 ls vf/kd">
<param name=quality value=high> <param name=bgcolor value=#FFFFFF> <param name=wmode value=window> <embed src="ProFXMPMap.swf" quality=high bgcolor=#FFFFFF
width=600 height=400 wmode=window type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"> </embed> |
To display the title and the legends on a client computer correctly, a devanagari font
"DevLys010" must be installed on that computer. You can place a link some where on web page which allow the user to download the font. For more details on how to use ProFX
MP Map, go through the code of this HTML file. For further information please contact Mahesh Joshi (mahesh_jo@hotmail.com).
|