This repository has been archived by the owner on Feb 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The recorder's title can now be set via a flashvar
- Loading branch information
Mickael GOETZ
committed
Nov 18, 2011
1 parent
957b9c0
commit a4fa905
Showing
4 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#Simple AS3 Recorder# | ||
|
||
A voice recorder in Flash AS3 language. | ||
Allows you to record a sound, listen to it and download it (as a WAV file). | ||
|
||
Very simple yet efficient interface with 3 buttons : | ||
|
||
+ Record button | ||
+ Play/Stop button | ||
+ Download button | ||
|
||
Every button activates when necessary (you obviously don't need a download button when you haven't recorded anything yet). | ||
|
||
You can insert it in your web pages using the great [swfobject](http://code.google.com/p/swfobject/) javascript library like so : | ||
```javascript | ||
var flashVars = { | ||
title : "My Badass Recorder" | ||
} | ||
|
||
swfobject.embedSWF("Simple-recorder.swf", "recorder", "320", "170", "10.0.0", null, flashVars); | ||
``` | ||
|
||
|
||
Or you can play it old-school and use the ```<object>``` tag : | ||
```actionscript | ||
<object type="application/x-shockwave-flash" data="Simple-recorder.swf" width="320" height="170"> | ||
<param name="movie" value="Simple-recorder.swf" /> | ||
<param name="width" value="320" /> | ||
<param name="heigth" value="170" /> | ||
<param name="flashVars" value="title=My%20Badass%20Recorder" /> | ||
</object> | ||
``` | ||
|
Binary file not shown.