ActionScript 3.0 :: FLVplayback: Make An Image/object Appear At A Certain Point In The Video?

Nov 26, 2009

I'm trying to make an interactive quiz show type thing. The video shows someone reading the questions, then the answers appear as four clickable images after the question has been read. Then a user clicks on an answer it updates the score and moves to the next question.

Video has been imported and it plays perfectly. Movie controls (Play, pause etc) work fine as well. But since the video doesn't appear in the flash timeline (but in the external FLVplayback component) how can I get the images for the answers to appear on the screen at the right time? I have to use the FLV playback for a number of reasons so I have to find a solution to this problem within that context.

I put in navigation and event cue points in the flash video encoder first, the idea being to have the video pause at that point and make the buttons appear then, but I'm getting constant errors with everything I try.

(I believe you use event listeners to wait for the cue point and then use addChild to put in the video, vid.pause(); to pause it but I'm just getting tons of errors every time I try anything like that so clearly I don't know my syntax well enough)

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Make An Object Move From Point A To Point B In An Arc?

Mar 27, 2008

how to use these in order to make an object move from point A to point B in an arc.Think of that classic game where you have to input the angle and power and try to hit your opponent.

View 1 Replies

Professional :: Video On Site - Showing Error - Warning : The Linkage Identifier 'FLVPlayback' Was Already Assigned To The Symbol 'Video/FLVPlayback',?

Apr 27, 2010

I have attached a video on a frame of my website in Flash. When I preview the movie the film plays as it should.But when I export the Fla. as a Swf. file it then doesn't have the movie there anymore?It does show this error:
 
**Warning** The linkage identifier 'FLVPlayback' was already assigned to the symbol 'Video/FLVPlayback', and cannot be assigned to the symbol 'FLVPlayback', since linkage identifiers must be unique.

I really don't know what that refers too.

View 1 Replies

Flash - Difference Between Video Object And FLVPlayback Component?

Feb 7, 2010

What is the differences in use of these two objects? Which one should be used for a "Youtube-like" video player with a custom skin and playlist?

View 2 Replies

ActionScript 3.0 :: Make An Object Point In The Direction Of Another Object And Move Towards?

Aug 19, 2009

I'm still new to AS3, and I was wondering how to make an object point in the direction of another object and move towards it if they are a certain distance from one another. I haven't been able to find out how to do this from the Adobe devnet, so I thought I'd ask here.

View 1 Replies

Actionscript 3 :: Change The Registration Point Of A Video Object?

Mar 3, 2011

Is there any way to change the registration of a video object (so that you can apply a tween effect)?

View 1 Replies

ActionScript 2.0 :: Make A Circular Movement Of An Object Around A Point?

Apr 12, 2005

How can I make a circular movement of an object around a point ?

View 2 Replies

Flash :: Make A Animation That Makes An Object Move Across The Screen To A Certain Point?

Sep 1, 2011

I want to make a flash animation that makes an object move across the screen to a certain point, depending on what is typed into a text box, and i want many of these moving objects at once, so that you can type in a number and then the object moves to that point. Can this be done?I have used flash but have done verry little with the actions of flash, so please walk me through any actions that will need doing

View 1 Replies

ActionScript 2.0 :: A Line From One Point Past Another Point And Whether It Hits An Object?

Aug 19, 2009

I am using AS2 with Flash 8 Professional So, my problem is that I currently have a man in the middle of the screen, who shoots a line towards the mouse when I click. However, when I use hitTest to see if the line collides with another object, Flash recognizes the line as a large box if it is diagonal, so the hitTest isn't very accurate. The line only satys there for one frame, so I can't have the usual moving-bullet-style. I am either looking for a way to create an imaginary line with AS from the starting point to the mouse and beyond, and tell whether or not this line intersects with an object... or some other way that I haven't thought of to fix my problem. Keep in mind that the line rotates from a center point towards anywhere around it for 360 degrees.

View 1 Replies

ActionScript 3.0 :: Create An Image Scroller That Just Scrolls Images From Point A To Point B On Load Horizontally In An Infinite Loop?

Mar 28, 2011

Hi I am trying to create an image scroller that just scrolls images from point a to point b on load horizontally in an infinite loop. I just used a code snippet to move it horizontally but don't how to get it to stop and at point b and loop again from a.

ActionScript Code:
game1.addEventListener(Event.ENTER_FRAME, fl_AnimateHorizontally_3);
function fl_AnimateHorizontally_3(event:Event)
{
game1.x += 20;
}

View 0 Replies

ActionScript 3.0 :: FLVPlayback.complete - Play The Video Files With The Playback Component In Each Of The Frames Where The Video Was

Apr 26, 2010

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.

[Code]...

View 5 Replies

IDE :: Move An Object From One Point To Another Point On Graph?

Jan 9, 2006

Basically what I like to ask is how to move a object from one point to another point based on the point tat you have clicked on a graph. For example, If I click on this coordinate (2,3) on graph, the object (movie clip) will move to that point.

View 3 Replies

Actionscript 3 :: Place One Object (image) On Top Of Other(video) In Flex 4?

Sep 8, 2010

I'm looking to place an image (object) on top of the other object (default video player in Flex 4)

View 1 Replies

ActionScript 3.0 :: Next Video Play When The First Video Reaches Cue Point - Error 1046

Jan 6, 2010

I have a project where I am bringing in one video with a cue point at the very end with the name of "End." I'm trying to have the next video play when the first video reaches that cue point. I keep getting this error: 1046: Type was not found or was not a compile-time constant: MetadataEvent. Here is the relevant code I believe:

[Code].....

View 7 Replies

ActionScript 3.0 :: Unable To Make An Image As An Object On The Canvas

Apr 30, 2010

I have an app wer i drag and drop images onto a canvas and then move them on the canvas to arrange them appropriately. After that i shud be able to click on those images and draw connectors between them as the user seems required. But after dragging and dropping the images on the canvas and arranging them, when i click on the image i am getting a typeerror 1009 error, i.e, "cannot access a property or method of a null object reference".

Actually after arranging the images, i add an event listener to the image(proxy) on the canvas:

image.addEventListener(MouseEvent.CLICK, mouseClickk);
image.addEventListener(MouseEvent.DOUBLE_CLICK, mouseUpp);
MouseClickk Function:

[Code].....

View 0 Replies

Loading Video To FLVPlayback?

Jun 26, 2009

I'm doing the exercises included in the book "ActionScript 3.0 for Adobe Flash CS4 Professional Classroom in a Book", but I have run into a problem I cannot solve regarding the use of the source property of the FLVPlayback component.

[Code]...

An error like this appears: "NetsStream.Play.StreamNotFound", saying that there is no video file there I also try with absolute paths, with slashes instead of backslashes..., and I just get to get it working if I copy this video file in the same folder in which lesson11_start.fla is, and enter "solution5.f4v".

View 1 Replies

IDE :: FLVPlayback Loop The Video?

Jun 14, 2006

We have a major project on here at the moment to do with flash menu designs and videos etc. Basicly we have a menu where u click a button and it jumps to a frame. On that frame is the information etc, and a video for that particular subject. What im asking is this: We have put the video in using FLVPlayback and was wondering if it is possbile to have the FLV loop the video.

View 12 Replies

ActionScript 3.0 :: Playing .mov Video With FlvPlayback

Apr 22, 2009

I have some .mov files I need to play with the flvPlayback component. When I had them in my actionscript it does not work. I've read allot and it says that the component will play mov video but it does not for me.
 
I am running CS4 with FlashPlayer 10 and AS3.

View 1 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

ActionScript 3.0 :: Play Video In Flvplayback?

Apr 7, 2010

I wanna know how to play video in flvplayback in as3. in as2 the method was flvplayback.contentpath=video.flv

but what's in as3?

View 1 Replies

ActionScript 3.0 :: FLVplayback Video Must Be In Same Directory?

Oct 28, 2011

I try loading my video from a swf file using flvplayback component using the script below

[Code]....

but I notice that the swf file doesnt link the video instead i have to place my video the same directory with the swf file and change to flvPlayback.source = "Listening_to_Community_Voices.flv"; Does that mean the video file im linking must be on the same directory as the swf or did I wrote my code wrongly.?

View 2 Replies

ActionScript 1/2 :: FLVPlayback Audio But No Video When Streaming?

Aug 7, 2009

I have a flash program that loads an external flv dynamically. I first create an empty movie clip then I attach an instance of the FLVPlayback component using Moviclip.attachMovie();. Then i control the FLVPlayback component with AS2. I have a play and pause button, a scrubber, and a loading progress bar.  None of these are components. When I publish and preview the file in Flash CS4, Adobe Flash Player 10, and all my internet browsers everything works fine, all the buttons, the multiple functions of the scrubber, and even the loading progress bar.

