ActionScript 2.0 :: XML Yahoo Maps API?
Feb 13, 2007im having a little trouble with the maps api, im trying to make is so that the map reads addresses from an xml file and updates it on the map
[Code]...
im having a little trouble with the maps api, im trying to make is so that the map reads addresses from an xml file and updates it on the map
[Code]...
In the past week it appears that Yahoo has changed their crossdomain file to only accept Yahoo domains [URL]This is causing my applications that use Yahoo Maps to stop working (i.e. security exception). I cannot proxy the calls to Yahoo because the URL is embedded in the MXP file that Yahoo distributes.
View 1 RepliesI am changing over one of my projects from google maps to yahoo maps and was wondering who out there has experience with the yahoo maps api. Below you will see the code i was using with the google maps api to create custom markers using a library item as that marker. The library asset has some variables that need to be defined as you will see in the first part of my for loop. and this function needs to clear all the previously created overlays, before the for loop is run.
[Code]...
My problem occurrs when I change the yahoo written example:
[AS]
import com.yahoo.maps.tools.PanTool;
import com.yahoo.maps.markers.CustomPOIMarker;
myMap.addEventListener("initialize", onInitMap);
function onInitMap(event:Object):Void {
var panToolanTool = new PanTool();
[Code] .....
Ive taken out the EventListener as it never picked up onInitMap() and displayed the map without it, maybe this is where the problem is? It even recognises the text if you put lots of text into the description, as in it make the bubble alot wider but just doesn't show the actual text.
I have a project that requires me to create interactive schematic maps for rail networks. Something along the lines of London's tube map (Not the tube map itself. Are there any flash libraries out there that can assist with this sort of thing?
View 1 RepliesI have created a site for my relative's garden. They have already registered there location and info with google maps and I have already installed the api in the site. I also, already have the map located on their location with an pin over it, but I was trying to figure out how to make the map pull the information that pops up when you click that pin. Do I need to create that myself or is there a way I can pull that from google? Here is a link to the site: [URL]
View 1 RepliesI creating a flash app that loads a RSS of a plublic map with a custom route path and draws lines from the coordinates on a Away3D Sphere.It works preety well when I'm testing locally, but when I publish online, the app can't load the RSS. I think Google Maps disable access from other domains.Does anyone knows another way to access this map RSS directly from google? Now to fix this, I'm hosting the RSS.
View 2 RepliesIs there an API to implement Yahoo chat in Flex? Or at least some calls?
View 3 RepliesI'm currently working on a Flash website project that uses Yahoo messenger.Can we put a Yahoo Messenger on a Flash Website?If just like a HTML website i know it can, but i don't know if we can use the YM like chat with me in a flash website..
View 1 RepliesI need some brilliant Flash experts to weight in on an article we wrote at the advertising agency I work for. We put an article together about the ability for Flash to be indexed by Google and Yahoo. It's a two sided debate between Search Engine Optimization (SEO) guys and Flash guys. SEO is killing Flash right now in the debate.[URL]
View 1 RepliesI'm able to format and display the text within my swf, however once its uploaded to the internet - the text either won't show up, or the flash player shows a security error "flash player is trying to communicate withI've tried to feed the data through to my own domain, but I'm not sure how to program for it. I've found php examples online, but I'm not sure how to implement them either. I need the stock quote price to display and update either once a day, or only when the swf loads. Currently I'm using the following code to retrieve the data (within flash):
fl_TextLoader:URLLoader = new URLLoader();
var fl_TextURLRequest:URLRequest = new URLRequest("http://finance.yahoo.com/d/quotes.csv?s=SNA.V&f=l1sd1");
[code].....
http:[url]....Is a 404 page. Does anyone know the location of the file?
View 1 RepliesI've been trying to build some GUI for a level editor using Yahoo's ASTRA Flash Components using the FlashDevelop IDE. After finally including all the "Global Classpaths", I managed to almost get it to compile apart from one Warning that causes the build to fail.
Code:
C:UsersJoshDesktopFruitBoxsrccomyahooastraflcontrolsMenu.as(720): col: 31 Warning: return value for function 'anonymous' has no type declaration.
This is apparently where the warning is triggered:
PHP Code:
// Activate the menu
//this.setFocus();
setFocus();
//set a timeout to fix an issue with accessibility events
var func:Function = function(){ dispatchEvent(new Event(Event.CHANGE))};
[Code] ......
how to call a feed from yahoo pipes into flash? here is the rss feed that yahoo says to reference to obtain the xml: [URL] whenever i try to call that, as if calling any other xml file, flash says the file cannot be opened.
View 2 RepliesI am trying to make a flash widget using yahoo weather API. Since it uses RSS I thought it was simples but I am stuck. I just don't know how to extract info inside this xml line:
<yweather:units temperature="C" distance="km" pressure="mb" speed="kph"/>
My complete code is:
var location_id:String='POXX0022';
var grades:String='c';
var url:String="[URL]"+location_id+"&u="+grades;
var xmlLoader:URLLoader = new URLLoader();
var xmlData:XML = new XML();
[Code] ......
I have made an web site and I put it on the ftp address on the web. The site is full flash. My question is how can I make it visible on google search, or yahoo? Is there a piece of code that I have to insert on the html file that wraps the flash swf?
View 3 RepliesI programming a calculator, I get data on Yahoo Finance ( URL... ), but sometimes I get this error "NaN".URL...[code]
View 1 RepliesI programming a calculator, I get data on Yahoo Finance ([URL]..but sometimes I get this error "NaN"
I need some orientation, You can download the file
[Code]...
Iam using Yahoo astra Tree Component . How to remove Tree Background colour .
View 1 RepliesI'm trying to use the Astra library from Yahoo but I'm getting an error saying the base class BaseScrollPane is not found. It appears to be imported from fl.containers.BaseScrollPane, which leads me to believe it should be a part of the base flash 10 library and therefore should be available, but it appears to be missing. Is this part of a separate package from somewhere?
Update: For what it's worth, I found the actual class files in the Configuration/Component Source folder on my hard drive, but adding that to the class path (as well as the Components directory) did no good. I ended up fixing the issue by dragging a scroll pane component to the stage from the Components window and then deleting it, but I'm not sure what exactly that action changed that made it work, and would like to know for future reference.
import email addresses, like it does on facebook where you can import your address book from yahoo / hotmail / gmail address books then you just select the appropriate email and the email is sent to them. I can figure out how to do the send to multiple emails via php but how would I import the address book?
View 1 RepliesSo yahoo astra has grate compohent for saving inputed data. They show examples of how to use it. But I had not found one capable to solve my current problem. For example user inputed his name. It is saved, but when he comes again he always needs to input at least first latter of his name. so I wonder - how to make Yahoo astra autocompletemanager component to pop up last inputed into it value on application creation complete?
[Code]...
I installed the yahoo webplayer to play mp3's on the html page. Works fine on the net. Playing local files, it is continuously buffereing and doesn't play. In DW live view, the css box in the right hand corner flashes as the flash screen operates. The flash screen moves at half speed. It appears that the webplayer is somehow interfering with the flash and vice versa. <p><a href="samples/song1-1.mp3">song1-1</a></p></td><td align="center" width="52">
View 2 RepliesIve finished working on a A.S 2 flash website and now need to add google maps to it. Currently Google maps only seem to support A.S 3.
View 1 RepliesIs there anyway not to use .swc from google maps for the flex application, as the application i want to develop will be accessible on mobile also.
View 2 RepliesI was wondering how MMO's such as AQworlds URL... handle maps on the stage.In my game there would be one static map per screen. The background does not move, only the player. The player can move on to the next screen by walking over arrows on the map.How would I go about storing the maps? Is it good practice to just keep each map screen as a separate object in Flash and just delete the map and make create a new map from the library when the player moves around? Should I load the maps externally? Or should I have one map object and keep each stage on a separate frame and just toggle between frames?I am not looking for code but concepts and ideas. This is my first try at making a multiplayer game and I am not sure of the "Best practices" of maps.
View 2 RepliesI'm in the process of making a tile-based 2D side-scrolling game, and I'm having trouble loading the maps. I'm planning on storing them all in XML files on my hard drive, then loading them in, parsing them into Arrays, and loading the tiles based on the Array. Here's part of the test XML file I'm using:
[Code]...
I have a website completly done with flash How can I add google maps to my contact page using AS2?
View 6 RepliesDoes anyone know if it's at all possible to embedd a google maps image that's created using code generated by google? The Image is interactive, the main reason to embedd in flash as apposed to a flat image.
<iframe width="300" height="300" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=Swansea,+U K&sll=37.0625,-95.677068&sspn=49.357162,79.013672&ie=UTF8&split=0&t=k& ll=51.620361,-3.946495&spn=0.063948,0.102997&z=12&iwloc=A&output=embed"></iframe><br /><small><a href="http://maps.google.com/maps?f=q&source=embed&hl=en&geocode=&q=Swansea, +UK&sll=37.0625,-95.677068&sspn=49.357162,79.013672&ie=UTF8&split=0&t= k&ll=51.620361,-3.946495&spn=0.063948,0.102997&z=12&iwloc=A" style="color:#0000FF;text-align:left">View Larger Map</a></small>
how I can make my flash map look as slick? I can make decent maps in flash but would like to make transparent windows, slick dropdowns, etc.
View 4 Replies