Help with loading a swf from the Google Map API done in AS3 AS2 Flash site

OK, maybe this can be done, I need to do everything in AS3, or it is a problem of the Google Map API.

If someone could put me on the right track, I would be grateful.

I created a Google Map API for Flash Add to my Web site.

My site has been built using AS2 and the Google Map API was built using AS3

My site Flash .swf works fine and the Google Map.swf, I created works very well.

The problem is when I try and do not add the Google Map.swf on my website flash As2 will Google.swf no work.

I'm trying just to eliminate the error.

Is it because that...

1. after having my site flash with AS2, I can't add a .swf with AS3

2. I need to change the code...

3. it has nothing to do with AS3, it's because this is a Google Map API.


I have a button written in AS2 on my main flash site that has a a PreLoader.


on (release) {}

Stop behavior MovieClip
this.gotoAndStop ("Google_Map");
End behavior


load film behavior
If (this.mcContentHolder is {Number (this.mcContentHolder))}
loadMovieNum ("PreLoaderGoogle.swf", this.mcContentHolder);
} else {}
this.mcContentHolder.loadMovie ("PreLoaderGoogle.swf");
}
End behavior
}

The PreLoaderGoogle.swf was then has a

Instance of: charger

contentPath

Google_Map.swf

If I change the Google_Map.swf instance in the PreLoader for an another .swf using AS2 it all works.


or do I just have the wrong end of the stick.

All advice appreciated.

If you load an as3 swf into an as2 swf, none of the code in the as3 swf file will work.

the simplest way around this is: you could create a loader swf (GER) as3 that loads your as2 swf and load your google as3 swf.

Tags: Adobe Animate

