problems with gradual loop on film loaded

Hey, I help for a about a week ago to make a loop on the progressive responsible films, but I had a problem book only on the keyframe, one and not the keyframe nov 2. Everybody don't know how I can fix that... ?

I have the following text on the keyframe 1, where everything is perfect:

var timedelay:Number = 3;

var video;

var nc:NetConnection;

var ns:NetStream;

NC = new NetConnection();

NC. Connect (null);

NS = new NetStream (nc);

NS.client = this;

ns.addEventListener (NetStatusEvent.NET_STATUS, netStatusf);

function netStatusf(e:NetStatusEvent) {}

If (e.info.code == "NetStream.Play.Stop" & & Math.abs(durationNum-ns.time) <. 1) {}

setTimeout(replayF,timedelay*1000);

}

}

function replayF() {}

NS. Play("film/Film1.F4V");

}

var durationNum:Number;

function onMetaData(iObj:Object):void {}

durationNum = iObj.duration;

}

video = new Video (287,263);

Video.x = 204,1;

Video.y = 140,5;

addChild (video);

video.attachNetStream (ns);

NS. Play("film/Film1.F4V");

and on the keyframe 2 I got this, here we choose a table randome movie, when it ' chose it loop does not work:
var moviesA2:Array = ["film/film1.f4v', ' film/film2.f4v', ' film/film2.f4v', ' film/film2.f4v'," film/film2.f4v"];
var movie2:String = moviesA2 [Math.floor (Math.random () * moviesA2.length)];
var timedelay2:Number = 6;
var video2.
var nc2:NetConnection;
var ns2:NetStream;
NC2 = new NetConnection();
NC2. Connect (null);
Ns2 = new NetStream (nc2);
ns2.client = this;
ns2.addEventListener (NetStatusEvent.NET_STATUS, netStatusf2);
function netStatusf2(e:NetStatusEvent) {}
If (e.info.code == "NetStream.Play.Stop" & & Math.abs(durationNum-ns.time) <. 1) {}
setTimeout(replayF2,timedelay*1000);
}
}
function replayF2() {}
ns2. Play (Movie2);
}
VIDEO2 = new Video (287,263);
VIDEO2.x = 204,1;
VIDEO2.y = 140,5;
addChild (video2);
VIDEO2.attachNetStream (ns2);
ns2. Play (Movie2);

I guess that you have applied ns.close () when the flow stops a loop which goes to frame 2.  then use:

function netStatusf2(e:NetStatusEvent) {}
If (e.info.code == "NetStream.Play.Stop" & Math.abs (durationNum -ns2.time))<.1) {="">
setTimeout(replayF2,timedelay*1000);
}
}

Tags: Adobe Animate

