ActiveDen

Advanced XML Map of USA

  • Has been a member for 3-4 years
  • Won a Competition
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Tutorial to a Tuts+ Site
  • Community Superstar
  • Beta Tester
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 10 and 49 items
  • United States
  • Referred between 1 and 9 users
DaniMun says

great functionality, SF! Good job ;)

3 years ago
  • Has been a member for 4-5 years
  • Bought between 1 and 9 items
  • United States
  • Referred between 1 and 9 users
Maxik says

Otlichno!

3 years ago
Author
SparkyFlash SparkyFlash replied

Spasibo :)

3 years ago
  • Has been a member for 3-4 years
  • Exclusive Author
  • Sold between 100 and 1 000 dollars
  • Bought between 1 and 9 items
  • United States
new says

The real question is.. can i put this map into the same map say, have California have this map inside of it. IS that possible? And i don’t mean the tooltip, i want the miniaturized version of this map inside California. Possible?

3 years ago
Author
SparkyFlash SparkyFlash replied

Its possible but requires some work. You can contact me with the details and I’ll do my best to help you.

3 years ago
  • Has been a member for 2-3 years
  • Bought between 1 and 9 items
n8levine says
Purchased

Very impressive AS3 code with a lot of flexibility. Documentation is excellent, both within the code and the extensive PDF file. SparkyFlash is easy to reach (and very helpful) if you have questions.

THANKS SPARKYFLASH !

2 years ago
Author
SparkyFlash SparkyFlash replied

You’re welcome, Nathaniel! Thank you for being our customer!

Sincerely, Sparky

2 years ago
  • Has been a member for 2-3 years
  • Bought between 1 and 9 items
objectred says
Purchased

Hi, I just bought this file & I’m excited to use it—looks very well made.

Can you please tell me how to point to an alternate XML file? I’d like to point it to a PHP file that will parse as XML . Hopefully it’ll accept that. If not, I’d still like to change the XML file location anyway.

Thanks!

2 years ago
  • Has been a member for 2-3 years
  • Bought between 1 and 9 items
objectred says
Purchased

Oh, nevermind my question above. For those that want to know, you can change the XML location in the file: /com/sparkyflash/interactiveMap/XMLFile.as on line 57.

Once you change it, be sure to re-export your .swf file, so it includes the new file path.

If you set it to PHP , make sure your PHP file begins with:
<?php header("Content-Type:text/xml"); ?>
<?= '<?xml version="1.0" encoding="utf-8"?>'; ?>

Then you can parse php throughout the XML file. I’m using this to query a database for aggregate statistics for all 50 states, then plug that dynamic info into the rollovers, as well as color-coding each of the states according to numeric ranges for the statistical data for each.

2 years ago
Author
SparkyFlash SparkyFlash replied

Thank you for the purchase! And thanks for helping out others too! Its great having so erudite customers :)

Have a great day!

Sincerely, Sparky

2 years ago
  • Has been a member for 2-3 years
  • Bought between 1 and 9 items
objectred says
Purchased

SparkyFlash, I’m just about done with the database application mentioned, but I have two questions:

1) How can I add a border to the states? I have several states that are the same color lying next to each other, and with no border, it looks like one giant contiguous shape. If you could just send me a line or two of AS code, I’ll add it in (I’m a PHP coder, and am unfamiliar with ActionScript).

2) Wyoming seems to not load its “rollout” (default) color. If you set a color for Wyoming, the color will not appear (as all the other states) until you have hovered over, and then off the state. I assume it’s something to do with line 85 in Main.as, because when I alter that, I get varying similar results, and because Wyoming is the final state in the array, it seems as though the loop is stopping short of changing that final item.

Thanks for any help!

2 years ago
Author
SparkyFlash SparkyFlash replied

Hello Objectred!

1) You need to open FLA file to add a border to states. There’s a border already under the states, all you need to do is to select it and add some more width to it to be visible. If you need any help with it, feel free to drop me an email.

2) You’re right, change the the array.length-1 to array.length on line 85. Remove the 86 line altogether and change it to http://pastie.org/947947 (look for code inside).

Its was a bug, thank you for finding it! I will make sure to update the file as soon as possible. If you have any questions, feel free to ask!

Sincerely, Sparky

2 years ago

by
by
by
by
by