SharedObject created in AS2 RangeError leads "the supplied index is out of bounds" on call to getLocal.

To ensure backward compatibility, I want the old AS2 Shared Objects to work in the new version of my application (in Flash Player 11.1 edition) AS3. For some reason, this isn't the case.

The AS3 code is simple:

var so: SharedObject = SharedObject.getLocal ("ExistingAS2SharedObject", "/");

Sharing objects created in AS3 work perfectly well in this scenario, but they break when they were initially created in AS2, causing the RangeError 'the supplied index is out of range"on the line of code above. I don't have access to the AS2 code (I use CC), but it saves and loads fine in itself, as well, so there should be no other problems.

I made sure set default AMF3 encoding, even if I think it is redundant. Are there known issues with AS3 objects shared AS3 to open? Do I need a different approach? Thoughts?

Well, I worked on this bug for a few weeks. I am convinced that it is a problem with Flash 100%. Either way, here is the solution that I think solves the problem:

-Use the AMF0 encoding. If you must use AMF3, set the "local playback security" in "allow local files only". Runs the file SWF in the browser, will replace so the problem is still, however, the question will be is no longer standalone.

-Set the "local playback security' to the 'network allow only." It will not work otherwise.

Other things that affect the bug include:

-If the shared object created AS2 has been consulted by AS3 at any time, the bug will occur is no longer. I think that it is because it is converted to AMF3. This is likely to occur if you test under "Allow local files only", for example.

-The bug may not be reproducible if Flash Player uses a lot of RAM. For example, I had the Flash Player using 1.4 GB of RAM, and the bug seemed to be stopped, misconduct, making it difficult for me to debug.

-The bug behavior can change or not the SWF file is running in the debugger or standalone. I didn't test it enough to confirm however.
-Put a try/catch around the code does not stop the shared destruction object. In addition, the code returns if a different shared object tries to access it. Everything behaves as expected if the bug does not occur in the first place.

Some things that do not affect the bug include:

-Other elements of code and the library loaded in the application do not affect the issue (assuming it is not intended to interfere with the code of course). The bug occurs also in the classes and SWC files.

-Flash Player version and the version of the IDE have no effect on the bug, it seems.

I hope this helps someone else in the future! And I hope that I never had to run into this bug once again, haha.

Tags: Adobe Animate

