ActionScript 3.0 :: Playing Embedded Video On Stage Because Of Loaded In Image
May 5, 2009
I have embedded a flv video onto the stage. I then have loaded in an image which is transparent enough to see the video through it. The problem is I cant now access the video player to control it. Is there anyway to bring the embedded video on the stage above the loaded in image so I can actually click play on the control bar and play the video?
View 1 Replies
Similar Posts:
Jun 10, 2011
I have three embedded video clips that are inside of movieClips. They I have buttons that take you to a framelabel where those movieClips are located. Each movieClip containing each movie are on separate frames. (See attached image)
When I click on any of the buttons that take me to any videoClips other than the first one, make the audio from the previous embedded Video on the timeline in front of the one I went to , start to play.
I have SoundMixer.stopAll();
on everybutton before I tell it to go anywhere. what to do to only get audio from the video clip in that section of the timeline to play.
View 0 Replies
Mar 12, 2011
In Flash MX 2004 Pro. I have embedded the video in which needs to load several external FLV files. These are the problem: In my main file I have a sound object (music) and then load the video when I reduce the volume of the music of the main file to 0 that the louder the sound from FLV videos. The problem is that when the music died down to 0 to mute the sound with FLV videos to 0.How to separate audio from FLV videos from sound of music and how to separately control the volume loaded FLV file?This is the code that I use:
my_nc = new NetConnection();
my_nc.connect(null);
my_ns = new NetStream(my_nc);
[code].....
View 1 Replies
May 5, 2009
I have embedded a flv video onto the stage. I then have loaded in an image which is transparent enough to see the video through it. The problem is I cant now access the video player to control it. Is there anyway to bring the embedded video on the stage above the loaded in image so I can actually click play on the control bar and play the video?
View 3 Replies
Jun 10, 2009
I am trying to replace some code which loaded an external image and triggered and function once completed with code that uses and embedded image. The relevant code looks like this.
Code:
[Embed(source='globe.png')]
public function Globe()
{
var imageLoader:Loader = new Loader();
[code]....
The commented out section is where it used to take the loaded image and apply it to a texturemap.I need to replace the lines of code in the first function with something that calls the second function correctly.
I have tried using function imageLoadComplete (e:Event = null)and calling it with imageLoadComplete(); in the first function but although it compile and runs without error, the program does not work properly. I suspect this is to do with the dispatchEvent(); line which I do not understand.
View 4 Replies
Nov 28, 2009
So what I am curious about is if it is possible and how, to have an embedded video and capture the thumbnail. There are other sites that share video and I'd like to get the thumbnails from the embedded videos, but they use flash video players to show the video and likely use flashvars to pull up the right video.
I've been trying to automate some of the capture of thumbnails and embedded videos but have no clue how to get remote thumbnails from these videos.
View 3 Replies
Jun 27, 2010
how to grab the transparency (or alpha value) of individual pixels in an embedded or loaded video? We tried copying over a frame of video into a bitmapdata object with transparency enabled. However, even though we can "see through" the video at certain spots (indicating alpha = 0 there), the alpha value comes back as 0xFF for every single pixel in the BitmapData object.Obviously alpha data is being stored inside the embedded video, but how can I actually get that value?
View 0 Replies
Nov 23, 2009
I'm developing a kiosk-type projector file to play fullscreen & I'm encountering a strange problem. There's a video on the stage (720 x 480) and the stage is 1280 x 768. When the projector switches to fullscreen mode, the video expands to fill the height of the screen instead of the stage filling the screen. It's acting like the fullscreen mode is telling the video to play fullscreen.
View 6 Replies
Jun 29, 2009
I'm trying to get a video I've placed on stage in an FLV component to Loop to the beginning once it's finished playing. However, once it plays through it stops and doesn't loop round, although the trace statement I'm calling in the loopVideo function is appearing in the output window? Here's my code...
[Code]...
View 3 Replies
Nov 8, 2009
I have a Flash CS4 Professional version installed in my machine. Here is my problem.
1st - I'm importing an image to stage and set the width and height to match the image. (everything is good, no problem) 2nd - I am using the FLVPlayback components build-in from Flash CS4. It does load the video and everything. (everything seems good) 3rd - Publish the video to my local drive (everything seems good) 4th - I could play the video from my local pc and it loads fine and fast 5th - Upload everthing from my local folder to the Web server, it does display the background image but not the video. It has a white blank screen. What is going on? I copy the exact folder from local to server. What have I missed? How could I make the video to load?
View 1 Replies
Feb 3, 2010
I mean youtube or any other streaming video site, but I've seen it on Youtube. There are times that the loaded bar shows that more than enough video stream has been loaded so the player could play it but it suddenly pauses and shows the loading icon?
View 2 Replies
Oct 1, 2010
Is there any possible way to play a .jpeg sequence using .flv player on-the-fly ? I mean, by not needing to convert the entire sequence into one single .flv ? Since I'm not familiar with flash neither action script, I was surfing the web in hope to find any template or tips about similar things to that but I couldn't...
Here's the main list of features:
1- Browse button to load a sequence eg. < filename >####.jpeg
2- Play button with a slider time
3- Previous and next frame-by-frame buttons
4- FPS slider from 0 to 30
My main reference is this stand app called Cyber-D's Image Sequence Viewer.
View 1 Replies
Jan 2, 2011
i want a thumb image to play an embed video in a specific location
View 1 Replies
Jan 2, 2011
I'd like to gain read only access to the following parameters of embedded Flash videos located on sites that I do not own through my own custom browser extension/add-on:
Time location of playback head (so I can display the current time in the browser extension via HTML5/JavaScript) Frames (so I can make capture them to an image file, save it and display image in browser extension) Original Dimensions in pixels (so I can display the original video dimensions via JS/HTML5 in browser extension)
Is this possible by using Javascript and HTML5 from a browser extension?
Would I have to use something like the SWFObject Javascript API [URL]
View 1 Replies
May 21, 2010
I am trying to learn how to use EventDispatcher. I create xml gallery where I am loading content via xml. In this particular case, I am not loading a sequence of multiple images. I load just one image. I traced the path to the image location and it is correct. I have a very hard time placing the loaded item to stage. I can trace EventDispatcher functions from EventDispather Class. When I do that, the trace statements confirm that the image is loaded. I am wondering what I should do in order to place the image on stage. I definitely cannot do it from EventDispatcher class directly or I am missing something. Below is my EventDispatcher class. How to add the loaded item on stage after EventDispatcher was run. Below is the class of my EventDispatcher.
Code:
package net.EvtDisp {
import flash.display.Bitmap;
import flash.display.BitmapData;
import flash.display.Loader;
import flash.display.PixelSnapping;
[Code] .....
View 1 Replies
Feb 21, 2011
I'm trying to figure out what's wrong with this code:
[Code]....
I have a sample XML file with two images. If I remove either of the items from the XML, it everything displays fine, but with 2 items in the XML, the first item doesn't show an image, but the second does (maybe the first is being attached in a position behind the second?)
View 2 Replies
Mar 17, 2008
How do I center (on stage) a loaded image inside a createEmptyMovieClip ? I've read so many threads...can't seem to make it work. here's my script:
button1.onPress = function(){
_root.createEmptyMovieClip("imagecontainer", _root.imagecontainer.getNextHighestDepth());
_root.imagecontainer.loadMovie("image18.jpg");
}
I've tried to center everything on stage, I even tried to center it by the registration point.
View 9 Replies
May 21, 2010
I am trying to learn how to use EventDispatcher. I create xml gallery where I am loading content via xml.In this particular case, I am not loading a sequence of multiple images. I load just one image. I traced the path to the image location and it is correct. I have a very hard time placing the loaded item to stage. I can trace EventDispatcher functions from EventDispather Class.When I do that, the trace statements confirm that the image is loaded. I am wondering what I should do in order to place the image on stage. I definitely cannot do it from EventDispatcher class directly or I am missing something.Below is my EventDispatcher class.find out about the correct technique to add the loaded item on stage after EventDispatcher was run. Below is the class of my EventDispatcher.
ActionScript Code:
package net.EvtDisp {
import flash.display.Bitmap;[code].....
View 4 Replies
Mar 17, 2008
How do I center (on stage) a loaded image inside a createEmptyMovieClip ?I've read so many threads...can't make it work
here's my script:
button1.onPress = function(){
_root.createEmptyMovieClip("imagecontainer", _root.imagecontainer.getNextHighestDepth());
[code].....
View 7 Replies
Aug 7, 2009
I am loading an external SWF file into my main timeline. The external SWF file contains an FLV video. At a certain point in my main timeline, the SWF file loads and plays the video. Is there a way to say...
If the VIDEO (FLV) is done playing, gotoAndPlay(X)?
View 4 Replies
Nov 9, 2010
I have trouble in choosing between external video with playback component and embedded video . I have tried adding video to dynamic page and everything is perfect .This video I have imported using the option File ->import video -> external video with playback component. If I try to execute flv on another system , the video is not playing eventhough it is in library.
So, I have imported video using the option of embedded video and this worked fine on another systems as it embeds video. The video plays for only 2 min 54 sec. I have compressed the bit rate to how much ever I can in premier pro. It resulted in reducing the size of the file but still I see the video occupying more than 3500 frames in the timeline. I feel this is not optimal.
View 1 Replies
Nov 17, 2010
I have completed my website with several sections Home, competition, prizes, sponsors, gallery, enter, contact us.Each section is labelled on the main time frame and then there are movies within that with the content for each section.Everything was working fine until I decided that I was going to import some FLV files to use within my home section.There are seven of them and they are each 12 seconds long with audio. I imported them in to a movie clip called santa_intro_movie with structure like thisScene 1 - Home_BG - santa_intro_movie > and each imported flv sits within it's own movieclip named snta_click-001 etc up to 007 all on different frames of the santa_intro_movie and controlled by buttons.
When I test the movie it works great....except when i try and navigate to other sections of the website, when i click on my main buttons at the top for some reason the audio from all of the FLV's start playing at once and any tweens or animations that I have on those other pages start going in to hyperdrive!!!I have checked through my actionscript and I just can't figure it out.
View 8 Replies
Aug 16, 2009
I have embedded an automatic slideshow as a swf file into a website I'm designing for my parents. When I test the swf file, it performs exactly as expected but when I embed it into the html, it just sits there and doesn't run/animate/whatever.
The slideshow (should) automatically run through a group of 7 photos, with a fade transition and was all done with actionscript, loading the external jpeg files into alternate movieclip containers etc etc.
The web page where it doesn't work is here: [URL] - you can see that the swf just sits there, doing absolutely nothing.
The location of the swf file is: [URL] - as you can see, it works fine on its own!!
View 1 Replies
Jan 18, 2011
I may not have the correct terminology and such, but I have a simple symbol that plays, and then I have a timeline within that symbol that I want to play right after that. I named the embedded timeline/frame "trailer" so I used the action
gotoAndPlay("trailer");
this works if the named frame is in the main timeline, but it doesn't seem to be able to access the timeline within the symbol. Is there a different command I could use? Or am I doing something wrong?
View 1 Replies
Nov 4, 2009
I am using swfin to embed a swf object (video player) and it loads fine in all browsers, but in firefox it won't "start".I have to right click on the movie area and "start" is unchecked so I click on "start" and it will start just fine. Yet, in chrome and IE (haven't moved to a mac for testing yet) it fires up and starts just as I expected. I have tried swfobject instead of swfin and I have IE issues that I couldn't seem to correct. Hence moving to swfin.Here is the swfin code:
`
var s = new swfIN("/Flash/video_player_playhead_overlays.swf", "flashMovie", "427", "280");
// s.hideSEO("div_seo");
s.addVar("video_file", "/DownloadableWork/Boardwalk.flv");[code]....
View 1 Replies
Sep 23, 2010
I have a shell swf that is loading a swf. How do you have the loaded swf tell the parent loader to unload itself after the loaded swf finishes playing?
View 4 Replies
Sep 1, 2009
I have a simple MP3 file that I am attaching from a library and playing using Sound object.When testing SWF on it's own, it works fine, but I have to embed the SWF into another SWF (container) using loadMovie, AND, the sound not playing??? What can be wrong?
child.swf code:
var mySound:Sound = new Sound();
// in the library MP3 is set for export as "voiceoverclip"
[code]....
View 2 Replies
Nov 19, 2009
I am embedding an mp3 into my Flex project for use as a sound effect, but I am finding that every time I play it, there is a delay of about half a second from when I call .play() to when you can hear the sound. This makes it weird because I want the sound effects to sync to game events. My mp3 itself is only about a fifth of a second long so it isn't because of the contents of the mp3.
I'm embedding with
[Embed(source="assets/Tock.mp3")]
[Bindable]
public static var TockSound:Class;
[Code]....
I know there's a delay because the sound plays about a half second after the Alert displays. I did consider that maybe it was the initial loading time of constructing the TockSound, but the delay is there on all the subsequent calls as well.
How can I avoid this delay on playing a sound?
Update: It turns out this delay is only present when playing the swf on Linux. I believe it is a Linux-specific flaw in Adobe's flash player.
View 5 Replies
Jun 27, 2011
I have a section of a site that has a voice over when you get to a page. I have a play/pause button that works fine, and plays and pauses the audio voice over. I have about 9 other buttons on this page that all have 'SoundMixer.stopAll();' in order to stop the embedded audio. This works the first time you click a button, but any button after that restarts the embedded audio.
Is there a way to make it so that Flash knows not to restart the embedded audio?
Do I need to make a sound variable and set it to 'false'. I am not sure what to do, or how to do it.
View 8 Replies
Dec 16, 2011
I suppose the title says it all. I can load an external video file (FLV) and I can have it play. I also have the custom buttons made to control the clip. The only thing I have left to do is to have the main timeline move onto frame 2 once the external video reaches its end. I am using actionscript 3 and flash cs 5.5.
View 7 Replies