Still Image Over Video Then Plays Video?

Jul 29, 2009

What I'm trying to do is have a still image act as a button on top of a video, so that when it is pressed the image disappears and the video begins. I've placed the image and video on two seperate layers and typed the action script into the images layer.
 
I get no errors, however when I preview my site the moment I press the image everything on the site disappears yet I can hear the audio of the video playing.
 
The code I've used is as follows:
 
import fl.video.VideoEvent; 
function doPlayVid(e:MouseEvent):void { 
tanmov.play();

[Code].....

View 5 Replies


Similar Posts:


Image Over Video, When Clicked It Disappears And Plays Video

Jul 29, 2009

My dilemma is that is that I have an image that when you roll over it with the mouse the words 'click to play' appear. Now when I click I want the image to disappear and the movie behind it to start playing.

I've managed to put together some action script through looking at various tutorials and posts. but when I preview my site and click the image nothing seems to happen.

The code I'm using is as follows:

import fl.video.VideoEvent;
function doPlayVid(e:MouseEvent):void {
tanmov.play();
this.alpha = 0;

[Code].....

View 6 Replies

Professional :: Video Plays In .SWF But Flash Template Video Controls Don't Show Up

Sep 9, 2010

I'm porting in an .flv to Flash for the first time. I created the .flv from an .MP4 using Media Encoder CS5, and then opened a new Actionscript 3 .fla in Flash Professional CS5, clicked File > Import > Import Video. Then selected 'Load external video with playback component'. Everything seems to have imported fine, but when I publish the SWF and import it via Dreamweaver CS5 and preview the page, the video is there, but the controls are not. There's just a white box where the controls should be. Also, the video is out of sync with the audio, which I believe is a problem with Media Encoder, not Flash.
 
Here are some links:
 
The page that I'm working on (video at the bottom of the page)
 
The .FLA 
The .FLV 
The .SWF

View 2 Replies

ActionScript 3.0 :: Sound From Video Plays After Video Player Removed From Stage

Apr 30, 2011

I have a website [URL] when I go there if I click the video archives button then play a video then click on the home or photos button or one of the alternate background buttons on the left the video goes away as it should but not always the audio (especially when I click while the video is still buffering). Is there a command I can use to kill the sound from the flvPlayback component and nothing else(I have a mp3 player there also I so I don't want to use the SoundMatrix class. btw the videos are all played on an instance of the flvPlayback component.

View 7 Replies

ActionScript 3.0 :: Youtube And Flash - User To Be Able To Click On A Video Thumbnail And That Video Plays Back In The Center Of The Document

Jan 12, 2009

In my CS4 flash document I have created a media gallery. It's a very simple interface that has mouse overs on thumbnail pictures, and then the larger picture will fadeUP in the center of the document. (With use of framelabels in the timeline).

In the same document, I want the user to be able to click on a video thumbnail, and that video plays back in the center of the document. Several questions: If the user clicks on the thumbnail "onrelease," the time line goes to the player, is it possible to stream this video from a youtube clip into my media player on the screen? If not and I have the document in a fl4 format, is there a simple process to have this video open? (I currently do not have the document in fl4 format).

View 0 Replies

ActionScript 2.0 :: .flv Video Plays Sound, But Not Its Video?

May 26, 2009

I call a .flv into my movie like this:

Code:
var nc:NetConnection = new NetConnection();
nc.connect(null);

[code].....

View 2 Replies

Flash :: Professional - Video Rotation - Image Becomes Very Pixelated And The Edges Of The Video Become Jagged

Dec 10, 2010

I am currently working on a flash website that has several flv videos on it. Since the website layout has a slight tilt, I have had to transform the videos to slightly tilt as well. The problem that I am having is that when I do this the image becomes very pixelated and the edges of the video become jagged. I have somewhat fixed the edges issue by making a mask around it but i really dont know how to make the resolution better, or what causes it to loose resolution when slightly transformed. The size of the videos is the same as encoded. All I do is tilt them upwards on the right side a bit.

View 1 Replies

Flash :: Save Video Stream From Webcam As An Image Instead Of An Flv Video File Using ?

Jun 30, 2010

This will create an flv video file on flash media server:

var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
ns.publish("yourCamera", "record");
ns.attachVideo(Camera.get());

How can I generate an image for the current video frame every 2 seconds?

View 1 Replies

FLV Video Plays WAY Too Fast

Aug 6, 2009

I encoded an AVI w/ Media Encoder and dropped the FLV into a Flash playback component.In my compiled SWF, the video plays in hyperspeed (like it has a really fast framerate), but the audio plays normally.It seems like an encoding issue, but could it be something in Flash?I'm guessing there's some setting mismatch -- different bitrate, framerate, dimensions?[code]...

View 5 Replies

FLVPlayback Plays Audio But No Video?

Jul 30, 2009

this one is really doing my head in and any advice (even vague thoughts) would be really great.I have an FLVPlayback component on the stage and I am loading 8 FLVs in to 8 separate video players within it. I then play the first one and when it ends I randomly select which to play next.Everything seems to work fine except that each time I run it one or two of the clips play back with only audio only and no video. It is not the same clip each time but whichever one it is will consistently fail to playback untill I re publish when it chooses a differrent clip to fail on.I am publishing for FP8 from CS4 on a Mac and it fails when I test movie as well as in FF and Safari.
 
If anyone has any ideas on this at all please shout them out or I am heading for the forrest never to return

View 3 Replies

Professional :: Loop A Video - Plays Only Once

Mar 20, 2011

I have tried to loop a video. Though in the SWF, the video plays only once. Can someone see something wrong in the AS3 code below (relevant info tagged like this --->) (FLV instance is called "Film_mc")

[Code]...

View 4 Replies

ActionScript 2.0 :: Video Plays In Background?

Feb 11, 2009

When I load movie (from youtube), I press play and click on other button in menu - the video is still buffering and plays sound in background.

How to stop it from buffering?

ActionScript Code:
System.security.allowDomain("http://www.youtube.com");
System.security.loadPolicyFile("http://www.youtube.com/crossdomain.xml");
this.createEmptyMovieClip("video_mc", 10);

[Code].....

View 8 Replies

ActionScript 3.0 :: Play Again Or Go Elsewhere After Video Plays

Jul 20, 2010

I am importing video into flash via FLVPlayback Component..

What I would like to do is have a button after the video is done playing that offers to re-play the video and may be another button with some other action.. I"m sure it's some kind of "if" statement... (to see when the video is done playing)

View 1 Replies

IDE :: Flash Video Plays For 2 Seconds And Then Stops

Jun 19, 2009

[URL] Some of the clips play fine, others play for 2 seconds and then stop.

View 2 Replies

ActionScript 3.0 :: Embed An Swf On Site Which Plays An FLV Video?

Jan 25, 2010

My problem is this. I want to embed an swf on my site which plays an FLV video. I do not wish to use a skin but want to create a simple roll over or mouse over which would start the video from the beginning. Unfortunately I have absolutely no idea how I would do this.

View 4 Replies

IDE :: Video Plays Every Time A Page Loads?

Mar 16, 2010

How can I play an embedded flv video automatically in a Flash website every time it loads a page?

For example: When I click on the "About" button, I'll go to the About page. On that page, there's an embedded flv that I want to play automatically every time I go to the "About" page.

View 1 Replies

Flash :: Video Not Playing On Site But Plays Locally

Nov 26, 2009

So I am relatively new to Flash and After Affects but I managed to make a nice video with Adobe After Effects that my friend wanted to put on his site. After I was done rendering it I used Adobe Media Encoder to make the .avi file into a .f4v file for flash. After opening that flash file with Flash i exported it out into a .swf file. When I opened the .swf it played perfectly, just the way it should. I edited my index.html with Dreamweaver and the coding and everything seemed fine. After previewing the index.html with my browser and Dreamweaver's Live View I was quite satisfied with my results. When I uploaded the files onto my site the flash did not play. It plays locally on my PC but not on the site. I later asked a few more experienced buddies what was wrong and they confirmed that they weren't able to play the file locally nor from the site. At first I thought I may have mixed up the links but they were fine. Here is the code I used for my index.html page.

[Code]....

View 1 Replies

Media Server :: The Video Plays With Constant Stops?

Mar 19, 2010

the people from my server installed fms 3.5, but the demo video with that train stops every other second. Should I adjust something in settings?

View 8 Replies

Professional :: Componet Video Plays To Cue Point - NavigateToURL?

Aug 6, 2010

I'm very new to AS3 and have not really worked much since AS1 and a little with AS2.I have a video that I set a cue point named "getURL". It was imported into flash as Load enternal video with playback componet. The instance name for that video is "gunny".The code written is suppose to detect that cue point then forward to another html document. The video runs fine but never forwards to another web page.

[Code]...

View 4 Replies

Flv - Flowplayer Flash Component Plays Sound But Not Video?

Jan 17, 2010

The flow player will play the audio of a *.flv, but doesn't play the video and I've no idea why. The initial example page using the default flowplayer flv url works fine. When I change the url to my godaddy site, it doesn't work. I'm using Movavi Video Suite 8 to perform the conversion to flash from mp4. I think the metadata is included in the flash file when it converts, but I'm not certain. I used the meta data injector found here: [URL] to inject meta data into the flash files and it still did not work.

Also of note is that the player's progress bar shows the start, current, & end time values of the video, so I think the metadata is there. I've still no clue why this isn't working, though.

I wonder if it's my *.flv file as the player will load the mp4 file it was generated from. I used a premium application called MOVAVI Video Suite to perform the conversion. I don't think this is the case because I can upload the converted *.flv file to youtube and it plays fine.

Also worth noting is that the Flow Player plays audio and not video both when the flv source is pointed to my godaddy site as well as when its pointed to a local folder on my hard drive that contains the player, it's files, the video files, and the example .html page being used to test this.

Possibly something else worth mentioning is that I have not put the flow player files on my godaddy site yet because the video picture isn't showing locally.I have the same issue with the LongTailVideo player.

Here is the html for my test page:

<!--
include flowplayer JavaScript file that does
Flash embedding and provides the Flowplayer API.
-->
<script type="text/javascript" src="flowplayer-3.1.4.min.js"></script>

[code].....

View 2 Replies

ActionScript 3.0 :: Netstream Audio Plays While Video Loading?

Jan 14, 2009

how to get flv's to load up dynamically using xml - it all works well apart from this one problem that i have.

when the thumbnail for the flv is clicked the preloader appears and the flv starts to load - but for some reason the audio begins to play almost immediately - then when the flv actually loads then the audio plays again whilst the initial (unwanted) audio carries on playing!

this is the script for the netstream:

[Code].....

View 1 Replies

ActionScript 2.0 :: Fading Out Background Music While Video Plays

Jan 17, 2009

Here I've a sound track included in timeline from first frame (not in actionscript).

And after intro, I've a video button where I added a video with sound which starts to play by clicking

Now the problem is both background music & video sound mixing & creates a noise kinda combination.

I need a solution like fading out the background music if i click the video button & fading in when clicking some other button or navigating to other pages?[code]...

View 0 Replies

ActionScript 3.0 :: Preload External Swf, Video Plays Before Swf Has Been Loaded?

Oct 2, 2009

I'm trying to preload a swf.My swf seems to be playing before it hits the 100% mark. Usually around 33% I have no idea why....the loaded swf contains a video which is playing before it's even on the stage!

ActionScript Code:
stop();
var l:Loader = new Loader();

[code]....

View 3 Replies

ActionScript 3.0 :: FLV Player Still Plays Audio Of Video After I Navigate Away From It

Nov 21, 2010

In my main swf file i load external swf files for each section.. In my video section i load a swf that includes a flv player that plays flv's with sound!

when i go back to menu...or go to another section....sound is still playing! why? I was thinking maybe i need to add a stop all sounds actionscript when going back to menu?

View 5 Replies

Professional :: Published F4v Video And Html Plays Locally But Not Online?

Jun 16, 2010

I am running Windows 7/64 and Master Collection. I've created a clip of DV NTSC footage to test F4V publishing. Done this many times with CS3 and flv files but this has me stumped. I can successfully view the video and web page locally in IE and Netscape but on upload to my server I have the menu and placement right but no video appears. I created the clip in Premiere Pro CS5 and exported to F4V/FLV best quality. Opened an Actionscript Media DV NTSC template in Flash Pro CS5 and imported the video which I had pre-placed in my root web folder locally. I then exported the swf and saved the fla. All files were then in my root folder and the scrpts in the scripts folder. In Live View in Dreamweaver CS5 all looked fine. In each browser locally the video played as expected. Once all files were uploaded the video was not visible.

[Code]...

View 5 Replies

ActionScript 3.0 :: Flash Video Sites - Add Video And Resize The Video Acoording To The Page Size

Aug 18, 2011

Recently i have visited so many video enriched flash site like this one [URL] Most of them shows video in full size. I downloaded the video using FF plugin. Video framesize is very small compared to the stage size. When i tried to add video and resize the video acoording to the page size , it slows the browser. I tried to embed the flv inside an swf and loaded the swf using normal loader and plyed it.. but the quallity and performance comapred to these site is very low..

View 3 Replies

Professional :: Incorporate Playback Controls To A Embedded Video That Plays With The Timeline?

Mar 24, 2010

My question is how do I incorporate playback controls to a Embedded Video that plays with the timeline?  I saw how easy it was to add playback components when you import video externally.  I figured that I probably need to start by creating my play back components, but then I need code to tell the swf what to do?

View 5 Replies

ActionScript 3.0 :: Video Loop - Made A Video In After Effect And Export It To Flash As A FLV Video

Dec 18, 2010

I made a video in After Effect and export it to flash as a FLV video.. and write de code to load it into flash.. but I need it to loop.. Here is the code

[Code]...

View 1 Replies

Media Server :: Live SWF Video Plays Locally But Only The Skin Is Visible Remotely

Jul 18, 2011

I have tested other embedded videos and they will play remotely so I know the hosting site is working.Currently,the live video will play locally and remotely from this computer where all the files are stored but only the skin is visible on any other remote computer's web browser.

View 2 Replies

Javascript :: Possible To Create A Flash Video Player That Plays Videos Hosted On Youtube?

Apr 5, 2011

I want to create a custom video player to modify the skin of the play controls etc but still host the videos on youtube.The youtube api allows for minor colour adjustments but not full customisation. I know it would be possible if I download the FLVs but i want the video to remain hosted on youtube.

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved