Flash :: Google Map Api In As3 - StyledMapType
Jan 11, 2012I having null reference exception when instantiating StyledMapType
[Code]...
I have been trying to find solution and problem for hours.
I having null reference exception when instantiating StyledMapType
[Code]...
I have been trying to find solution and problem for hours.
I wanted to put a search box in my flex app that would act just like google or google finance: you start typing and a drop down list just below starts filtering the results dynamically. Does anyone know how to do this in flex? I am using flex and php so as the user types it will pull results off the server dynamically.
View 1 RepliesI'm trying to set up Google maps in my Flash 8 site (Win 7) I've downloaded the SDK but not sure which folder I should be placing the map_1_18 file.Have tried placing under the Components folder but still can't see it when I open Flash and check the Components libary.
View 5 RepliesI want to get input ZIPCODE from user and want to get distance from my Location
> user enter zipcode (home town location )
> send data to google maps
> return of distance from user's location to my location
Is that possible?
I know its not possible to copy and paste the javascript code into Flash, because Flash won't do anything about it (or cause an error).But I do know the Google Adsense code generates an iFrame to show the ad. So I was thinking if I were to grab the iFrame source (the src attribute) and load that html page into Flash... maybe? So I guess my question would be is it possible to have Flash load an HTML page?I know there is MochiAds, but I would like to get a little bit more % of the $ :)
View 1 RepliesI want to get input ZIPCODE from userand want to get distance from my Location> user enter zipcode (home town location )> send data to google maps>return of distance from user's location to my location
View 3 Repliesmy flash file has different pages and on every page flip i want to track the hits using GoogleAd.. this is how i am trying to get it within flash:
Code:
onClipEvent (load) {
getURL("javascript:pageTracker._trackPageview('/filetrack/'+_root.currentPage.text+'.html');");
}
root.currentPage.text is the generated page number- but this does not seem to work- looks like within this getURL parameter i can not add any variables.. is there any other way to get the same result..
Is there any open source flash based spreadsheet application like google spreadsheets?
View 2 RepliesI am trying to create a flash banner add that utilizes the google maps flash api to display a store locator tool similar to this: [URL]
I have been given an extremely tight deadline and am basically clueless on how to get these technologies jiving;
Does 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>
I am studying land surveying and cartography and I am doing my final project. I am trying to make a google earth like map in Flash.I already have the map , in the form of swf files.
View 1 RepliesI am trying to push in the Google Analytics library into my As3 widget. I plan to use the EventTracking feature in addition to the regular HTML-like pageview tracking that it provides. I plan to use the library in As3 mode (not the Bridge mode) since the widget is embedded on a lot of external domains.
Using the SWC to add the component to my project adds about 50k in file size. And my widget in itself is a very painstakingly achieved 120kb. I cannot afford the 50k overhead and every KB trimmed takes me closer to actually using GA with my player.
I got the code down from [URL].. and am trying to figure out any libraries that I can weed out to save file size, yet retain core functionality.
I have a google site. I want to embed an SWF file but I am not able to do it. I am able to display images and videos but not SWF files.
View 1 RepliesI really like the dashboard line chart which is used in google analytic, Which charting solution they use, is it made by google, I can't find it in google charts.
View 4 RepliesIf I made a homepage with an embedded .swf which had buttons that linked to other html pages on my website using the getUrl() function, would those links be spiderable by google? Or should I also put in text links outside of the .swf (which would ruin the design a bit)?
View 2 RepliesI am using the google maps API with regular key (not premier).When connecting to my server with http, everything works fine, but when connecting with https i receive the following instead of map: initialization failed please check the API key swf location, version and network availability.Is that because it is not premier key? can I force the google maps API to use http instead of https so that I will receive the maps?
View 2 Repliesare there any Flash/Flex API for Google Earth like the Map API? i haven't seen an API in Google earth API official page. or is there any way to use all the features of its javascript API with actionscript/flex.
View 1 RepliesI want to color or increase the the size of the inland border lines, is that possible?
View 1 Replies(using flash) I have a Sprite object that I want to show on google map. So I made a GroundOverlay object using my Sprite object, but it doesn't show up. I guess it's because Sprite is higher class than DisplayObject. (GroundOverlay seems getting DisplayObject only..?) Is there any way to us Sprite for my GroundOverlay?
View 1 RepliesI've got an AS2 flash movie that I need to add Google Analytics tracking into. The only classes I can find are for AS3, do you know of any class method to track in AS2?
View 1 RepliesFrom what I can tell on the Google Fonts API, these fonts are meant to be accessible by JavaScript/CSS. Is there any way to dynamically load them for a Flash application without having to download them locally to the server?Update: So I've been piddling around with this some more, and the following are just some thoughts I had about how to go about it. None of them work, but I feel like they're on the right track. Just for future reference...When you choose a font to use in the Google API, you're provided with a link to a CSS stylesheet that's generated based on your preferences:[code]
I initially tried using just the href URL inside my <fx:Style source=.../>, but ActionScript rejected this (not sure if it was because it wasn't local, or it realized it didn't end in .css).After that failed, I copied the link into my browser and manually retrieved the CSS, pasting it inside <fx:Style> tags like you would with any other CSS. Again, ActionScript didn't like this because it couldn't locally locate the URL.I suspect some of these precautions are in place due to the whole 'security sandbox' bit that Flash enforces.
I have a Google map and I want to refresh or reload map from my code. How is it possible? I go through this link [URL] but there is nothing for refresh/reload map there.
View 1 RepliesDoes anyone know how to do google analytics in flash?
View 2 RepliesI would like to add Google Analytics to my flash file. The flash file is contained in a HTML file, which I already added the script provided by Google Analytics. At the moment, when a user visits my site, regardless which page is visited, only the homepage is counted.What as3 do I add to the flash file to keep track of each page that is being visited? I've tried a few codes provide on Google Analytics page and other tutorials, but none worked. The as3 for the menu buttons is displayed below.[code]
View 4 RepliesI design and build primarily full screen flash pages using AS2, and making my segway to AS3. I know that as of last year google can now crawl through SWF files, but I was wondering if anyone out there can offer some of the best ways to make a Fullpage Flash site work in conjunction with Google. I get this question a lot from my customers.
View 1 RepliesI'm trying to integrate the Google Map Api into my flash site. Ive managed to display the map, but there is no marker, also, my map flashes frantically and wont stay stable. This is the AS im using.
Code: Select allimport com.google.maps.*;
import com.google.maps.overlays.*;
import com.google.maps.controls.*;
var map:Map = new Map();
map.key = "ABQIAAAAVa81BaFuAYp7h1sySsII5xSoR_2O1uVIgKyXCqNwBvI_ph4EiRStHK79ILIE2AoBfDjHAk1cTe5htg";
map.setSize(new Point(550,450));
[Code]...
My starting point here is Kirupa's wonderful tutorial on how to integrate an Atomz search with your flash site:I'm interested in doing the same thing, only with Google (referncing an AdSense account to run a SiteSearch). A quick search online brings up a lot of very technical looking material involving the Google API, which is frankly beyond my abilities at the moment. Does anyone have any tips for how the original tutorial could be modified for GoogleMy reasons for wanting to use Google instead of Atomz: 1) no 'competitive ad filter', so my vistors are potentially being redirected to the competition every time they run a search and 2) AdSense pays.
View 10 Replieshow close to a google maps like interface can be created in flash. Could this be a new opensource project?What the project needs:
-Be customizable via xml (load any map you want zooming options etc)
-Load maps dynamicaly acording to zoom level
-Easy to scale (this way it can be viewed in regular compters as well as mobile devices)
-Easy to plot points and save to db or xml file
-As you drag map to one side it would load map images to fill empty space created.
is it possible to do google adsense in flash
View 4 Replieshow do I get a location that I want in the API? Is this another piece of code I need to define in the API or actionscript.
View 2 Replies