ActionScript 3.0 :: Interactive Video Manipulation?
Apr 24, 2012
I have a project which is about creating interactive videos for users..The main idea is that user will open the app and a predefined video will show-up.Video will show couple of billboards, signs etc. while moving through a highway.. Like from a perspective of a driver..I need to insert users photos to these billboards and some text to signs..
The problem is, these objects which I'll be filling are changing their shapes constantly because of the car movement. I can get all the x,y coordinates and timings of the video from my partners. But I don't know how to use them in this situation.I think about continious tweens with these x,y values but I'm not sure..
I have created animated presentations (since now, I have just videos) for my seminars at the university with cinema 4D and I added some effects with After Effects (CS5). Now, I want to build an interactive presentation. That means:
- The (video projector) presentation starts with a video in a loop.
- When I click a button on the mouse/keyboard, the video finishes the loop until the end and
we are doing a seamless interactive video-game-video project, but are having optimization problems. Because the client wants a full-screen option for both the video and game segments, our file size is too big. Any advice on how to minimize load time yet retain a relatively high-quality image standard? The h.264 codec would help with image quality, but there are licensing issues, and we need the transperent alpha channel for the video segments.
basically i got this video i need to make interactive, where the user will be able to click on hotspots in a video as it scales -- any possible ideas or directions?
The idea i got is if i know my hotspot is initially at x:700 y:300, and the video scales, i just move it over by that much of a factor -- from what my current resolution was to my new resolution?
Would it be possible to have a video (MP4, FLV, F4V, or some other popular format) contain a table of contents that the user can click to seek to different sections of the movie?
Any way to make a video as a transition for a flash movie? What I mean is, say you have an image of a city, and you have a bunch of clickable areas in that image. When you click on one of those areas, a video plays that would transition you from the original image to the new location, almost like a fly through. [URL]
I do have an assignemnt, deadline os tommorow 4pm. In this assignment i should create interactive video in flash. I have choosen to create game like Mortal Kombat. I have one video with 28 cue points. I made buttons that take us to the right place in the video which are hidden at the beggining but are visable when video reaches first cue point. I have created life bar which in fact is made of 5 small MC`s and I thought that if user will press kick button then one small life bar will become hidden - I have no idea how to do this.
Second thing is that I want to put mp3 file but I want it to start at the same cue point as buttons.
third - I do want to dispaly random cue point of 2, so if user will press punch button he will be taken to piece where my character hits opponent or to the piece where opponent block the punch. And I want from time to time randomly display piece of the vide where my opponent hits the character[code]...
I want to make an Interactive Video in flash (or another method if known). basically to sum this up. I want to make a video which then some options will appear in the video (They could be buttons by the side of the video), which you then need to choose for another video to play. (Exactly like how you tube uses annotation) Is this possible with flash? or would I need to use another program?
I'm trying to make an interactive video player where you have a choice of 3 buttons and each button links to a different frame that has a video player embedded in it. Once on of the frames are brought up, I have a button to take you back to the main screen. However, after clicking back to the main screen, I'm running into the following output error:
TypeError: Error #1009: Cannot access a property or method of a null object reference. at memorialsample_fla::MainTimeline/frame1()[memorialsample_fla.MainTime line::frame1:4] at flash.display::MovieClip/gotoAndPlay() at memorialsample_fla::MainTimeline/gotoMain2()[memorialsample_fla.MainT imeline::frame2:11]
Once the above output error occurs, the buttons are no longer active and no longer work. Here's a look at my code that I have going on: Frame 1: stop()//Link to Frame 2btn_MJ_Main.addEventListener(MouseEvent.CLICK, gotoMJ) function gotoMJ (e:MouseEvent){ //btn_Beach_Main.removeEventListener(MouseEvent.CLICK, gotoBeach) //btn_MJ_Main.removeEventListener(MouseEvent.CLICK, gotoMJ) btn_Cloud_Main.removeEventListener(MouseEvent.CLICK, gotoCloud)gotoAndPlay(2) [Code] .....
If you want to see the actual SWF for a better visual at what I'm doing, you can see it here: [URL]. Scroll down to the Flash object, it says "Memorial Tribute Samples". I have the videos streaming, and am not sure how I could get the FLV videos to stop playing when I click the flash's "Return to Samples" button. Right now, the users would have to pause the video if they don't want it to play in the background as they go back to the first frame.
I am trying to create an interactive music video in After Effects and Flash. The concept is that while the music video is taking place the user can decorate the hair of the woman with any of the objects they select. There will be predetermined animations and destination spots but the user can choose whatever objects they select to be delivered to the predetermined spot. I need to figure out how to let the user to select an object that will become part of the animation. I created a PDF Roughly explaining what I am trying to do. If anyone can help me I'd be very grateful as I am more versed in After Effects, I don't know ActionScript well enough to execute what I am trying to do.
Below is a rough example of what I am trying to do. There will be a music video of an animated woman singing. As she is singing the user will be able to click any of the objects , below the numbers 1-10. Below it is illustrated that the user wants to press the blue number 2. If the user presses the 2 the 2 will animate in the mouth of a bird to a predetermined pre-animated spot. I assume I need to send a movieclip to a blank holder on the timeline and use a gotoAndPlay() action ???
I have an animation that's heavy and needs to go into the flvPlayback component. It needs to pause automatically and call a sound effect that repeats until the user clicks the play button which is a movie clip that appears via addChild(). It's being loaded by an external swf currently. It works now, just takes a while to load.\
I am trying to create an interactive music video in After Effects and Flash.The concept is that while the music video is taking place the user can decorate the hair of the woman with any of the objects they select. There will be predetermined animations and destination spots but the user can choose whatever objects they select to be delivered to the predetermined spot. I need to figure out how to let the user to select an object that will become part of the animation.
I'm Currently creating an interactive video game. There are 66 movies. I'm new to AS3 and have a little experience with AS2. I will try to explain the game! You choose from 5 ingredients, each has this product provides a number of calories:
Rice R = <- standard value! Mais =-C Roots =-W Tofu =-T Onions =-U Champions =-M Each ingredient can be added only 1 once.
Good combinations: R-U-T-CR-U-C-TR-T-U-CR-T-U-CR-C-U-TR-C-T-U Each movie is in a movie clip. And the frame where the movieclip is on, is labeled with the combination. For this I wrote the following script:
ActionScript 3 Code: stop (); var caloriesVar: Number = 10, / / default Rice var inpanVar: String = "R", / / R = Rice iLabel.info_txt.text = (caloriesVar); iLabel.info_txt2.text = (inpanVar) / / idem [Code] .....
But this does not work. When you click a button, the script doesn't do anything. Do not know where it goes wrong because he does not update the text fields.
I'm completely new to FMS but a seasoned Flex developer. We're building a Flash Builder 4.5 application which will be deployed to iPads. The basic functional requirements are as follows:
1. Presenter in a room has a camera streaming video of themselves2. Participants in the same room have an iPad - there are 30 participants and the stream is sent to all 30 iPads simultaneously.3. There must be lowest delay possible with good quality video - we understand this can be achieved with RTMP and that VP6 has to be used (as there is no H.264 support at present in AIR on iOS)4. The presenter will trigger certain things from their iPad which will then display certain alerts, content on the partcipants iPad (from server connection the participant iPads are listening to)
Firstly, I'm interested to know your thoughts on this current spec. This was put together from zero initial experience with FMS and having read a lot online and creating a proof-of-concept. Secondly, with regards to the two-way interaction: Is this something FMS handles? Previously I have used LCDS or BlazeDS for the data events & streaming aspects of our applications. Initially I was planning on using BlazeDS again, in addition to FMS. But from what I have read FMS possible handles data push too? Does FMS have LCDS/Blaze built in in some way?
Using AS2 or 3, is there a way to create my own file format? I would like to create a game.And when users play the game, they can create a GAME-SAVE-FILE.So, let's say that player 1 is playing... He get's to level 22 and has to sign off.He clicks save my GAME-SAVE-FILE to my computer.He names the file MyGame and saves it to his desktop.So now on his desktop he has MyGame.gsf. Next time he visits, he can click on UpLoad My Saved Game.He selects his previously saved MyGame.gsf And bammo... all the information was stored in his file and now he can play on.
I need to know how I would put together the format for my own file-type / extension.I need to know how I would access, write, and edit my own file-type / extension.Since Flash can do this type of File Manipulation with PNG's and JPG's.So surely it can be done with any desired custom format.
I have a request to create a "flash-like" app that is connected to a MS Access Database (DB). The customer has built up a product configurator in Access and wants to know if I can do anything with it. Is this what Flex is good for? I still really do not understand what Flex is all about.
Anyway, I thought of exporting the DB out to an XML file and importing that to a flash app and then using the data there. The problem with that is that I would have to recreate all of the logic (e.g. if you choose "model A" you can only choose "colors 1, 2, or 3") that manipulates the elements in the DB and also the client would not be able to easily manipulate/edit/update the DB without having to export it to XML, etc...What would be a smart way for me to access/manipulate a MS Access Database through a flash front end?
I am curious if anyone knows how to code a button so that when you click it an object resizes, but shows the animation of it resizing. For example I know that
ActionScript Code: btn1.addEventListener(MouseEvent.onRelease, resize); function resize(): void {
I want to search and replace specific text in a HTML file (about 10k - so quite a lot of text). I was thinking of trying to get Flash to do this for me. I wasn't sure how good Actionscripts text manipulation was! The only reason why I was think of doing this in Flash was because I don't know VB. I would otherwise do it in Perl if Actionscript is no good.
I'm currently trying to create an advent calendar I would like the flash movie to somehow recognise the date on the users computer and then gotoAndStop at that particular Frame Label (eg. If it's the 20th December then it jumps to Frame Label 20 in the main timeline.
I have a MovieClip in the library exported for actionscript. How do i convert or attachMovie it to a BitmapData class so that i can manipulate its pixel data? I will need that so that i can distort the MovieClip.
I'm creating a Flex application that enables users to communicate in a kind of video chat room. I only allow to live streams at any given moment. I'm using FMS to record the videos in FLVs. What I need to do is post process those videos and create a single video with all that happened in the video room. That means that I need to combine 2 videos, reduce the size of one of them so it appears over the other one. In other words one video will use the whole space an the other will appear at the upper left corner (over the other video,).
I need a server side solution for this. I created another post here and someone suggest a screen capture solution. That would work perfectly, but since this appliction will be used for several people and any time, I want the process to be automaticaly not manual. So, I'm thinking I can do it with FFMPEG, but I need a way to identify in which order I need to compose the videos. Something like adding a time stamp to each FLV in FMS (when they are recorded). How can I add custom metadata to the FLV?
I've been messing around a bit with some low-level bitmap manipulation and having been creating some various color matrices to apply to bitmap data to add "filters" (for lack of a better term).I have seen a number of tutorials online in C# and AS3 about applying various color matrices to bitmaps, but was curious if anyone simply had a collection of these color matrices that map to specific filter styles (black and white, sepia, etc.).
I'm not familiar with XML text handling yet, but have to create one quiz quickly.I've decided to put feedback into different variables. e.g. fb1_1 for right anwer of question 1, fb1_2 for wrong answer of question 1.I thought to change a string to variable and put the text into a dynamic text "fb" would be something like this:[code]Also is it possible to put all text in one text field and extract a different line of text and put it to a dynamic text field? I tried to put the text into a variable, but it only shows level (level0) and instance name not the text itself. Anyway to get this way to work?
i have a problem manipulating multiple sound objects in MX. i have a main background loop object and a button rollover object (which plays on specific buttons). i then have a volume slider which will set the volume of only the main bg loop object. but when i tested it, it seems that the volume of the button rollover object is also the same with the main bg loop object's volume. meaning, if my main bg loop's volume is down to 50, the button rollover sound volume is also 50.
here're my codes:
//code on 1st frame mainLoop = new Sound(); mainLoop.attachSound("mainLoop"); mainLoop.start(); mainLoop.onSoundComplete = function(){ mainLoop.start(); }
hoverSound = new Sound(); hoverSound.attachSound("hoverSound");
//code on slider MC onClipEvent(enterFrame){ if(drag){ _root.mainLoop.setVolume(this._x); //this._x is between 0-100 } }
//code on sample button on(rollOver){ hoverSound.start(); }
I have a site where as you click links, you move forwards through a city. I want to fade sound files in and out, overlapping, depending on where you are in the city.As yet, I can't have two sounds playing at once.I have found a site with the effect I want, it's atI have two sound loops at the moment, one of cicadas, one of a city at night, both saved as separate .swf files, which I have loaded onto the main timeline on layers 14 and 15. The code for the two loops is:cicadas.swf, FRAME 1
var volPercent = 20; cicadas = new Sound(cicadas); cicadas.setVolume(volPercent*2);