ActionScript 3.0 :: Use The StageVideo Object For Hardware Acceleration Capabilities
Feb 25, 2011
I am trying to use the StageVideo object for hardware acceleration capabilities. I am compiling code in FlashBuilder4 and am using sdk Flex Hero (4.5.18623), and Flash 10.2 I think given these settings I should be able to use StageVideo. However when I import flash.media.StageVideo, I just get an error message, telling me that flash.media.StageVideo cannot be found. How can I get StageVideo to work, are there some settings that I should be changing.
View 4 Replies
Similar Posts:
Jan 28, 2010
i have found a code whose purpose is to make an object to follow the mouse arrow. It works perfect, but i would like to add a kind of acceleration to it. That means the closer the object is to the mouse arrow, the faster it moves.
[code]...
View 5 Replies
Aug 29, 2011
It would be so great if there would be stagevideo support for iOS devices. I know there's a workaround using StageWebView, but I need to be able to place objects on top of the video. Does anyone know if, and if so, when Adobe plans to release support for StageVideo on iOS?
View 14 Replies
Feb 28, 2012
What is the simplest/easiest way to setup a video for viewing in an iOS App created using Flash Pro CS5.5?
I've updated AIR to 3.1, and have tried following various tutorials and also reading this: [URL]..but I can't really wrap my head around it. I can't copy/paste either because I'm unfamiliar with using external classes & do most of my coding internally.
I have tried doing the dodgy and removing "private" & "public" in front of all the functions from a copy paste of the external classes but that doesn't seem to be helping.
View 1 Replies
Jul 26, 2011
Has anyone got a working example of a StageVideo avaible for FlashPlayer 10.2 ? I'mt trying to use the example from Adobe official web page. It doesn't show any errors in Flash Professional CS5.5 but still it doesn't show anything.
View 0 Replies
May 9, 2011
I wanted to display H.264 videos with air packaging for mobile and run into a problem.is StageVideo avaiable on mobile devices running IOS or android?I use air 2.6 sdk for packaging and it seems there is no StageVideo on ipad?I can use StageWebView but because of limitation of it ( it alwaysrendered on the top) this is not an option for me.Is any schedule when would StageVideo be available for mobile? maybeair 2.7 sdk?
View 3 Replies
Aug 1, 2011
I'm having troubles testing a StageVideo file locally. The HTML file that contains the swf loads perfectly in Chrome & FireFox, but when I go to open it in Internet Explorer 9 nothing happens (it just shows a white screen).
I've added the permissions for the location to the 'Global Security Settings' tab of the Flash settings manager (on the Macromedia website). I've also checked in the IE9 settings to make sure that it allows GPU rendering.
why it might be blocked in IE9?
View 1 Replies
Oct 5, 2011
So I'm building a video player that appears in a nested (display) hierarchy, and I would really like an easy way to preserve the background. I have a Loader SWF that contains a bg, and another SWF (which contains the video player) that toggles between StageVideo and Video per the end user's environment. I have StageVideo working, but it always shows below other content.Now I know that this is the desired behavior for StageVideo, as it allows the GPU to render content directly to the screen without having to composite the video feed with display list contentbut I really want to be able to show my background (if only as a 'picture frame') behind the video player. Drawing a simple rectangular frame around the player such that it appears to have a bg will not work; I need to be able to also display images and other DisplayObjects behind the video player itself
View 2 Replies
Feb 10, 2011
I built a video player that uses embedded movieclips and bitmaps with flash professional cs5. I would like to incorporate logic to use stageVideo. However, if I use flash the stageVideo api's are not available. If I use Hero, I don't know how to incorporate the embedded movieclips and bitmaps that are currently in the fla.So, my question.Using flashbuilder, is their a way to access assets from an fla? or Can I somehow gain access to the stageVideo api in flash?Would it work to create a swc in flashbuilder with stageVideo apis included, and then add it to flash professional?
View 1 Replies
Jun 3, 2011
I have an AVER-TV HD Video Capture Card. Using Flash AS3 I can display HD content on the screen just as if the card was a WebCam. However, the performance is not that great as it get's quite 'stuttery' and is not smooth. I wondered if there were a way I could get StageVideo to help with this? It seems the StageVideo object needs a NetStream to operate. I've tried attaching a Camera to a NetStream Object and then passing it to StageVideo. The Camera seems to turn on, but it doesn't display anything on screen. Do I need to do something for the NetStream / StageVideo to display the output on screen? I really hope there is a way to use StageVideo with this HD Video Capture Card as I imagine it would be a lot smoother.
View 1 Replies
Oct 7, 2011
I can just create a new project, target Flash Player 10.2 and paste this into frame code:
[Code]...
The event never fires off. I look in the reference for StageVideo and I see it's available in Flash Player 10.2. What's up with this? edit: If I target AIR for iOS, this event does fire (I have AIR3.0 overlayed).
View 3 Replies
Oct 7, 2011
Does anyone know if it's possible to apply garbage collection to the new StageVideo component in AS3? I have tried with no success! Code is below:
if ( this._stageVideo == null )
{
this._stageVideo = stage.stageVideos[0]; this._stageVideo.addEventListener(StageVideoEvent.RENDER_STATE, stageVideoStateChange);
}
[Code]...
View 2 Replies
Dec 1, 2011
I'm developing a kiosk in AS3 that utilizes StageVideo (publishing for FP 10.2 on a Mac Mini). It works fine, except as soon as StageVideo is engaged the mouse becomes visible. This is a public kiosk so I need the mouse to stay hidden.
View 1 Replies
Nov 24, 2011
I just came across the new stageVideo, as I am not very Savvy using AIR i was wondering if i could use the camera video (getCamera)on the stagevideo, and how to implement it?
View 1 Replies
Dec 1, 2011
I am developing video conference application in flash with FMS4.5 and integrating StageVideo API for rendering video on hardware and it's working very nice but, I am not able to capture picture from StageVideo.
View 5 Replies
Sep 12, 2011
I'm trying to use Flash's StageVideo object through the example ActionScript file in this page(http:url....), the problem is it's just showing up a black screen (no video) for live streams which are not using the H264 codec? and also it is not even throwing up a StageVideoEvent.RENDER_STATE event to say that it cannot play the stream. Actually it can seem to play the stream because I can hear audio but it is just unable to show up any video.
Someone commented on some other sites to check if the "Enable Hardware Acceleration" in the Flash settings is checked, and I can confirm that it is checked, again this is only happening whenever I'm viewing a non-H264 stream.Can the StageVideo be used to view live stream using screenshare codec (SVC2)? I have tried viewing H263 stream and it plays fine, only when viewing live stream using screenshare codec that I'm encountering this problem
View 14 Replies
Sep 12, 2011
use Flash's StageVideo object through the example ActionScript file in this page [URL] the problem is it's just showing up a black screen (no video) for live streams which are not using the H264 codec?and also it is not even throwing up a StageVideoEvent.RENDER_STATE event to say that it cannot play the stream. Actually it can seem to play the stream because I can hear audio but it is just unable to show up any video, anybody encountered this scenario before?Someone commented on some other sites to check if the "Enable Hardware Acceleration" in the Flash settings is checked, and I can confirm that it is checked, again this is only happening whenever I'm viewing a non-H264 stream
View 1 Replies
May 25, 2011
I'm trying to allow users to take pictures with their webcams and save it. How can this be done? I am looking for something similar to Facebook or dailybooth in terms of their UI. I know smoe PHP/jQuery but I'm also wondering how I could save the pictures once "taken"?
View 1 Replies
Sep 21, 2010
I have a question regarding the capabilities of the EventDispatcher. Is it possible for flash to dispatch an even and be able to push out information like an int or string?
View 2 Replies
May 14, 2010
I'm working for a company who is using flash to play HD media. Right now, the systems they are having to buy to play the media conent must have relatively decent CPUs in them due to flash relying mostly on the CPU. With the flash 10.1 beta there is now obviously a focus on GPU acceleration and we are quite excited about this as it could considerably drop the cost of each of our hardware units. We have tried some tests thus far however it appears that our flvs are not taking advantage of the GPU acceleration. The only way I know how to test this is by enabling/disabling the hardware acceleration from the settings menu in flash and then restart the browser to be sure the setting has changed.
I am assuming that our flv is perhaps not encoded in a format that flash will be able to use hardware acceleration for however I am not completely sure of this. The media encoding is not part of my job on this project howeve I am tasked with the testing of the flv's on carious hardware. Is there a specific codec that needs to be used or a way of encoding the flv so that flash player 10.1 beta can play the video with hardware acceleration?
I don't know the ins and outs of the encoding process that is currrently being used, but I will pass any infomation gathered here onto our media guys and developers. I do know that using the flash 10.1 beta on youtube I can play 1080p videos fullscreen using nVidia GPU and an intel atom cpu without any issues with the hardware acceleration on. WIthout it, the cpu hits 90+% and the video is way to choppy to be of use so hardware acceleration is definitely working there.
View 2 Replies
Sep 1, 2008
As a web developer we are always concerned with SEO. I understand that Flash now supports SEO to a certain extent. What can we can do to maximize the SEO capabilities of Flash?
View 6 Replies
Aug 25, 2009
I made a swf that is heavy on graphics, it works great if the computer is good. But for the older, slower computers I'm hoping there is as3 code that can detect if the playback rate or quality is being compromsed due to processor overload? I'd like to use it in an "if" function that removes some of the uneccessary graphics when it finds the computer can't handle them all.
View 1 Replies
Feb 13, 2012
I have created a actionscript with Capabilities function It works good, but I want to ad a If else statement on the capabilities for language.I'm running in English so the capabilities shows " EN ", but I want the if else statement to change " EN " to = English, and if we are running in different language it would say " Other language"
This is what i have at the moment.
var versionString = Capabilities.language;
var label2:TextField = createCustomTextField(0, 60, 200, 20);
label2.text = "language: " + Capabilities.language;
how to use the if and else statement ?
View 1 Replies
Mar 1, 2007
Scenario: I have a MC (KidsPort).Within this I have several MC's acting as buttons labeled KidsCirc1, KidsCirc2, etc. on (press) each button moves the _parent MC (KidsPort) to another _x location on the main timeline. Ex. When you press button KidsCirc1 it moves MC (KidsPort) to an x location of 290. At this point I want to remove the capabilities to press. With the capability intact it simply repeats over and over the transition from it's previous x location to the x location of 290.
View 4 Replies
May 9, 2009
The problems im encountering seem like they have a simple answer, but i cant find it. The program has people generate 6 numbers that i need to record in a file so i can analyze them later in a stats program. Here is the code for the write to file portion. Some of the code may be redundant, not needed, or just plain wrong, as I kept changing things based on the error messages i got.
String(ce_0);
String(ce_1);
String(ce_2);[code]......
problem 1 is that when i click the check syntax button it says no errors, but 2 pop up in the compiler error box. The first is a 1084 saying it is expecting a right parenthese before the colon,the second is a 1078 (label must be a simple identifier).To see if it would work I removed the identifiers and the colons, and I get problem number 2. 3 errors pop up now. First,it says the resolve is a call to a possibly undefined method through static type. Second, it says iso is undefined (im assuming this is becuase it doesnt have the String identifier).Third, it says in the writeMultiByte method there is a coersion of Number types with String types(im assuming this is also becuase it is missing the identifier)i was also wondering what capabilities AIR has to write to Excel.I can go all the stats on the numbers in Excel,and if i can put the data directly in it would cut out a step,I just havent been able to find anything saying what AIR can and cant do regarding excel.
View 3 Replies
Feb 16, 2011
I've been trying to create a new class of vehicle and simulate a somewhat realistic acceleration/velocity relationship and behavior but with no success.
At least, I can't figure out how to do what I want to do.
Which is this:I have a vehicle with a maxVelocity and an initialAcceleration properties, and what I want to find out is how to express the vehicle's acceleration with the two above mentioned variables so that the vehicle stops accelerating when it reaches its maxVelocity (meaning that acceleration reaches 0).
I believe there are some serious maths going on behind this seemingly simple thing, at least too serious for me, and I tried to remember what I learned years ago about arithmetic progressions and stuff like that but to no result other than a headache.
Does someone know how to do it, if it's actually possible. And if not, how you guys do to simulate an acceleration that looks like a car's gear.
View 2 Replies
Sep 9, 2011
in the adobe flash publish settings i spotted a setting called "Hardware acceleration" with these options:
-None
-Level 1 - Direct
-Level 2 - GPU
now my question is, if you dont use flash to compile your swf but rather flex sdk, can you also enable these accelerations?
View 1 Replies
Dec 18, 2011
For a maze game, I'm trying to add acceleration to the movement of my character.Because the character shouldn't walk through walls, the movement function and hittest are in the same function.
I tried adding the acceleration in if statements in this function, but that doesn't work properly. [code]...
View 1 Replies
Apr 12, 2010
How to MovieClip rotation with acceleration?
View 2 Replies
Sep 22, 2010
Is possible to check by actionscript if h.264 video playback is using hardware acceleration?
View 0 Replies