Map in Flash

I have asked some Flash designer to make for me a kind od
map, on which some city names are placed. These names are put from
a databse (MySQL).
The application is working but some corrections are needed.
Unfortunately I cannot ask my Friend to complete it because he got
some lucrative job, which makes him extremely busy.
I m looking for someone, which can complete this work.
I suppose that few hours of job are needed to coplete the
job.
If someone is interested then I will be glad to introduce
details.
regards
Marek Staniewski

Okay, that really wasn't what I was looking for... But I did
go back and RTM :-)
Here's what I have... 1st frame:
2nd Layer: movieclip with the instance name "currentPicture"
The image loads into "currentPicture" from the URL given in
the XML "a_zone" node attribute "image" just fine....
But I'm not able to grab the attributes of each "Gatherable"
node it seems... am I missing something or just not pointing to the
right node?
I keep getting:
undefined
undefined
undefined
Error opening URL
"file:///C|/apache2triad/htdocs/gatherer/flash/undefined"
Error opening URL
"file:///C|/apache2triad/htdocs/gatherer/flash/undefined"
Error opening URL
"file:///C|/apache2triad/htdocs/gatherer/flash/undefined"

Similar Messages

  • Google Map in Flash

    Hi friends,
    I am trying to put a google map into my flash website or
    aplication. If someone can help me, it will be helpful to me to
    finish my project, i got struct up.. pls...
    i want to insert some particular place maps in flash
    application. like while click on contact location, i want to show
    my flash application map. or embed in my web page.
    Thanks in advance,
    Rahimhaji

    Hello, did you have any success getting google maps in Flash.
    the google maps api exist now, I am having problems positioning the
    map on specific co-ordinates on my stage - any ideas?
    Richard

  • Google Maps in Flash

    Hi, I've been researching embedding google maps in Flash and have followed the Google Maps API developers guide (after downlaoding and installing the SDK and generating a key).  I'm currently using the foloowing code,m but it doesnt seem to work I'm not even seeing the map, and Im getting errors relating to the controls elements I've added.  Can anyone help?
    import com.google.maps.LatLng;
    import com.google.maps.Map;
    import com.google.maps.MapEvent;
    import com.google.maps.MapType;
    import com.google.maps.Controls;
    var map:Map = new Map();
    map.key = "ABQIAAAAdrPixq2HTFFowI9qjk74wxRIyoY1_2mmZno9JS0jJW-gT85BPRRotnr4suVY_4iicnk27GnnECcjXQ";
    map.setSize(new Point(stage.stageWidth, stage.stageHeight));
    map.addEventListener(MapEvent.MAP_READY, onMapReady);
    this.addChild(map);
    function onMapReady(event:Event):void {
      map.addControl(new ZoomControl());
      map.addControl(new PositionControl());
      map.addControl(new MapTypeControl());
      map.setCenter(new LatLng(53.535192,-2.00475), 14, MapType.NORMAL_MAP_TYPE);
      var m:Marker = new Marker(new LatLng(53.535192,-2.00475));
      map.addOverlay(m);

    Hi there. I downloaded the SDK myself and managed to solve your problem. It's because of your imports.
    First of all make sure the .swc file is in your library ( found in the lib folder called "map_1_18" )
    (Whilst in Flash) Press Ctrl+U to open up the preferences, then go to the Actionscript category and select "AS3 settings"
    Press the red button to browse to your .swc file.
    Also have the SDK in your directory.
    Then change your imports to this;
    import com.google.maps.LatLng;
    import com.google.maps.overlays.Marker;
    import com.google.maps.Map;
    import com.google.maps.MapEvent;
    import com.google.maps.MapType;
    import com.google.maps.controls.*;
    You forgot to add one, and also you were importing the Controls folder and not the contents. ...And your map should debug perfectly. Happy Mapping!

  • Interactive Street Map in Flash

    Hi all,
    I'm trying to design an interactive street map for my website
    and I would like to do it in Flash. Ideally I would love to have it
    looking something like this;
    http://www.skiptonweb.co.uk/flashmap/flashmap.htm
    Can anyone point me in the right direction for tutorials on
    how to do this ?
    Cheers

    That's easy just go here.
    http://code.google.com/apis/maps/documentation/flash/

  • Google Maps for Flash in AIR for Android: ~2 minutes to start up

    I have a "Hello World" style AIR for Android app using Flash Builder 4 Burrito/Flex Hero.
    When debugging on device (stock HTC Desire) using Flex version v1.20 of Google Maps for Flash (map_flex_1_20.swc), it takes 1 minute and 50 seconds for the app to startup to display a simple map:Map3D on the home screen. The same app without the map:Map3D object starts in just a few seconds.
    There are no startup delays using the simulator.
    Anyone know what might be causing the severe startup delay when running on device?
    Thanks,
    Stephen

    Hi - yes no problem: I've uploaded a sample app here: http://crackedfrog.com/files/AndroidAIRMap.zip.
    You'll need to add a valid Google Maps API key and corresponding URL back into the maps:Map3D object:
    <maps:Map3D left="0" right="0" top="0" bottom="0"
      xmlns:maps="com.google.maps.*" id="map"
      url=""
      key=""
      sensor="false"/>
    This shows the same behaviour as described above - around 2 minutes to start up when debugging on the device.
    Appreciate any help.
    Thanks,
    Stephen

  • How to create slick maps in Flash?

    Admiring the new Flash maps I see on the web and wondering 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.
    I am not asking you to explain it all but if you could simply point me to a book or online resource I would be very grateful!

    And what business do you have on a forum where noobs ask for advice? To point to google?

  • Google earth like map in flash

    Hello,
    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 allready have the map , in the form of swf  files. the idea is that  when the user will scroll, an swf is going to be substituted with another one   Can anyone give me any hints on how to do it?

    If you want to have one swf replqace another then you probably want to use some form of loader.  Which form you use is up to you, but the most basic is simply the Loader class.  A loader is only able to load/hold one loaded object at a time, but you can reload it with other content and replace what is there as you wish.
    You should Google "AS3 Loader tutorial" to get an idea of how to load external files (such as swf's).

  • Google maps for flash been Deprecated !

    Hello. i just wana notify the comunity about a serious step tooken from google to kill the maps for flash, because seems like they can not handle them.
    I would like to hear Adobe opinion - can Adobe do their developers a favor and asign a programmers to took close deal with google and continue the maps for flash ?
    This is not a simple issue, it will be a vital for the future development of many things connected to Adobe and Google.
    Please consider the question carefully.

    http://code.google.com/apis/maps/documentation/flash/
    "Note: The Google Maps API for Flash has been officially deprecated as of September 2, 2011. The API will continue to work as per ourdeprecation policy, but we encourage you to migrate your applications to version 3 of the Maps JavaScript API."
    The statement is perfectly LOL.
    And seems like google can not pay 2-3 more developers to took care for thoose API,
    The forum comunity related to this API vould like to ask if can Adobe took care on it because they have proven as a good team of developers already.

  • Mapping with Flash

    Hey all. I am thinking about creating some kind of mapping
    application using Flash. I already have done a little bit, using
    the bitmapdata class along with a mysql database to create some
    small mapping apps. I draw everything pixel by pixel and do my
    queries based on what pixel they click on etc. I was just wondering
    if someone could give me some advice on whether or not there is a
    better way to create flash map type apps. I have been hearing about
    this Flex product lately and was wondering if that's the best route
    to take.
    Any advice would be appreciated.

    quote:
    Originally posted by:
    kglad
    if there's no way to distinguish counties except via your
    database, you're stuck. (who made that database?)
    you should seriously consider using a different jpg. one that
    already indicated counties by color differences would solve a lot
    of problems.
    The database was some exported thing I was given from a piece
    of software a colleague uses...fun I know! Anyway. I did a little
    searching and found something kind of similar to what I am wanting
    to create although this example is way more complex. When I look at
    it there is one thing I'm not sure of. How do they first construct
    the image and break it down into counties. Here is a link of what I
    am talking about:
    http://www.geoclip.fr/an/p24_atlas.php
    The top right USA map for example. When you mouse over the
    counties, it changes the alpha/color or whatnot and gives you a bit
    of data. How do you think they are able to tell what county it is
    and change the color accordingly? We'd really like to do something
    similar to just that but with the pixel by pixel data they gave me,
    going through and coloring the whole thing is slow. Yet, in this
    link I found the coloring is nearly instant. Any ideas?

  • Can you insert a google map in flash?

    I was wondering
    how I could insert a google map in a
    flash app and preserve the interactive aspects of the google map?
    Thank you for the help.

    yes, for as3, there's an api for flash.  check the google docs.
    for as2, you can purchase (or they may be a free) google component or, use javascript and the flash externalinterface class.

  • What is the best way to create a 3d map for flash/actionscript?

    Hi
    what are good and easy to use tools to create a 3d map/world - terrain, buildings, .... - for use in flash? ideally I would be able to control the objects with actionscript.
    thanks,
    Chris

    first, you should pick a 3d framework (away3d, flare3d etc) to use.  that will determine what format/tools you can use for your 3d objects.

  • Attempting to create an interactive map with flash - getting errors with my actionscript

    I'm currently having an issue creating a set of buttons that are supposed to turn individual layers on and off.  The layers I have are: fishing spots, facilities, trails, map elements, an aerial photo, and parking lots.  It is giving error #s 1119 and 1120.  Could anyone explain possible reasons I'm getting these errors. 
    It might be worth mentioning that I used a tutorial made with Flash CS4, but I'm writing the code in CS5.  Here is the exact code I'm using:
    spots._visible = false;
    facilities._visible = false;
    parking._visible = false;
    elements._visible = true;
    aerial._visible = false;
    trails._visible = false;
    displayedSpots._visible = false;
    displayedFacs._visible = false;
    displayedTrails._visible = false;
    displayedEles._visible = true;
    displayedAerial._visible = false;
    displayedPark._visible = false;
    fsbtn.onPress = function() {
              if (spots._visible == false) {
                        spots._visible = true;
                        displayedSpots._visible = true;
              } else {
                        spots._visible = false;
                        displayedSpots._visible = false;
    facbtn.onPress = function() {
              if (facilities._visible == false) {
                        facilities._visible = true;
                        displayedFacs._visible = true;
              } else {
                        facilities._visible = false;
                        displayedFacs._visible = false;
    trbtn.onPress = function() {
              if (trails._visible == false) {
                        trails._visible = true;
                        displayedTrails._visible = true;
              } else {
                        trails._visible = false;
                        displayedTrails._visible = false;
    mebtn.onPress = function() {
              if (elements._visible == false) {
                        elements._visible = true;
                        displayedEles._visible = true;
              } else {
                        elements._visible = false;
                        displayedEles._visible = false;
    aebtn.onPress = function() {
              if (aerial._visible == false) {
                        aerial._visible = true;
                        displayedAerial._visible = true;
              } else {
                        aerial._visible = false;
                        displayedAerial._visible = false;
    pbtn.onPress = function() {
              if (parking._visible == false) {
                        parking._visible = true;
                        displayedPark._visible = true;
              } else {
                        parking._visible = false;
                        displayedPark._visible = false;

    Only thing i see is that you are using == instead of = , Fixed Example...
    fsbtn.onPress = function() {
              if (spots._visible = false) {
                        spots._visible = true;
                        displayedSpots._visible = true;
              } else {
                        spots._visible = false;
                        displayedSpots._visible = false;
    == Is used for equality.
    = Is used for setting a value or in this case checking a value.

  • Java.util.Map to flash.utils.Dictionary

    Hi,
    I'm using Blazeds for my remoting between Flex and Java. I have an Object-to-object map on the Java side. This converts to an untyped Object in Flex having the properties as the 'toString' of the key Object.
    Has anyone been able to convert an Object-to-object java map to a flash Dictionary object? Why wouldn't it do that as default?
    Thanks,
    Eyal

    Yes, You can, I have successfully mapping form java HashMap to Flex Dictionary. The following is the code fragment for the success case:
    The hint is that you need to use ObjectProxy in Flex to map HashMap in Java.
    Man Pak Hong, Dave
    Analyst Programmer
    [email protected]
    manpakhong
    Java:
    // ================================================================================
        public Map<String, Object> getCaseDetails(Long sid) throws ApplicationException, SystemException {
            // Vos Declaration
            Case caseVo = null;
            UserInfo ossUserInfoVo = null;
            UserInfo spUserInfoVo = null;
            Ngo ossNgoVo = null;
            Ngo spNgoVo = null;
            Personal personalVo = null;
            Contact contactVo = null;
            CaseAttachment caseAtthVo = null;
            Office ossOffice = null;
            SwdOffice swdOffice = null;
            UserInfo swdEao = null;
            NeedAssess needAssess = null;
            List <CaseRegPropVw> caseRegPropVwList = null;       
            CaseDao daoCase = new CaseDao();       
            caseVo = daoCase.getCase(sid);
            if (caseVo != null)
                UserInfoDao daoUserInfo = new UserInfoDao();
                ossUserInfoVo = daoUserInfo.getUserInfo(caseVo.getOssCmSid());
                spUserInfoVo = daoUserInfo.getUserInfo(caseVo.getNgoCmSid());
                // caseRegProp
                CaseRegPropVwDao daoCaseRegPropVw = new CaseRegPropVwDao();
                caseRegPropVwList = daoCaseRegPropVw.listCaseRegPropVwByLessRegNo(caseVo.getLessRegNo());           
            NgoDao daoNgo = new NgoDao();
            if (ossUserInfoVo != null)
                ossNgoVo = daoNgo.getNgo(ossUserInfoVo.getNgoSid());
            if (spUserInfoVo != null)
                spNgoVo = daoNgo.getNgo(spUserInfoVo.getNgoSid());
            // personal
            if (caseVo != null)
                PersonalDao daoPersonal = new PersonalDao();
                personalVo = daoPersonal.getPersonal(caseVo.getPersonalSid());
                // jscontact
                ContactDao daoContact = new ContactDao();
                contactVo = daoContact.getContact(caseVo.getSid());
                // ossCaseAtth
                CaseAttachmentDao daoCaseAtth = new CaseAttachmentDao();
                caseAtthVo = daoCaseAtth.getCaseAttachment(caseVo.getSid(), CaseAttachmentPolicy.ATT_TYPE_CONSENT_FORM);
                // ossOffice
                OfficeDao daoOssOffice = new OfficeDao();
                ossOffice = daoOssOffice.getOffice(caseVo.getOssOfficeSid());
            if (personalVo != null)
                // swdOffice
                SwdOfficeDao daoSwdOffice = new SwdOfficeDao();
                swdOffice = daoSwdOffice.getSwdOffice(personalVo.getSwdOfficeSid());
                // swdEao
                UserInfoDao daoSwdEao = new UserInfoDao();
                swdEao = daoSwdEao.getUserInfo(personalVo.getSwdEaoSid());
                // needAssess
                NeedAssessDao daoNeedAssess = new NeedAssessDao();
                needAssess = daoNeedAssess.getNeedAssess(personalVo.getSid());
            Map<String, Object> hm = new HashMap<String, Object>();
            hm.put("Case", caseVo);
            hm.put("OssUserInfo", ossUserInfoVo);
            hm.put("NgoUserInfo", spUserInfoVo);
            hm.put("OssNgo", ossNgoVo);
            hm.put("SpNgo", spNgoVo);
            hm.put("Personal", personalVo);
            hm.put("Contact", contactVo);
            hm.put("CaseAtth", caseAtthVo);
            hm.put("OssOffice", ossOffice);
            hm.put("SwdOffice", swdOffice);
            hm.put("SwdEao", swdEao);
            hm.put("NeedAssess", needAssess);
            hm.put("CaseRegPropsVw", caseRegPropVwList);
            return hm;
    Flex part
    // ==================================================================================
                // CASEDETAILS
                private function getCaseDetailsResultHandler(result:ObjectProxy):void
                    var dc:ObjectProxy = result;
                    this.editItemOssUserInfo = dc["OssUserInfo"];
                    detailCaseInfo.editItemOssUserInfo = editItemOssUserInfo;
                    this.editItemOssNgo = dc["OssNgo"];
                    detailCaseInfo.editItemOssNgo = editItemOssNgo;   
                    this.editItemCase = dc["Case"];       
                    detailCaseInfo.editItemCase = editItemCase;
                    detailPersonalInfo.editItemCase = editItemCase;   
                    this.editItemPersonal = dc["Personal"];
                    detailCaseInfo.editItemPersonal = editItemPersonal;
                    detailPersonalInfo.editItemPersonal = editItemPersonal;
                    this.editItemContact = dc["Contact"];
                    detailCaseInfo.editItemContact = editItemContact;
                    detailPersonalInfo.editItemContact = editItemContact;
                    this.editItemCaseAtth = dc["CaseAtth"];
                    detailCaseInfo.editItemCaseAtth = editItemCaseAtth;
                    this.editItemOssOffice = dc["OssOffice"];
                    detailCaseInfo.editItemOssOffice = editItemOssOffice;
                    this.editItemSwdOffice = dc["SwdOffice"];
                    detailCaseInfo.editItemSwdOffice = editItemSwdOffice;
                    this.editItemSwdEao = dc["SwdEao"];
                    detailCaseInfo.editItemSwdEao = editItemSwdEao;
                    this.editItemNeedAssess = dc["NeedAssess"];
                    detailCaseInfo.editItemNeedAssess = editItemNeedAssess;
                    this.listItemCaseRegPropVw = dc["CaseRegPropsVw"];
                    this.caseDict = new Dictionary();               
                    caseDict[CaseDetailPolicy.INIT_OSSUSERINFO] = editItemOssUserInfo;
                    caseDict[CaseDetailPolicy.INIT_OSSNGO] = editItemOssNgo;
                    caseDict[CaseDetailPolicy.INIT_CASE] = editItemCase;
                    caseDict[CaseDetailPolicy.INIT_PERSONAL] = editItemPersonal;
                    caseDict[CaseDetailPolicy.INIT_CONTACT] = editItemContact;
                    caseDict[CaseDetailPolicy.INIT_CASEATTH] = editItemCaseAtth;
                    caseDict[CaseDetailPolicy.INIT_OSSOFFICE] = editItemOssOffice;
                    caseDict[CaseDetailPolicy.INIT_SWDEAO] = editItemSwdEao;
                    caseDict[CaseDetailPolicy.INIT_NEEDASSESS] = editItemNeedAssess;               
                    // detailCaseInfo.init();

  • How to make a big map in flash that runs smoothly for mobile app?

    We got a big location map that allows user to zoom in and out and do the panning but the image of the map are not very smooth when you try to pan it so is there a way to fix this problem?
    thanks!

    You better ask in the Flash forum; this is the Flash Player forum.

  • Home and End Keyboard mapping in Flash ActionScript / Actions Editor

    I'm just getting used to using an OS X machine for development rather than a Windows based PC and have hit upon a problem which I would love to solve...
    On my full-size Mac keyboard I would like the Home and End keys to operate as they do in a Windows environment such that Home goes to the beginning of the current line and End goes to the end. By default OS X Home scrolls to the top of the window and End scrolls to the bottom. Lovely for web browsing. Useless for coding!
    I found this post elsewhere which has helped. It's 'fixed' my problem in both XCode and TextEdit.
    But both Flash and Terminal (e.g. vim) are still using Home and End for window scroll.
    I'm assuming that Flash and Terminal hook the keyboard at a different level. The question is whether it's possible to alter this behaviour. I've looked through all the Preferences in Flash but cannot find anything regarding keyboard mapping.
    Anybody solved this one?
    Thanks.

    Thanks ! ,
    Probably it will be more interesting to have OS X by default behave smarter related to key bindings,
    for example if this is a read-only doc ( pdf, webpage ) then Home goes to the beginning of the doc, if this is some text editing control then beginning of the line. Or integrate globally an option that will allow to propagate this globally. If any app needs to override this than will pop some system settings to allow the override for this app. There is no point in a text editor to have common used keys as dead keys. In the end I can use Ctrl + A / E to do the same I would with Home / End. This is one of those things that bugs me. Some unthinkable small blockers here and there ...
    Why this is bugging people is because when you edit text you focus on a small area and you need you to navigate in that area quickly. In this context to press home to go to the beginning of the doc (or even do nothing) is not typical because to move away from things that interests you there are the page up/down or click on the scroll and move where you need.

Maybe you are looking for

  • Sent messages not saving on Exchange server

    Does anyone know how to get emails sent from an MS Exchange account in Mail 8.2 to save (either in Sent folder on local machine or preferably on the Exchange server)? "Store sent messages on the server" is selected, but this doesn't work on any of my

  • Box and Whisker Plots

    how to make box and whisker plots in numbers?

  • "Consolidate" commands and tasks in ARD

    I (or rather my client) want to schedule a series of commands and tasks in ARD 3.5.1. Specifically- 1. Wake the client machine; 2. Install all software updates; 3. Restart the client machine; 4. Run permissions fix on the client. For now, the only wa

  • Itunes doesnt want to work on windows 7

    ive been trying to download itunes for my new iphone, i have a windows 7, but everytime i download it i get this message... "An error occurred during the installation of assembly'Microsoft.VC.CRT.type="win32".version="8.0502727.6195".publickeyToken=

  • Retrieving Photos from Apple TV

    My brand new hard drive just crashed....Is there anyway to retrieve photos that were located on my Apple TV so they can be downloaded back into I-Photo on my desktop?