ActionScript 3.0 :: Screen Turns Black And Flash Quits On Video Playback
Oct 21, 2010
I'm using a playback control that is giving me problems. The only thing that I'm using is a play/pause buttons and the time scrubber. I found this code on a website. Now, when I preview the swf, it plays fine, but when the video starts playing, the screen turns black and flash quits automatically.
This is the Error that I'm getting:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at Website10_fla::MainTimeline/updateDisplay()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
And this is my code:
import flash.display.MovieClip;
import flash.utils.Timer;
import flash.events.TimerEvent;
// time to buffer for the video in sec.const BUFFER_TIME:Number = 8;
// start volume when initializing player
// const DEFAULT_VOLUME:Number = 0.6;
View 20 Replies
Similar Posts:
May 21, 2010
The client complains that sometimes on initial load, the jwplayer will autostart playback as intended but with a black screen. Sound is alright, and the progress indicator in the transport is moving.No matter what I do, I can't recreate the error on my machine.I'm using version 5 of JWPlayer.
Here is the code i use to embed:
<script type="text/javascript" src="/Frontend/Javascript/swfobject.js"></script>
<div id="mediaspace"><embed type="application/x-shockwave-flash"
[code]........
View 1 Replies
Mar 21, 2011
I have successfully embedded the youtube video in my flash code with:
//create area to put youtube video on screen
this.createEmptyMovieClip("reason1_video", 10000);
reason1_video._xscale = 60;
reason1_video._yscale = 60;
this.reason1_video.loadMovie("[URL]");
However, the video plays with black bars on top and bottom even though it plays without those directly from youtube: [URL]. Even if I take off the scaling, it still has the black bars. How do I get rid of them? It seems like youtube uses a different player than flash. [URL]. Click on #1 and you will see the video I am talking about.
View 1 Replies
Mar 17, 2011
I have successfully embedded the youtube video in my flash code with:
//create area to put youtube video on screen
this.createEmptyMovieClip("reason1_video", 10000);
reason1_video._xscale = 60; reason1_video._yscale = 60;
this.reason1_video.loadMovie("[URL]");
However, the video plays with black bars on top and bottom even though it plays without those directly from youtube: [URL]. Even if I take off the scaling, it still has the black bars. How do I get rid of them?
View 1 Replies
Sep 18, 2010
I have tried getting my videos to play and all I get is a black screen with audio only.
After I got a blank screen, I uploaded the .flv (2MB) and the .fla (14MB) files to the server as well (same folder as the .html file) but that didnt help same blank screen.
why this .swf wont play?
[URL]
View 1 Replies
Jul 19, 2010
I have a flash intro and when ever I preview it,the intro background turns to black instead of staying the way it should be.Can somebody please help me out here,I need this flash intro for a website.Please explain this to me in simple terms because im pretty NEW to adobe.
Note I've tried everything to make the flash background stay the way it was but nothing I do works.
View 6 Replies
Jun 26, 2009
I load this clip:
import mx.transitions.Tween;
import mx.transitions.easing.*;
var myGalleryXML = new XML();
myGalleryXML.ignoreWhite = true;
myGalleryXML.load("gallery.xml");
[Code] .....
In the last frame of my time line I add:
removeMovieClip("container_mc" );
The movie disappears but the placement turns black.
I added:
this._alpha = 0;
But the other clips of the main movie doesn't load.
View 1 Replies
Feb 11, 2009
My question is what needs to be done in order to make a .swf file go into full screen without falling to a black screen when a movie is played? I have tried coding it, however I come up with the following error.
[Code]....
What should I do to fix this? This is not going to be an HTML file, however, so the initial thought of changing the publish settings does not seem to work this time.
View 9 Replies
Nov 3, 2008
I have a simple litte banner I did with flash (version 9.0). Just a few images and some text that I fade in and out with a motion tween. When i publish this to an animated gif, the text turns into blobs on the screen.
View 6 Replies
Jan 15, 2010
I have an application that runs as a projector and is meant to run full screen in a kiosk. However, when the app is expanded to full screen it crashes and I get an error message of:
Faulting application test.exe, version 10.0.2.54, faulting module test.exe, version 10.0.2.54, fault address 0x0015187e. Event ID: 1000
If I run it in a web browser and try to go full screen the same thing happens. I've been all over the web and haven't found anything. Have uninstalled virus software thinking it might be a problem.
View 4 Replies
Aug 12, 2011
I am working with classic asp and flash. Actually I don't have to develop the flash applications and I only have to make the asp parts. Now I have some problems with flash file.When we put the flash in asp we set the path of plugins : pluginspage="http:[url]......when we upgrade latest version of flash player (10.3.183.5), it works for the most of the flash file in my application but there is one specific flash that doesn't work.It only shows the blank black screen.
View 2 Replies
Jun 7, 2011
I am currently having a problem when launching the trial version of flash cs5.5 . The screen that says the timeleft at my trial comes up but the flash cs5.5 screen stays black and is "not responding". About two weeks ago, it worked, so i don't know what is happening. All my other programs work. I tried to reinstall it, to delete the left flash cs5.5 program files after the uninstall and many other things, but it dosen't work.Here is a screen capture of the flash cs5.5 blackscreen. notice that in the frame of the window it tells" not responding".
View 1 Replies
May 8, 2011
i'm trying to create a fullscreen slideshow with as3. My problem now is that if I click the fullscreen button too quick (--> before the image has been loaded and hasn't therefore been added to the stage) the screen just stays black and nothing is working anymore (the following images aren't loading either. Here is a demo of the problem:
[URL] Here is the code:
[Code]....
View 1 Replies
May 16, 2007
how I can make a 95% black MC cover everything on the website page (full screen onResize) so I can present an externally loaded image by itself? I have seen this done before in a few flash portfolio websites but I can't seem to find the solution on any previous thread. I may have missed some threads. is there an actionscript that can do all of the above without having to resize an MC?
View 4 Replies
Oct 4, 2009
I am using Flash Professional 8 and Dreamweaver 8 to maintain a website. I have just started using flash to show video highlights from high school football games which I record. Using iMovie I export the video as quicktime file and then import to flash to convert to a flash video file to post on the web site. The video coming out of iMovie has very good contrast and the quicktime movie has the same good contrast. When looking at the file in Flash the contrast changes dramatically. I becomes washed out. I am using Max OX 10.6 operating system.
View 2 Replies
Apr 22, 2010
The website that I built, I used Adobe media encoder and flash to make it a .flv file, the website works fine as far as playing the pages with video in Safari and Firefox, when I go to the same website in internet explorer the video plays with a big black border each of my video's, why would that be ?
View 2 Replies
Jun 13, 2007
I have a song that plays on my site, with an on/off button. And the way the code is set up now is when you click "off" it turns off all sounds. I just put a video on my site, and now the song interferes with the video, so when you click 'off' on the song, it turns off all sounds, including the video. Of course all you have to do is re-start the video, but I'd rather have it set up so the code for the musicbox just turns off only the music.Here's the way it is now, on the off button:
Code:
stop();
stopAllSounds();
play_btn.onRelease = function(){[code]...
I don't know always know the proper way to write it. These last few days have been like a person who's in a foreign country and has a lot to say but can't because they doesn't speak the language.
View 2 Replies
Sep 16, 2011
I am using dreamweaver to embed a flash video, but cant find how to enable full screen.
[Code]...
View 1 Replies
Jun 18, 2009
Cut and pasted example with buttons for videodisplay control in chp 9 of Adobe Flex 3 developer guide. Having problems.
History - take avi, create flv. In my mxml, file define mx:videodisplay, refs flv file and define buttons for play and pause, all within mx:application.
Compile mxml with mxmlc to create swf. Call swf file within html using <object> and <embed>. Run html.Result is that the buutons show but the video control is black - no video.i have written mxml file as an air file (so use mx:windowedApplication) and compile with amxmlc and the resultant app runs as expected.I can also convert the flv into an swf file and run that from html but then I do not get buttons.
View 1 Replies
Jan 8, 2010
I have a swf that loads in video, the video plays, finishes, then is followed by timeline animation. When the swf is playing in Full Screen mode, the video plays fine, but when the video is over and it's time to play the animation, the screen goes black. When I press escape, turn off Full Screen, the animation starts.
View 4 Replies
Nov 1, 2007
I have created a loader for the begining of my project, however when i simulate download there is just black (background colour) for about 10 seconds and then the loader suddenly starts at around 70%.So i know the loader works but why the black screen?? is it loading the loader?
View 2 Replies
Nov 18, 2010
What I would like to know, if its at all possible to have the screen fade black while the video is playing?
View 1 Replies
Dec 16, 2011
I have a flash as3 application and I convert it into android and ipad applications, but every time when we launch the application. It shows the black screen for a long time. Is there any way to resolve this issue. The size of APK file is 620 kb.
View 1 Replies
Nov 2, 2011
I've created a game which Made up from images. Now I want to load the externally. I used Loader component, but between movement from frame to frame (it's a game I create) the screen blinks. How do I solve this with no use of preloaders?
View 1 Replies
May 8, 2011
i'm trying to create a slideshow with AS3. The Problem is that if you click the fullscreen button very quickly after opening the page, it goes fullscreen but the display stays black!As you can see, i add the current Image to the mcSlideHolder just when the onFirstSlideLoaded-event occurs ... so if you click the fullscreen button before it has finished loading the image it will/should add it after the image is loaded ... so the image MUST be loaded then ... but why does the screen stay black???
[Code]....
View 1 Replies
Nov 2, 2011
I've created a game which Made up from images.Now I want to load the externally.I used Loader component, but between movement from frame to frame (it's a game I create) the screen blinks.How do I solve this with no use of preloaders?
View 17 Replies
Sep 7, 2011
I want to create a simple static image on a 392 x 72 document. When you move your mouse over the image, it changes to a black screen with a cursor following mask in the shape of binoculars which reveals an image below (not the same image as static one).There is going to be a clickable monster which takes you to the next scene and from there,the next scene.I have attached a storyboarded idea of my banner.I have the images, I am just struggling with the ActionScript code.Click on the image to see comments on right hand side.
View 1 Replies
Dec 7, 2010
I have a video embedded in Flash as an FLV. I'm able to get the video to play through the way I want, but when the video plays through and ends, I want to have two options/"buttons" display that allow the user to either replay the video a la youtube, or link to another web page.
I know it must a very basic question but I can't seem to find any answers. I've included a screen capture of the end of the video.
View 1 Replies
Jul 18, 2009
I tried the plugin that comes with Ubuntu 9.04 64Bit (from what I see that is using nswrapper and the 32Bit plugin) and also the current 64Bit Pre-Release alpha AND videos there just won't play.I only get a black screen and shortly it also displays the initialize bar. However, it won't play. It doesn't even show the control elements.This is for FireFox and for Epiphany.However, when I now click on the embed button to get a direct link for embeding the video on another site and using that URL the video will play but I believe it is a different player and a worse video quality.
View 4 Replies
Nov 24, 2010
I would like to be able to play my flash video on top of my website, and then disappear once its finished. Just like on the apple website, with the macbook air. This is probably very simple, but I am not sure what it is called!
View 1 Replies