![]() |
|
|
| Home | Resume | Qualifications | Applications | e-mail |
Downloads Sample 1 sample1.zip
|
|
Enter a city name of Europe:
Source for Macromedia Flash: sample1.zip
The flash application was quickly made with the map tools.
Inside the HTML page you need the following script. the find button will trigger this Javascript. This function then changes a variable inside the flash application.
<script>
<!--
function PassFlash(){
window.document.movie.SetVariable("city",mycity.value);
}
//-->
</script>
Inside the flash application I check every 200 miliseconds and see if the variable has changed, In case it changed I start searching for the city and execute the animation.