Make the button invisible when flv starts again

Hello

Please, is - can anyone help me and tell me how do to have a button instance become invisible when you click the play button on the skin.swf file? Maybe there is another way to do what I'm doing.

I have a Flash 8 file with a pointing to an FLV file FLVPlayback component. I use an outer skin for controls. When the video ended I displaying a button, but if the person wants to play the video again the button must again become invisible. I guess I need to create an actionscript that says: If the video is in progress (at all) the button is invisible. But how?... is the big question for me.

Any help would be great.

Thank you
thepopguy

This is possible. You need actionscript to check the status of the video, if it plays then the button is invisible. This is what we call an event listener. You must give the component an instance name - like vid. Then, use this code on the frame:

Wait reading sequence
var vidList:Object = new Object();
vidList.playing = function() {}
Button1._visible = false;
other actions go here
}
vid.addEventListener ("play", vidList);
stop;

Listen to movie stop
var vidList2:Object = new Object();
vidList2.stopped = function() {}
Button1._visible = true;
other actions go here
}
vid.addEventListener ("order", vidList2);
stop;

============
This code will actually listen to the playback of the sequence, and then it will make the button invisible. He listens for the film to stop, and it makes them visible again.

Sample:
http://www.johnkalnin.com/FlashHelp/vid-isPlaying-Inv.html

Flash 8 source:
http://www.johnkalnin.com/FlashHelp/vid-isPlaying-Inv.fla

Tags: Adobe Animate