Similar Questions

  • So I reworked my code and it seems more clear but who always get "RangeError: Error #2006: the supplied index is out of bounds"nonsense. " (CODE + ERROR ATTACHED)

    I reworked the code to make it without error. now, all we are dealing with is the problem of ERROR REANGE. I'm very new to Flash and read responses from people on sites where they solved this problem, but do not understand what people at all. any help would be greatly appreciated.

    Let me explain a little better my problem: I am creating a menu drop-down. everything goes fine UNTIL I'll scroll above the button and get the error. I added an inner glow, etc and it all works very well. I'm only stuck to where the menu is supposed to go down.

    CODE 1:

    var navBtnGlow:GlowFilter = new GlowFilter (0 x 000000, 0.5, 0, 15, 1, 2, true, false);

    navBar_mc.addEventListener (MouseEvent.MOUSE_OVER, navOverF);

    navBar_mc.addEventListener (MouseEvent.MOUSE_OUT, navOutF);

    function navOverF(event:MouseEvent):void {}

    event.target.filters = [navBtnGlow];

    navBar_mc.setChildIndex (event.target as MovieClip, 1);

    dropMenus_mc.gotoAndStop (navBar_mc.getChildAt (1) .name);

    trace ("we rolled on..." + navBar_mc.getChildAt (1) .name)

    }

    function navOutF(event:MouseEvent):void {}

    event.target.filters = [];

    }

    ERROR:

    RangeError: Error #2006: the supplied index is out of range.

    at flash.display::DisplayObjectContainer/setChildIndex()

    to NEWprim_fla::MainTimeline/navOverF()

    Thank you for your help in advance.

    not sure about this, but what happens if you change your setchildindex to 0? in the navOverF function

  • #2006 error: The supplied index is out of bounds

    Hello

    I'm trying to addChild with an interval, using this piece of code, but I always get an error saiyng that the State index is out of bounds.

    Why?

    What should I do to have mc1, added so the wait lets say a second and add m2 2 and so on?

    Thank you

    var tempo_espera:Timer = new Timer(1000, 1);
    tempo_espera.addEventListener ("timer", joints);
    tempo_espera. Start();
    //
    function inserir(evt:TimerEvent):void {}
    for (var nv1:int = 0; nv1 < promocoes.length; nv1 ++) {}
    holder.addChildAt (mc, nv1);
    var animacao:TransitionManager = new TransitionManager (mc);
    animacao.startTransition ({type: Zoom, direction: Transition.IN, easing: Elastic.easeOut, duration: 3});
    }
    }

    RangeError: Error #2006: the supplied index is out of range.
    at flash.display::DisplayObjectContainer/addChildAt()
    to MethodInfo - 346)
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()

    Here is the code that works. The problem was that Timer.currentCount begins with 1 - 0 no. Made on each call, it must be decremented from 1 to call table position (highlighted in red).

    var holder:Sprite = new Sprite();addChild(holder);// this is array of movie clipsvar mcArray:Array = new Array();// it is better to declare variable once and then reinstantiate itvar mc:MovieClip;// do your regular routinevar prm:Array;for (var nv:uint = 0; nv < promocoes.length; nv++) {    prm = promocoes[nv].split("|sep|");    mc = new MovieClip();
        mc.name = "mc_"+nv;    mc.graphics.beginFill(0x000000, 0.20);    mc.graphics.drawRect(0, 0, 100, 60);    mc.graphics.endFill();    mc.name = "mc_"+nv;    // place this new mc into array    mcArray.push(mc);}
    
    // start timer - note that timer will fire as many times as there are movie clipsvar tempo_espera:Timer = new Timer(1000, mcArray.length);tempo_espera.addEventListener(TimerEvent.TIMER, placeClip);tempo_espera.start();
    // the clip you will apply transition tovar currentClip:MovieClip;
    // function that places clipsfunction placeClip(e:TimerEvent):void {    trace("placeClip: currentCount = " + tempo_espera.currentCount);    // get next clip by calling movie that corresponds with the timer counter    currentClip = MovieClip(mcArray[tempo_espera.currentCount - 1]);    // just place next clip    holder.addChild(currentClip);    var animacao:TransitionManager = new TransitionManager(currentClip);    animacao.startTransition({type:Zoom, direction:Transition.IN, easing :Elastic.easeOut, duration:3});}
    
  • Index is out of bounds of the array in OracleUdt.SetValue)

    I need best eyes on it, I was beaten mine top for days now.

    I have a lot of classes built to pass the Oracle UDT to a procedure in a package. They all work, including several that are almost identical to the one sent me adjustments. But it returns the error "Index is off limits..." by calling OracleUdt.SetValue ().

    The absolute minimum code is below, and it's a mouth-full. My apologies for the length.

    -Types of oracle-

    create or replace type VARRAY IS of DMA_NUM_Varray (250), OF NUMBER;

    -In a Package Oracle.

    PROCEDURE Create_commercials_Owr (f_dma_num_tab IN DMA_NUM_Varray) IS...

    This procedure made 4 other settings, including 2 UDT, all defined before this one on the list of parameters. One of them is an another VArray (50), and no error is returned on it, but only on the DMANumberArray.

    ---C# . NET-

    public class DMANumberArray: INullable, {IOracleCustomType}

    [OracleArrayMapping()]

    public OracleDecimal [table;

    Private bool isNull.

    private OracleUdtStatus statusArray [];

    public OracleUdtStatus [{StatusArray}

    Get {}

    Return this.statusArray;

    }

    {Set

    this.statusArray = value;

    }

    }

    public virtual bool IsNull {}

    Get {}

    isNull feedback;

    }

    }

    public static {NULL DMANumberArray

    Get {}

    Did DMANumberArray = new DMANumberArray();

    did.isNull = true;

    back has done;

    }

    }

    public virtual void FromCustomObject (OracleConnection, IntPtr udt oracleConn) {}

    OracleUdt.SetValue (oracleConn, udt, 0, array, statusArray);

    }

    public virtual void ToCustomObject (OracleConnection, IntPtr udt oracleConn) {}

    Object objectStatusArray = null;

    Table = (OracleDecimal []) OracleUdt.GetValue (oracleConn, udt, 0, out objectStatusArray);

    statusArray = objectStatusArray (OracleUdtStatus []);

    }

    }

    [OracleCustomTypeMapping ("APCTS. DMA_NUM_VARRAY")]

    public class DMANumberArrayFactory: IOracleCustomTypeFactory, IOracleArrayTypeFactory {}

    public IOracleCustomType CreateObject() {}

    return new DMANumberArray();

    }

    public Array CreateArray (int elementCount) {}

    return of new OracleDecimal [elementCount value];

    }

    public Array CreateStatusArray (int elementCount) {}

    return new OracleUdtStatus [elementCount value];

    }

    }

    DataTable dmaTable = new DataTable();

    using (da SqlDataAdapter = new SqlDataAdapter (query, sql)) {}

    Bah Fill (dmaTable);

    }

    DMANumberArray dma = new DMANumberArray();

    idCount = dmaTable.Rows.Count;

    If idCount (idCount > 250) = 250; The error occurs for all values > = 5, but good for 1-4

    DMA. Table = new OracleDecimal [idCount]; limit of 250

    for (int i = 0; i < idCount; i ++) {}

    DMA. Table [i] = OracleDecimal.Parse (dmaTable.Rows [i] ["DMA_Number"]. (ToString());

    }

    DMA. StatusArray = new OracleUdtStatus [] {OracleUdtStatus.NotNull, OracleUdtStatus.Null, OracleUdtStatus.NotNull, OracleUdtStatus.NotNull};

    string query = "APCTS. OWR_APIS. Create_commercials_Owr ';

    com. connection = oracle;

    using (OracleCommand cmd = new OracleCommand (query, oracle)) {}

    cmd.CommandType = CommandType.StoredProcedure;

    OracleParameter paramDMAArrayObject = new OracleParameter();

    paramDMAArrayObject.OracleDbType = OracleDbType.Array;

    paramDMAArrayObject.Direction = ParameterDirection.Input;

    paramDMAArrayObject.UdtTypeName = 'APCTS. DMA_NUM_VARRAY ';

    paramDMAArrayObject.Value = dma;

    cmd. Parameters.Add (paramDMAArrayObject);

    cmd ExecuteNonQuery());

    }

    I can't for the life of see me where anything is something more bigger than the indexing table as it was size and limited to 250 elements.

    The only weird thing I see belongs to the class DMANumberArrayFactory, specifically CreateArray. When I break here, the value of the value of elementCount is always zero, even when the table of the UDT object was created with values greater than zero.

    What did I miss?

    Found the problem.  I was looking at the wrong table.  This is the picture of the situation that is causing the error.  Nothing in the documentation explains clearly what this table is for, or that its size should match the size of the array, or why you would define each item to Null or not null.

    But once I size to match and set each element, the error is gone. Bad documentation. Who writes these things, and why they write them so as to give full explanations?

  • Extract the supplied index value of array element

    Hello

    A similar question might have been asked before, but I couldn't find one that exactly matches what I want. Also, I'm using labview 8.5 so could not read most of the views that you guys tied with other solutions.

    The files that I use are attached. Test_FIFO_TimeTagging-Nov16 - try1.vi is the main vi.

    The absolute time in milliseconds in the table of resorption. As can be seen, it is derived from the berries Micro2 and Macro2. I want the user can specify the duration, that is, whether the current item in the table of absorption has a value greater than the value of the user entered, so I want the index of this item in the resorption so that I can use this index to create Micro2 and Macro2 subtables that contain only items from index 0 to index I get resorption.

    I do not know how to retrieve the index of an array given the value of the element, so can't go forward.

    Thank you

    Kaiser

    Hey Kaiser,

    the function that you need is 'threshold 1 d table '. (I guess that your time values are sorted, otherwise using subdashboards makes no sense...)

  • Failed to create system restore point, the option is grayed out

    Original title: System Restore point

    I can't manually create a system restore point, the box is grayed out. Also it does list not the previous points to restorew, but the so-called whenever I have use windows update it is to create a.

    Hi mandmmiller,

    1. don't you make changes before the show?

    Try these steps and check the result.
    Step 1: Start Windows backup and Volume shadow copy services
    a. Click Start, type services.msc and press to enter.
    b. in the list of issues, double click Windows backup and Volume shadow copy services.
    c. change the startup type to automatic and click on the Start button.
    d. click ok to apply the changes.

    Step 2: Run SFC (System File Checker) scan to find and repair missing or corrupt system files and check the result. To do this, try the following steps:
    a. visit http://support.microsoft.com/kb/929833
    b. run the scan successfully.
    c. restart the computer so that the changes take effect and check the result.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • I need to update the screenshots for a new version of an app existing Itune application to download a new version. Since I did not create the original version, can you guide me how to create a new version with the new version number?

    I need to update the screenshots for a new version of an existing iTunes Connect App asks me to download a new version. Since I did not create the original version, can you guide me how to create a new version with the new version number?

    You must call the assistance of the company and ask them to help you with this. You can find contact information by logging on http://digitalpublishing.acrobat.com/ and looking at the Middle at the bottom of the page.

    Neil

  • Credit application note standard invoices unpaired and creating the correct payment for the invoice of the supplier adjusted.

    Hi, need opinion and expert advice. The user has created the standard bill without PO match for $100. Provider later introduced the debit note for $5 against that standard bill to correct the price gap. By paying the standard invoice is everything possible to pay $95 to the provider without manually select the credit memo. I mean can system automatically get the related credit memo in order to reduce the payment to the supplier $ 5. Please advice. Thank you

    Hello

    Below the document has the correct explanation to solve this doubt.

    See Doc ID 1199793.1

  • I recently took a class of Microsoft and received the "Welcome" e-mail, but could not connect with the supplied credentials.

    I recently took a class of Microsoft and received the "Welcome" e-mail, but could not connect with the supplied credentials (example below):

    Your MC ID: xxxxxxx

    Your temporary access code: 18995EBE-BDAF-4883-8F95-64D18D261848

    I created a new account with the e-mail MC ID has been sent and it was not recognized.  I would like to merge (link) the news and be able to get a fresh copy of my cert.  Thank you.

    Hello

    I suggest you contact Microsoft Learning support team to improve assistance:

    http://www.Microsoft.com/learning/en/us/help/assisted-support.aspx

  • To create an interactive report in the apex by selecting from multiple tables

    Hi, I am creating an interactive report by selecting from multiple tables.

    SELECT w.FIRST_NAME as name, w.SURNAME as name, i.ROAD Road, i.DATE_OF_INC as DATE_OF_INC, S.STATEMENT as a STATEMENT OF Declaration

    JOIN THE

    WITNESS w

    ON w.witness_id = s.FK1_WITNESS_ID

    JOIN THE

    Incident I have

    WE

    i.incident_no = w.FK1_INCIDENT_NO

    JOIN THE

    user_station ps

    ON ps.station_id = i.nearest_station_id

    JOIN THE

    the user in.

    WE

    in. STATION_ID = ps.station_id

    WHERE po.officer_id = 1

    by I continue to encounter this error "the report query requires a unique key to identify each row. The supplied key cannot be used for this query. Please change the report attributes to define a unique key column. "ORA-01445: cannot select ROWID from where sample, a join without key preserved table view '

    So I googled around and found that in the attibutres tables report, I need to change the "LINK" COLUMN so first, I changed "Link to custom target", but the report is so I changed it to "Exclude link Clolumn" again, the report didn't report and I STILL got a blank page with only the tabs.

    I wonder you can not create a report by selecting from multiple tables?

    If you can please I need your help.

    Thank you

    You can, but in this case, it might be easier to build your report tables that are joined Oracle views and then build your report out of the newly built sight...

    Or wrap a selection around your selection with joins, and then make the where clause on the external selection...

    Thank you

    Tony Miller
    Software LuvMuffin
    Ruckersville, WILL

  • Does anyone has created integration with MSCRM for the opening of the campaign?

    I had stock in MSCRM (selling Stadium/qualification selection) which take place in a sales representative trigger entry into stage mid or end campaign Eloqua.  Does anyone do this?

    Hello Marilyn,.

    I double checked with our technical team and our cloud connectors Eloqua-MSCRM (part of 4Bridge) will allow you to update Stadium sales or rating you want (like many other things).  These cloud connectors can be run both in a Web of campaign or a Builder program.  Some customers have used in education campaigns to create activities for representatives which is somewhat similar to your goal teensy.

    We have a variety of cloud in our category Microsoft CRM connectors a few of them are: Create Contact / Create lead / create account / create campaign response / update lead / Update Contact / create task.
    Through the 4Bridge it possible to connect to Eloqua LCO, Contacts, accounts, etc.

    Note that we now have the dynamic integration of 4Bridge working for MSCRM 2013 premises and MSCRM On-Demand.

    Best! -Mark LeVell

  • Creating notes to flow before the return of goods

    Hello

    Is it possible to create flow for the goods first notes and then return the goods to the vendor?

    Kind regards

    Rashita George

    Sorry, but I was on vacation

    I know isn't too late for this answer, but the answer is no, the maximum synchronization occurred when free billing (payment at the reception) is activated. with this configuration, once the store person receive the shipment from the vendor, the system generate invoice to pay, and in case of return, you will be able to check the checkbox "Create debit notes" in return form to auto create DM on how complete the statement of transaction provider (RTS).

    Please note that even with the auto billing is activated, DM is created after/to the transaction of the RTS and it is a healthy practice. Since you should not reduce your liability to the supplier until its goods still belong to you

    Concerning

  • #2025 error: The supplied DisplayObject must be a child of the caller.

    Hi all

    I would appreciate help with this.

    I'm working on a piece of flash that will play 4 videos, according to the key pressed. First button will launch the first video, 2e-2e video and so on. Once the video is done playing, close_btn, learn_more_btn and replay_btn appear, plus a final image that is different for each of the videos (BoxLivePic, BoxSleepPic and BoxFeelPic). So - in fact 4 things appear after the movie stops playing and the last image depends on a user has clicked on the buttons...

    My question is, when I click on the close button (andI'm sure even apply for the other 2 buttons), I get the error below:

    ArgumentError: Error #2025: the supplied DisplayObject must be a child of the caller.
    at flash.display::DisplayObjectContainer/removeChild()
    at AER1_r5_fla::MainTimeline/closeVideo()

    I understand is actually that it's because each image is not added to the display list, unless it has clicked the appropriate button... However, I don't know how to fix it! I hope that this will make some sence - here is my Code... Thanks a bunch:

    import com.greensock;
    com.greensock.easing import. *;
    import com.greensock.easing.CustomEase;
    import com.greensock.loading.VideoLoader;
    import flash.display.Sprite;
    import com.greensock.events.LoaderEvent;

    import flash.display.MovieClip;
    to import flash.display.SimpleButton;
    import flash.events.MouseEvent;

    Last buttons Variables
    var close_btn:Button_close = new Button_close();
    var learn_more_btn:Button_learn_more = new Button_learn_more();
    var replay_btn:Button_replay = new Button_replay();

    Last Pic Variables
    var BoxLivePic:Box_Live_Pic = new Box_Live_Pic();
    var BoxFeelPic:Box_Feel_Pic = new Box_Feel_Pic();
    var BoxSleepPic:Box_Sleep_Pic = new Box_Sleep_Pic();

    Video Variables
    var Video_Breathe:VideoLoader = new VideoLoader ("Breathe_Video.f4v", {container:,})
    x: 0, y:0});
    var Video_Live:VideoLoader = new VideoLoader ("Live_Video.f4v", {container:,})
    x: 0, y:0});
    var Video_Sleep:VideoLoader = new VideoLoader ("Sleep_Video.f4v", {container:,})
    x: 0, y:0});
    var Video_Feel:VideoLoader = new VideoLoader ("Feel_Video.f4v", {container:,})
    x: 0, y:0});

    Video complete event listeners
    Video_Breathe.addEventListener (VideoLoader.VIDEO_COMPLETE, donePlaying_breathe);
    Video_Live.addEventListener (VideoLoader.VIDEO_COMPLETE, donePlaying_live);
    Video_Sleep.addEventListener (VideoLoader.VIDEO_COMPLETE, donePlaying_sleep);
    Video_Feel.addEventListener (VideoLoader.VIDEO_COMPLETE, donePlaying_feel);


    OverwriteManager.init (OverwriteManager.AUTO);

    Invisible buttons
    breathe_mc.learn_btn. Visible = false;
    breathe_mc.video_btn. Visible = false;
    live_mc.learn_btn. Visible = false;
    live_mc.video_btn. Visible = false;
    sleep_mc.learn_btn. Visible = false;
    sleep_mc.video_btn. Visible = false;
    feel_mc.learn_btn. Visible = false;
    feel_mc.video_btn. Visible = false;


    Custom acceleration
    CustomEase.create ("myCustomEase", [{s: 0, cp:1.14999, e:1.4}, {s:1.4, cp:1.65, e: 1}]);
    CustomEase.create("myCustomEase2",[{s:0,cp:0.97,e:1.22},{s:1.22,cp:1.47,e:1}]);

    var timeline:TimelineLite = new TimelineLite({onComplete:showBreathe});)
    addChild (removeChild (better_mc));

    TweenLite.to (better_mc, 2, {alpha: 1, y: 186.6, ease:Bounce.easeOut});})

    timeline.appendMultiple([)
    TweenLite.to (breathe_mc, 1, {alpha: 1, y: 117, ease:CustomEase.byName ("myCustomEase2")});
    TweenLite.to (live_mc, 1, {alpha: 1, y: 117, y: 37, ease:CustomEase.byName ("myCustomEase2")});
    TweenLite.to (sleep_mc, 1, {alpha: 1, y: 77, ease:CustomEase.byName ("myCustomEase2")});
    [TweenLite.to (feel_mc, 1, {alpha: 1, y: 77, ease:CustomEase.byName ("myCustomEase2")})], 1, TweenAlign.START,. (2);

    function showBreathe (): void
    {

    breathe_mc.learn_btn. Visible = true;
    breathe_mc.video_btn. Visible = true;
    TweenLite.to (breathe_mc.learn_btn,.5, {alpha: 1});
    TweenLite.to (breathe_mc.video_btn,.5, {alpha: 1});

    TweenLite.to (breathe_mc, 1, {y: 77, ease:CustomEase.byName("myCustomEase")});})

    Display text
    TweenLite.to (breathe_txt_mc, 1, {alpha: 1});
    }

    Event listeners
    breathe_mc.addEventListener (MouseEvent.MOUSE_OVER, breatheOpen);
    live_mc.addEventListener (MouseEvent.MOUSE_OVER, liveOpen);
    sleep_mc.addEventListener (MouseEvent.MOUSE_OVER, sleepOpen);
    feel_mc.addEventListener (MouseEvent.MOUSE_OVER, feelOpen);


    For the video game event listeners
    breathe_mc.video_btn.addEventListener (MouseEvent.MOUSE_DOWN, breathe_play_video);
    live_mc.video_btn.addEventListener (MouseEvent.MOUSE_DOWN, live_play_video);
    sleep_mc.video_btn.addEventListener (MouseEvent.MOUSE_DOWN, sleep_play_video);
    feel_mc.video_btn.addEventListener (MouseEvent.MOUSE_DOWN, feel_play_video);

    Event listener for the close video
    close_btn.addEventListener (MouseEvent.MOUSE_DOWN, closeVideo);

    Functions of the buttons of the VIDEO and find OUT more
    function breathe_play_video(event:MouseEvent):void {}
    Video_Breathe.load ();
    this.addChild (Video_Breathe.content);
    }

    function live_play_video(event:MouseEvent):void {}
    Video_Live.load ();
    this.addChild (Video_Live.content);
    }

    function sleep_play_video(event:MouseEvent):void {}
    Video_Sleep.load ();
    this.addChild (Video_Sleep.content);
    }

    function feel_play_video(event:MouseEvent):void {}
    Video_Feel.load ();
    this.addChild (Video_Feel.content);
    }


    function closeVideo(event:MouseEvent):void {}
    Video_Breathe.Unload ();
    Video_Sleep.Unload ();
    Video_Feel.Unload ();
    Video_Live.Unload ();
    removeChild (close_btn);
    removeChild (learn_more_btn);
    removeChild (replay_btn);
    removeChild (BoxLivePic);
    removeChild (BoxSleepPic);
    removeChild (BoxFeelPic);
    }

    Finally breathe buttons added to the stage
    function donePlaying_breathe(e:Event):void {}

    addChild (close_btn);
    addChild (learn_more_btn);
    addChild (replay_btn)
    close_btn.x = 313;
    close_btn.y = 183;
    learn_more_btn.x = 434;
    learn_more_btn.y = 183;
    replay_btn.x = 554;
    replay_btn.y = 183;
    }

    Last direct buttons
    function donePlaying_live(e:Event):void {}

    addChild (BoxLivePic);
    addChild (close_btn);
    addChild (learn_more_btn);
    addChild (replay_btn)
    close_btn.x = 43;
    close_btn.y = 183;
    learn_more_btn.x = 164;
    learn_more_btn.y = 183;
    replay_btn.x = 284;
    replay_btn.y = 183;
    }

    Last sleep buttons
    function donePlaying_sleep(e:Event):void {}

    addChild (BoxSleepPic);
    addChild (close_btn);
    addChild (learn_more_btn);
    addChild (replay_btn)
    close_btn.x = 313;
    close_btn.y = 183;
    learn_more_btn.x = 434;
    learn_more_btn.y = 183;
    replay_btn.x = 554;
    replay_btn.y = 183;
    }

    Latest sensation buttons
    function donePlaying_feel(e:Event):void {}

    addChild (BoxFeelPic);
    addChild (close_btn);
    addChild (learn_more_btn);
    addChild (replay_btn)
    close_btn.x = 313;
    close_btn.y = 183;
    learn_more_btn.x = 434;
    learn_more_btn.y = 183;
    replay_btn.x = 554;
    replay_btn.y = 183;
    }


    Functions of breathing
    function breatheOpen(event:MouseEvent):void
    {
    TweenLite.to (breathe_mc, 1, {y: 77, ease:Elastic.easeOut});})

    TweenLite.to (breathe_mc.learn_btn,.5, {alpha: 1});
    TweenLite.to (breathe_mc.video_btn,.5, {alpha: 1});

    Live close
    TweenLite.to (live_mc, 1, {y: 117, ease:Elastic.easeOut});})
    TweenLite.to (live_mc.learn_btn,.5, {alpha: 0});
    TweenLite.to (live_mc.video_btn,.5, {alpha: 0});

    Close the sleep
    TweenLite.to (sleep_mc, 1, {y: 77, ease:Elastic.easeOut});})
    TweenLite.to (sleep_mc.learn_btn,.5, {alpha: 0});
    TweenLite.to (sleep_mc.video_btn,.5, {alpha: 0});

    Feel close
    TweenLite.to (feel_mc, 1, {y: 77, ease:Elastic.easeOut});})
    TweenLite.to (feel_mc.learn_btn,.5, {alpha: 0});
    TweenLite.to (feel_mc.video_btn,.5, {alpha: 0});

    See photo
    TweenLite.to (pic_breathe_mc,.5, {alpha: 1});

    Hide other photos
    TweenLite.to (pic_live_mc,.5, {alpha: 0});
    TweenLite.to (pic_sleep_mc,.5, {alpha: 0});
    TweenLite.to (pic_feel_mc,.5, {alpha: 0});

    Display text
    TweenLite.to (breathe_txt_mc, 1, {alpha: 1});

    Hide other texts
    TweenLite.to (live_txt_mc, 1, {alpha: 0});
    TweenLite.to (sleep_txt_mc, 1, {alpha: 0});
    TweenLite.to (feel_txt_mc, 1, {alpha: 0});
    }

    Live functions
    function liveOpen(event:MouseEvent):void
    {
    TweenLite.to (live_mc, 1, {y: 77, ease:Elastic.easeOut});})

    live_mc.learn_btn. Visible = true;
    live_mc.video_btn. Visible = true;
    TweenLite.to (live_mc.learn_btn,.5, {alpha: 1});
    TweenLite.to (live_mc.video_btn,.5, {alpha: 1});

    Close to breathe
    TweenLite.to (breathe_mc, 1, {y: 117, ease:Elastic.easeOut});})
    TweenLite.to (breathe_mc.learn_btn,.5, {alpha: 0});
    TweenLite.to (breathe_mc.video_btn,.5, {alpha: 0});

    Close the sleep
    TweenLite.to (sleep_mc, 1, {y: 77, ease:Elastic.easeOut});})
    TweenLite.to (sleep_mc.learn_btn,.5, {alpha: 0});
    TweenLite.to (sleep_mc.video_btn,.5, {alpha: 0});

    Feel close
    TweenLite.to (feel_mc, 1, {y: 77, ease:Elastic.easeOut});})
    TweenLite.to (feel_mc.learn_btn,.5, {alpha: 0});
    TweenLite.to (feel_mc.video_btn,.5, {alpha: 0});

    See photo
    TweenLite.to (pic_live_mc,.5, {alpha: 1});

    Hide other photos
    TweenLite.to (pic_sleep_mc,.5, {alpha: 0});
    TweenLite.to (pic_feel_mc,.5, {alpha: 0});

    Display text
    TweenLite.to (live_txt_mc, 1, {alpha: 1});

    Hide other texts
    TweenLite.to (breathe_txt_mc, 1, {alpha: 0});
    TweenLite.to (sleep_txt_mc, 1, {alpha: 0});
    TweenLite.to (feel_txt_mc, 1, {alpha: 0});
    }


    Sleep functions
    function sleepOpen(event:MouseEvent):void
    {
    TweenLite.to (sleep_mc, 1, {y: 37, ease:Elastic.easeOut});})

    sleep_mc.learn_btn. Visible = true;
    sleep_mc.video_btn. Visible = true;
    TweenLite.to (sleep_mc.learn_btn,.5, {alpha: 1});
    TweenLite.to (sleep_mc.video_btn,.5, {alpha: 1});

    Close to breathe
    TweenLite.to (breathe_mc, 1, {y: 117, ease:Elastic.easeOut});})
    TweenLite.to (breathe_mc.learn_btn,.5, {alpha: 0});
    TweenLite.to (breathe_mc.video_btn,.5, {alpha: 0});

    Live close
    TweenLite.to (live_mc, 1, {y: 117, ease:Elastic.easeOut});})
    TweenLite.to (live_mc.learn_btn,.5, {alpha: 0});
    TweenLite.to (live_mc.video_btn,.5, {alpha: 0});

    Feel close
    TweenLite.to (feel_mc, 1, {y: 77, ease:Elastic.easeOut});})
    TweenLite.to (feel_mc.learn_btn,.5, {alpha: 0});
    TweenLite.to (feel_mc.video_btn,.5, {alpha: 0});

    See photo
    TweenLite.to (pic_sleep_mc,.5, {alpha: 1});

    Hide other photos
    TweenLite.to (pic_feel_mc,.5, {alpha: 0});

    Display text
    TweenLite.to (sleep_txt_mc, 1, {alpha: 1});

    Hide other texts
    TweenLite.to (live_txt_mc, 1, {alpha: 0});
    TweenLite.to (breathe_txt_mc, 1, {alpha: 0});
    TweenLite.to (feel_txt_mc, 1, {alpha: 0});
    }

    Feeling of functions
    function feelOpen(event:MouseEvent):void
    {
    TweenLite.to (feel_mc, 1, {y: 37, ease:Elastic.easeOut});})

    feel_mc.learn_btn. Visible = true;
    feel_mc.video_btn. Visible = true;
    TweenLite.to (feel_mc.learn_btn,.5, {alpha: 1});
    TweenLite.to (feel_mc.video_btn,.5, {alpha: 1});


    Close to breathe
    TweenLite.to (breathe_mc, 1, {y: 117, ease:Elastic.easeOut});})
    TweenLite.to (breathe_mc.learn_btn,.5, {alpha: 0});
    TweenLite.to (breathe_mc.video_btn,.5, {alpha: 0});

    Live close
    TweenLite.to (live_mc, 1, {y: 117, ease:Elastic.easeOut});})
    TweenLite.to (live_mc.learn_btn,.5, {alpha: 0});
    TweenLite.to (live_mc.video_btn,.5, {alpha: 0});

    Close the sleep
    TweenLite.to (sleep_mc, 1, {y: 77, ease:Elastic.easeOut});})
    TweenLite.to (sleep_mc.learn_btn,.5, {alpha: 0});
    TweenLite.to (sleep_mc.video_btn,.5, {alpha: 0});

    See photo
    TweenLite.to (pic_feel_mc,.5, {alpha: 1});

    Display text
    TweenLite.to (feel_txt_mc, 1, {alpha: 1});

    Hide other texts
    TweenLite.to (live_txt_mc, 1, {alpha: 0});
    TweenLite.to (sleep_txt_mc, 1, {alpha: 0});
    TweenLite.to (breathe_txt_mc, 1, {alpha: 0});

    }

    This error means that you are trying to access an object on the display (object) list is not there.

    For example, if the instance of close_btn is not added as a child, the following line will throw this error:

    removeChild (close_btn);

    One of the ways to remedy this situation is to confirm that the object is added:

    If (Contains (close_btn)) removeChild (close_btn);

  • How to create a new record with the old values

    Hi all

    I have the creation with 45 page are there fields
    the user will enter all areas and save, it will call the uneditable mode

    If the change button is clicked it will call for the editable mode

    My requirement is user will not change among these ites (45 items) clcik on save again it will call to view mode

    in this user will change one value among 45 Articles and click on the button Save I need to create more than one record in the database

    If the user will not modify one of the field elements of the 45 I will not create a new record in the database

    How can we achieve this feature


    Concerning
    Anthony

    Hi Mary,

    Please try this method to copy a line in the new line...

    public void copy()
    {
    Pervert SuppliersVOImpl = getSuppliersVO1();
    Rank rank [] = pervo.getFilteredRows ("SelectFlag", "Y");
    for (int i = 0; i)<>
    {
    Rowi rank (SuppliersVORowImpl)= SuppliersVORowImpl;
    OADBTransaction trx (OADBTransaction) = getTransaction ();
    Number b = trx.getSequenceValue ("FWK_TBX_SUPPLIERS_S");
    AttributeList a rowi = (AttributeList);
    R = (SuppliersVORowImpl) pervo.createAndInitRow SuppliersVORowImpl (a);
    Define your unique attribute values here, I'll put here Ref supplier as with each new line, it must be different.
    r.setSupplierId (b);
    pervo.insertRow (r);
    }
    }

    Kind regards
    Out Sharma

  • Where can I define the transit time of the supplier?

    Hi Experts,

    I have a doubt in the definition of transit time.

    Defining the supplier lead time, one of the most important breaking is the lead time of intansit.

    I can set the lead time in transit provider "processing time" of the attributes of the element?

    And for the CPHA to consider the transit provider for the planning period, where should I set it?

    Thank you for your valuable time.

    BR,
    Babu Ji

    The addition of transit times to the post-processing of lead time is a bad idea. It will certainly CAWC spit more reschedule messages as necessary. And it can increase your onhand inventory and decrease your inventory turnover.

    Why you want to represent transit lead time separately by the supplier replenishment lead time? That's reduce reschedule the time in transit for the choice of messages?

    Is to install the provider as an org and set transport systems maritime inter-org. You can specify the transit times it.

    Hope that answers your question
    Sandeep Gandhi
    Independent consultant
    513-325-9026.

Maybe you are looking for