Ok, this is weird, it works within a mc, but not in your page :rolleyes:
Gonna keep looking
Printable View
Ok, this is weird, it works within a mc, but not in your page :rolleyes:
Gonna keep looking
Ok I got it !!
It needs to be published in Actionscript 2, as soon as I changed that, it was ok
:mrpimp: :mrt: :mrpimp:
It seems those templates start in Flash 6 AS 1
How do I publish it in actionscript 2? So are you saying that it won't work within Flash MX?
File > Publish Settings > Flash Tab > Choose AS 2 !!
Ok, I figured that much out. On that page, I specify a location in the yahoo map properties settings and also type in my ID. When I click on that page, I see the Yahoo logos on the bottom but there is still no map. That seems odd....
It worked for me: PM me with your email address and I'll send you the .fla
PM sent
I just sent the email
Looks awesome! One thing I noticed though, when I added the map widget (zoom and pan thing), the zooms wooks fine but when I use that to pan it does nothing. Why?
I think they do that on purpose, their zoom example doesn't pan either
Can you give me an example of the actionscript with both the navigation wizard and a place marker on the map? I can get one or the other to work, but not both at the same time. Thanks!
Let me edit my previous post. On the Yahoo! Maps Web Services Getting Started Guide, here is the actionscript for the place marker:
And here is the actionscript for the NavigatorWidget:Code:import com.yahoo.maps.tools.PanTool;
import com.yahoo.maps.markers.CustomPOIMarker;
myMap.addEventListener(com.yahoo.maps.api.flash.YahooMap.EVENT_INITIALIZE, onInitMap);
function onInitMap(eventData) {
var panTool = new PanTool();
myMap.addTool(panTool, true);
var address = "511 E. Mary Street, Austin, TX";
myMap.setCenterByAddress(address, 0);
var myMarker = {index:'Y!', title:'South Austin Texas', description:'South Austin Rocks!', markerColor:0x990099, strokeColor:0xFFFF00};
myMap.addMarkerByAddress(CustomPOIMarker, address, myMarker);
}
I can't seem to combine the two to work together. Can anyone help?Code:import com.yahoo.maps.tools.PanTool;
import com.yahoo.maps.widgets.NavigatorWidget;
myMap.addEventListener(com.yahoo.maps.api.flash.YahooMap.EVENT_INITIALIZE, onInitMap);
function onInitMap(eventData) {
var panTool = new PanTool();
myMap.addTool(panTool, true);
var navWidget = new NavigatorWidget("closed");
myMap.addWidget(navWidget);
}
Hey I found what a SWC file is:
http://www.macromedia.com/devnet/fle...k_load_08.html
hahaha...I was searching myself to get more on the Yahoo! Maps API commands/class
(sorry to bring up an older thread) but anyone got a GOOD link to the commands available to us for the YahooMaps API?
and update to Bens problem in case others read:. (Ben dont publish to Flash Player 6 but to 7 or 8 & AS 2.0) and it will work fine. ;)
What about something like this - www.fla-shop.com
Hi John D, Flashkit is not to be used as a product sales forum.
If you want to give away your product that is fine but do not post your website link to generate sales.
3P