Make button invisble when movie starts to play

I have a FLV file in a FLVplayback component. Once it has
played and reaches the end I have a button become visible. But my
delimma is if I want to watch the movie again and click play, the
button remains. How can I make it go back to being invisible until
it reaches the end again?
Any help would be greatly appreciated.
thepopguy

Thanks ggshow,
The button that would be clicked is the play buttion of the
skin.swf file. Would I add the actionscript to the play butto in
that fla file? And if so, what happens if someone is playing the
video and pauses, then resume playing.

Similar Messages

  • Make button invisible when flv starts again

    Hi,
    Please, can some one help me and tell me how to have a button
    instance become invisible when the play button from the skin.swf
    file is clicked? There may be another way to acomplish what I am
    trying to do.
    I have a Flash 8 file with a FLVPlayback component pointing
    to a FLV file. I am using an external skin for the controls. When
    the video is finished I have it displaying a button, but if the
    person wants to start the video again the button needs to become
    invisible again. I am assuming I need to create an actionscript
    that says if the video is playing (at all ) the button is
    invisible. But how?.. is the big question for me.
    Any help would be great.
    Thanks
    thepopguy

    This is possible. You need actionscript to check the status
    of the video, if it is playing then the button goes invisible. This
    is called an event listener. You need to give the component an
    instance name - like vid. Then use this code on the frame:
    //listen for movie to play
    var vidList:Object = new Object();
    vidList.playing = function(){
    button1._visible = false;
    //any other actions go here
    vid.addEventListener ("playing",vidList);
    stop;
    //listen for movie to stop
    var vidList2:Object = new Object();
    vidList2.stopped = function(){
    button1._visible = true;
    //any other actions go here
    vid.addEventListener ("stopped",vidList2);
    stop;
    ============
    This code will actually listen for the movie to play, and
    then it will make the button invisible. It also listens for the
    movie to stop, and it make it visible again.
    Sample:
    http://www.johnkalnin.com/flashhelp/Vid-isPlaying-inv.html
    Flash 8 source:
    http://www.johnkalnin.com/flashhelp/Vid-isPlaying-inv.fla

  • Why does Itunes stop working when I start to play a movie

    Why does Itunes stop working when I start to play a preview or watch a downloaded movie rental

    Let's try the following user tip with that one:
    iTunes for Windows 10.7.0.21: "iTunes has stopped working" error messages when playing videos, video podcasts, movies and TV shows

  • When I start to play a movie on my ipad, the message cannot find URL appears

    When I start to play downloaded videos I get the message 'unable to find URL'

    It only seems to be on videos I javen't watched before this problem started.

  • Why does my iPad I.o.s 7.0.4 keep crashing when I start to play game ex: HayDay

    Why does my iPad I.o.s 7.0.4 keep crashing when I start to play game ex: HayDay

    Try This...
    Close All Open Apps... Sign Out of your Account... Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
    Wait for the Apple logo to Appear...
    Usually takes about 15 - 20 Seconds... ( But can take Longer...)
    Release the Buttons...
    Note:   Also consider Deleting any Apps you have Purchased / Downloaded but you now never use...

  • Itunes makes crackling feedback when any sound is played

    Any one been noticing this? its just a couple crackles when audio starts to play or periodically here and there. big bug apparently. and its not my sound driver cause other people are having this problem too

    and i run win 7 premium home - i just noticed that there is a volume control for a firefox plugin container in the sound mixer option - could there be an error with this?

  • I download a game from app store and when i start to play my macbook heats up

    when i download a game from app store and start to play it my macbook starts to heat up very quickly making me to delete the games in order to come to normal.why is that?i mean i wont be able to play any games ? because i tried that not only with one specific game but with many

    The MBA may be used for light game playing. It's not designed for heavy games that demand lots of CPU and GPU power. So you need to determine if the demands of the games meet what the MBA can deliver. It's also possible you are trying to play a game version that is not wholly compatible with the version of OS X in use. This can cause issues with compatibility. It's important that your MBA possesses the minimum hardware needed for a game. Note that having the minimum hardware does not mean that the MBA is suitable hardware.

  • Thought i downloaded a movie on new ipad, but when i started to play it, about half way through it stopped .  my time is up in a few hours.  what can i do?

    I downloaded a movie several days ago to my new ipad.   I thought it had completed the download.  I started to watch today and it keeps stopping.  I accidently started it yesterday so the 24 hour time limitation started.  What can I do??  Would Itunes be willing to give me another few hours?

    Welcome to the Apple Community.
    Select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History on your computer.

  • Can't airplay movies - icon disappears when movie starts in iTunes

    Hi guys. Had this problem for a little while now. I'm running iTunes 11.4 on Windows 8.1 and an Apple TV in another room. I've had no problems until recently. Anything but movies will play perfectly to the Apple TV. But the second I start a movie, the icon disappears, and iTunes starts acting like there's suddenly no Apple TV. Then when I exit the movie the icon reappears as quick as it went. Even for example I would go from streaming music perfectly, straight into playing a movie. Still the same. No amount of restarts or re-installations on both devices has solved the problem yet.

    iTunes prefs > Store.
    Tick Show iTunes in the cloud Purchases.

  • How to make buttons unclickable when one of them is clicked

    Hello,
    I am using JDev 11.1.1.4.0.
    I have a jspx page that has 6 command buttons. Some of them process the data present in the form and some of them are for navigation. Problem is when a user clicks a command button and clicks other button impatiently if the first process takes some time. Most of the time the app is able to handle this behavior, but when it fails it fails with 404 error(I'm speculating).
    Is there a quick and easy way to make rest of the buttons unclickable until the process finishes? I was going to handle this in backing bean to set the disable property to false when one of them is clicked, but cannot figure out when to set them back to disable=false.
    Many thanks in advance for the help.
    Bones Jones

    Shay,
    I tried something like this, but didn't work for me:
    public void submit(ActionEvent actionEvent) {
            disableButtons(true);
            ADFUtil.invokeEL("longProcess");
            disableButtons(false);
    }Debugging line by line, I found out even after the disableButtons(true) line, the buttons were still clickable. Curious, I put the disableButtons(true) at the end of the method, buttons were disabled when the control came back to the user. So it seems to me only the last diableButton() call before returning control has the influence.

  • [SOLVED] Using gdm, how to make commands run when x starts?

    Hello World!
    I am running arch on a Thinkpad T400, and would love to be able to scroll using the middle button and the trackpoint. I found this article: http://www.thinkwiki.org/wiki/How_to_co … TrackPoint
    and it says to insert some commands into .xsessionrc. The thing is, I'm not sure where .xsessionrc is, or if arch even uses .xsessionrc. (It said it would depend on the distribution.) I tried putting it in .xinitrc, but apparently that only runs with the command "startx", but I'm using a display manager. (gdm). In this thread:
    https://bbs.archlinux.org/viewtopic.php?id=85714
    the person was told to put the script in .kdm, since he was using that display manager. Is there a similar place for gdm where these commands will run at startup?
    If anyone is curious, here are the commands I need to run:
    xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 1
    xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 2
    xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Timeout" 200
    xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Axes" 6 7 4 5
    Any thoughts, hints, suggestions, or solutions would be appreciated.
    Last edited by TheGuyWithTheFace (2013-07-16 23:22:39)

    You should copy the global file to the location cookies indicated, and then modify the local copy.
    https://wiki.archlinux.org/index.php/Aw … ation_file
    Arch wiki wrote:Whenever compiled, awesome will attempt to use whatever custom settings are contained in ~/.config/awesome/rc.lua. This file is not created by default, so we must copy the template file first:
    It's a good idea to leave that template config file alone (the one in /etc/xdg/awesome), so that when you break your local config (and you will, trust me) you have the template file as a backup.
    You might want to read the wiki page for awesome, and also consult the awesome wiki.
    Last edited by 2ManyDogs (2013-07-16 23:39:56)

  • My ipod leaves the conection with airport express when i start to play a music. My iphone works correctly when I repeat the same operation. What is happening?

    I can'treproduce musics through the aipor express with my ipod touch

    Hi there alfelippe,
    You may find the troubleshooting steps in the article below helpful.
    iOS: Troubleshooting Wi-Fi networks and connections
    http://support.apple.com/kb/TS1398
    Be sure you're in range of your Wi-Fi router (access point).
    Tap Settings > Wi-Fi and turn Wi-Fi off and on. If your Wi-Fi setting is dimmed, follow these steps.
    Confirm that your Wi-Fi router and cable or DSL modem are connected to power, turned on, and connected to the Internet. If not, refer to your network administrator or Internet service provider (ISP) for assistance.
    Restart your iOS device.
    Tap Settings > Wi-Fi and locate the Wi-Fi network to which you're connected.
    Tap  and Forget this Network.
    Try to connect to your desired Wi-Fi network.
    Note: You may need to enter your Wi-Fi password again if your network requires one.
    Turn your Wi-Fi router off and on2. If your ISP also provides cable or phone service, check with them before attempting this step to avoid interruption of service.
    Update your device to the latest version of software.
    Update your Wi-Fi router to the latest firmware2. For AirPort Base Stations, install updates using the AirPort Utility.
    Wi-Fi disconnects or signal strength is less than expected
    Move closer to the Wi-Fi router (access point).
    Check for sources of potential interference.
    Remove any case, stand, or other accessories from your iOS device and see if signal strength improves.
    Reset network settings by tapping Settings > General > Reset > Reset Network Settings. Note: This will reset all network settings including
    previously connected Wi-Fi networks and passwords
    recently used Bluetooth accessories
    VPN and APN settings
    Additional Information
    Find information on connecting to a Wi-Fi network.
    Some third-party routers may not be compatible with all iOS devices, even after updating to the latest firmware. If your iOS devices can successfully connect to other Wi-Fi networks, contact your router's manufacturer to ensure that your router is compatible with your iOS device
    See recommended settings for configuring your Wi-Fi router for use with iOS devices.
    -Griff W. 

  • Program monitor activates automatically when sequenz starts to play

    Hey,
    This really slows down my personal workflow, whenever I hit spacebar the "program monitor" gets active, but I have my "projekct monitor" in the same spot and I want to browse my footage as the sequenz is playing  and since I have a second monitor for the video to playback I actually never really need to have the programmonitor active. is there any solution how i can deactivate the autoactivation (auto foreground) program monitor?
    I hope I explained it somewhat understandable :/
    thanks!

    That is a function of Windows, not Firefox. Just add a shortcut to Firefox to the Programs > Startup menu.

  • Why is that when I have my computer on and firefox open and I shut firefox and reopen I get the restore previous button and when I start my computer there is no restore previous button and I have to reset my tabs. This is very unproductive

    I have asked this before and did not get a answer. Is there a way I can reinstall version 3. Also, how do I get to the tools option can't find

    There was a different question here which I replied to, when I hit Post Rely, this question came up as the one my reply is to! It was from Larry also, but just the same, Why did the reply jump from one question to a different unrelated one? I hope Larry gets the problem he has fixed!
    Hey Larry, I had the same problem when I down loaded Fire Fox 4.0! Go to the upper left corner of the screen. Is there a small red box with an arrow that says Fire Fox? Left click there and a new menu drops down. Go to Options DO NOT CLICK!, scroll over to Menu Bar and left click on it and the red box goes away and leaves all the options your looking for! To remove it back to the other way, left click on Views, scroll down to Toolbars, DO NOT CLICK!, scroll over to Menu Bar and click on that and it will revert to the original set, with red Fire Fox bar in corner again! Have a Nice Day! :)

  • Hide buttons when movie loads and then show

    I have a movie that loads another video. When it goes to
    video by hitting button
    I can hide buttons underneath.
    When I unload the movie, I need the buttons to show up again
    and clickable.
    I added the onEnterFrame, but makes no difference.
    Can someone help as to how I can bring the buttons back when
    movie that was loaded is unloaded?
    Thank you in advance.

    > onEnterFrame(_root.VideoBtn.enabled._visible = true);
    Where did you find that syntax? It's incorrect, check the
    docs..
    However, I don't why you would do that, all that will do is
    make sure it's never invisible.
    To make the visible again, you do the same thing you did to
    make them invisible -- you set the _visible property to true,
    wherever you are unloading the movie.

Maybe you are looking for

  • How can i do a destructive processing with my au plug-ins

    here is the chapter from logic 8 user manual below,but where is the audiosuite menu? and what's the meaning of "AudioSuite plug-ins can only be used with hardware addressed by the DAE"? i'm fixing a vocal track,and i need to use a pitch tool to chang

  • How to make 'Key-Enter' trigger (when clicked on enter key)work like 'F8' key?

    Hi . I have another question to be asked. Oracle Forms 6i. I have a form in which DEFAULT&SMARTBAR is the menu and there are no push buttons. In the form, there is a 'field' named as 'ID No'. After entering 'ID No' in the field and click on 'Execute

  • Imac and external webcam

    Hi all, I have a G5 with an external isight. I'm getting a new iMac soon. My questions is...in my business the external cam is handy in that I can move it anywhere. If I need to show a client a tool I'm working on I can do so. With an iMac I have to

  • COPA Assessment Cycles and FI Period closing.

    Hi Gurus, I have question related to the COPA Assessment cycles. We have closed the FI Period 03 and running the COPA Assessment cycles. while running the same, for few of the assesment cycles are completed and for the rest of the few  cycles it is e

  • Inspecyion lot for delivery item

    Hi Experts, Please help. I have created sales order. Then created Production order with reference to that sales order. Processed poduction order. Stock posted to QM stock. Done Result recording & UD. Stock posted to Unres.use stock. Now I want to qua