Similar Questions

  • java.sql.SQLException: problems with the native/lack of loading methods library

    Hi all

    Please let me know how to fix the exception "java.sql.SQLException: problems with the native/lack of loading methods library: no ttJdbc in java.library.path".

    Thank you
    Prabhu

    Published by: Nina Prabhu on November 20, 2012 02:12

    Hi Prabhu,

    Probably, you must specify the LD_LIBRARY_PATH variable. Like the following:

    export LD_LIBRARY_PATH=$TIMESTEN_HOME/ttoracle_home/instantclient_11_1
    

    Best regards
    Gennady

  • Problem with laptop (G72-130ED) of load

    Hi all

    The laptop my friend is having some problems with the charger. When the charger is plugged in it will sometimes load for a while and then suddenly stops regardless of the amount of battery remaining. Apparently, when she waits for a few days (not sure of the specific time period) it will load again, but once again only for a little while (sometimes up to what it is completely filled).

    Here are the facts:
    The charger works on my laptop, HP Pavilion DV7-1110ED. (if this isn't likely because the charger)
    My charger works on his laptop computer, HP G72-130ED. (so it's probably not the plug or battery)

    With the battery disconnected, the power button blinks with his charger, but not with mine.
    With the battery disconnected, he starts with his charger (maybe after the recovery period it will be), but it will be with mine.
    I uninstalled and reinstalled Microsoft AC Adapter, just in case where that has nothing, but it didn't.

    I tried to Flash the bios to the latest version, as I read that COULD be a solution, but InsydeFlash said the bios got corrupted or had no good digital signature. I'm sure that the bios is not corrupted, but I'm not sure of the digital signature. But then again flashing the bios can do absolutely nothing to fix this.

    I'm not completely sure if the charger works on my laptop, my battery refuses to charge at all even with my charger, but my laptop can run completely on its charger. (My laptop is unable to function without a charger, the battery is completely bust and stuck at 41%)

    Summary of specifications:

    Laptop: HP G72-130ED
    OS: Windows 7 64-bit

    Original still installed BIOS

    Thank you in advance,

    Celestral

    Hey Celestral,.

    First of all, I want to hard reset the computer. This is a weird question but a hard reset would be the first thing I try. By removing the power of the computer and then allowed him to be reintroduced it can fix issues such as this one.

    To perform a hard reset

    Shut down the computer by going to the menu start and select shut down. (If you have no display, hold the button for 5 seconds)
    Unplug the adapter from the laptop.
    Remove the battery from the bottom of the laptop. There will be a switch/battery eject button.
    Wait at least 1 minute with all sources of power disconnected.
    Reinsert the battery and reconnect the power adapter, and then try to turn on the laptop.

    Also can you check the two power adapters and let me know the specifications (voltage/Watt, etc.) of the two? I have a suspicion that your power adapter that works on your PC can be a higher voltage.

    Thank you
    Sean

  • Problem with Audio when it is loaded on the main Clip

    Hi, I have this problem with a clip containing audio. I'm doing a website.

    The home.swf is the main element and when I want to go to the 'Audio' this audio.swf charge in home.swf , that the problem is that once it has loaded it plays the audio. The mp3s are inside audio.swf, it is not streaming. When I play just audio.swf by himself, it sounds good, but if it is loaded within home.swf it doesn't.

    I hope you can help me!

    Thanks in advance.

    If you are using as2, in audio.swf, whenever you have:

    var whateverS:Sound = new Sound();

    use

    var whateverS:Sound = new Sound (this);

  • Cache problems with Internet Explorer - SCORM quiz loading modules

    Hi, as mentioned in a previous thread I created several SCORMS using Captivate 4 and use Moodle to manage learning. The SCORMS contains a presentation and a short multiple-choice quiz. We are having problems with SCORMS not opening on first page, but rather around the quiz section.

    Internet Explorer-
    Scenario #1. If the user launches a SCORM of Moodle for the first time the module load early on, the first slide (desired result).
    Scenario #2. If a user launches a SCORM a later date, after having already failed the quiz, the module will be loaded at the beginning of the quiz (not result desired, but can live with it).
    Scenario #3. If the user starts a module a later date, after having previously passed the quiz, the module loads the results page and now shows a failure (certainly not aim).

    Firefox-
    The problem described above is not a factor. Regardless the user rank past that the module will initially launch the first slide, whenever it is launched. But Firefox does not results in Moodle notebook.

    CP settings

    The acceptance and rejection in Captivate settings are set to ' go to ' slide 1. The results are passed to the notebook without problem, but it is a problem in the third scenario, if a user launches accidentally after module have successfully earned a pass. Someone at - he encountered this problem and managed to force the module to launch on the first page? Ideally don't want to remind users in clear cache every time when you use IE.

    Any help is appreciated!
    Thank you
    GAV
    Publication of SCORMS in the hat 4 with preferences for AS2, SCORM Version 1.2 and Flash Player 7. Tested with IE8

    Hello

    It is not a cache issue - is in fact of Captivate in "resume function" that does this.

    You must disable this "feature" in Captivate yourself. Access reports settings in Captivate and click LMS customization settings in the lower right. Check the box "never send RESUME data", and then republish your SCORM package.

    / Michael

    Click here to visit the blog of www.captivate4.com

  • Problem with portable Satellite C650 of load

    Hi all

    I have some problems with my laptop Satellite C650 charge.

    When the charger is connected to my laptop, the battery shows "plugged in, not charging". Furthermore, the battery charge decreases or increases when the charger is connected to my laptop.

    But when I remove the charger, the charge on the battery begins to decrease. For now, I have maintained the charge on the battery to 83% (to always plug my charger for laptop) so that I can work on my laptop at all times.

    I can't decide if this is the problem with the external charger or battery inside the laptop.

    Please please suggest me how to solve the problem.

    Any suggestions would be much appreciated.

    Thank you.

    Seems that you have already solved as posted in the other thread:
    http://forums.computers.Toshiba-Europe.com/forums//message.jspa?MessageID=254051

  • Problems with Toshiba Satellite A205 after loading the latest version of IE 9

    The new MSN does not work on Toshiba laptop of my wife. She would not open with the new MSN homepage. A message appeared on the screen that the browser should be downloaded. After several tries to load the latest version of IE 9, I was finally able to do as asked. Load the latest version of IE 9 has not helped the new MSN problem. Today when I started the laptop there is no function mouse either edge touch pad or mouse wireless. The laptop is now useless. Help!

    Hello

    You can using last good known Configuration.

    http://Windows.Microsoft.com/en-GB/Windows/using-last-known-good-configuration

    Thank you.

  • problem with a loop in a cursor

    Hello

    I wrote following PL/SQL procedure to create indexes on a table to particular warehouse. WAR_ETL_INDEX table is a table of store, I created that contains the table name, column name, and the name of the index of this column. I pick up all these details in the WAR_ETL_INDEX table and create indexes using the following procedure. Now, after compiling the code, when I am trying to execute the following procedure with

    "set serveroutput on .

    EXEC RECREATE_INDEX("W_General_D"); "it seems that it is not picking all the files lets assume if the cursor has 3 records this code tries to run create 3 index but all three times its operation for the first record." Thus, its closure for 3 times, but for all his race for the first record only loop. Could you please review the code and share if you find any problem.

    CREATE or REPLACE PROCEDURE RECREATE_INDEX (par_table_name VARCHAR2)

    IS

    INDEX_NAME WAR_ETL_INDEX. INDEX_NAME % TYPE;

    WAR_ETL_INDEX OF COLUMN_NAME. COLUMN_NAME % TYPE;

    l_sql DEFAULT CLOB "TABLESPACE in CREATE BITMAP INDEX INDEX_NAME ON TABLE_NAME ('COLUMN_NAME') 'P1_DW_IDX" ";

    CURSOR C1 IS

    SELECT INDEX_NAME, COLUMN_NAME

    WAR_ETL_INDEX WHERE TABLE_NAME FROM = par_table_name;

    BEGIN

    OPEN C1;

    LOOP

    FETCH C1 INTO INDEX_NAME, COLUMN_NAME;

    WHEN EXIT C1% NOTFOUND;

    l_sql: = REPLACE (REPLACE (REPLACE(l_sql,'INDEX_NAME',INDEX_NAME), 'TABLE_NAME', par_table_name), 'COLUMN_NAME', COLUMN_NAME);

    dbms_output.put_line (l_sql);

    EXECUTE immediate l_sql;

    END LOOP;

    commit;

    CLOSE C1;

    END RECREATE_INDEX;

    You need to reset your variable l_sql with the SQL model on each loop.  You have no need for a commit, DDL has an implicit validation thus creating an index will do.   Try something like this...

    CREATE or replace PROCEDURE Recreate_index (par_table_name VARCHAR2) IS

    l_sql CLOB.

    CLOB constant l_templatesql: = "TABLESPACE in CREATE BITMAP INDEX INDEX_NAME ON TABLE_NAME ('COLUMN_NAME') 'P1_DW_IDX" ";

    BEGIN

    FOR rec in (SELECT index_name,

    column_name

    OF war_etl_index

    WHERE table_name = par_table_name)

    LOOP

    l_sql: = l_templatesql; -Reset DDL index

    l_sql: = Replace (replace (Replace (l_sql, 'INDEX_NAME', rec.index_name))

    (('TABLE_NAME', par_table_name), 'COLUMN_NAME', rec.column_name);

    dbms_output. Put_line (l_sql);

    EXECUTE IMMEDIATE l_sql;

    END LOOP;

    END recreate_index;

  • Problem with control could not be loaded

    When I try to run this program, this figure shows the control could not be loaded. After the installation of NI LabVIEW Run-Time Engine, the problem is still there.

    I'm trying to find a solution.  Any help would be greatly appreciated.

    The LabVIEW runtime engine is not for that. Looks like you're missing the OL - 770 activeX controls.

  • problem with while loop graph y Gráfica

    Hola

    Estoy realizando UN programa or UN contador cada vez as recibe UN 1, el contador to con resetea a button Reset o autoamticamente cada cierto tiempo (el don't reset por tiempo're para cuando hace mucho tiempo no to recibe una Señal 1 is resetea el contador)

    I made UN programa hace eso, pero cuando entered el resets del tiempo contador is ahi, nunca sale is asi Señal cambie has 1.

    y mi otra duda are not con the graphic grafica, results quisiera show los datos del contador with the actual date, initiates use las propiedades del chart pero no works... no self if alguien me can help put con problemas

    Gracias

    Herica M

    PD: estoy utilizando LBV9.0

    How dice crows, need leer los slideshows you mismo you of the account of that are what you are doing wrong.

    Aqui el annex you VI con unos cambios para as haga lo that I think quieres hacer, pero comentarios puse if tienes dudas me questions.

    Para lo grafica en las propiedades del eje X, seleccionas as el tiempo absoluto sea dato, y luego con UN nodo propiedad Escalin grafica puedes hacer al eje X shift para as sea the actual date.

    Decree No. presidential Te perfect use el foro en Español, TR o lo going poner Aquí, hacerlo in Frances.

    http://forums.NI.com/NI/Board?Board.ID=6170

  • problems with pogo games won't load not

    why I can't seem to load games pogo? I am running Win 7 on HP Pavilion high tower with Internet Explore (my system is brand new). Failed to get java working properly?

    Thanx

    Have you tried the steps in troubleshooting the Java section: http://www.java.com/en/download/help/pogo.xml?os=Vista&jre=6.0.  At the bottom of the article, there is also a link to contact Pogo directly for assistance.

    Barbara

  • Problem with gradual and second layer layer with opaque object

    I opened a new document with a white background. I then used the degraded under the paint bucket tool to make a fading white sky blue. I then created a second layer to put a Sun with diffuse edges, in order to have not only a round ball yellow. Problem is the fate Yellow Sun fine on his ' transparent layer, but when I turn on the gradient layer, he gets a blue tint of the sky and is it really only half visible. An example is below. Help, please. Thanks in advance.

    GRADIENT PROBLEM.png

    It seems that your Sun is below the layer of sky.

    You should be able to drag the sunset above the sky layer, so that it is fully visible in front of her.  And Yes, you can drag things over the top layer if you want, just be careful about this and look for the line above the top layer to turn off before going down.

    -Christmas

  • Audio problem with Windows media player, after loading itunes

    I run Vista Home edition.   Recently added itunes as was to connect the iphone to upload photos.  Seemed to have lost my sound?

    I run external speakers and Realtek High Definition Audio driver.   Do check all the online help.  Drivers, connection and speakers all ok.

    I understood now if I run the audio output jack on the front of the box and use itunes "I sound" - However, this is the only combination I can go to work.

    The rear audio input does not work & neither does any what noise of Window media player, internet or audio files other than itunes, from the front exit. .  Help?

    Hello

    What happens when you connect before making and using Windows media player?

    I suggest you follow the steps mentioned below:

    Method 1:

    Check if take exclusive control of device is disable and check if the problem persists. Follow these steps:

    a. click the Start button, select Control Panel, click hardware and soundand then click sound.

    b. on the read tab, select the playback device, click Propertiesand then click Advanced.

    c. Uncheck exclusive mode applications priority.

    d. click apply , then click OK to save your settings and check if the problem persists.

    Method 2:

    If the previous step fails temporarily uninstall iTunes in programs and features, and check if the problem persists. Follow these steps:

    http://Windows.Microsoft.com/en-us/Windows7/uninstall-or-change-a-program

    For your reference, you can follow the steps in the link:

    http://Windows.Microsoft.com/en-us/Windows/help/no-sound-in-Windows

    You can also update audio driver follow the steps in the link:

    http://Windows.Microsoft.com/en-us/Windows-Vista/update-a-driver-for-hardware-that-isn ' t-work correctly

  • Problem with the date when you load the XML file into Oracle Database 10g

    Hi all

    I have the interface as shown in the screenshot below. In this document, among other things, I am mapping to an element XML file representing a date to an Oracle table column defined as DATE. The source and target columns are highlighted in the screenshot.

    ! http://img223.imageshack.us/img223/1565/odiscr275.jpg!

    When I run the interface, I get the following error message:

    java.lang.IllegalArgumentException to java.sql.Date.valueOf(Date.java:103)

    I guess that this is the conversion of the date!

    I already tried to replace SRC_TRADES. DEAL_DATE with TO_DATE (SRC_TRADES. DEAL_DATE, ' DD/MM/YYYY') on the implementation tab. This feature was not recognized when I executed the interface, so it did not work! The value of date in the XML file is in the format DD/MM/YYYY .

    I guess that Date SQL Oracle functions do not work in the implementation tab. Could someone let me know:

    1. what the Date Conversion function I could use instead?
    2. where can I find a reference to the methods/functions that I use in the implementation tab (if such a reference exists)?

    See you soon.

    James

    Hello.

    Try changing the area of execution at the staging area. Once you change it, write in the map box just SRC_TRADERS. DEAL_DATE. When you use TO_DATE, the source field typu should be varchar2, no date (as it is in store for your data source)

  • Problem with a loop

    I'm currently updating several records and field that are passed from the previous page. What I can't understand, is how I reference them in the update statement because I don't know their name to complete the form. You can see that fields have all done correctly, as indicated below, the debug. I don't know why I get the error I just don't know how to correct it. I've also attached the code that sends the data and my update code. Any help would be greatly appreciated.
    Thank you

    Use the notation of table for dynamic domain names

    UPDATE csd_main_plan
    SET csd_focus = ' #form ["csd_focus" & I] #',
    ...

Maybe you are looking for