Similar Questions

  • How to make the button to set the properties of auto-scale one of the Axes on the graphical indicator so I can turn on or off when I press on it. In the Labview web UI designer

    How to make the button to set the properties of auto-scale one of the Axes on the graphical indicator so I can turn on or off when I press on it.

    I need to change the adjustment vaguely Autoscale property for my graphic indicator. Can someone help me please.

    Thank you!

    Hello

    I have confirmed that there is currently no way programmatically enable/disable autoscaling for axes on the LabVIEW graphical indicator generator of the user Web interface. We noted this to possibly be implemented in the future; Sorry for the inconvenience.

  • What are the causes videos stop and start again during the transmission?

    What are the causes videos stop and start again during the transmission?

    Hello

    You can update the latest drivers for the video card and check.

    Also perform the clean boot and check:

    http://support.Microsoft.com/kb/310353

    NOTE: When you are finished troubleshooting, make sure that restore you the computer mode normal startup such as suggested in the article above.

    Let us know the results.

  • Make the button load words from the list

    Hey guys!


    Just a note, I don't know about programming and I am new to Flash so please tell you the possible answers in the most simple way, thanks!

    So I do an application that when you click a button, it will be to randomly select a who, what, when, where and why from a list that I do.

    So say there's a button that says new idea.

    When I click the button it is:

    Who:

    Who:

    When:

    Where:

    Why:

    Say a small list of who's 1, 2 and 3

    A small list of what is 4, 5 and 6

    A small list of when is 7, 8 and 9

    A small list hence is 10, 11, 12

    And a small list of og is why the 13, 14 and 15

    How can I do so when I click on the new button idea it (by chance), will select one who, what, when, where and why of their list?

    Please help tell me what to do to make the button do place a word in a list, to what I'm asking!

    Please, I beg you!

    Thank you!!!

    To make a random selection from a list, you must first have the list.  A table is a good list, so for each category, create a table and fill each with any choice you intend.

    For the an elements to choose randomly from the list, you can use mathematical methods taken Actionscript supported by.

    var whoList: Array = [1,2,3];

    var randomWho = whoList [Math.floor (Math.random () * whoList.length)];

    Please do not start new assignments for the same topic

  • I m problem that my computer automatically turns off (is not closed correctly at the time of the switches) and when I start it gives message that windows do not close properly seeded.

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Previously I was using WIndow Vista Home Premium but recently I installed Windows Vista Ultimate.I m having problem my computer turns off automatically (is not closed correctly at the time of the switches) and when I start it gives message that windows do not close properly seeded.

    • You have problems with programs
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    Hello

    Look in the Event Viewer to see if something is reported on those.
    http://www.computerperformance.co.UK/Vista/vista_event_viewer.htm

    MyEventViewer - free - a simple alternative in the standard Windows Event Viewer.
    TIP - Options - Advanced filter allows you to see a period of time instead of the entire file.

    http://www.NirSoft.NET/utils/my_event_viewer.html

    -------------------------------------------------------------------------
    Also this, so you can see the probable bluescreens.

    Windows Vista restarts automatically if your computer encounters an error that requires him to plant.
    http://www.winvistatips.com/disable-automatic-restart-T84.html

    -------------------------------------------------------------------------

    Here are a few ways to possibly fix the blue screen issue. If you could give the blue screen
    info that would help. Such as ITC and 4 others entered at the bottom left. And all others
    information on errors such as STOP and information such as IRQL_NOT_LESS_OR_EQUAL codes or
    PAGE_FAULT_IN_NONPAGED_AREA and similar messages.

    As examples:

    BCCode: 116
    BCP1: 87BC9510
    BCP2: 8C013D80
    BCP3: 00000000
    BCP4: 00000002

    or in this format:

    Stop: 0 x 00000000 (oxoooooooo oxoooooooo oxoooooooo oxooooooooo)
    Tcpip.sys - address blocking 0 x 0 00000000 000000000 DateStamp 0 x 000000000

    It is an excellent tool for displaying the blue screen error information

    BlueScreenView scans all your minidump files created during "blue screen of death," collisions
    Displays information on all the "crash" of a table - free
    http://www.NirSoft.NET/utils/blue_screen_view.html

    BlueScreens many are caused by old or damaged, drivers particularly video drivers but it
    are other causes.

    You can do without if needed fail or the Vista DVD or recovery command prompt mode
    Options if your system was installed by the manufacturer.

    This tells you how to access the System Recovery Options and/or a Vista DVD
    http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspx

    You can try a system restore to a point before the problem started when one exists.

    How to make a Vista system restore
    http://www.Vistax64.com/tutorials/76905-System-Restore-how.html

    -------------------------------------------------------------------------

    Start - type this in the search box-> find COMMAND at the top and RIGHT CLICK – RUN AS ADMIN

    Enter this at the command prompt - sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    The log can give you the answer if there is a corrupted driver. (Says not all possible
    driver problems).

    Also run CheckDisk, so we cannot exclude as much as possible of the corruption.
    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

    -------------------------------------------------------------------------

    Often drivers up-to-date will help, usually video, sound, network card (NIC), WiFi, part 3
    keyboard and mouse, as well as of other major device drivers.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    How to install a device driver in Vista Device Manager
    http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.html

    How to disable automatic driver Installation in Windows Vista - drivers
    http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
    http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspx

    -------------------------------------------------------------------------

    How to fix BlueScreen (STOP) errors that cause Windows Vista to shut down or restart
    quit unexpectedly
    http://support.Microsoft.com/kb/958233

    Troubleshooting, STOP error blue screen Vista
    http://www.chicagotech.NET/Vista/vistabluescreen.htm

    Understanding and decoding BSOD (blue screen of death) Messages
    http://www.Taranfx.com/blog/?p=692

    Windows - troubleshooting blue screen errors
    http://KB.wisc.edu/page.php?id=7033

    -------------------------------------------------------------------------

    In some cases, it may be necessary.

    The Options or Vista recovery disk Startup Repair

    How to do a startup repair
    http://www.Vistax64.com/tutorials/91467-startup-repair.html

    This tells you how to access the System Recovery Options and/or a Vista DVD
    http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspx

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

  • How do I make the "REVERB" effect when you export the multitrack mixer?

    How do I make the "REVERB" effect when you export the multitrack mixer?

    The pre-rendered in multitrack view tool is the tilde to bit at the bottom of the effects rack lightning bolt.  Select the range that you have pre-made and click on the button that will turn blue when activated.

    Alternatively, you can go to the sight of waveform on the track, you need to pre render, apply the effect, and use the Save command as (with a new name) to save the new version and keep the original.  Less elegant than pre rendered but sometimes useful.

  • I recently started getting the following message when I start Windows Mail: the message store was damaged by an external application to Windows Mail

    I recently started getting the following message when I start Windows Mail:

    The message store has been damaged by an external application to Windows Mail. Windows Mail has been able to successfully recover from this corruption. (0 x 000000000) there are also twop messages in my Inbox "not found" and I can't delete them.

    However no identoify not the application Windows and McAfee does not detect any virus.

    Try to compact and repair the database.

    WMUtil
    http://www.oehelp.com/WMUtil/default.aspx

  • I get the following popup when I start my Acer laptop with Windows 7 - Microsoft dynamic C++ Debug Library...

    I get the following popup when I start my Acer laptop
    with Windows 7 and I use Google Chrome as My browser - I would like to know how to
    it stop what happens when windows starts. -Thank you--->
    Dynamic Microsoft C++ Debug Library
    program: C:\Windows\system32\igfxsrvc.exe
    File: D\Program Files\Microsoft Visual Studio
    9.0\VC\ATLMFC\INCLUDE\atlcom.h
    Online: 2475
    Expression: 0 & "communiqué called on a pointer that has.
    already been released.
    For more information on how your program can cause a
    the assertion failure, see the Visual C++ documentation on
    argues.
    (Press Retry to debug the application)
    Choice to follow:<--Not seen="">
    Abort Retry Ignore

    Hi Chris,

    This problem may occur because of the conflict between certain third-party applications.

    We will start the computer Safe Mode to check if the problem occurs in Mode without failure. If the problem does not occur in Mode safe, then you can try to set up your computer in a clean boot state to find what startup item or service is causing the problem.

    Step 1:
    To restart in Safe Mode, see the link.

    Startup options (including safe mode)

    http://Windows.Microsoft.com/en-us/Windows7/advanced-startup-options-including-safe-mode

    If the problem does not occur in Mode without failure, then you try to put the computer in a clean boot state.

    Step 2:
    To perform Clean boot follow the procedure below.

    By setting your boot system minimum state helps determine if third-party applications or startup items are causing the problem.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or Windows 7:
    http://support.Microsoft.com/kb/929135

    Note: After the boot minimum troubleshooting step, follow the "How to reset the computer to start as usual after a clean boot troubleshooting" section in the link provided to return the computer to a Normal startup mode.

    Hope this information helps. Answer the post with an up-to-date issue report to help you further.

  • I had the literoom last Sunday. but did not the program. When I start this program. "Please disconnect in the menu help reconnect you, and then click license of this software.

    I had the literoom last Sunday. but did not the program. When I start this program. "Please disconnect in the menu help reconnect you, and then click this software license" How can I do?

    Hello

    I see that you bought the subscription of photography and it seems it is stuck in the sign in a loop.

    Please try out the following links

    Solutions to connection errors, activation and connection with creative Cloud applications and Creative Suite

    Solve the common activation Adobe Creative Cloud (login) and questions (disconnect) disabling or error messages

    Troubleshooting of Activation creative cloud (solved 99% of the questions)

  • How should I do to don't see only the tools-plan when I start Dc Acrobat?

    How should I do to don't see only the tools-plan when I start Dc Acrobat?

    Hey Peter,

    If you use the player, then you can do the same thing in preferences as I mentioned above.

    Or, if you have Acrobat, then you can hide the tool by key pane by pressing (SHIFT + F4), enable option 'Restore last view settings... ' under ' Edit > Preferences > Documents.

    Close Acrobat and then relaunch it.

    Kind regards

    Ana Maria

  • Is it possible to make the background invisible in a desktop flash application?

    Hey there,

    I'm currently trying to create a small Flash desktop application that works a bit like sheep-scmpoo (scmpoo - cute little lamb / sheep on your desktop - YouTube). A screenmate with some animations and a movieclip linked together in as3.

    Now, my problem is that the animal animation should look less like it really moves on the desktop of users, since I've found no way to really place it.

    I already put it in mode full screen, which eliminates the borders, but I can't find a way to make the background invisible/transparent. In web browsers, this seems to be quite easy, but it works for desktop flash at all?

    And if yes, how can I do?

    Thanks for the help

    window style: custom background (transparent);

  • Pop 0xC004E002 error code for the Windows Activation when to start my laptop

    Today, October 21, 2011 morning I start my laptop when the window have problem to boot if I start in safe mode, and then restart. At this time, I got the error for the Activation of the code window is 0xC004E002. Discription of the error is "the software licensing service reported that the license store contains inconsistent date".

    Please advice how I can fix this error.

    Thanking you

    Kind regards

    Mess Unagar

    To analyze and solve problems for Activation and Validation, we need to see a full copy of the report produced by the MGADiag (download and save to the desktop - http://go.microsoft.com/fwlink/?linkid=52012 ) tool
    Once saved, run the tool.
    Click on the button continue, which will produce the report.
    To copy the report in your response, click the button copy in the tool (ignore the error at this stage), and then paste (using r-click and paste or Ctrl + V) in your response.
    -* in your own thread *, please

    That said, it seems that the license store is corrupt - so, try the following.

    (1) open an Internet Explorer window.
    (2) type: %windir%\system32 in the browser's address bar.
    (3) find the CMD.exe file
    (4) make a right click on CMD.exe and select "Run as Administrator"
    (5) type: net stop slsvc (it may ask you if you're sure, select Yes)
    (6) type: cd %windir%\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareLicensing
    (7) type: Rename tokens.bar tokens.dat
    (8) type: cd %windir%\system32
    (9) type: net start slsvc
    (10) type: cscript slmgr.vbs - FLIR (it may take time for this will be complete, please be patient)
    (11) restart your computer twice.
    (12) you may need to enter you product key and activate it.

  • The light yellow on the F12 key when I start my new HP computer

    Original title: not working f12 key...

    Dear Sir, I have purchase new computer hp laptop with OS back free... and I'm upgraded 8 victory... I am facing problem with the key f12... he had a small red light bulb and it is always on... I can't stop it... I do not use conection wifi wifi.disabled... but it does not stop... so please tell what to do now?

    .

    Hello Ben,

    Thank you for visiting Microsoft Community.

    According to the description, I understand that you bought a new HP laptop and Windows 8 is installed. Now when you start your computer the F12 key on the keyboard has a light that turns on automatically even when you are not using a Wi - Fi connection.

    New and most advanced laptops have OneTouch features. The F12 key with a yellow light on computers laptops HP are one of the main OneTouch for Wi - Fi. To turn on Wi - Fi, just press this button and it lights with a white light instead of orange (red) during a Wi - fi is disabled. Also when you turn on Wi - Fi even from network settings this turn key with white light.

    There is no problem with your laptop, it is the functionality of your new computer.

    For more information, you can view a conversation in a HP thread below:

    How can I activate (turn on) on my Envy laptop wireless?

    http://h30434.www3.HP.com/T5/notebook-operating-systems-and-software/how-do-I-enable-turn-on-wireless-on-my-envy-laptop/TD-p/858735

    Hope this information is useful. Feel free to write us again if you have any further questions or for any further assistance with Windows, we will be happy to help you.

  • Make the button not read back symbol

    I'm sorry for everything that you Pro Edge there.

    I had a Flash designer for many years, but never a great coder, but is now trying to get on board.

    IM start with something very simple.

    4 buttons that play releated symbols with my ways caveman able to make it work.

    * Except that after the symbol shows. I can click on the new button and the symbol goes to 0, clicking again and she plays again. Is there a simple way that after I clicked the button to read the symbol that I can not click on the button again after the symbol is done playing.

    I hope that one of you will not want to help out me.

    Thank you!

    Eggert

    Here are my files

    https://DL.dropbox.com/u/2093612/button_troubles.zip

    You can use unbind().

    See your publication with unbind() - look in the window code to see composition ready, then at the beginning of each symbol.

    https://www.dropbox.com/s/xq6q6txnbdza0je/button_troubles.zip

  • Roll over a Hotspot to make the button appear

    I have a 1900 flash card. It has the numbers on the image. I drew hotspot on each number buttons. Passage of the mouse, I want an icon that specifies the industry at this place. Clicking the icon opens a pop-up window. My problem is that I made the icons invisible all the loading using the following code:
    this.iconBrewery_btn._visible = false;
    this.iconQuarry_btn._visible = false;
    etc., I want a mouse on the icon visible again. Roll-off and the icon disappears. Click the icon and the popup is displayed. I can do the popup part, but I can't understand the flipping action script. Of course, I'd like some advice. Theoretically, this should be a very easy thing to do! I wrote all this in HTML, but I don't really like how it gets stuck so I thought I would write it more Flash. My HTML version is http://cnyhistory.org/maps/1900.html but I thought that a Flash version would be better. I enclose the code that I tried to use. As a result, the icon will blink quickly. Very distracting. I tried to insert the icon in the State over my button too and he also flashed in and out repeatedly. Any suggestions?
    Thank you
    Karen

    After much hair pulling, I discovered how different doing this project in Flash is this coding in HTML. Flash, an access point is not necessary - and in fact, it's all dysfunctional. When a hotspot is under a button, you can't get there by mouseover! So, I have illiminated points hot and just did the _visible (or the _alpha) and it works! It was the logic, but not in the way thought Kglad. Flash think different overlay of DreamWeaver. I'm so happy. My code works now!
    This. Salt_btn._alpha = 0;
    Salt_btn.onRollOver = function() {}
    Salt_btn._alpha = 100;
    };
    Salt_btn.onRollOut = function() {}
    Salt_btn._alpha = 0;
    };

    Thank you all for helping me to understand this one!
    Karen

