Two issues and a question with flash video
I am trying to create a film module template but have some issue below as well as a question
A video's sound continues to play after navigating to another frame.
My video cue buttons do not play or work after the video has played through one complete time
Is it possible to make a button appear only after a video has played all the way through?
here is some of the code and I have attached the files, thanks for looking
stop();
import flash.events.*;
import fl.video.*;
function cuePointHandler( event:MetadataEvent ):void
// On cuePoint, look for a button named with the cue name
// plus "_btn". If it exists, then call its select method...
navigate(event.info.name, false);
display.addEventListener(MetadataEvent.CUE_POINT, cuePointHandler);
// Navigation / screen state
// Store the current button name
var currentBtn:*;
var currentBtnName:String = "";
function navigate( cueName:String, seekTo:Boolean ):void
// Handle previous button
var prev = getChildByName(currentBtnName);
if( prev != null ){
currentBtn.reset();
// Handle new button
var next = getChildByName(cueName+"_btn");
if( next != null ){
currentBtn = next;
currentBtn.select();
currentBtnName = cueName+"_btn";
// Seek to Cue Name
if( seekTo == true ){
var c = display.findCuePoint(cueName);
if( c != null ){
display.seekSeconds(c.time);
// Button event handling
// Cue point 1_btn
function cpt1Handler( event:MouseEvent ):void
navigate("cpoint1", true);
cpt1_btn.addEventListener(MouseEvent.CLICK, cpt1Handler);
// Cue point 2_btn
function cpt2Handler( event:MouseEvent ):void
navigate("cpoint2", true);
cpt2_btn.addEventListener(MouseEvent.CLICK, cpt2Handler);
// Cue point 3_btn
function cpt3Handler( event:MouseEvent ):void
navigate("cpoint3", true);
cpt3_btn.addEventListener(MouseEvent.CLICK, cpt3Handler);
// Cue point 4_btn
function cpt4Handler( event:MouseEvent ):void
navigate("cpoint4", true);
cpt4_btn.addEventListener(MouseEvent.CLICK,cpt4Handler);
// Cue point 5_btn
function cpt5Handler( event:MouseEvent ):void
navigate("cpoint5", true);
cpt5_btn.addEventListener(MouseEvent.CLICK, cpt5Handler);
My navigation buttons advance the page to other frames set up to look like different
'slides" for students to read and watch different video clips on. The video sound is still playing from one frame when it goes to the next frame.
So I need to know how to stop the video's sound from playing when the user advances to the next slide.
Similar Messages
-
I'm having problems with Flash Videos (Youtube and ESPN)
I have been having this problem for the last couple of days now and it is really annoying. Whenever I watch a flash video like on youtube or espn my computer freezes up and the audio will make a loud buzzing sound. I have attached a video with the post so you can see what happens. I don't have problems with anything else except this. I also get this error no matter what browser I use. I have system restored my PC as far as I can go, and I've ran a ton of scans and driver update checks and nothing seems to work.
merci a tous pour les nombreuses réponse. j'ai dû mal a les lire vue que je ne lit que le français. je vous remercié encore une fois amicalement. Blanchette 2.
Date: Mon, 25 Jul 2011 19:50:19 -0600
From: [email protected]
To: [email protected]
Subject: Re: I'm having problems with Flash Videos (Youtube and ESPN)
What I meant is Hardware Acceleration off (disabled).
> -
OK - I have had intermittent problems with Flash video, basically it gets choppy, usually after about 20 minutes - half an hour of watching - recently this problem has gotten worse - coinciding with a recent system update perhaps? - it's more or less anytime I stream something, and it happens on all browsers, even when the movie has clearly downloaded and is buffered way in advance of the playhead.
On 2 occasions recently leaving the movie to play just to see what happens has led to a kernel panic.
I've heard alot about Flash video generally being a resource hog and not playing ball sometimes - is there a way to solve this issue? Things I have tried - reset sound to 16 bit 44.1 khz in audio/midi manager; fixed permissions; run Tech Tool - everything seems to be fine hardware wise - I think there are some incompatible driver issues that are meesing up RAM usage but have no idea what or how to solve this... Any ideas anybody?
Thanks.If, as you show, you are running 10.5.2, that is out of date. You need to install the 10.5.8 combo updater.
It is also possible that your FlashPlayer is out of date.
The latest version of Adobe FlashPlayer can be obtained from here:
http://www.adobe.com/shockwave/download/download.cgi?P1ProdVersion=ShockwaveFlash
(You can check here: http://www.adobe.com/products/flash/about/ to see which version you should install for your Mac and OS.
You should first uninstall any previous version of Flash Player, using the uninstaller from here (make sure you use the correct one!):
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14157
and also that you follow the instructions closely, such as closing ALL applications first before installing. You must also carry out a permission repair after installing anything from Adobe. -
Does anyone know how to fix the issue with Flash videos on websites and the lack of sound. For me is only seems to happen on YouTube and ive also updated Flash Player manualy and it hast fixed the problem.
''Sourjobraato Banerjee [[#answer-672074|said]]''
<blockquote>
Crashes or other problems with certain multimedia content in Firefox (such as Youtube videos and Flash animations or games) can often be resolved by performing the steps in these Knowledge Base articles:
* [[Flash Plugin - Keep it up to date and troubleshoot problems]]
* [[Flash 11.3 crashes]]
* [[Flash 11.3 doesn't load video in Firefox]]
On Windows Vista and above, you can disable Flash protected mode by following the instructions on these pages:
* http://forums.adobe.com/thread/1018071#TemporaryWorkaround
* http://kb.mozillazine.org/Flash#Disabling_Protected_Mode_in_Flash_11.3
(See [http://blogs.adobe.com/asset/2012/06/inside-flash-player-protected-mode-for-firefox.html this Adobe blog post] for technical details about Flash protected mode.)
For recent updates for Adobe Shockwave Flash, please update your version to 14.
Please refer to the security updates [http://helpx.adobe.com/security/products/flash-player/apsb14-18.html and Adobe Security Bulletin] for more information.
<!--Please also note that html5 may need to be enabled to view some videos on youtube [https://www.youtube.com/html5]-->
<!--[version 13]Please refer to these security issues [http://helpx.adobe.com/security/products/flash-player/apsb14-13.html and Adoble Blog post] for more information on the security update. -->
Please tell us if this helped!
</blockquote>
nah. Those steps didn't help me fix the issue. downgrading Firefox to 33.1.1 did however. -
If you registrate one Apple ID for each iPhone/iPad, you'll get 5GB on iCloud for each Apple ID, right? I have two iPhones and one iPad with the same Apple ID, why can't I get 5 GB fo each of them?
Actually, everyone missed one point, when a device is priced, the cost of icloud storage space for that device is also included in it that is why they are able to give you 5gb each for each user ID, in nutshell there is nothing free coming with apple device purchase, it is paid for. What they are trying by giving only 5gb per user ID irrespective of the number of devices used is pure broadlight looting, they take money from you when you buy each device and give you nothing, This is a case of goods and services bought but not fully deliverd ie apple can be suied for discreminatory treatment towards it's users. I wonder why no one tried this yet in America where everyone sue everyone for petty things..... there is no one to take up this issue? . if tim got any love for the guys who shell out money for the devices his company makes, he should be implimenting this as priority before someone wake up from sleep and sue him.
-
Is spry compatible with flash video?
I used the Dreamweaver wizard to insert a flash video. I
inserted it into a spry region and changed the source of the flash
video to be:
src="{link}"
however, this does not work. I have tried several other
javascript applications for embedding flash video files, but they
do not work either.
Is there a way to build a flv/ajax application?
Thanks,
EricI may have found a resolution to your problem. I was having a
similar problem where instead of the video displaying I would see
the embedded source code appear. I found that I needed to declare
the column type for my XML document and once I did the video
appears correctly. Below is the code I used;
var myvids = new Spry.Data.XMLDataSet("myvideos.xml",
"videos/video",{sortOnLoad:"project",sortOrderOnLoad:"ascending"});
myvids.setColumnType("flashlink", "html"); -
Xdotool doesn't work with flash videos
Hi,
I don't know if it's a bug or not, but xdotool doesn't seems to work with flash videos.
For example open the page http://www.miniclip.com/games/bloxorz and start the game, the left key should now move the bloc to the left.
Open a terminal and type `sleep 5; xdotool key Left ', then come back to the game.
Nothing happens.
Is there a workaround to do xdotool work with the flash videos?
I already tried with different web browsers, different flash plugins, but this works nowhere.
Thank you
FractalHello,
I have a button in the frame 1 of my proyector file in order
to go to the frame 2.
the code:
titreA1_btn.addEventListener(MouseEvent.MOUSE_DOWN,aller1);
function aller1(e:MouseEvent){gotoAndPlay(2),trace("dd")};
it works.
next I have a buton in my frame 2 in order to go to the frame
1 like this:
sommaire.addEventListener(MouseEvent.MOUSE_DOWN,allersommaire);
function allersommaire(e:MouseEvent){gotoAndPlay(1)};
When I return to the frame 1 , this button doesn't work and I
have this message:
TypeError: Error #1009
With flash 9, I don´t have this problem.
Sorry with my english, I m french.
Thank you. -
Problems with Flash video playback
I'm having a problem with Flash video playback, hoping
someone here can help.
I have several movies which I have converted to .flv using
the Flash authoring tool. I have then created an .swf for each
movie, embedding the .flv along with the playback component,
playback controls, etc.
I can open these .swfs using Flash Player and everything
displays and plays as expected. However, when I embed the .swf into
a web page and open it using a browser, the playback controls don't
show up, and the movie will only play if it has been encoded to
autoplay. I am on an Intel Mac, using the latest Flash Player
plug-in, and am having this problem in both Firefox 2.0.0.11 and in
Safari 2.0.4.
I'm guessing that the problem lies in how I have encoded the
.swfs into the web page? Hoping someone has a solution, or at least
a good suggestion!
thanks,
- sounddevisorYes, that is exactly what I needed. Thanks!
Just to clarify for anyone else who stumbles across this -
the extra .swf files (which contain the skin for the player) need
to be in the same directory as the .html doc which is displaying
the video .swf. Hope that helps someone else! -
Help with flash video buffering
I need help with flash video buffering. I've created a
buffering graphic to show up when the clip is loading. The problem
that I'm having is that when the video finishs playing, the buffer
is empty and the graphic pops back on. The following is the code
that I'm using to call and buffer the video. Any help would be
great!
stop();
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
ns.setBufferTime(10);
ns.onStatus = function(info){
if(info.code == "NetStream.Buffer.Full"){
bufferClip._visible = false;
if(info.code == "NetStream.Buffer.Empty"){
bufferClip._visible = true;
if (info.code == "NetStream.Stop") {
bufferClip._visible = false;
theVideo.attachVideo (ns);
ns.play("my_clip.flv");
rewindButton.onRelease= function(){
ns.seek(0);
playButton.onRelease= function(){
ns.pause();
}Again thank you for your help in advance...
I put the script folder into the root. As far as the .flv
file it is showing up as being "put" to my web server. when i
checked the root folder it is there. again i am having the same
problem.. the local view works but when i check it on the web it
just shows that there should be a flash video there but it does not
show up.
i created a new root for this test page the new link is..
http://www.wfwa.org/TESTindexfolder/TESTindex.asp
here are the files that are showing up in it...
flashprojectwebvid.fla
flashprojectwebvid.html
flashprojectwebvid.swf
PBSpromo.flv
SteelExternalPlaySeekMute.swf
TESTindex.asp
and the Scripts folder
thanks again for any help.. -
I purchased a one year subscription to Rolling Stone magazine . I got two issues and now it will not allow me to view the current issue, I have to pay again. Can someone help me, how do I get my purchase ? I have the automatic download turned on.
Try contacting apple
-
Pause and play timeline with embedded video
I have created a banner that is currently being used at www.bandg.co.uk
I have been asked if it is possible to add a video to this banner.
However, the problem I have is with the banner having mlutiple slides.
What I am looking for is a way of having the timeline pause when the video is clicked on, then for the timeline to continue when the video is paused (basically making the video a start and stop command button).
Thanks for your help.Can anyone help with this??:
I have created a Keynote presentation for a trade show consisting of slides and some slides with embedded video. How can I set this to play without cutting the video short or stopping at the end of the video? -
I cannot download videos with flash video downloader from other websites also.Whenever I want to download video it says choose file.
I don't know that any Flash downloader extensions work in Firefox for Android. You would be best off asking for support from the extension authors at https://fvdmedia.userecho.com/list/21650-firefox-extensions/?category=4944
-
My hard drive had some issues and all of my music videos are gone. The itunes store is charging to download them. How do I get them re-downloaded?
From your OLD computer...
Copy your ENTIRE iTunes FOLDER to an External Drive... and then from the External Drive to your New Computer..
Full Details Here > http://support.apple.com/kb/HT1751
Also see this migrate iTunes library post by turingtest2 -
Firefox Freezed by Fullscreen Flash Video (and trouble with Flash Video Settings)
I have a desktop computer with integrated nvidia graphics card and a notebook with integrated ati graphics card.
Both use Linux with Firefox 3.0.8 with Flash Player 10.22
If I use fullscreen in laptop(ati) no problem at all. In the desktop station(nvidia) if it is an embed video firefox freezes completely and I have to kill firefox. If I go to the original website of the video, no problem at all.
Wanted to try to deactivate hardware acceleration as stated in some forums, but no luck. Both computers when I right click a select settings, window opens but I can't do nothing at all, not even close them. I can only close (normaly) firefox to reopen it.As it turns out, Skype also crashes if I try to use video - so I'm forced to confront the possibility that the problem is actually with my PC, or the updates windows has just installed.
-
Problems with flash video and video chat?
Hi, when I use skype, ichat and when I watch youtube videos (this happens in all browsers) I very often experience problems, such as sound glitches and video glitches.
Sometimes I even have to restart OS as I get a greyed out sceen with a grey error message, asking me to restart my computer.
Other then that my macbook operates well.
Worth mentioning that when I watch movies/videos in VLC or quicktime I do not get any glitches at all.
What might be causing these problems?This happens to me too.
Maybe you are looking for
-
Kernel Panic in Lion. Can someone tell whats happen?
Interval Since Last Panic Report: 92460 sec Panics Since Last Report: 1 Anonymous UUID: 9C09F392-DE66-47D5-A73F-86C70AC912C8 Tue Aug 23 14:20:07 2011 panic(cpu 1 caller 0xffffff80002c268d): Kernel trap at 0xffffff7f810b34
-
Error when use Bean in JSP... Help!
-- JSP File -- <%@ page import="com.puppet.javabean.database.DBBean" %> <jsp:useBean id="connectionPool" scope="application" class="DBBean" > <jsp:setProperty name="connectionPool" property="Driver" pa
-
The mac is running os 10.9.5 its a 2007 2Ghz intel core 2 due with 4GB of ram. The issues would happen 2-3 times but after force quitting and starting it back up it would eventually work as per normal. now it does it every time without fail. I have t
-
Grey screen during installation with Macbook Pro 13" I5 processor
I have a Macbook Pro with an I5 processor. I used software called Wipedrive to wipe my hard drive completely clean (I should have used the OS to wipe my drive). I tried to install the OS with a copy of Snow Leopard 10.6.3 that I purchased at Best Bu
-
Configuring Kernel when building it with abs/aur
I've made a quick search but haven't found anything.... So I've decided to try the Kernel26-ck as I've seen good comments in a thread about it. So anyway PKG had this in it: # Configure the kernel. Replace the line below with one of your choice. make