ActionScript 3.0 :: CurrentFrame "realtime" Reported / Captured
Jan 25, 2011
We (myPartner & i) have created a AS3 .fla file with 6 movieClips that play in succession. We are ready for a content review of our work by the biology experts (this is a presentation of protein synthesis). Each MC covers (in great chemical detail) a step in that process for bacteria. I would like to include a text line (dynamic text) at the bottom of the draft-Protein Synthesis FLASH movie that will enable our biology reviewers to cite "the movie clip" and the specific frame of the movieClip that they wish to comment (or correct us) on. For example: ID = mcID:frameID
I am not able to find a way to get the "realtime" currentFrame value to print to the stage. Yes - I can get the currentFrame to show on the stage at the beginning of each movieClip (frame 1 or 2) -- but, I am at a loss to get "realtime" currentFrame information. Some MovieClips have over 900 frames. And, I have play & stop buttons included in the interface.
View 3 Replies
Similar Posts:
Mar 5, 2012
I have checked over and over again. But when I run it, it always skips the first two currentFrame if conditionals and runs the last currentFrame if conditional. I have this code in another file and it works perfectly...
[Code]....
View 2 Replies
Mar 5, 2009
I've been working with a marginally subclassed form of a TextField, which I need to display with embedded fonts. I'm noticing some surprising behaviour with the width property when embedded fonts are enabled, which is causing me trouble further on in my code.Due to the way I am animating text, I am displaying each word in a separate TextField (or Word object, as I've subclassed it). I then reassemble a line of text with even spacing, and to that I need to know the width of each word, so that following words will begin at the correct x-position. Before I began to use embedded fonts, the width was reported accurately, as expected, but once I enable embedding, the width property is reported as a much lower valueI've included the constructor for my Word object, which shows some traces for debugging
PHP Code:
public function Word(wText:String, partOfSpeech:String, chunkTag:String) {
text = wText;
[code]....
View 3 Replies
Feb 16, 2012
The Apache service named reported the following error: >>>[Thu Feb 16 17:07:10 2012] [info] mod_jithttp - FMS installation path: "C:/Program Files/Adobe/Flash Media Server 4.5/"I installing FMS 4.5 in windows 2008 r2 X64 ,but apache error ,pls help me? why?
View 2 Replies
Jun 25, 2010
I'm running FMS 3.5. My live streams and recorde streams work fine. Whenever I am in the Admin console though, nothing displays or reports. These screen shots are displaying the FMS server activity while several videos are being streamed around Europe:
View 1 Replies
Mar 26, 2012
I have an issue with zooming gesture in iOS over AIR. Here is the code (an excerpt):
package
{
import flash.display.DisplayObject;
import flash.display.Sprite;
[code]....
Where, the app, basically captures an image using the iphone's device and then should scales (zoom), but doesn't...
View 1 Replies
Jun 4, 2009
I am using red5server and flash cs3 and as3.0 and windows xp. i am trying to capture audio when user clicks on button start. next i will keep capturing for a maximum of 10 seconds or user clicks on stop button.once the maxtime ie 10 seconds reached or user clicks on stop then capturing will be stopped. my application working till this point.but if he clicks on play button then it should play the captured audio. [code]...
View 2 Replies
Jul 14, 2010
I have written enough code to preview the webcam video in Flash.Now, I want to capture images at 10 second intervals.
Here's my code:
import flash.display.BitmapData
import flash.geom.Matrix
[code].....
View 1 Replies
Jul 15, 2010
I'm trying to morph image captured through a webcam. The webcam snapshot part is already working but I still have no clue on how to do the morphing part. Can anyone point me to a tutorial (or kindly post code sample) on how to achieve image morphing using flash actionscript 3?
View 5 Replies
Oct 4, 2010
Im making a flash app that will capture video from the users web-cam, show whats being captured and when he clicks submit, send this to the server.Its already capturing video from the user web cam, but its not recording anywhere. Whats my next step to save it somewhere where it can be played to the user after recorded and after he clicks in a submit button send it to the server?
View 1 Replies
Mar 27, 2012
I am using Asp.net/C# in my application , I am using a .swf file which is placed on my Default.aspx page to capture images from webcam, I have a requirement that the captured image should be sent to server or aspx page without storing it on the clients machine,
View 1 Replies
Dec 29, 2009
I'd like to use Flash to capure video from the user's webcam and then save it on the same server that hosts the Flash file. The web server will be running ASP.Net technology. Lot of searches yielded the same lines of code to start a webcam capture using Flash. I can't find anything that sends that captured video back to a server.
I can find lots of blog and forum posts that imply 3rd party software or Flash Communication Server is required to collect it on the server, but I don't understand why. It seems like Flash ought to be able to capture some video and send it as an HTTP post to the same server that hosts the Flash file. That's pretty basic Flash/webcam functionality, right? It seems like we don't need to introduce 3rd party dependencies just yet.
View 1 Replies
Aug 3, 2011
I'm working on a site, which needs to have a feature of users capturing their opinions about a specific topic with their webcam, and uploading them to the server. After a short research, and viewing similar questions like this one I ran out of possibilities:
I cannot use Flash Media Server (out of budget) I cannot use Red5, as the server where the app will be hosted is not able to build or install it. (our server guy told me that Red5 was last updated in 2007, and he got some errors which I include below (in case that someone would have an idea how to fix it) )
red5 install errors:
xxyyzz@zzyyxx ~/red5 $ sh red5.sh
Exception in thread "main" java.lang.NoClassDefFoundError: org/red5/server/Standalone
[Code]...
View 3 Replies
Mar 9, 2012
I have been having a bit of trouble with AS3 and webcams. I have a script that connects to a webcam and then sends its output to a php script that saves the captured image. This works all except for one problem. It seems that the maximum resolution allowed for the actual Camera object is 320x240. I went to the extreme of hooking a Canon 60D up as a webcam because I have a normal webcam that is supposed to have max resolution of 1280x720 and all I can get is a 320x240 image from it. What I have found so far is the max I can get out of the Canon is also 320x240. Maybe I have been looking at this to long but I am stumped. Below is a sample of the action script where videoCapture should be 1024x768. What happens instead is a 1024x768 image is created with a black background and in the top left is a 320x240 image from videoCapture. I could obviously resize this but that would defeat the purpose being poor quality. Is there something I am missing here or maybe some limitation of Flash even?
[Code]....
View 1 Replies
Mar 21, 2012
I am using ActionScript 3 to capture image via users webcam in one of my Asp.net Page. Here is the code i am using
package
{
import flash.display.Sprite;
[Code]....
Here the image is saved using file reference, which prompts the user to save. However i want that the image should be sent to asp.net page or server, so that i can get the image and save it to the database
View 1 Replies
Apr 3, 2009
I have a keyboard.enter working in my flash movie, meaning when i hit the ENTER key my listener function is fired. But when i switch to fullscreen mode the Keyboar.enter event is not captured by my listener anymore.
View 8 Replies
Apr 25, 2011
I heard of XMPP, websocket. I'm confused about what to use. For example let's say I'm a financial broker and distribute real time quotes to client platforms on the web and on desktop in Flash, .NET or PHP. What should I use ?
View 1 Replies
Jul 9, 2011
I want to make a flash game by actionscript. Now I want to get the real time weather in my game. But I don't understand how,about this.p/s: I'm Vietnamese, my English is not good. I hope all you understand properly.
View 3 Replies
Jan 18, 2012
I'm running into a lot of setup issues and the documentation is lacking. I'm trying to setup an image upload component where a user can either capture a new photo or choose an existing from their library.
For capturing, there seems to be a huge hang (like 10 seconds where the app just sits non-responsive) when the image is being saved as a JPEG, and I'm using the Alchemy swc.
private var cam:CameraUI;
protected function takePhotoHandler(event:MouseEvent):void
{
if(CameraUI.isSupported) {
[Code]....
View 1 Replies
Aug 14, 2009
I'm playing around with the new Sound API in flash player 10 and I managed to load a mp3 from HD, extract it's bytearray and let it play. While playing I can play around with the pitch in realtime.
Now I want to add distortion, bass and echo on the sound, the only thing is I'm not a music specialist. I don't know the mathematics behind the effects.
View 3 Replies
Jul 2, 2009
my flash site is a full flash site...
Flash CS4 - AS3
swfObject2 / dynamic / embed
in default the scaling is "noscale" because i don't want to scale whether a bit the browser the full flash site... there is a button to go in fullscreen, that's works fine...
BUT
in the flash doc will be another button and WHEN the user wants it, click that button and the scaling changes in realtime without the browser reload the entire page... the button sets the scaling to "showall".
that's what i want... is it possible to change the scaling in realtime?
View 4 Replies
Apr 25, 2011
I have an interesting project wherein I need to allow users to capture video of themselves with a webcam at a kiosk, after which I email them a link to their video. The trick is the resulting video needs to be a 'slow motion' version of the captured video. So for example, if someone creates a 2 minute movie, the resulting movie will be 4 minutes.I'd like to build this in Flex / AS3 if possible. I don't have issues capturing the video and storing it / generating and emailing a link, but slowing down the video is the real mind bender. I'm unsure how to approach 'batch post-processing' a set of videos using Adobe tools
View 2 Replies
Feb 13, 2012
I am trying to find a way to avoid using FXG in one of my applications but run into a problem where the captured bitmap is not exactly the same as the original filled FXG paths.Originally, let's say I have a 3 shapes that are adjacent to each other (you can imagine a pie chart with 3 slices). I used "cutImage" function below to capture the filled bitmap data and display the 3 pictures. However, we discovered that there is a 1 pixel gap on the side where each shape meets the other shapes. Not sure if there is any relationship, but the captured bitmap is exactly the same as displaying the filled path directly but with "cacheAsBitmap" set to true. If we just display the filled paths with cacheAsBitmap set to false, there are no gaps between the shapes
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
[code].......
View 1 Replies
Sep 20, 2009
i am currently working on a audio visualizer in flash but is stuggling to get flash to detect sound off my onboard sound card. Is it even possible now with flash 10? Something like an audio fft but in flash.
View 4 Replies
Jan 5, 2011
I have some experience with FMS and Red5 development for simple online video publishing application, I am not sure if FMS is viable for my new application). Here is the requirement
1. I need record real-time video to disk file from a 8-way video-capture-card.(the card is supported by FMS). The recording procedure starts just after the system startup without any manul operation by user. In another words, I need the recording procedure start with the Windows automatically without interaction
2. If the answer to my first question is YES, then: If the FMS record videos from a 8-way video-capture-card, with 640pxX480px each way. What is the minimal requirement on the hardware? A machine with 2.0GHz CPU with 512MB, is it enough?
3. What is the best practice do you think to organization the 7x24 video record files?
View 3 Replies
Dec 24, 2009
var sound:Sound = new Sound();
var req:URLRequest = new URLRequest(url);
sound.load(url)
I want to modify the sound data (an mp3) as it comes in. Specifically, the mp3 will be encrypted using a stream cipher and I want to decrypt the data as it comes in. Is this possible using some type of event?
View 3 Replies
Dec 10, 2010
How can I use Flash AS 3.0 read realtime file.txt ?
View 1 Replies
Jul 27, 2011
I have a flex 4.5 application that uses a mx:VideoDisplay component to display the webcam. how can I add realtime effects to that VideoDisplay component? for example: changing colors, particle/grain looks, wave effects,
View 1 Replies
Aug 13, 2011
i want to make a real-time update for my flash application. Instead on making it refresh each 30secs, i would prefer the push technology. What is the best way to push data in Actionscript 3?
View 1 Replies
Oct 11, 2011
I need to implement a realtime connection between 2 or more players, that will play a Flash game. I've read that RTMFP is a good choice to make this connection the best possible (were best=less lag between actions), but, I am quite new to this kind of things, what documentation/tutorial/guide you think would be the best to get started and finally make a good implementation of RTMFP?
(Also, I read that there are differents servers or frameworks that provide the same, like Cirrus, Red5, etc, what pros and contras have this?, taking cost into account). I was reading the adobe documentation, there is an example too, but I'd love to see some more flash game based example, even a very basic one, so I can extend that functionality and start making tests. I got it working, now, I need to know how to make a webservice for the peer ID interconnection.
View 1 Replies