Maybe you are looking for

  • Add to the NI_UserCustomPrivileges using API

    I searched in several ways for this information and have failed.  Is there a way to add entries in the NI_UserCustomPrivileges container - and save the changes to disk, of course?  I found a lot of examples of adding and removing users and change the

  • connectivity Wi - Fi T430S problem

    Hello I have problem with wi - fi on my Lenovo T430s. Wi - fi only does not show, there is only the bluetooth radio. I not found any solution to this. Restart or new drivers does not work. The only solution is to send it to the service? Thx for the a

  • Error code:-17004, could not load DLL or library

    Hi all I get the following error message: Error loading step 'x' sequence 'MainSequence' in the file 'y '.  Unable to load DLL or external library C:\bin\driver.dll Error code:-17004, unable to load DLL or library. ' Source ' THOMAS '. My main DLL is

  • MX922 software for scanner problem

    I love this printer.  Don't like the software that comes with it.  One of the things I do more often with the part of the printer scanner is to scan both sides of a cheque for electronic filing in my Bank.  The first thing I found was that my bank re

  • Microsoft Digital Image Suite

    I am successfully using Microsoft Digital Image Pro 10 with Vista. I used this for many years and do not want to give it up, but maybe need to buy the new computer. Is there a there editing program that compares in quality and ease of use that works