Play/Pause button for embedded video
I'm working with an embedded video file and have set up some
basic controls. The client wants the play button to be able to go
from Play to Pause and have the button visually do this as well.
Currently I have one Play button and one Stop button. How do I do
this?
Right now I have this for the play button:
on (release) {
_root.embeddedVideo.stopped = false;
_root.embeddedVideo.play();
And for the Stop button I have:
on (release) {
_root.embeddedVideo.stopped = true;
_root.embeddedVideo.stop();
Any thoughts or ideas?
What would that look like? Right now they're loading using the following code:
btnCashCollect_btn.onRelease = function () {
mcLoader.loadClip("CashCollections.swf",myLoader);
btnEndPeriod_btn.enabled = false;
btnCashCollect_btn.enabled = false;
btnFinancialMGMT_btn.enabled = false;
_root.btnHome_mc._visible = false;
So would I use something like:
btnPause.onRelease = function() {
myLoader.content.pause();
Actually I just tried that and it didn't work...I need the buttons to work for multiple external swfs that will be loaded into myLoader
Similar Messages
-
How to add a toggle play/pause button for a flash video
Hi,
Can someone help me with this flash video. I am creating a
custom video controllers and I need to have a toggle play and pause
button. How would do I go about that. I tried to use it on a play
button and the video pauses and play, but I need to get the pause
image and play image in there. So, can anyone give me the code for
that . I really appreciate it.
Thanksthis is not truly an event driven state machine....
too many loops
data flow dependencies
wrong use of boolean controls
not a true state machine
here is a template...
Spoiler (Highlight to read)
Attachments:
event driven state machine.llb 27 KB -
Play - Pause button for external .swf?
I'm trying to create buttons so a viewer can pause and then play an externally loaded swf. My project can be accessed at the linke below. This is how I want the project to function
-Click a room on the building (choose Accounting for this discussion)
-Click one of the demo options (choose Ending a Period for this discussion)
- Now that the demo plays, I want the user to be able to play and pause the demo swf.
The demo .swfs were created in Captivate so I don't have access to their timeline. They are loaded into an empty Loader component using the MovieClipLoader Class. Can anyone post some possible solutions to this problem? Thanks!
http://distribution.activant.com/demos/prophet21-on-demand/What would that look like? Right now they're loading using the following code:
btnCashCollect_btn.onRelease = function () {
mcLoader.loadClip("CashCollections.swf",myLoader);
btnEndPeriod_btn.enabled = false;
btnCashCollect_btn.enabled = false;
btnFinancialMGMT_btn.enabled = false;
_root.btnHome_mc._visible = false;
So would I use something like:
btnPause.onRelease = function() {
myLoader.content.pause();
Actually I just tried that and it didn't work...I need the buttons to work for multiple external swfs that will be loaded into myLoader -
Hi - Re Keynote I'm trying to figure out how to create a music album (as an artist) on USB flash drive, (accessible by both Mac and PC). What I want is a background picture with 'click-buttons' to play each track listed, and play in order (like a cd) - also similar for embedded videos and photos etc. This should all be on the one page.
Is this possible with Keynote, or any other software package for Mac (am using Macbook Pro) ?
Gav 88Hi there,
Yikes, it sounds like you've been doing a lot of work on this project... Unfortunately, however, this isn't the Adobe Encore forum, but the Acrobat.com forum. While it seems like an exciting question, we're not able to address issues pertaining to other Adobe products and services. Here's a link to the Adobe Encore forum, where you're more likely to get help for this specific issue:
http://forums.adobe.com/community/encore
Sorry not to be of more specific help to you. Best of luck!
Kind regards,
Rebecca -
my client wants to add audio to their banner ad (which always has a full stage clickTAG set). I'm trying to figure out a way to just use a simple play/pause button and attach a toggle action to it. Problem is when the user clicks it's going to the clickTAG URL that's attached to the full stage. Is there any way around this?
Please advise and thank you in advance.I have the same issue. It is pretty annoying but at least the audio remains within the motion project. It just isn't accessible it seems as an FCPX template. So what I'm doing is this:
I still use the video within FCPX's generator section so that you can edit the parameters as you need to
For the audio, open the project in motion then under Share, click 'Export Audio'. Select 'CAF' format and save to your hard disk
I then import the audio file into an event I set up specifically for this purpose (per BenB's suggestion).
When I need it, I then insert the generator from the generators section and then attach the audio file below the primary story line for the audio track
It isn't pretty but it works. -
I have search the internet, but I cannot find a simple way to
create a play/pause button in AS3. All the solutions I find are for
older versions when buttons could have actionscript directly
applied to them.
I created a flash animation and exported it as a .swf to work
with only one layer in a new .fla file. I have three layers
created, button, video, and actionscript. What I need is a button
that will look like a pause button when the animation is playing
and to pause the animation when clicked. It would be nice if it
could also switch to a play button when paused.I made a movieclip (ppBtn) with 2 frames. The first has the
pause button and the frame label 'pause'. The second frame has the
play button, 'play'. I placed your script into the action layer.
When I preview the animation, the buttons just alternate really
fast and have no fuction. -
Creating a Simple Flash Movie With Poster Frame and Play/Pause Buttons
Hi, It's been over a year since I played with Flash last, and
I have completely forgotten everything I learned.
I have a .flv file which I want to play on my website. It
should display a poster frame when the page load, and not autoplay
the movie. It should have the play button I made in photoshop
sitting on top of the poster frame. When pressed, the movie should
start playing and the button should be shifted for the pause button
I made in PS (it should work just like the play/pause button in
iTunes). When the movie has finished playing, it should jump back
to the poster frame.
I have tried using the flvplayback component and also played
around with just embedding the flv directly and inserting a play
and pause button from the common library, but I can't seem to get
it to work. With the flvplayback component I have managed most of
it apart from using my own buttons and getting the poster frame to
work (which apparently has to be done with Action script).
Any help appreciated.Which version of Flash/actionscript are you using? Since you
are just starting out, you should read one of Adobe's tutorials on
the matter. Either use Flash Help to find examples on how to use
Flash or go to their website. Here is a great tutorial for someone
just starting out. Make sure you read all three tutorials in "Using
Flash for the first time".
http://www.adobe.com/devnet/flash/getting_started.html -
Is there a way to have one 'Central' Play/Pause button in Captivate? I have inserted 4-5 video files into Captivate and either have "Autoplay" selected or leave the control to the end user in the skin. However, when that user presses pause on the Captivate playbar the video file will keep playing if I select "Autoplay." If I don't select "Autoplay" then there are two play/pause buttons (one controlling the video file and the other the whole captivate project)...is there a way to combine these two play/pause buttons into one central play/pause button?
Sounds like your videos were inserted as Event videos. Look into trying inserting them as Slide videos instead. Then you lose the skin on the video but the playback bar for the entire module will pause the videos as well.
-
Common control buttons for animation+video
I wan to be able to embed an animation like one of these http://http://www.texample.net/tikz/examples/tag/animations/, which has its own control buttons,
alongside a regular video, and have both of them run by a common set of control buttons for play/pause/rewind.
For example, the video could be a video of an actual object or a ball falling, and the animation could be the animated drawing of some math formula related to the fall of the object.
Message was edited by: Maesumi(1) Is it possible to put 3 buttons, say A, B, C, on a PDF page so that pressing A will be equivalent to pressing B and C?
(2) And would Adobe Pro allow one button to be placed on top of another one?
The simplistic idea here is to manually perform what a program would do. So I will use A as the master control and place B on top of the control button for the video and put C on the control button for animation. Then when I click on A it is as if I have pressed B and C simultaneously. -
No play/pause button or scroller
Whenever I watch an embedded quicktime video, it plays but there is just a black bar instead of a scroller or a play/pause button.
Here is a picture that shows the problem.
http://www.pikipimp.com/pp/pimped_photo/s/image/36/907/833/sample-compiled.JPG?t s=1225742982104
How can I fix this? Thanks.This is template specific thing. I think in one way or the other this functionality is present in the templates.
-
Add a play/pause button on old Macbook
I got pretty used to have a play/pause button on my new iMac. But as I still have an old Macbook Pro (the first Intel core duo 2006 model) Apple didn't make buttons on the keyboard to navigate through your media in iTunes or Spotify or whatever media program is active.
I'd like to add a play/pause functionality to my F11 and a forward functionality to my F12 button. I've managed to do so in system preferences > Application Shortcuts. But the thing is that the buttons only work if the program (I'm mainly using Spotify at the moment) is active. I want to make these buttons in all other programs (just like the play/pause buttons on new Macs). How can I do that?
PS: I don't mind using terminal for this.Does anyone know if it's impossible?
-
Hello I was wondering if anyone else has had such an issue. It's not a major problem but it does bug me sometimes.
I have a 2nd generation Ipod Mini that's still under warranty. I usually turn off my Ipod by pressing and holding down the play/pause button. Lately however, I've noticed that this doesn't always work. Somtimes I have to try a couple of times for the Ipod to recognize that I'm actually holding down that key for it to turn off and not just pressing it to enable pause or play mode. The problem isn't always consistent but this was definitely not an issue before.
Now my question is, is it really worth it to send it back to Apple? I understand that all Mini's that they send back now are refurbished..but is it worse to get a refurbished one back? Also, my warranty is expiring in November. If I do send my current Ipod back and get another one back does my warranty still only go until November? What if something is wrong (or goes wrong) with the one that they send back after the November deadline? Am I screwed?
Thanks for any answers!Don't keep postiong with nothing else to say...saying "anyone?" is not going to make us answer any faster.
Try this:
when you go to turn it off, don't touch any buttons for a couple seconds before hand. I seem to have the same problem with my nano and I think the problem is just that the processor can't keep up.
I hope this helps! -
30GB Play/Pause button won't work.
Yes, another iPod Classic's play/pause button is messed up. I got it in March '09 so I believe that's over the 90 day fixing range. I've tried resetting, holding the menu & center button, & all of the suggestions on the Mac site, but it still won't work.
Any ideas what could be wrong & how to fix it?Besides resetting the iPod, have you attempted restoring it? You can do that by clicking the "Restore" button on the the iPod's Summary page in iTunes.
Assuming that doesn't work, you can check your [warranty status|https://selfsolve.apple.com/GetWarranty.do] to see if you are still covered for hardware repair. I doubt any 30GB iPods are still under warranty, since they were discontinued over two years ago, but you said you got it in March 2009 - did you purchase it used?
Whether it's under warranty or not, you can always make a Genius Bar appointment at your closest Apple Store and see if they have any other suggestions, free of charge. If it's a hardware problem, they can replace the iPod for you, but there would be a charge to do so if you're out of warranty.
Shawn -
Removing client's ability to use play/pause button
Hi all
I am keen to use Presenter to put together a language listening test for some clients. My clients want their students to not be able to pause the presentation so, say, they can't pause, translate word, pause, translate word and so on. In order to do this, I need to remove or lock the Pause/Play button that appears in the skin of a Presenter module.
I realise I can completely remove the Player bar by opening up the vconfig.xml file and changing the value next to <uishow name="playbar"> to false. This is a quick and dirty solution and may do the trick. However, I would like the students to still be able to see the time count down for each slide in the player bar. Why? Well, because my clients want their students to listen to an audio track, receive one minute's thinking time and then go on to answer a question about the track. The students should know how much time they still have available. This means somehow either removing the Play/Pause button or at least locking down its functionality.
I'm not a Flash wiz (though I do have it) but I don't mind making changes to a few codes here and there. I just need to know which file/s and which code.
Your thoughts/expertise would be greatly appreciated. Thanks in advance
PetaHi Peta,
You're right...you could hide the playbar by setting that value to "false", but as you have no doubt already seen, that modification eliminates everything, which won't totally solve your problem.
Since you have Flash, I'd recommend that you create a simple .swf file that will ultimately hide the Play/Pause button in the playbar area of Presenter content. I'll be honest...I haven't "locked" the Play button, but that might be something to investigate IF what I'm proposing here doesn't do the trick for you.
So here we go....
In Flash, create a small stage area and on frame one in your timeline add the following:
this.onEnterFrame = function () {
_root.m_controlBar.m_playBtn._visible= 0;
Save the Flash file as "playBtnKill.fla" and then publish it. Then head back to PowerPoint and add the swf to the first slide in a presentation using Presenter's Import Flash function. Publish the content and the Play button should be gone!
Programming NOTE: because Presenter is set up for Flash Player 6/7/8, its best to code everything using Flash Player 6 / Actionscript 2.0 as the coding environment.
A couple of things to keep in mind about this:
First, by placing the swf file on the first slide of your PPT deck, the Play button will be affected for the entire duration of your presentation. If you need it to show / hide / show /hide periodically throughout the deck, then you might want to think about how you want to handle the overall stucture of your course. Meaning, that what might work is to kill off the Play button entirely, but use a PowerPoint graphic (that looks like a Play button) and then time that object to appear after a certain amount of time. Of course, then you'd have to hyperlink the PPT object to the next slide in your deck so that folks will be given an opportunity to advance to the next slide.
Second, since your intention is to remove the Play button, you should probably leave the "Advance by user" feature set to "NO", otherwise you will ahve to provide some mechanism of navigating from slide to slide (as mentioned above). At least this way, by the time you've reached the end of the audio for a slide, the presentation will automatically advance.
Hope that helps!
Rob
http://www.robrode.com/yabb/ -
The play/pause button on my ipod classic is not working, I am unable to turn off or push play on my ipod. Is there away to fix this?
Do other devices now connect?
Did the iPod connect before?
What encryption/security is the router using?
Try:
- Reset the iOS device. Nothing will be lost
Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Power off and then back on the router
- Reset network settings: Settings>General>Reset>Reset Network Settings
- iOS: Troubleshooting Wi-Fi networks and connections
- iOS: Recommended settings for Wi-Fi routers and access points
- Restore from backup. See:
iOS: How to back up
- Restore to factory settings/new iOS device.
- Make an appointment at the Genius Bar of an Apple store.
Apple Retail Store - Genius Bar
Maybe you are looking for
-
I can't access any of my iPhoto pictures from my old computer since the new (used) computer I got doesn't have it. The new one is a newer version but the applestore only has the iLife 11 which would need me to upgrade. I'm not against upgrading I rea
-
Hi, I'm trying to start a process via the process repository, but keep getting the message "Problem occured fulfilling the request. Log entries created with ID: 00199921BE7E0C7C00000000000040DC" - when I look at the log via NWA I can only see the "Nu
-
Getting the Latest Record.
Consider 2 tables TestCases and TestRun a test Case can have multiple test runs ie. TestCaseId from the Test Case Table will map into N number of Rows in TestRuns table. I want to do a count of all the test runs which are pass, but as there are multi
-
Please, someone help. I just need my email passwords. Everything has stopped working. Apple is ZERO help. I get constant dialog boxes asking for passwords. I've tried listing every password I've ever used at least 25-50 times, to no avail. Thank you.
-
Reader opens a new window with same file and crashes when trying to print
the wierd thing is that I have two Dell systems printing to the same HP 4015 printer, though when the other one prints there is no problem, and when printing to another printer the same error occurs, any other documents are fine. we've tried the driv