alert This appears to be a flash file, you cannot see a preview because flash player is no longer supoorted in browsers, but you can still download the file to study it's source code.
You can open/play the swf file with Flash Player exe
user Ntwobike
Ntwobike (1)

Flash World Map with XML

This world map i done for one of my project.i searched some free worldmap before i done it but i couldnt find so i made this myself now u can find at least 1 free worldmap from ffiles.com. Data came from XML file .cherrs..!
3330 downloads, 27631 views

world worldmap map allcountries countrymap worldmap xml xmlworldmap worldmapxml


Download (893.35 KB)

Comments

You need to login to post a comment.

user youmina
youmina 10 years ago

i don't like it pffff u made a verry big big big mistake grrrrrrrrrrrrrr

user Ntwobike
the listing author Ntwobike 12 years ago

kapil-sipl: it is because of outline issue, when i create this i put only alpha effect so at that time it was not big issue for me.with ur requirement u have to put outline in each country. i think i already gave the idea how to add animation instead of alpha, if u want to add a shadow use filters : help.adobe.com/en_US/ActionScript/3.0_Pr ogrammingAS3/WS5b3ccc516d4fbf351e63e3d11 8a9b90204-7da9.html
and if u want to clear the filter make empty filter array
boxShadow.filters =[];

and i have used caurina tweener library for animation please refer this :http://hosted.zeh.com.br/tweener/docs/e n-us/
, try ur best and make a another version of worldmap!

user kapil-sipl
kapil-sipl 12 years ago

we can add drop shadow as well scale animation smooth, rt now its jerky, what do you think?

user kapil-sipl
kapil-sipl 12 years ago

Great!!!,
As my always comment for you "You Are Always a Great Guy", excellent!!!!, also i will try to make some effect(not as like you) but small, pls send your id then i will share my work with you afterward. also we can also add effect like the link which i have sent to you before.
Thanks a lot :)

user Ntwobike
the listing author Ntwobike 12 years ago

kapil-sipl: i made some modification so please download and check i added small effect as zoom in zoom out.

user kapil-sipl
kapil-sipl 12 years ago

Hi,
I have solved the URL issue, is there any solution to add hover effect like below link which i hve sent you, still waiting for your valuable reply.

user kapil-sipl
kapil-sipl 12 years ago

Ntwoboke, first of all i would like to say thanks for help, i am still facing some issue after putting the code, pls have a look-

Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.

also can we add any hover effect like below link if possible?

fla-shop.com/

Thanks in advance

user Ntwobike
the listing author Ntwobike 12 years ago

@kapil-sipl: sorry for the delay, yeah it is very easy.
1.u have to put empty moviclip inside of both two containers and giv same name like ex: imgCont.

2. put extra element for image source then it looks like this
<country>
<cname>Argentina</cname>
<dtime> 7-8 Days </dtime>
<cost> 20 Euro </cost>
<store> Currently no </store>
<freedelivery> Free delivery over 100 Euro</freedelivery>
<link>www.google.com</link>
<imgsource>image1.jpg</imgsource>
</country>
3. Then read <imgsource> element in actionscript(Frame5, Layer 31, after line 229, inside of onMove function) put this code(create a variable for store the path of the image ex: imgPath)

//(create a folder called "images" and add images into it)
imgPath= "images/ "+array[int(e.target.name.substr(3))].im gsource;

var myLoader:Loader = new Loader();
myLoader.contentLoaderInfo.addEventList ener(Event.COMPLETE, onLoaderReady);

var fileRequest:URLRequest = new URLRequest(imgPath);
myLoader.load(fileRequest);

public function onLoaderReady(e:Event) {
cont.imgCont.addChild(myLoader);
}
4. Now it should be work.

user kapil-sipl
kapil-sipl 12 years ago

Any Suggestion?

user kapil-sipl
kapil-sipl 12 years ago

Hello Ntwobike,
thanks for prompt reply, actually i want to add images with text which comes from xml, like rt now only description is coming in cloud tip(cname,dtime,costetc) now i want to use image with content.
hope i am clear now.
Thanks in Advance :)

user Ntwobike
the listing author Ntwobike 12 years ago

@kapil-sipl: where u want to add images..?i mean clearly tell your idea then i will suggest.

user kapil-sipl
kapil-sipl 12 years ago

Hi,
how can i add images, pls suggest.

Thanks in Advance.

user Ntwobike
the listing author Ntwobike 12 years ago

@ cslamsg: i added Singapore mate but im not sure u can see it :) it is very tiny.ok dude i will try about magnifier glass.thnks for comments cheers..!

