strange question use stop() to control a scenario after loadClip

Hello, I have this strange question:

I want to control the scenario of a swf file loaded with loadClip command.

I wrote this code

var loader: MovieClipLoader = new MovieClipLoader();

loader.addListener (this);

function onLoadComplete(_mc:MovieClip) {}

_mc. Play()

};

loader.loadClip (swfname, _root.holder)

function pause() {}

_root.holder.stop)

}

function pause a button is used to stop playback of the loaded movieclip.

strange thing is that stop() works when you test the movie by the flash application and plays from the projector. It DOES NOT WORK when he runs by embed code html in swf or swf directly.

I checked a lot of time and the name of the 'container' is resolved, but the command does not work for his screenplay.

thanx for help

Daniele

you wouldn't expect this stop() never work.  Once the loading starts, stop() no longer applies to the target of a loadClip (or loadMovie) method.

to resolve, use the stop() on the first frame of the loaded swf file editing.

Tags: Adobe Animate

Similar Questions

  • Strange question on export: time-lapse images fades after export

    I'm doing a video where I speed up a bunch of images 1000 to 2000%. When I play in the timeline, it seems normal. After that I exported it, however, it's blurred.

    In the export settings and clip, "Interpolation of time" has the value of aerial survey.

    The layer source footage is h.264 QT 29.97 FPS, export file is the same.

    Anyone know what is happening?

    You export the file as an interlaced (upper or lower field order)?

    If so, try to export the file in progressive format (order of progressive value fields).

    MtD

  • Smart card reader does not correctly connect once the virtual machine is restored from sleep using the vmrum controls

    Smart card reader does not correctly connect once the virtual machine is restored from sleep using the vmrum controls

    Scenario is,

    1. smart card reader is connected to the VM with card inserted in

    2 initiate a prompt suspension of the VM toolbar

    3. now to resume the virtual machine by using vmrun command into the host machine

    WS t vmrun start xxx.vmx

    Now, the recovery of VM but the smart card reader that was previously connected does not work properly in VM that is to say, sometimes after CV chip card reader driver is uninstalling and a few other times, chip connected to the drive is not available on a virtual computer

    My requirement is after power, smart card reader can stay connected to the virtual computer with the already installed driver and the smart card.

    Kindly help with this problem.

    Host operating system: Victoire 2012 R2

    The VM OS: win 10 x 64

    Thank you!!

    Dear all,

    I had a work around for this problem. By adding "usb.autoConnect.device0 ="0xVID:0xPID"" this statement to the VMX file, solves this problem, that is, whenever the VM is wake-up by clicking on the link CV or using vmrun commands, it connects the unit in question automatically and it is charging correctly with his driver. Obtaining smart card detected after sleep\hibernate with no problems.

    VID & PID is respective ID of the device that can be seen in the properties of the Device Manager "Device Instance path".

    For more information about this, visit VMware KB: automatic connection of USB devices to the virtual machine power on

    ~ Surendra

  • A simple question - use of 11g grid control

    As I was trying to know the name of the database - for a particular server and schema - of course I don't know the name of the server and schema - however I am not able to find the database associated using the Grid control.

    I wonder if there are any good book on control areas (11 g) network manager - how to find the various parameters and how to interpret the metadata for databases, servers, patterns tables etc. backup recovery

    I always start with Oracle on line documentation. They update frequently. Here is the URL for 11g EM:
    http://docs.Oracle.com/CD/E11857_01/index.htm

    L Sallwasser

  • Retrieve by using the backup control file

    Hello

    I was reading a book called Pro Oracle Database Administration by Darl Kuhn. There, under the theme of "The valuation of the loss of all control files", noted that all data files and control files are restored from a backup, because if we do not restore the data files the RCS in control files would be lower than the data in these scenarios files. Since online redo logs and archived newspapers is applied to the data files to roll forward in a current consistent state and does not roll forward to a control file.

    It is then mentioned to use 'recover the database by using the backup control file' then apply the logs (archive and redo if necessary).

    However I personally tested this script in a test environment and to bring all the backup control file could issue the same command as above and recover the database.

    My question is I know again and archives are applied only to the data files. So how does the control file are synchronized back when we do not restore the backup data files.

    Thank you

    If we do not restore the data files, the RCS in control files would be lower than the data files. Since online redo logs and archived newspapers is applied to the data files to roll forward in a current consistent state and does not roll forward to a control file.

    It would be incorrect you have determined. You can only restore the control files. You can manually create a control file and always do the restore.

    My question is I know again and archives are applied only to the data files. So how does the control file are synchronized back when we do not restore the backup data files.

    The control file is updated as well.

    See you soon,.
    Brian

  • Strange question USB CPU intense operations...

    So I was hitting this strange question lately with my R4 Aurora...

    During an intense application or game, the power of my keyboard & mouse will start go on and outside... fan start office turns up and down at the same time. The computer will continue to function, but as the USB power goes on and outside, I can't use the keyboard to stop. I can hit the power button on the computer and usually it stops just fine.

    Could be that your diet is more stressed.

    If you connect a USB2 Hub supplied with 50W power brick, what happens?

  • How to stop taking control in the page from popping up every time I double click on the firefox desktop icon?

    Pop - up when I double click the icon of firefox on the desktop, the home page and control of two-page fact sheet page. How to stop taking control in the page from to appear repeatedly when I double click the icon of firefox?

    You can solve this problem with the file blocklist.xml was forced to update.

    See:

  • Satellite A100 (PSAARA) - I can not use the remote control

    I used Toshiba A100 PSAARA, but now I can not use the remote control to operate all things?

    Thank you!

    If the remote control suddenly stopped working trying to restore the operating system to an earlier time using System Restore tool.
    If this does not help please let us know.

  • is it safe to use a view control of sequence to display the sequence file both for execution

    I have a Teststand UI written in Labview 2012.  It has a single control of sequence, and I use the ConnectSequenceView method to switch between the display just the loading sequence file and the running.  Allow me to reiterate.  When a file sequence is running, the control is connected to the execution Manager.  Otherwise, it is connected to sequenceFileView Manager.

    I begin to suspect that I have questions related to this control, when I do the following.

    1. load a movie file

    2 run Single Pass

    3. the execution ends

    4. unloading and Release sequence file

    5 load a different sequence file

    6. run single-pass

    7 Labview crashes

    Am I missing a step?

    Thank you

    Kevin

    So it seems the crash of Labview, I mentioned in the original post is unrelated to the joint use of display of the sequence control.  However during my troubleshooting, I noticed that I was missing cut from a point of view of control stage before connecting the other view.

    And for the record, I think that there are many things wrong with the architecture used in the complete example, but there also many too many features for what to.  Just need a simple "press a button" and "run a test" for operators.  Everyone uses the sequence editor.

    All right.  Thanks for the comments.

    Kevin

  • The use of parental controls to block Youtube will also block Youtube links on other sites from loading?

    I'm trying to stop a child direct access to Youtube. My concern is that it must be able to watch Youtube links for the school.   The school has content on one of their pages. I understand adding youtube.com to blocked list prevents the child to have access to this page directly... but it blocks all the content as well, or the child will be able to watch a video, if gave it a link?

    Ribeiro,

    If you block YouTube using the parental control, none of the links will be accessible by your child. Because he's going to block it as a whole.

    You can allow YouTube to a certain period of time by using parental control settings.

    -Looks

  • Notice: do not use a tab control in an fpga vi

    When you use a tab control in the top of the FPGA vi page, then all the controls and indicators on this subject are not selectable in the "i/o property node fpga" on the RT vi.

    FPGA 1 use a tab control to group controls and indicators

    FPGA 2 uses no tab control

    Hi Topp,

    the question is: why don't users using elements of the pallet of comics which are available in screw FPGA?

    I am currently working on a notebook and the screen is very low. It's nice to use a tab control to rearrange the controls and indicators on the fpga high vi, but it does not work.

    What do with fpga controls and indicator during debugging sessions (communication interactive façade)?

    What do you do with large screw fpga with several independent parts and many controls and indicators?

    Best regards, Stefan

  • By using labels of control tab as controllers of case Structure

    Hi all

    I have a basic question.

    I want to use the tab control label string as a trigger for structure options case. Sorry for the download is not my program because it's too complicated.

    I wonder how can I extract the label (the page name string) strings in order to be used as initiators for various cases of a box structure.

    I appreciate your time in advance.

    Kind regards

    Arman

    That makes no sense at all. It is simply wire the control to a case statement. It is an enum and the case statement admits that. With a right click, you can create a folder for each tab.

  • When I try to use the parental controls, I tells me that this page could not load any ideas

    When I try to use the parental controls, I tells me that this page could not load any ideas

    Hello

    Since when are you facing this problem?

    If it worked before, then do a system restore to restore the computer to an earlier point in time before the problem started.

    See these articles for help:
    http://Windows.Microsoft.com/en-us/Windows-Vista/what-is-system-restore
    http://Windows.Microsoft.com/en-us/Windows-Vista/system-restore-frequently-asked-questions

    Kind regards
    Afzal Taher
    Microsoft technical support engineer

  • Administrator: How can I use administrator to control program download?

    How can I use administrator to control program download?

    Thank you

    How can I use administrator to control program download?

    Thank you

    Be specific.

    What exactly are you trying to accomplish?

    You try to say you want to prevent other users to download programs?
    If so,.
    1. don't let them use your admin account.
    2. don't let others know what your password is admin change it if it is already known to others.
    3 setting up an atandard for them user account. Standard user account has privileges to download, install, change settings, etc. etc.

    If that does not answer your question, then formulate your question in detail. For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • Strange question, craps remaining after the system recovery on my windows xp desktop.

    Strange question, thank you for your comments!

    I just reinstalled windows xp on my old HP desktop HP Pavilion Media Center TV m7334n PC computer using the recovery on D partition. I expect that the installation would be a clean install. At the beginning of the recovery, I noticed the message on the screen saying that the backup was in process. After recovery, I could start my computer and realized that used disk space C was still as the space of C drive used before the restoration. I also noticed that there was a lot of pre-installed programs appears on the list of start - all programs. I never installed them after recovery. Many of them work. I expect a CLEAN installation. It is not clean at all.

    Furthur inspection on the system to reveal problems:

    1. I noticed that there are so many records under the program folder program files on the C drive (I have only one program fichiersDossier). I guess that the recovery process copied evething under my original forder of program files in this folder. I don't have anything I can use most of them because the links were scattered on a large number of them (I can't run the program of either start - all programs or folder directly). Is not at all a CLEAN installation.

    2. the recovery process also copy my document in the folder as well original user, see below to understand which is the original file of the user.

    3. originally, in my computer, I have two users (or 3 including comments), we came to HP-administrator with the computer, is another family.  On the computer I just recover, there are 3 users accompanying the recovery. They are administrator, hp-administrator and guest. I've renamed the family administrator. Now, under systems and settings, I see the user plus two records. They are administrator-YOUR-4DACD0EA75 and hp-administrator-YOUR-4DACD0EA75. YOUR 4DACD0EA75 sounds familiar. I can remember that I was lazy and that it has not changed the computer name during installation after recovery. YOUR 4DACD0EA75 is actually the default name given to me during the installation. I don't like this at all, so I changed the name of the computer and restarted the computer. The name of the computer was changed after the restartup, but ugly folder names remain the same and I can not even rename the ugly file name.

    I had done some restorations system on this computer before, I never noticed a problem like this before.

    1 have we seen this before?

    2 I forgot something?

    3. can I safely delete the original user profiles and records under the program folder program files?

    4. can I do a system recovery really CLEAN? I understand that the crapware will be installed during the system recovery. I'm ok with that, what I want is my pc to be recovered to the original state of the plant.

    5. I can read is no longer my 1st disc restore dvd. Is it possible to make another set of recovery disks?

    Thanks for reading my long message!

    1 have we seen this before? I saw something similar and other relief to be fixed.

    2 I forgot something? I don't think so. Just do an another hard drive recovery. Try again is all I can think about.

    3. can I safely delete the original user profiles and records under the program folder program files? I would'nt mess with her. Just do another hard drive recovery system.

    4. can I do a system recovery really CLEAN? I understand that the crapware will be installed during the system recovery. I'm ok with that, what I want is my pc to be recovered to the original state of the plant. Yes. Used hydrogen peroxide call destructive (or full) non-destructive vs. Make a full - restoration destructive to put things o back the way you bought it.

    http://support.HP.com/us-en/document/bph07145

    5. I can read is no longer my 1st disc restore dvd. Is it possible to make another set of recovery disks? By all means, out juice of repair disk and try to get it back. If you can repair the disk, make a copy or 2 whole and store them in a safe place. Otherwise, you will have to order them from somewhere on the Web... as a popular auction site.

    Thanks for reading my long message! You are welcome. Thanks for posting. I hope my answer helps.

Maybe you are looking for