-
Hello,
I've noticed that if you generate a swf file in MX, run it in the Flash Player, right click on the movie and select "Settings", that there is a tabbed menu that shows a Privacy, Local Storage, Microphone and Camera option.
What's up with that? I haven't seen any documentation or threads on what you can do with an attached camera and a Flash MX movie. Video conferencing?
Just curious,
littlejobo
-
That's what it's for, but there doesnt seem to be any documentation on it and I can't figure out how to use it.
-
Hiya,
This technology will be available with the release of the next generation server applications that Macromedia are working on.
There's an announcement straight from the horses mouth here.
For communication and collaboration solutions, developers will be able to use a new Macromedia communication server technology that will enable powerful capabilities including two-way audio and video as well as real-time data transfer with Macromedia Flash Player 6.
I hope this helps!
Regards,
Steve
-
Yes, you're right.
However I've found no actions in the new Action script documentation to control a camera or microphone device. Nor is there any documentation in the new user manual.
I did find the following though in the docs:
//-------------------------
If you want the Actions panel to display code hints for object instances, you must add a special class suffix to each instance name. For example, to display code hints for the class MovieClip, you must name all MovieClip objects with the suffix _mc , as in the following examples:
... blah blah
The following table shows the suffixes and their corresponding object classes:
Suffix Object class
_mc MovieClip
... blah blah
_camera Camera
_mic Microphone
_stream NetStream
_connection NetConnection
_so SharedObject
_video Video
//-----------------------------
movie_mc shows hints in the action window but cam_camera shows none. Looks like Macromedia dropped a few hints about whats comming in Flash 7.
-
I've got a feeling that it's all in there, but they dropped all the documentation (or most of it, I found two references in the manual).
Or maybe it'll be an addon-path later with ColdfusionMX. Too bad I wanna use it with ASP :P
-
Okay, I've done a little more digging.
Camera.names returns the list of cameras attached to the computer, and there's also a get() function, but I'm not yet sure what that does - maybe capture???
More to come...
Regards,
Steve
-
The get() function returns an object, the attributes of which are...
[quote]
loopback: false
quality: 0
motionTimeOut: 2000
motionLevel: 50
bandwidth: 16384
keyFrameInterval: 15
nativeModes:
[/code]
No functions here that I can see though!
The Microphone() object also has a names property and a get() function.
The get function for this returns another object, with the following attributes...
muted: false
useEchoSuppression: 0
gain: 50
rate: 8
silenceTimeOut: 2000
silenceLevel: 10
name: VIA Audio (WAVE)
activityLevel: -1
index: 0
Again, no functions that I can see!
Regards,
Steve
-
NetStream, NetConnection and Video all seem to be functions, but I can't get them to return anything other than NULL.
SharedObject is used to store/read cookie like data on the client computer (basically to be used instead of cookies).
Regards,
Steve
-
There's gotta be a way to initialize this. It would be so much fun!
All the new stuff in FlashMX and I can't think of anything to do -- aside play with the camera and mic settings. I'd try 3D stuff but the math involved in that is over my head
-
There must be an additional initialization function to which you pass the objects from Microphone.get() or Camera.get().
-
Are there any objects that display IP address within MX?
littlejobo
-
Open up the standalone flash player in notepad or a hex editor, go through the garbage, and there are TONS of undocumented features related to the camera, microphone and net connections (for streaming). Now how to use them, I have no idea.
-
Or just download the player source code when it becomes available. I just don't have the patience to wait that long!
-
Information Architect
interesting, very interesting ...
I'm sure someone will figure it out, but i'm also sure you can't really use it without a server tool for all that. (ColdFusion MX)
Fredi
-
at the flash player help site
http://www.macromedia.com/support/flashplayer/help/
it does mention that a movie may either send your camera information to a server or broadcast to another users, OR it can just display it locally.
If all I can get working is the "Display Locally" I'll be happy.
Then I can tint myself green :P
-
More amazing things to come in a few months!
-
the only info I've seen is this enigmatic paragraph
About creating a video object for a live stream
You can create a video object to display a live video stream from a camera. To create a video object, you choose New Video Object from the Library panel options menu. Next, you assign a name for the object in the Property inspector. For information on assigning a name to a video object, see Working with imported video files.
well that told us ...
-
These are some functions which are not documented, some which pertain to webcam and microphone control:
AsBroadcaster
AsBroadcaster.broadcastMessage
AsBroadcaster.initialize
AsBroadcaster.addListener
AsBroadcaster.removeListener
ASconstructor
Object.prototype.hasOwnProperty
Object.prototype.isPrototypeOf
Object.prototype.isPropertyEnumerable
Object.prototype.toLocaleString
Sound.prototype.setDuration
Sound.prototype.getDuration
Sound.prototype.setPosition
Sound.prototype.getPosition
SharedObject.prototype.connect
SharedObject.prototype.send
SharedObject.prototype.flush
SharedObject.prototype.close
SharedObject.prototype.getSize
SharedObject.prototype.setFps
SharedObject.deleteAll
SharedObject.getDiskUsage
SharedObject.getLocal
SharedObject.getRemote
LocalConnection.prototype.connect
LocalConnection.prototype.send
LocalConnection.prototype.close
System.Product
Accessibility.sendEvent
Camera.prototype.setMode
Camera.prototype.setQuality
Camera.prototype.setKeyFrameInterval
Camera.prototype.setMotionLevel
Camera.prototype.setBandwidth
Camera.prototype.setLoopback
Camera.get
Microphone.prototype.setSilenceLevel
Microphone.prototype.setRate
Microphone.prototype.setGain
Microphone.prototype.setUseEchoSuppression
Microphone.get
NetConnection.prototype.connect
NetConnection.prototype.close
NetConnection.prototype.call
NetConnection.prototype.addheader
NetStream.prototype.close
NetStream.prototype.attachAudio
NetStream.prototype.attachVideo
NetStream.prototype.send
NetStream.prototype.publish
NetStream.prototype.play
NetStream.prototype.receiveAudio
NetStream.prototype.receiveVideo
NetStream.prototype.pause
NetStream.prototype.seek
Video.prototype.attachVideo
Video.prototype.clear
-
Instructions for Web Cam usage:
The webcam is available under the Camera object.
1. You have to attach it to a Video Object which you must create in your library. You may be able to create one using ActionScript.
2. Once you have created a video-object, drag it onto your stage and give it an instance name (ie. myWebcam). Now you
can attach your webcam ( if it is connected with your computer and working )with the following:
_root.myWebcam.attachVideo(Camera.get(0));
This should get you up and running.
-
HOLY SHEEP ****
holy sheep ****, that works.....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|