Loading remote sharedObject data from FMS 3.5 in AS3

Porting from AS2 to AS3 and have a problem in the terminology, methods and syntax for loading remote sharedObject data. Here's what I have working in AS2 (This works in AS2 but not in AS3)::
if (info.code == "NetConnection.Connect.Success") {
drawing_so = SharedObject.getRemote("mySharedObj", main_nc.uri, true);
drawing_so.onSync = function(list) {
for (var n in list) {
var line_obj = this.data[list[n].name];
trace ("This name = " + line_obj);
So I got the synching working ( I know that's different) and running error-free but it won't parse the data, nor can I get it into an array as above. Here's what I tried::
if (cn.info.code.indexOf("Success") != -1) {
trace("I'M CONNECTED ");// < --- this works
drawing_so = SharedObject.getRemote("mySharedObj", nc.uri, true);
drawing_so.addEventListener(SyncEvent.SYNC, syncSO);
drawing_so.connect(nc);
and the EventListener function is ::
function syncSO(event:SyncEvent):void {
var myList:Array = drawing_so.data.list;
for (var n in myList) {
trace("N = " + n);
var line_obj = this.data[myList[n].name]; // < - - - not able to retrieve values from the sharedObject
trace ("This name = " + line_obj);
So I'm just not familiar with the terminology here.
Sorry - I went through all your excellent tutorials to try to find this and scoured the forum as well. Maybe this would be a good, simple AS3 to FMS 3.5 tutorial! B^)
Thanks for you help,
Bobkatzz

HI
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0c63b84-19e5-2910-fc81-f438716573d5
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/506eb432-0575-2b10-d986-8b41daa4d7af

Similar Messages

  • Problem playing remote live stream from FMS

    Hello all,
    I'm having problems playing remote live streams from FMS (server-side) that I can play with any other player (client-side)
    Example of server-side application which plays a remote live stream:
    nc = new NetConnection();
    nc.connect("rtmp://remoteserver/live");
    stream = Stream.get("localStream");
    stream.play("remoteStream.flv", -1, -1, true, nc);
    This code works only sometimes.
    Most of the times, FMS is able to connect to remote string and the localStream dispatches events:
       NetStream.Publish.Strart
       NetStream.Play.Reset
    In this case, FMS is publishing the local stream but it is not playing the remoteStrem on it.
    The rest of the times, localStream dispatches events:
       NetStream.Publish.Strart
       NetStream.Play.Reset
       NetStream.Play.Start
       NetStream.Data.Start
    In this case FMS plays the remoteStream correctly.
    Any hint to solve this issue?
    Regards.

    Thanks, I tried your code and it works when playing a remote live stream on another FMS.
    But the remote live stream is not on a FMS but on a Wowza Server which re-streams an RTSP stream over RTMP.
    With this code:
    var nc;
    var myStream;
    application.onAppStart = function(){
         nc = new NetConnection();
         myStream = Stream.get("localstream");
         myStream.onStatus= function(info){
               trace(info.code);
         nc.onStatus = function(info){
               trace (info.code);
               if(info.code == "NetConnection.Connect.Success" ){
                    myStream.play("remoteLive.sdp", -1, -1, true, nc);
         nc.connect("rtmp://remoteServer/live");
    Every live stream player I tried was able to play the remote stream "remoteLive.sdp", but FMS play it only sometimes. This is the output log of the FMS application:
    NetConnection.Connect.Success
    NetStream.Publish.Start
    NetStream.Play.Reset        <--------------------------------- Stuck there, stream won't play
    Unloaded application instance wowza4/_definst_ <--- Reload app
    NetConnection.Connect.Success
    NetStream.Publish.Start
    NetStream.Play.Reset        <--------------------------------- Stuck there, stream won't play
    Unloaded application instance wowza4/_definst_ <--- Reload app
    NetConnection.Connect.Success
    NetStream.Publish.Start
    NetStream.Play.Reset
    NetStream.Play.Start         <--------------------------------- Stream is playing just fine
    NetStream.Data.Start
    Unloaded application instance wowza4/_definst_ <--- Reload app
    NetConnection.Connect.Success
    NetStream.Publish.Start
    NetStream.Play.Reset       <--------------------------------- Stuck there, stream won't play
    Any idea? Why FMS won't play it everytime?
    Regards

  • HT1766 I have forgotten my iPhone backup password. Is there a way of getting it as I am trying to load my old data from iPhone 4 to an iPhone 5?

    I have forgotten my iPhone backup password. Is there a way of getting it as I am trying to load my old data from iPhone 4 to an iPhone 5?

    If on a Mac, and you elected to save such to your Keychain, you can recover it from your Keychain. Otherwise, you can't.
    While you can continue to sync/backup, if you can't remember it & want to remove it, you'll have to delete your existing backups & restore the phone as a new device. Your data will be unrecoverable.

  • Loading master/transaction data from BI to NW BPC

    hi
    what is best way of loading master & transaction data from BI to BPC?
    I know around 6 options for loading master data and 5 options for loading transactional data from BI to BPC .
    What is easiest and recommended method? what is typical method followed in your NW bpc projects?
    thanks,.

    Hi Raju,
    There is a white paper on Loading master data. I've used it previously and both options work quite well. You can use either of them depending on what you are comfortable with. Its available on the HOW To white papers.

  • Loading hirarchy master data from flat file to BW

    hai,
    i am new to BW Environment, thanks in advance for the Forum.
    while loading hierarchy master data from the flat file to BW, i am getting an error as follow
    WITH AN OPEN SQL SELECT, THE OUT PUT AREA USED TO HOLD THE SELECTED RECORDS MUST BE ATLEAST AS WIDE AS THE DATABASE TABLE FROM WHICH RECORDS ARE BEING READ.
    IN THIS CASE , THE DATABASE TABLE IS 167 BYTES WIDE, BUT THE OUT PUT AREA IS ONLY 141 BYTES WIDE
    pl's any one can help how to solve this problem.
    Thanks in advance to the Forum.
    regards
    Reddy

    Hi,
    This is the procedure.
    1. Create m-data with or without attributes.
    2. Create infosource .
        a) with flexible update
             or
        b) with direct update
    3. Create transfer rules and assign tyhe names of m-data and attribute in "Transfer rules" tab and transfer them to communication structure.
    4. Create the flat-file with same stucture as communication structure.
    5. if chosen direct update then create infopackage and assign the name of flat-file and schedule it.
    6. if chosen flexible update the create update rule with assigning name of the infosource and the schedule it by creating infopackage.
    Hope this helps. If still have prob then let me know.
    Follow this link also.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b2/e50138fede083de10000009b38f8cf/frameset.htm
    Assign points if helpful.
    Vinod.

  • Error while loading Reported Financial Data from Data Stream

    Hi Guys,
    I'm facing the following error while loading Reported Financial Data from Data Stream:
    Message no. UCD1003: Item "Blank" is not defined in Cons Chart of Accts 01
    The message appears in Target Data.  Item is not filled in almost 50% of the target data records and the error message appears.
    Upon deeper analysis I found that Some Items are defined with Dr./Cr. sign of + and with no breakdown.  When these items appear as negative (Cr.) in the Source Data, they are not properly loaded to the target data.  Item is not filled up, hence causing the error.
    For Example: Item "114190 - Prepayments" is defined with + Debit/Credit Sign.  When it is posted as negative / Credit in the source data, it is not properly written to the target.
    Should I need to define any breakdown category for these items?  I think there's something wrong with the Item definitions OR I'm missing something....
    I would highly appreciate your quick assistance in this.
    Kind regards,
    Amir

    Found the answer with OSS Note: 642591..... 
    Thanks

  • What is the best way to load and convert data from a flat file?

    Hi,
    I want to load data from a flat file, convert dates, numbers and some fields with custom logic (e.g. 0,1 into N,Y) to the correct format.
    The rows where all to_number, to_date and custom conversions succeed should go into table STG_OK. If some conversion fails (due to an illegal format in the flat file), those rows (where the conversion raises some exception) should go into table STG_ERR.
    What is the best and easiest way to archive this?
    Thanks,
    Carsten.

    Hi,
    thanks for your answers so far!
    I gave them a thought and came up with two different alternatives:
    Alternative 1
    I load the data from the flat file into a staging table using sqlldr. I convert the data to the target format using sqlldr expressions.
    The columns of the staging table have the target format (date, number).
    The rows that cannot be loaded go into a bad file. I manually load the data from the bad file (without any conversion) into the error table.
    Alternative 2
    The columns of the staging table are all of type varchar2 regardless of the target format.
    I define data rules for all columns that require a later conversion.
    I load the data from the flat file into the staging table using external table or sqlldr without any data conversion.
    The rows that cannot be loaded go automatically into the error table.
    When I read the data from the staging table, I can safely convert it since it is already checked by the rules.
    What I dislike in alternative 1 is that I manually have to create a second file and a second mapping (ok, I can automate this using OMB*Plus).
    Further, I would prefer using expressions in the mapping for converting the data.
    What I dislike in alternative 2 is that I have to create a data rule and a conversion expression and then keep the data rule and the conversion expression in sync (in case of changes of the file format).
    I also would prefer to have the data in the staging table in the target format. Well, I might load it into a second staging table with columns having the target format. But that's another mapping and a lot of i/o.
    As far as I know I need the data quality option for using data rules, is that true?
    Is there another alternative without any of these drawbacks?
    Otherwise I think I will go for alternative 1.
    Thanks,
    Carsten.

  • Loading of transaction data from SAP ECC system failed

    Hi!
    I successfully connected SAP ECC system to SAP BI system.
    The following steps have been executed:
    - user ALEREMOTE with max. authorization
    - RFC destination
    - Distributing Data model
    - Generated Partner profile
    - Maintaining message types in WE20
    Now when I try to load any data from SAP ECC system the loading process in hanging in status "yellow" and never comletes.
    [0FI_AR_4|http://www.file-upload.net/view-1447743/0FI_AR_4.jpg.html]
    The following steps within Load process are yellow:
    Extraction (messages): Missing messages
      Missing message: Request received
      Missing message: Number of sent records
      Missing message: Selection completed
    Transfer (IDocs and TRFC): Missing messages or warnings
      Request IDoc : Application document posted (is green)
      Data Package 1 : arrived in BW ; Processing : 2nd processing step not yet finished
      Info IDoc 1 : sent, not arrived ; Data passed to port OK
      Info IDoc 2 : sent, not arrived ; Data passed to port OK
      Info IDoc 3 : sent, not arrived ; Data passed to port OK
      Info IDoc 4 : sent, not arrived ; Data passed to port OK
    Subseq. processing (messages) : Missing messages
        Missing message: Subseq. processing completed
        DataStore Activation (Change Log) : not yet activated
    Question:
    Can some one give me some technical steps (tcode, report) to solve this problem?
    Thank you very much!
    Holger

    Hi!
    Many thanks for your answer.
    Via BD87 on BW system I detect that all the IDOC's (type: RSRQST) will be received from SAP ECC system.
    Via tcode SM58 I could not detect any entries.
    However the loading status from yesterday is set to "red".
    The errors are:
    Extraction (messages): Missing messages
    Data Package 1 : arrived in BW ; Processing : 2nd processing step not yet finished
    Info IDoc 1 : sent, not arrived ; Data passed to port OK
    Info IDoc 2 : sent, not arrived ; Data passed to port OK
    Can you investigate my issue again?
    Thank you very much!

  • Error While Loading the Master Data from R3

    Hi Gurus,
    I am loading the masterdata from R3.I have enhanced the Datasource .In that datasource there is a field DATUB ( Valid To Date).For this field I have wriiten the User Exit at the R3 side.Now I am loading the data in BW.But I am not getting the values for DATUB field in the BW, though they are there at the R3 side.
    I have done following to analyse the issue.
    1.Have checked the datasource at the R3 from RSA3.Its populating the field DATUB correctly.
    2.Have deleted the whole masterdata and tried to load again.But no success.
    3.Have tried to load the data for the perticular Bill of Material(BOM).Then it get loaded correctly along with the value of DATUB.But when i tried loading the entire data i am not getting the field DATUB populated.
    Please help me out.Its urgent.
    Thanks.
    Shalaka

    Hello,
    I finally got the solution to my problem.
    If you append a field to generic datsource then you should check the tick in datasource for "field only". Or else you would not get the values handed over to BW.
    Please check following link for more details about this "field only" setting for Generic datasources.
    http://help.sap.com/saphelp_tm70/helpdata/en/3f/548c9ec754ee4d90188a4f108e0121/content.htm
    Regards,
    Anuj

  • ERPi Loading only updated data from GL

    Hi
    We are sseing the Pros and Cons of using ERPi.
    I read a doc erpi_admin_11121501.pdf, in which the appendix D talks about loading data and metadat from any source.
    So my queries are
    1. I will have a source mapping to the EBS suite and load the metadata and data directly from GL to Hyperion application. This is the normal process followed which has drill back and write back facilities.
    2. I would also like to have a flat file as a source for adhoc loadings. Like, if i want to load only particular data which got updated in GL and not the entire data.
    Will this be accomplished?
    Having two source mappings.
    Would like to know the Pros and Cons of doing so

    Or is there any method to load only updated values using the GL(EBS system) as source.

  • Load Grid with data from System.Data.DataTable

    Hi all.
    A have a System.Data.DataTable e need load a grid with data from this DataTable.
    How Load a Grid with data from System.Data.DataTable?

    Hi Francisco,
    actually i don't think that you can use a .NET datatable to fill a business one grid.
    the business one has it's own datatable.
    in c# it would look like this:
    oForm.DataSources.DataTables.Add("MyDataTable");
    ((SAPbouiCOM.Grid)(oForm.Items.Item("grid").Specific)).DataTable = oForm.DataSources.DataTables.Item("MyDataTable");
    oForm.DataSources.DataTables.Item(0).ExecuteQuery("SELECT Field FROM [dbname].dbo.TABLE");
    ((SAPbouiCOM.Grid)(oForm.Items.Item("grid").Specific)).CollapseLevel = 1;
    ((SAPbouiCOM.Grid)(oForm.Items.Item("grid").Specific)).AutoResizeColumns();
    ((SAPbouiCOM.Grid)(oForm.Items.Item("grid").Specific)).SelectionMode = SAPbouiCOM.BoMatrixSelect.ms_Single;
    good night
    lg David

  • Remotely wiping data from a stolen iphone3

    My old iphone 3 was stolen.  I don't care about the phone but I do care about the pictures on the phone.  I don't want strangers looking at my personal pictures.  The iphone 3 was too old to install the "find my iphone" app.  How do I go about remotely wiping the data from an iphone 3?

    No app can be installed to wipe an iDevice.
    Find My iPhone is a feature of iOS6 and later (possibly iOS5) that must be turned on.
    If the device had a passcode, then no one can access the pictures.  Otherwise anyone that picks up the phone can access any data on the device.

  • Initial Load for Master Data from R/3 to CRM

    Hi Middleware Experts,
        I have an ambiguity on initial load of enhanced master data from R/3 to CRM. The current situation is
    1)I have already enhanced master data on R/3 side with some additional fields. Now shall i go ahead with standard intial load of these Master data to CRM without creating middleware interfaces to map those enhanced fields on CRM side?
    2)Also after doing initial load from R/3 to CRM, if I develop middleware interfaces for mapping these new fields of master data and then again do the initial load, so that new fields also get mapped, will the initial load be done properly as i have already done it once? will it overwrite the previous initial load data on CRM side properly?
    Please suggest whether it can be done or not and which is the better option.
    Regards,
    Rahul

    Hi Rahul,
    Since you have not done the mapping yet the middleware will not bring those fields to CRM it will work just like a standard initial load without considering the enhanced master data field.
    When you develop the middleware interface and enhance the CRM data structure also and then you can see the exchange of those fields through MW. You can start the intial load at that time also its not that you can do the initial load just once. But the better option would be that you avoid doing initial load several times because its time consuming activity. You do all the enhancement and then finally perform the initaial load.
    <b>Allot points if my post helps!!</b>
    Best regards,
    Vikash.

  • Is it possible to load REMOTE resource module  from an Air application ?

    Hi All,
              Am trying to load remote resource module swf file from an AIR application, am not able make it work,am getting the following error
    code:
    eventDispatcher = ResourceManager.getInstance().loadResourceModule(remoteURL);
    ERROR:
    "Unable to load resource module from ".
    Please help me out..
    Thanks
    J Kishore

    This might help you out: http://aaronhardy.com/flex/loading-a-remote-module-into-a-local-app/

  • Can I remotely erase data from my macbook coz it was stolen?

    Is it possible to erase data/ files from my hard drive coz it was stolen,  i still have the serial number of the macbook pro

    Hi AnnaParas,
    If you have an iCloud account and have activated Find My iPhone on your Mac prior to it going missing, you may be able to remotely lock or erase the device:
    iCloud: Find My iPhone overview
    http://support.apple.com/kb/PH2696
    Regards,
    - Brenden

Maybe you are looking for

  • A Noob in need of help with audio decice with logic

    Hi all, Ive just got logic 8 and ive got an alesis IO26 firwire audio interface, and im having trouble getting it to work! Can n e one post a step by step guide to getting it up and running for recording? Thanks. Im using an Imac with OSX 5.1 leopard

  • Key Command for "Bold" / Helvetica Neue is "Bold Cndenced"...

    As the title reads...with Helvetica Neue the command "shift+command+b" is set to bold in my preferences....but with this fond it changes it to condensed bold...as I've read this might be implanted into the font itself......anyone have some ideas how

  • Question about tagging bounce verification

    Hi all, I'm a really new beginner with IronPort and more generally with antispam. So you will maybe find my questions a little bit newbee but I need it for understand and improve myself :wink: First I have a C150 with AsyncOS 5.5.1-014. I use tagging

  • Exchange PS to get info with Variable

    I am trying to pull some information for an O365 migration. This command works fine: get-mailbox -Filter {windowsemailaddress -eq "[email protected]"} | fl windowsemailaddress, primarysmtpaddress and returns the expected result.  I am going to use a

  • Issues afetr security update

    Updated the computer last night with SecUpd2006-007Intel and now my adobe and microsoft apps won't start. Does NE1 have these same issues? All my software is legit and updated. TIA.