However when I uploaded all the files from my computer to my company's server and tested it from there, I recieved audio but no video. All of the various controls still worked for the audio but I couldn't see anything on the stage. If I waited for the loading progress bar to complete and then reloaded the external flv then I got video, but the purpose of this program is to stream the video and I cannot have the users waiting for a preloader.

If you want to look at my FLVPlayback code here it is:

_root.createEmptyMovieClip("lesson_mc",-16381);
lesson_mc.attachMovie("FLVPlayback","lesson_video",0);
lesson_mc.lesson_video.contentPath = page.attributes.url;
lesson_mc.lesson_video.autoSize = true;

[code]....

View 4 Replies

Flvplayback Imported With Video Import Wizard?

Dec 16, 2009

I imported multiple flvplayback videos on my file via the Video Wizard Import. After that I removed all videos except one. But it's still trying to load those old video and the skin of their player when I preload the file. I am sure there's no player on the stage except the one I need. And when I need to play the file, it's working well, the only problem is the extra loading for 6 skins that I don't use anymore and the time to look for 6 videos that are not there. So here're my questions;
 
1-When you import a video via Wizard, it there a script hidden somewhere that can be found? 2-When you import a flv to the stage, there's a loading bar saying getting metadata. Is there a place to edit or erase this metadata ?
 
3-Any other ideas of where I could look to find this hidden data or trace or ghost that needs to be remove from the file ?

View 1 Replies

ActionScript 3.0 :: Checking For End Of Video With FLVPlayback.STOPPED?

Feb 22, 2010

Forgive my "desperate newbie" begging, but I could really use a little help here. REALLY new to actionscript 3.0, can't really get my brain wrapped around it yet. I'm working on a kiosk presentation that allows a user to select from a number of videos. When the video is complete, I'd like playback to return to the main menu. This is running directly from a hard drive, so there's no need to dynamically load and stream video. I've placed several FLV Components at various points on the main timeline, and set the pathname for each using the Parameters on the Properties box. ALL I need to figure out is how to set up a listener to detect when the video ends and perform a navigation function that I've set up. Pretty sure it's gonna use FLVPlayback.STOPPED, but I've tried a zillion different options on how I think it's supposed to be used, but nothing is working out for me.
 
The clock is ticking on my deadline and I just...can't...figure...it...out. If anyone can tell me how to accomplish this I will sing your praises to the heavens. I know it's simple stuff and I promise not to bother you anymore with stupid questions.
 
If you have a solution for me, please be VERY specific as to where any code gets placed ("put this in frame 1 of the main timeline," and "put this in the frame where your video starts.")

View 8 Replies

Professional :: FlvPlayback/flvPlaybackCaptioning - Video Not Loading?

Jul 14, 2010

I'm using the flvPlayback/flvPlaybackCaptioning components.My file works perfectly when I test the movie within Flash.When I publish it,I cannot see any video, even on my own PC.I have the fla, flv and xml files in the same directory.In flvPlayback component,I have skin set to None and I'm using a captionButton and playPauseButton.The source has the flv filename and autoPlay is set to False.In flvPlaybackCaptioning, source has the xml filename and the captionTargetName has the textbox instance.showCaption is set to False. Everything works fine until I insert the captioning elements.  The captioning works perfectly when testing.I can't see where I've gone wrong.

View 2 Replies

Professional :: FLVPlayback Component Video And Skin As One Swf

Sep 7, 2010

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?

View 3 Replies

Professional :: Play H.264 Video Using FLVPlayback Component

Jul 27, 2011

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.

View 1 Replies

ActionScript 3.0 :: Cue Points On Video NO Flvplayback Component

Oct 19, 2011

Is there any way to read cue points from a flv which i load intro a netstream object? I dont want to use a component.

View 1 Replies

Flash 8 :: FLVPlayback Component In (AS2) And Support For HD H.264 Video

Feb 19, 2010

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.

[Code].....

View 2 Replies

Actionscript 3 :: Definition Fl.video.FLVPlayback Could Not Be Found

Aug 10, 2011

File A has a MovieClip on stage that has a linkage to a class in which I import fl.video.FLVPlayback File B also attempts to import fl.video.FLVPlayback.

File B throws a COMPILE TIME error that it cannot locate the definition for fl.video.FLVPlayback. I'm noticing that my FlashDevelop also offers no syntax highlighting for that line.

Both are exporting for the same version of FlashPlayer (10). Both are being authored on the same platform, the same software (CS4).I have not messed with any Publish settings, other than that File B is associated with a Document Class.

Of interest may be that File A will eventually be loaded into File B, into the context of File B.

View 2 Replies







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