@ craven: i added Cost and Store in to this.Check it.if u want to show rest u have to add textfields ofr each item into text containers(two containers located in below of the stage one for left side and one for right side).
u should assign text from Code check Layer 31,Frame 5 open script and see line 226 to 229. if u need further info let me know

user drvosjeca
drvosjeca 12 years ago

could you please send me working file to my email: [email protected]

thanks

user Ntwobike
the listing author Ntwobike 12 years ago

@drvosjeca:it cant be mate this file version is cs4.anyway i will again upload this in CS4.if u get problem again let me know.

user drvosjeca
drvosjeca 12 years ago

can you tell me what is wrong with this file, i get unexpected when try to open it in flashcs4

user cslamsg
cslamsg 13 years ago

Hello, you left out SIngapore...good if you have a magnifier glass...nice...

user craven
craven 13 years ago

hello again
i meant that,display only the country and 7-8 days,i can change those through xml, but i want to see others lines too (<cost> <store> <freedelivery> <link>)

user Ntwobike
the listing author Ntwobike 13 years ago

@craven : i didnt get you..?

user craven
craven 13 years ago

hey nice work!!!
i can only see <cname>&<dtime>lines from xml, what should i do to see the other too,how to increase the max number of letters
thanx

user Himanshu.chuphal
Himanshu.chuphal 13 years ago

nice wrk..!! thnx..

user narmada
narmada 13 years ago

Good work... :D

user morphiouse
morphiouse 13 years ago

The united kingdom really should be broken down into england scotland and wales. the peoples of all three concider themselves this way.

user onook
onook 13 years ago

Good

user esko
esko 13 years ago

Thanks Ntwobike!

user mustu9980
mustu9980 13 years ago

What the......This is just so fantastic.... Good work dude

user bullyjosh
bullyjosh 13 years ago

Ugh. Some clients are idiots - sorry man, thanks for the share.

user Ntwobike
the listing author Ntwobike 13 years ago

@bullyjosh: yep dude i knw about that API but some clients are request specifically "dnt use google map" :D that is y i made it.
@esko :
in Layer 31(in worldmap layer folder)
Frame no : 5 Select action panel
line NUmber : 225
it like "cont.txtDtime.text =
"Text from XML : "+array[int(e.target.name.substr(3))].dt ime;"

user milwaukee_14
milwaukee_14 13 years ago

thanks

user jitu50
jitu50 13 years ago

This is cool

user esko
esko 13 years ago

How do I edit the following "Text from XML" -? It must be somewhere in the fla, but I cant find it. Where is it?

user bullyjosh
bullyjosh 14 years ago

Seems to me that you didn't look very hard if you didn't find anything. Google has an Actionscript 3.0 API published, and it's been around for a long time: code.google.com/apis/maps/documentation/ flash/

user thedidi
thedidi 14 years ago

THANK'S :)

user dmj
dmj 14 years ago

nice work

user Ntwobike
the listing author Ntwobike 14 years ago

@thedidi : sry dude i uploaded cs4 version nw u can open it :)

user thedidi
thedidi 14 years ago

thank's....but I can't open the .FLA... do you have a solution ? I have Flash CS4... thank's

user sr.alex
sr.alex 14 years ago

@Ntwobike, you can do something more on click.
Maybe you can make all lighter but the country you clicked, and show a list of the cities of that country.

If you do it, it should be perfect for dealers contacts !

user MarrkoVZ
MarrkoVZ 14 years ago

That is CROATIA, not Italy!!!

user gotDESIGN
gotDESIGN 14 years ago

Nice! Suggestion: Division border line should be more thin... way too thick, some countries almost disappear...

user elobello
elobello 14 years ago

You need to check your spelling of many countries.

user Ntwobike
the listing author Ntwobike 14 years ago

any suggestions..?

user Ntwobike
the listing author Ntwobike 14 years ago

what kind of expand..?

user sr.alex
sr.alex 14 years ago

:) nice work, i agree with bhoraki: try something more (expand this).

user bhoraki
bhoraki 14 years ago

good try more..

user JRB
JRB 14 years ago

OKaayyy, no problemo.
:-)

user Ntwobike
the listing author Ntwobike 14 years ago

@JRB : he dude it is very hard job get each country and cut it on real border :D, Some times some small parts will be change i can assure 95% is correct some small part will be missed.it can modify by your self..:D

user JRB
JRB 14 years ago

Corse is part of France, not part of Italia
;-)

user Ntwobike
the listing author Ntwobike 14 years ago

please put a comment..!