amMap support forum

You are not logged in.

Announcement

FORUM CLOSED! This forum is closed. We moved to a new place at Zendesk. Update your bookmarks.

Flash amMap: Your implementations


#1 2011-04-08 15:04:10

danichoux
New member

Implementation in Excel with VBA

Hi everyone,
First of all, I would like to congratulate you for you awesome job !
I try to use the amMap in Excel in order to show data from pivot tables... I will spare you the details but I succeed in this task by modifying XML data and reloading the movie.
But I discovered in Help section on "Javascript" that there is function to reload data without having to reload the complete movie file.
I had made some search and found something about a function named CALLFUNCTION which is available in the Flash activex.

But it's the reason of my post: I don't know how to call your function from VB.
Here is an example of what it have to look if I follow the advises of other programmers on the web.

FLASH1.CallFunction( "<invoke name="NAME OF THE FUNCTION" returntype="xml"><arguments><string>hello world</string></arguments></invoke>" );

Thank in advance for your help, and have a nice day.

Dan

Offline

 

#2 2011-04-11 09:58:29

danichoux
New member

Re: Implementation in Excel with VBA

Moreover, Is there a way to reload data if the map is not online but on my desktop ?

Offline

 

#3 2011-04-12 01:14:44

qemm
Administrator

Re: Implementation in Excel with VBA

I'm sorry but nobody on amMap team has any experience with using Flash in VB. I'm afraid we cannot help you there.

Offline

 

#4 2011-04-12 09:14:32

danichoux
New member

Re: Implementation in Excel with VBA

thank you for your answer. Then I try to do this with a local web page. But, as you say it in the "javascript" part of the "Support section", "Javascript controls will only work once you have uploaded the files to your web server - they will not work if you are viewing the map on your hard drive.".
I just would like to know if there is another way to update data manually when the web page is on my hard drive.

ps: I can't use auto-update because it updates as if data have not change.

Dan

Offline

 

#5 2011-04-13 04:36:54

qemm
Administrator

Re: Implementation in Excel with VBA

Well, you can have JavaScript that reinitializes whole amMap object anew.

Offline

 

© amMap & amCharts | Forum engine: PunBB