Similar Questions

  • Help with master / multiple details from the collections

    Hello

    I am trying to create multiple details for my master report using collections by the method of Blarman on https://community.oracle.com/thread/1091458. This is my first shot of dagger to collections and I seem to be missing something, but for the life of me, I don't know what. I managed to get the display of collection for the captain, but when this inserts / updates, only the first collection seq_id is already updated or inserted the user entry. I suspect that I'm doing something stupid on BCM_POPULATE_TICKET_REF_COL to avoid updates to all items in the collection, but after much research and trying, I do not know what. Any suggestions would be much appreciated.

    Thank you!
    Michelle

    1. structure of the table

    CREATE THE TABLE DBSCH1. BCM_FINDINGS
    (
    NUMBER OF FINDINGS_ID
    VARCHAR2 (200 BYTE) WORKING GROUP,
    VARCHAR2 (200 BYTE) TEAM.
    DIVISION VARCHAR2 (200 BYTE),
    RAISED_BY VARCHAR2 (200 BYTE),
    ...
    )

    CREATE THE TABLE DBSCH1. BCM_COMMENTS
    (
    NUMBER OF COMMENTS_ID
    COMMENTS VARCHAR2 (4000 BYTE),
    FINDINGS_ID NUMBER NOT NULL
    )

    CREATE THE TABLE DBSCH1. BCM_TICKET_REF
    (
    NUMBER OF TICKET_REF_ID
    TOOL VARCHAR2 (4000 BYTE),
    TICKET_REF VARCHAR2 (4000 BYTE),
    LINK VARCHAR2 (4000 BYTE),
    FINDINGS_ID NUMBER NOT NULL
    )


    2 created master / detail report on BCM_FINDINGS & BCM_COMMENTS.

    3. create the BCM_TICKET_REF collection:

    CREATE or REPLACE PROCEDURE BCM_CREATE_TICKET_REF_COL (full bcm_findings_id)
    as
    I have pls_integer;
    CNTR pls_integer: = 5;
    Start
    apex_collection.create_or_truncate_collection ('POPULATE_TICKET_REF_COL');
    for Rec in)
    Select the tool, ticket_ref, link, ticket_ref_id, findings_id
    of bcm_ticket_ref
    where FINDINGS_ID = bcm_findings_id

    )
    loop
    () apex_collection.add_member
    p_collection_name = > 'POPULATE_TICKET_REF_COL ',.
    p_c030 = > Rec.ticket_ref_id,--primary key
    p_c031 = > Rec.tool, - placeholder text
    p_c032 = > Rec.ticket_ref, - placeholder text
    p_c033 = > Rec.link, - placeholder text
    p_c034 = > Rec.findings_id fk - space
    );
    end loop;
    because me in 1.cntr
    loop
    () apex_collection.add_member
    p_collection_name = > 'POPULATE_TICKET_REF_COL ',.
    p_c030 = > 0, - designates this as a new registration
    p_c031 = > NULL,-placeholder text
    p_c032 = > NULL,-placeholder text
    p_c033 = > NULL,-placeholder text
    p_c034 = > bcm_findings_id - number placeholder
    );
    end loop;
    end BCM_CREATE_TICKET_REF_COL;

    Support - before the header:

    BEGIN
    BCM_CREATE_TICKET_REF_COL (bcm_findings_id = >: P2_FINDINGS_ID);
    END;


    4. definition of standard report for BCM_TICKET_REF region:
    SELECT rownum,
    apex_item. Hidden (30, c030), - ticket_ref_id
    apex_item. Text (31, c031, 20, 20) tool.
    apex_item. Text (32, c032, 15, 15) ticket_ref,.
    apex_item. Text (33, c033, 15, 15) link.
    apex_item. Hidden (34, c034) findings_id
    OF APEX_COLLECTIONS
    WHERE COLLECTION_NAME = "POPULATE_TICKET_REF_COL."

    5. get user input for the update of the collection BCM_TICKET_REF
    CREATE OR REPLACE PROCEDURE BCM_POPULATE_TICKET_REF_COL
    AS
    j pls_integer: = 0;
    Start
    for j1 in)
    Select seq_id apex_collections
    where collection_name = "POPULATE_TICKET_REF_COL."
    the order of seq_id loop)
    j: = j + 1;
    -(number) ticket_ref_id
    apex_collection.update_member_attribute (p_collection_name = > 'POPULATE_TICKET_REF_COL',)
    p_seq = > j1.seq_id, p_attr_number = 30, p_attr_value = > wwv_flow.g_f30 (j));
    -tool (text)
    apex_collection.update_member_attribute (p_collection_name = > 'POPULATE_TICKET_REF_COL',)
    p_seq = > j1.seq_id p_attr_number = > 31, p_attr_value = > wwv_flow.g_f31 (j));
    -ticket_ref (text)
    apex_collection.update_member_attribute (p_collection_name = > 'POPULATE_TICKET_REF_COL',)
    p_seq = > j1.seq_id p_attr_number = > 32, p_attr_value = > wwv_flow.g_f32 (j));
    -link (text)
    apex_collection.update_member_attribute (p_collection_name = > 'POPULATE_TICKET_REF_COL',)
    p_seq = > j1.seq_id p_attr_number = > 33, p_attr_value = > wwv_flow.g_f33 (j));
    -(number) findings_id
    apex_collection.update_member_attribute (p_collection_name = > 'POPULATE_TICKET_REF_COL',)
    p_seq = > j1.seq_id p_attr_number = > 34, p_attr_value = > wwv_flow.g_f34 (j));
    apex_application.g_print_success_message: = "loop COUNTER" | j;
    end loop;
    end;

    On present - before the calculations and validations

    BEGIN
    BCM_POPULATE_TICKET_REF_COL;
    END;


    6 update DB with the data in the collection BCM_TICKET_REF
    CREATE OR REPLACE PROCEDURE DBSCH1. BCM_UPDATE_TICKET_REF
    AS
    j pls_integer: = 0;
    Start
    -Obtaining records from Collection
    for y in (select TO_NUMBER (c030) ticket_ref_id,
    C031 tool,
    C032 ticket_ref,
    C033 link,
    TO_NUMBER (c034) findings_id
    OF APEX_COLLECTIONS
    WHERE collection_name = "POPULATE_TICKET_REF_COL") loop
    j: = j + 1;
    If y.ticket_ref_id = 0 then - new record
    insert into BCM_TICKET_REF (ticket_ref_id, tool, ticket_ref, link, findings_id)
    values (BCM_TICKET_REF_SEQ.nextval, y.tool, y.ticket_ref, y.link, y.findings_id);
    APEX_DEBUG. MESSAGE (p_message = > 'INSERT the LOOP COUNTER': j);
    "exit";
    elsif y.ticket_ref_id > 0 then - existing record
    Update BCM_TICKET_REF
    adjustment tool = y.tool,
    ticket_ref = y.ticket_ref,
    link = y.link,
    findings_id = y.findings_id
    where ticket_ref_id = y.ticket_ref_id;
    APEX_DEBUG. MESSAGE (p_message = > 'UPDATE the LOOP COUNTER': j);
    "exit";
    on the other
    APEX_DEBUG. MESSAGE (p_message = > "NUTHIN'");
    "exit";
    end if;
    end loop;
    end;

    Present on - after calculations and validations

    BEGIN
    BCM_UPDATE_TICKET_REF;
    END;

    HA! Well it took me several tries, but I finally saw him, you have a 'out' right after insertion (and updated).  That could leave the loop and record #2 would never happen.

    Just remove it. In your case you are inserting/updating all your lines.

    -Jorge

  • Integration of the Google Map API in DW4, but cannot get card to appear

    I have spent over 8 + hours on it and need a new set of eyes!

    Stumbling my way through.  I think I code everything is OK, however, if I use IE8 or Firefox, everything else comes, but the card.

    Here is a link to the page I'm trying to do work: http://www.21redcardinal.com/test/details/location.htm

    Here is a link to a page that I like the look of and trying to recreate: http://www.3oldmilitaryroad.com/location/location.html

    There must be a fundamental thing, I'm missing, but I can't see it in the code, then perhaps it is server-side and I just lack. Other that the download of the page with all the info on it, I have not downloaded any other auxiliary file (other than the css).

    Help! .. .and good night...

    Samantha

    Michael is correct:

    To view the map you must give your

    some dimensions:

    In addition, change your "body" tag for:

  • I want to use google map api in VI. So mutch I tried doing it.i used the google earth and google static map plugin, but I need only google map api.

    Hello everyone

    can enybody help me solve my problem using the google maps API?

    I build FMS (Fleet Management System). I used the google earth plugin. but I want to use the google map APi.


  • BPEL with Google Maps API integration

    Dear all,

    I would like to integrate SOA BPEL with the Google Maps API.
    I found a document (http://docs.oracle.com/cd/B31017_01/integrate.1013/b28981/introbpel.htm), which has a description in this paragraph:
    1.5.1 that make demonstrations are available? -> 'GoogleFlow', but I have not found this tutorial...
    Someone know or hear about it?

    Kind regards
    Daniel.

    Envoy

  • Rendering of static Image of the Google map in PDF format

    Is it possible to use the Google Maps API for PDF. I have a form with a text input (which accepts an address for example: name of the city) and a button. Click on the button I want to go to google map api and display the image of the map inside the PDF (field of view).

    Is this possible?

    Thanks in advance.

    -

    Afonso

    The only way I know is to make a service web call and flip the image (encoded base64). Then bind the results of the web service in the field of the image.

    Paul

  • Google Map API question

    Experts of the Google Map API, I got a page run yesterday on apex.oracle.com which has since stopped working. The application runs to 23 with some custom templates theme. From what I can tell. my Google API key is valid. Here is the code of the HTML page. can anyone help to debug the page why the card is no longer makes?

    Header HTML
    <!DOCTYPE html>
    <html>
      <head>
        <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
        <style type="text/css">
          html { height: 100% }
          body { height: 100%; margin: 0; padding: 0 }
          #map_canvas { height: 100% }
        </style>
        <script type="text/javascript"
          src="http://maps.googleapis.com/maps/api/js?key=&API_KEY.&sensor=true">
        </script>
        <script type="text/javascript">
    
          function initialize() {
            var myOptions = {
              center: new google.maps.LatLng(43.6953512,-71.6306325),
              zoom: 8,
              mapTypeId: google.maps.MapTypeId.HYBRID
            };
            var map = new google.maps.Map(document.getElementById("map_canvas"),
                myOptions);
          }
        </script>
    
      </head>
    </html>
    Attribute page HTML Body
    <body onload="initialize()">
    
    <div id="map_canvas" style="width:100%; height:100%"></div>
    
    </body>
    Jeff

    Published by: jwellsnh on February 26, 2012 09:23

    Version 3 of the API no longer requires a key.

    I don't know a lot about the v2.

    I added this to the place in the html header:

    
    
    
    
    

    And this, in the section of function Jascript:

    function initialize() {
            var myOptions = {
              center: new google.maps.LatLng(43.6953512,-71.6306325),
              zoom: 8,
              mapTypeId: google.maps.MapTypeId.HYBRID
            };
            var map = new google.maps.Map(document.getElementById("map_canvas"),
                myOptions);
          }
    

    Initialize(); the executed before the page load section

    And then I have a region without a model like this:

    I can't get the height; 600px; Width: 400 PX to display in the tag style above, but it's what's there

    And the map displays ok for me.

    Check
    http://Apex.Oracle.com/pls/Apex/f?p=18507:29:1551211846028601:

    Published by: jholoman on February 26, 2012 22:34

  • How to import a map Google Map API in Adobe Muse

    Hello

    I'm trying to import a custom Google map I created with the google maps API on Adobe Muse... But I have problems with writing the HTML code...

    I tried to import this one for example:

    https://developers.Google.com/maps/documentation/JavaScript/examples/map-simple?HL=FR

    But nothing past in Adobe... just Muse a blue square with "html" written at the top left square...

    Thanks for the help!

    Hello

    You took the card embed code and put it in the Muse by using the object-> the option Insert HTML code?

    See the links below:

    https://www.video2brain.com/en/lessons/inserting-a-Google-map

    http://www.YouTube.com/watch?v=t6xBEl0FQgA

    I hope this helps.

    See you soon

    Parikshit

  • Sync to iphoto with Iphone hangs on during synchronization. In addition the google map can be charged when I click on the places of Mediathek. Error message: "this page has not loaded correctly Google Maps. See the JavaScript console for more technical de

    Sync to iphoto with Iphone hangs on during synchronization. In addition the google map can be charged when I click on the places of Mediathek. Error message: "this page has not loaded correctly Google Maps. See the JavaScript console for more technical details. »

    Perhaps the reason for the problem of synchronization is the problem with the loading of google map?

    Error message: "this page has not loaded correctly Google Maps. See the JavaScript console for more technical details. »

    Apple has not renewed the contract with Google to access Google servers.

    If the old version of iPhoto, which are still using Google's servers for the cards and places are either crashing or hanging.  Places are only work in iPhoto 9.5.1 or newer, who use places of Apple servers.

    There is more support for iPhoto from Apple.  You must update iPhoto 9.5.1 with the Mavericks. It would work well, only it is no longer buying this update to Apple.

    Perhaps the reason for the problem of synchronization is the problem with the loading of google map?

    It is very likely.  If iPhoto work very well when you are offline, then your problems will be caused by the connection failed to Googles servers.

    See this: Bug: iPhoto 9.4 crashing when viewing the scene

  • I have troublle with moving my emails from the Inbox to a folder? I also extend my screens whenever it comes to the screen upward? Please help me _ @_. ___

    I have troublle with moving my emails from the Inbox to a folder? I also extend my screens whenever it comes to the screen upward?  Please help me * address email is removed from the privacy * I told my son I would have a computer on which I could get online and with a program I could throw my pearls inventory.

    but when he brought to me he forgot to put windows one. He put the express window and gave me the internet.  I had to go out and find free programs to do the inventory and other things. It's good, but I have trouble with the above two questions.  Can someone help me?

     
    1. What e-mail program?
    2. What is a Windows?
    3. What is Windows Express?
     
     
    Any window that you want to resize all the time must be the last closed window.
     
    Take the corners of the window and drag it to the format full screen. Do not use to expand. Close all other windows first via the taskbar and the latter. Windows will remember the size of the last closed window the next time that you open the program.
     
  • Huawei P9 - I have many issues with getting my pictures from the phone to my Imac

    Huawei P9 - I have many issues with getting my pictures from the phone to iphoto on my Mac.

    Before the summer I bought a Huawei P9 phone, I can easily see the photos on the phone - I can't just them on my mac.  When I connect via a USB cable, it refuses my permissions.

    I try to use my Google account to view on the Mac and move the iPhoto - I can't work either! I can see them, I can't move them!

    I'm pulling my hair out and I have enough to do with! Help, please...

    Jim Hosking

    You need the phone provider support - there is a problem with the way their phone works and how to use it and has nothing to do with the Photos or iPhoto - if pictures is consistent with standards of good Photos and iPhoto won't work with it

    You may need special third party software for your phone load in Photos or iPhoto

    LN

  • Failed to load existing records from the database on SD card during initialization of the application

    When the Simulator is launched upward, not able to load existing records from the database in the Inbox, so no records appear in the Inbox even though they exist in the database. It seems to be a problem with the SD card in the Simulator - the file system for the SD card is not correctly initialized when the application starts first to the top. During initialization of the application tries to access the SD card by using the following code.

    Boolean

    sdCardPresent = false;

    Enumeration e = FileSystemRegistry.listRoots ();

    If

    (e! = null) { }

    While (e.hasMoreElements ()) {}

    root = (String) e.nextElement ();

    If

    (root.equalsIgnoreCase("SDCard/")) {

    sdCardPresent =

    true;

    }

    }

    }

    sdCardPresent is always set to false and was not able to access existing records from the database. Once the application is initialized and try to create the database, the database is created successfully on the SD card.  The code is the same as above when creating the database and was able to do sdCardPresent = true.

    Is there anyway to register or add the SD card during initialization of the application or any property as System.setProperty overide the path of the default directory value?

    I use BlackBerry 9550 Simulator. I checked the "file system using PC for files from the SD card" and I use "C:\bb\SDCard" for the file system of thr.

    Also tested on the BlackBerry and found the same thing, if the device is hard reset, then it not reading the SD card as well.

    Mark the thread as solved then.

  • Safari now load of items from the new york times or IRS Web site

    Safari now load of items from the new york times or IRS Web site

    I tried to change the notifications including to get rid of all the

    I encouraged webgl and plug-ins

    In your Safari menu bar, click Safari > Preferences then select the Privacy tab, then click: delete all data Web site

    Quit and then relaunch Safari a try these Web sites.

  • 6 of Lightroom. When I opened to develop &amp; load an image from the image after is removed a pale blue screen.  If I shared the screen I can see the front of the image but the image after rest as a blue screen. Clues please?

    When I opened to develop & load an image from the image after is removed a pale blue screen.  If I shared the screen I can see the front of the image but the image after rest as a blue screen. Clues please?

    Most likely, LR has problems talking to your video card.

    In the Preferences dialog box, tab Performance, disable the use of the GPU.

  • Check the Google Earth API Plugin in Labview

    I'm trying to access the Google Earth api for labview plugin. I already did with the Google Earth COM API, but for the plugin, it won't work in the same way. I saw messages from someone who does this in c# here.

    I'm evolving with put the GE plugin in a container activeX on the front panel, but still failed.

    For any help or suggestion would be appreciated.

    Dan

    Sorry!

    This attachment [VI] works more consistently (on my PC).

    See you soon.

Maybe you are looking for