Flash :: Save A MovieClip (Bitmap And Audio) To FLV?
Jan 4, 2012
This is my first question here :D, first sorry about my english. My question is basically how can i save a flash Movie Clip to FLV. The Movie Clip is generated by users and it has various sounds and animations and i need to save an FLV to send it to Youtbue. What have I tried: I found some question here about using an Alchemy Lib that I am using to grab the Movie Clip frame to frame and save it to Bitmap. The Alchemy Lib converts those frames to FLV like a charm and supports saving chunks of sound using ByteArray.
In this situation my Problem is, how can i grab the sound of Movie Clip to send it to Alchemy Lib? Iīve tried using:SoundMixer.computeSpectrum(sndData, false, 2); Witch returns me a byteArray in sndData variable but is useless since itīs used for render Audio Wave forms on screen. Thougth aboud using Sound.extract(); but i believe the sound class is used only for one MP3 sound and I need to grab the mixed sounds generated by Movie Clip.
[Code]...
View 1 Replies
Similar Posts:
Feb 3, 2011
i have a dsgnArea----> a movieclip
dsgnArea is masked by dsgnAreaMask, which inturn is a movieclip
dsgnArea.mask=dsgnAreaMask; the width,height and position of dsgnAreaMask and dsgnArea are same.
i dynamically added multiple movieclips and labels to dsgnArea;
[Code]...
View 3 Replies
Sep 30, 2010
I tried copying and pasting it onto Paint or Word, but it was really small and fuzzy, so the resolution was very bad.
View 4 Replies
Jan 24, 2011
There is possible to save as image a html content which is "under" flash of object ? I want to take a screenshot of web page and add text or graphics then save it to file.
View 1 Replies
Oct 24, 2011
I'm currently working on a project - an online education system, and I need to make it possible for studs to introduce themselves in a 30 sec audioclip. I need to implement it with Adobe Flash. The problem is that I have no idea how the Flash + Red5 duo work together. There aren't that many helpful recourses online, at least for me since I'm a beginner at Flash. (I do mostly PHP stuff.)
1) When you connect to the server, how do you make it record audio from flash client? 2) After 30 secs, how do you stop recording and save file in a specific folder on a server?
View 4 Replies
Oct 24, 2007
I'm trying to record audio from my microphone and save it out as an .FLV or .MP3 (or any other kind of audio format) file. I've gathered from my research that I need Flash Media Server which I do have access to but that's pretty much where the trail has stopped.I'm unable to find any concrete examples of doing this and would can point me in the right direction. I can use either AS2 or AS3 and this is agency work so I've got a pretty good set of tools at my disposal, just need to get somewhere with the research.
View 14 Replies
Jul 2, 2009
i m making a drawing application .i want to save my drawing wit out bitmap classs because when i reload that it is not editable. So can any one tell me how to save my drawing to server with out bitmap .because i want to reuse it in flash.
View 1 Replies
May 21, 2011
I have created a sound mixer in AS3. The user can load a song. Each song has 6 tracks for different parts of the song. ie. Vocals, Guitar, Bass, FX, Drums, Piano. There are sliders that control the volume of each track. They can then play the song and record what they do with the tracks. They can then play it back. Thats all working perfect! (and I'll def share once its done!)What I need to know if there is any way to SAVE this new mix as an .mp3 or .wav or something??I'm guessing there would have to be a way to record the sounds going into the SoundMixer() but not sure if this is possible.
View 3 Replies
Nov 10, 2009
How one would go about saving a bitmap image of movie clips to the hard drive?
View 3 Replies
Jun 3, 2011
I'm building a website that is supposed to record and upload audio to a server and also be able to play said audio. Currently I have a BB app that does the same, I record the audio in .amr format, send the bytes over to the server and convert it to an .mp3 file with ffmpeg. How can I manage to record audio and save it in .mp3 format? With Flash, HTML or any other means. My website is being built with PHP under the CakePHP framework.
View 3 Replies
Dec 9, 2009
<bump> sorry for the bump but i did answer several posts.... just need ot know if this is possible <bump> Been doing a bunch of searching but can't find a solution... Here is what I have done and what I'm trying to do. I have created a sound mixer in AS3. The user can load a song. Each song has 6 tracks for different parts of the song. ie. Vocals, Guitar, Bass, FX, Drums, Piano. There are sliders that control the volume of each track. They can then play the song and record what they do with the tracks. They can then play it back. Thats all working perfect! (and I'll def share once its done!)
What I need to know if there is any way to SAVE this new mix as an .mp3 or .wav or something?? At all possible?? I'm guessing there would have to be a way to record the sounds going into the SoundMixer() but not sure if this is possible.
View 4 Replies
Dec 19, 2010
I'm trying to record audio from my microphone and save it out as MP3 I'm unable to find any concrete examples of doing this. I can use AS3 AS2 or Air.
View 1 Replies
Aug 6, 2010
If I import an FLV video is there any way to remove the audio, put the audio into a byte array, and then re-add the audio to the flv video?
View 1 Replies
Jun 1, 2011
I'm using FlashDevelop. Below is the code I used,
package
{
import flash.display.Loader;
import flash.display.MovieClip;
import flash.display.Sprite;
[Code]...
View 2 Replies
Mar 11, 2012
Bascially what I'm trying to do is load 2 or more external images, all the same size and resolution, then combine or composite them one on top of the other, then save that result as a new image using a jpeg or png encoder.
I don't want to take a snapshot of the stage, I'd like to save the images with thier original resolution. So far the only thing I've been able to do is load two images, and composite them on the stage. thats about it.
I'm using flash pro CS5.5, and writing code in a class file, not on the timeline. Here is a copy of the code.
[Code]...
View 2 Replies
Dec 8, 2009
I'm playing with Local Shared Objects, and I was able to save and load simple data types like strings and integers. Pretty cool.
I want to Save/Load a Bitmap Object but I'm having problems. I think I got a Bitmap Object to save but when I loaded it back in, it was basically a blank bitmap. I located the actual .SOL file on my computer and opened it up. It had some basic Bitmap info like scale, rotation, visible, width, height, etc, but NOT the actual bitmap.
So I realized that I need to be saving/loading a BitmapData object instead of just Bitmap. BitmapData holds the actual bitmap pixels, I think. Anyway I saved out a BitmapData object. When i tried to load it back in, I get a type coercion error: "Type Coercion failed: cannot convert Object@df355b1 to flash.display.BitmapData". I dont get it because this error didnt occur for Strings, ints, or Bitmap Objects. Whats happening?
Also, I looked again at the .SOL file after saving out the BitmapData object, And I dont see any pixel data there. The bitmap I'm saving is 800x800 so the .SOL file should be pretty big but its just a tiny file so I know the pixels havn't been saved properly.
Here is the code I'm using (Simplified - error handling removed, etc)
Code:
// save
var mySo:SharedObject = SharedObject.getLocal("mysharedobjecttest");
mySo.data.testA = 14;
mySo.data.testB = "hello this is a test";
[Code].....
View 14 Replies
Aug 11, 2011
I'm having problems with many files losing their assets from the timeline after a save and reopening the file in Mac OS X Snow Leopard. This is happens quite often now and there seems to be no pattern to it. For example, I will open an existing Flash animation complete with sound and artwork, make changes to the animation timing, test the SWF and everything looks good, then save. After reopening the exact same file, there will be audio that was on the timeline will be an empty frame. In addition, there is art work that was swapped out or updated to a character and the symbols becomes empty after reopening.
View 7 Replies
Jul 1, 2010
I have a requirement to do a flash program or something like that (not necessarily flash, it can be javascript or something in aspnet) that allow me to save audio in the client side of a web app, and save it on a file in the server side of the web app.
Ive found this but the only thing that it does its to recognize the microphone, I need the hability of saving the audio file, by the way the server is implemented in aspnet
View 2 Replies
Feb 1, 2012
This work:
var a:BitmapData = new BitmapData(640,480);
var b:Bitmap = new Bitmap(a);
a.draw(movieClip);
[Code].....
How can I draw in my Bitmap just the visible part of a MovieClip that uses mask?
View 1 Replies
Jun 5, 2011
I am developing (well, trying to anyway) a service where a member can record themselves on our website using their webcam. We need to be able to record that entire webcam session they had on our website for judges to determine whether they've cheated or not (it's a competition-based service). But, I can find no documentation, articles or even a sign that this is possible (other than knowing I've seen it in use many times). And I'm not sure what kind of hosting would be most appropriate for this type of service, and what steps would be required for me to get started on this.
View 1 Replies
Apr 19, 2011
I am developing a Paint Application is AS3. What I am trying is to basically mimick the MS Paint. I am using vector graphics to implement tools like pencil,line,curve and bitmap to implement bucket tool,spray and eraser. But I faced a problem. While its possible to draw bitmap over vector its not possible to draw vector over bitmap if every drawing is in the same layer.
So the idea that I have is to make it into two layers
Top layer where the vector drawing is done.
In the bottom layer layer after each vector drawing on MOUSE_UP a bitmap copy of the top layer is made and kept on the bottom layer. Keep the top layer fully transparent so that bottom layer is always visible.
Things like flood-fill(bucket tool), spray and eraser will be directly applied to bottom layer.
After each vector is drawn on MOUSE_UP the top layer will be cleared but everything will be visible because it has been re created in the bottom layer and the top layer is full transparent.
My questions are: Is there any flaw in my logic. How to make a bitmap copy of the movie clip on top. I tried but maybe I am stupid it does not work. The name of the MovieClips are topLayer_mc and bottomLayer_mc. What is need to have is to have a function to create a bitmap copy of topLayer_mc on every MOUSE_UP of pencil,line and add it to bottomLayer_mc. I mean create a bitmap copy of topLayer_mc on every MOUSE_UP of pencil, line and add it to bottomLayer_mc. A function will do.
View 1 Replies
Nov 14, 2011
But now the tracks are objects in an array, that will grow larger and larger (and slow down the game over time). How can I paint them on the level bitmap? And how to reload the bitmap when you restart?Have searched for an answer for days but have not found one.I know how to combine a bitmap and add it to the stage, but not how to replace it in the movie clip object:
var newLevel:BitmapData = new BitmapData(grassLevel.width, grassLevel.height);
var newDebree:BitmapData = new BitmapData(debree.width, debree.height);
newLevel.draw(grassLevel);
[code]......
View 1 Replies
Jun 7, 2011
i built and application that load multiple sound files play it in a sequence as the user order them but i wonder is there a way to save this sequence into one mp3 or wav file
View 1 Replies
Apr 6, 2010
What are the Advantages and Disadvantages over the Bitmap and MovieClip in Flash.
View 1 Replies
Sep 7, 2011
I've got a code, which caches loaded resources (both images and swfs) and saves its bytes to flash SharedObject:
var cache:SharedObject = SharedObject.getLocal('dataCache');
cache.data[url] = (loader.contentLoaderInfo as LoaderInfo).bytes;
When there's a query to load new resource, the code checks if the resource is in cache and then loads its bytes:
var loader:FlexLoader = new FlexLoader();
// handlers skipped
var lc:LoaderContext = new LoaderContext();
lc.applicationDomain = new ApplicationDomain(ApplicationDomain.currentDomain);
[Code]......
View 2 Replies
Oct 8, 2011
I have a MovieClip inside a stage that is mostly(not accurately) centered to the middle of the stage.
When I try to save the MovieClip into a bitmap in order to upload it to facebook, I either get a cropped image or a white image(blank). Here is the code for generating the bitmap:
var source:BitmapData = new BitmapData(board.width, board.height);
source.draw(board);
var bitmap:Bitmap = new Bitmap(source);
The result I am getting is the yellow area in the following image:
[Code]...
View 2 Replies
Nov 11, 2010
I need a very simple(*) image editor made in Flash so the users of my web page can edit pictures and then save them to my server. I'm beginning this project trying to save to a jpg or png the content of a movie clip, but I didn't find any information on Google. Can you give suggestions of how to begin? And if you know some opensource projects like this one, please share it here.
(*) very simple means, resize, crop, add text and overlap other images.
View 4 Replies
Jan 27, 2011
I have a requirement to save a part of animation that comprise of many movieclips in a parent movieclip and make it available for another user to edit it. So, Its pretty sure that I cant save it as a bitmap data.
View 5 Replies
Mar 24, 2011
So I'm Bitmaping some heavy stuff to try bring down the [pre-render] and [render] which is quite high according to FlashBuilder's profiling. I thought this was going well until I realised that as soon as you change a MovieClip to a Bitmap, you lose the pixel based accuracy of the mouse move events (Over, Out, Move...), all your left with is the entire bounding box of the Bitmap, something which is less than desirable. I've got a game where many Bitmapped assets would be on top of each other in a scene, on the stage, arranged in various ways and need to have that pixel accuracy moving between each one and have exhausted my efforts as to how to achieve the same mouse move results with the Bitmapped guys as normal.
This, [URL], is a FLA which shows this operation, and you can see how it works here, [URL]. When it loads up, both items on stage are drawn Shapes, encapsulated in MovieClips, both that get a glow, if you hover over them. If you click the stage at all, the purple guy gets turned into a Bitmap and now, his 'hit area', when it comes to MouseEvents is his whole bounding box and you can only get through to the back green item at the edge slivers.
I'm also tracing the pixel which the mouse is over, so I can clearly tell when the mouse is over a transparent area, it's 0, but how can I tell the event to forward itself on down the chain to the green MovieClip?
Below is how it's now pretty much working for me,
var bitmap:Bitmap = this['bitmap'];
var shouldMouseOver:Boolean = bitmap.bitmapData.getPixel(event.localX - bitmap.x, event.localY - bitmap.y);
if(shouldMouseOver)
[Code].....
I shut off mouseEnabled for my item, when I know it's wrong, then I search for another item that properly fits the bill and if there is one, send an Event to that and break. If that one's also wrong, it'll do the same again, but each time taking themselves out of the loop.
This does work exactly how I want it to, but I'd always prefer to keep things like globalToLocal and looping, and reading from arrays for not frequently updated methods like listeners to MOUSE_MOVE. Is there a more efficient way to do this?
View 2 Replies
Aug 23, 2010
I have MovieClips on my Flash Stage that when clicked on--they toggle ON/OFF. My goal is that when a user clicks either ON/OFF--then leaves the flash website--another user can visit the site--and see that state of that MovieClip was either left ON/OFF.
I would need a way that when a user toggles ON/OFF--that state is saved in a variable--passed onto PHP--saved in an XML file--and then when that is done--Flash calls a function to update--to read the XML file--see if it needs to update the ON/OFF state of the MovieClip toggle button.
Multiple people would be able to go to this flash site--and toggle (ON/OFF) the objects on the stage. When more than one person is toggling--those people should instantly see objects being toggled (ON/OFF).
View 1 Replies