Actionscript 2.0 :: Moving Video Component With Tweener?
Jun 19, 2009
Anyone know if you can move around a video component using tweener.I'm pretty new to flash and I seem to have everythig working with tweener exept when I try to move or transition out a Video component using tweener.The Component is in a movie symbol that is has an instance name.
I am wanting to play a number of movie clips and flash produced video clips. On the main timeline I have a frame for each clip I want to play. In that frame is a flash movie that contains the video that I have embedded onto the timeline for the movie. The filesize for this project is massive and I am struggling to work on the file. I want to be able to play the video files with the playback component in each of the frames where the video was.
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.
I am using Flash CS4, AS3.I have a movieclip "MC1" and a Component "B1" from the 'Component Library' on my main stage. From code inside of MC1, I would like to create an empty movieclip "MC2". Then, still from code inside of MC1, move(cut and paste-like) B1 into MC2. I have failed in my attempts thus far...
I am getting the following error message: "TypeError: Error #1009: Cannot access a property or method of a null object reference. at fl.containers::ScrollPane/endDrag()"
The problem occurs when I like this: I click a button on the Main Frame which takes me to frame #2. I go back to the Main Frame and then come back to the frame #2. When I go to Frame #2. I get the error message. I suspect the problem is occurring because I am not emptying the "scrollPane_1" component on exit. In the code below scrollPane_1 is a scroll pane component. This is occurring on all pages that I have the scroll pane on. Also the scroll pane component is on stage and has an instance name of "scrollPane_1".
This is an Air for iOS file. Here's the code. stop(); scrollPane_1.source= myText_1; scrollPane_1.setSize(600,585); bnt_home_1.addEventListener(MouseEvent.CLICK, bnt_Goto_home_1); function bnt_Goto_home_1(event:MouseEvent):void { [Code] .....
I am using the flvplaybackcaptioning component in Flash CS3 along with a flvplayback component.
The XML file is pointed and everything works fine till I go fullscreen mode. Once switched to fullscreen mode, the flvplaybackcaptioning component starts moving up by 1 or 2 lines. This is very distracting.
Is it possible to have a stationary video (ex: of spokesperson) move across the stage, in a manner that would appear to have a "panning camera" effect? I've attempted to produce this effect by simply importing the video as an imbedded video, then dropping a new layer into the timeline, and then simply placing a new keyframe where I'd like the video to begin a panning camera effect, but it starts the video over again where I've place the new keyframe. Is it even possible to acheive this sort of effect through Flash or can I only do this in AE or Premiere?
I want to know if its possible to move or stretch out a video as it moves along the timeline. For example, I would like to remove black bars from being shown on the stage in one part of the video, so by stretching it out the black bars wont show, and then I can just revert it back as those frames end. Can I do this with the playback component or embedding?
I have made a frame which contains four videos that play when the user clicks on the button relating to that video. However, when I click on another frame, the video's sound continues to play. But when I click back to the video page the FLV Componant Player has reset itself and is not playing anything, but I still hear the sound of the video that I played earlier. Any ideas as to either stop or pause the video that is playing when clicking away from that frame?
I can hash a flash template to make it work, changing URL's, pictures etc, so have not had a grounding in the coding side of things.
My problem is that I have a new website that I have published in CS5 from a template by flashmo. I have substituted one of the pages to play videos ( I originally wanted to have 1 video with 4 thumbnails that would play when clicked but that is above me). On that page I have imported 4 flash video files, one set to autoplay, the others using the skin to start when necessary.
The issue is that when I navigate away from the page "Examples", the sound keeps on playing and if I navigate back to "Examples" another instance of the video starts with both soundtracks playing.
I have researched and found other people with the same issue, but the solutions always seem to involve entering a stop(); function on the buttons that navigate away from the Examples page. This is where it all falls apart for me.
below is the code from the first frame of the timeline. Am I looking in the wrong place to stop the video playing. There are other lines of script later in the movie, but I am ssuming this is where it all runs from ?!
fm_button.visible = false; var menu_label:Array = new Array("Home", "Examples", "Packages", "Links", "About", "Contact"); var total:Number = menu_label.length;
how one goes about changing the colour on the volume bar for playing videos like youtube does as the volume slider is moving. I don't think I need to go into depth using the graphics classes. What I'm looking for are ideas when a user changes the volume while playing a video, say in youtube, while dragging the volume control, the colour of the background bar changes. I've seen lots of help about creating volume bars for videos, but I don't see how to change the volume bar colour as the volume slider is moving.
I'm having the problem that my video, which sits in a movie clip, does not stop the audio after moving to the next frame, even though the video instance is removed. Here is the code from the main timeline:
import flash.events.MouseEvent; next1_btn.addEventListener(MouseEvent.CLICK, ongoPage2); function ongoPage2(Event:MouseEvent):void {[code]....
I have a frame where I have added an flv playback component to play a flv file. Everything plays fine, but when I test the file and navagate away from the frame that the playback component is on, the video continues playing.
Is there any way to get the video to stop when the user navigates away from the frame? I'm sure this could be done if I add the video using AS 3.0 (that is what the navigation of the site is coded with).
I have my main file which is built in AS3 and I am loading some older AS2 files. These AS2 files have some video in it and use the FLVPlayback Component.
When I click my button to load the AS2 swf, they load fine and the video plays.
When I hit my back button, I do a simple removeChild on my swfLoader object (Loader).
When I go to open a different AS2 movie with video, the video does not work, however, if I restart the movie and click that AS2 movie first the video plays fine.
I have FLV video component waiting for the user to push play. However, I want a thumbnails that I can stick in there because it is just black. How does this work with the FLV playback component? I can't find anything about this.
I have my main file which is built in AS3 and I am loading some older AS2 files. These AS2 files have some video in it and use the FLVPlayback Component. When I click my button to load the AS2 swf, they load fine and the video plays. When I hit my back button, I do a simple removeChild on my swfLoader object (Loader). When I go to open a different AS2 movie with video, the video does not work, however, if I restart the movie and click that AS2 movie first the video plays fine. Essentially whichever AS2 swf I load first the video works. Any of the SWFs after that, the video doesn't.
Works fine however online it takes some time to start and it just has a blank screen for about 7-8 seconds before it starts the videoIs there any way to add a buffering message until it loads the video?I know that buffering is easier to do with NetStream.. but in this case im using Flash's CS5 FLV component which it doesnt give it as an option in the properties...
Is it possible when publishing a Flash CS4 file to have the Video swf and the Skin swf be in one swf file? I have a Flash CS4 (AS2) file that has a FLVPlayback Component. When I publish or test movie 2 swfs are output. I need only 1 swf as I am then going to insert this 1 swf into a Captivate 4 project. When I insert the video swf by itself into Captivate 4, I do not have a play bar/skin. If it is not possible to publish as one swf, how I can insert the 2 swfs into a Captivate file and get them to work?
i'm trying to embed h264 mp4 video into website using flash cs3 professional. when i select the source file it's looking for .flv files and not the mp4 file so the mp4's are greyed out.i read a great tutorial using a pc which shows the workaround for being able to see the mp4 files.url...I'm however using a mac and this method of putting an * in the file name box doesn't work on mac.
I have a video which my client wants me to cut in pieces. I see that I can set up starting and ending points in Media Encoder, i.e. cut out the part from beginning and end. Is there an option to cut out parts in the middle?
I am familiar with After Effects but my client doesn't want to invest in this program. Are there any smaller/cheaper programs which allow more video editing that AME if AME indeed can not do it?
I have developed a video player using Flash 8 Professional and the FLVPlayback component. Recently I have been testing a few 720p .mov files converted to FLV by FFMPEG running on an encoding server. I am noticing that these files do not play back in my video player. It appears that they do not have any audio attached to them but when I play them in Adobe Media Player the audio is there.
Is this due to the FLVPlayback component in Flash 8 not supporting HD videos? When I test locally the video picture plays with no sound but when I run in a browser the video freezes and does not play. The progress bar appears to move as if the video is playing however.
I have a flex 4.5 application that uses a mx:VideoDisplay component to display the webcam. how can I add realtime effects to that VideoDisplay component? for example: changing colors, particle/grain looks, wave effects,
I have a presentation with two pages, each of which contains a video component with an associated video.
When the user clicks a button, the presentation changes from one page to the other. If a video is playing, I need to be able to stop it on the page change.
I can use stopAllSounds();, but if the user returns to the page again, the player is doesn't work unless the user clicks the Stop button before attempting to restart the video.
Is there any way to pause or stop the player that will still leave it fully functional?
I have a video component play on frame 1. When my movie goes to frame 2, the audio continues to play even though the video component is no longer on the stage.
I'm a new Flash user, trying to build a fairly intricate website by newbie standards. I have a basic understanding of Actionscript and OOP, enough to build a fairly nice looking full-featured website. Most of my goals for the website have been met, including dynamic XML content, a dynamic navigation menu, dynamic screenshot galleries.My current nemesis is a flash video gallery. I'm using xml lists of video locations (different types of video, including flv, wmv, and avi), and I've tried both the stock CS4 video player component (FLVPlayback) and the ubiquitous ToobPlayer 1.0.
Here's the problem. When I compile the video and view it offline, with either player component, it works beautifully! Loads each video from the XML gallery and performs as requested. When I upload it to an FTP and run the website (in an html file) as an http:// link, the video player component is no longer visible and nothing playsIt's driving me ape! Do I need to include some .as files when I upload or something?