Relative Performance Of Native C++ To Flash For Pixel-pushing?

Oct 20, 2010

I was trying to get a ballpark idea of how much slower Flash is at pure pixel-pushing 2D graphics than doing the same thing in SDL or other native library. For instance if I have a Flash/Flex app on a modern PC which each frame does a 2D loop and directly reads/sets every pixel, what equivalent PC would give the same performance for a native C++ app? Maybe a classic Pentium, a PII, PIII?

View 2 Replies


Similar Posts:


Actionscript 3 :: AIR SDK: Performance Of SWF Compiled Into IOS Native App

Apr 6, 2012

It's a great thing that it's possible to compile an SWF into iOS native app. I think AIR is now the best option to write e.g. small games or interactive books. Of cause AIR app will be slowler than the same app written on e.g. objective C. The question is how slower AIR app will be. Can simple AIR apps be launched e.g.on iPhone 3G or iPAd 1?

And another question is, can arbitrary flash app be compiled into iOS native app?

View 2 Replies

Flex :: Module - Relative Sizing And Performance?

May 11, 2011

We are building a flex project and would like it to render faster. We do have situations where we reference parent module size properties to size current module containers, as well as current module size properties for a bunch of attributes including font size and element positions and sizes.

Would it help to create temporary variables for
a) pcw=parentcontainer.width, pch= parentcontainer.height
b) ccw=currentcontainer.width, cch=currentcontainer.height

and reference to pcw,pch,ccw and cch while doing positioning. Also given the bulk of the positioning will be done in mxml, will setting these interim variables in initialization function, allow them to be used in mxml such that they will resize as browser size is changed.

View 2 Replies

ActionScript 3.0 :: Passing Relative Url In Flash (or) Absolute Path Vs Relative Path

Jul 6, 2009

I am new to Flash and ActionScript 3.0 environment. I don't have any knowledge in depth with Flash and ActionScript 3.0. I am using the flash(.swf file) in my Java application. Now, this .swf file is to be placed in the server system. While I am working with these, I faced an error. Here, my issue/problem(s) starts....

1.)With the help of URLRequest & URLLoader classes, I am loading a jpg file dynamically onto the stage using the following code:

[Code]...

View 1 Replies

Flex :: Comparing Bitmap Data In AS3 Pixel For Pixel

Mar 30, 2010

I am looking for a fairly simple image comparison method in AS3. I have taken an image from a web cam (with no subject) passed it in to bitmap data, then a second image is taken (this time with a subject) to compare this data, from these two images I would like to create a mask from the pixels that match on both bitmaps. I have been scratching my head for a while, and I am not really making any progress. Could any one point me in the right direction for pixel comparison method, something like getPixel32()

View 2 Replies

Performance :: Performance - Hold MouseDown To Increase Speed/power?

Sep 12, 2011

this is what i'm trying to accomplish; With a click on a movieclip (cannon_mc)a shot is being fired (ball_mc)

The longer mouse is down, the speed of wich the ball is fired with should increase.My question to you is;

What is the most efficient way to accomplish this? With a timer or something like this;

[Code]...

View 2 Replies

ActionScript 3.0 :: Get Pixel-by-pixel Bitmap Data?

Nov 23, 2009

I have a 100x100px image. I want to get 1 pixel vertical line from x- 1 to 100. How can I do that?

View 7 Replies

Performance :: Optimization - Improving Performance With Large #'s Of Objects

Jan 11, 2011

I'm devloping some library classes for flocking/steering behaviours on large numbers of objects (2000+). I'm finding that at < 500 instances, performance is reasonable. As the numbers increase, framerate bogs down.

I've seen remarkable performance with libraries such as Flint or Box2D with ridiculous #'s of particles / objects, so it should be possible to optimize / refactor my code to be a bit better.

I'm aware of the basic optimizations, such as bitwise operations and optimized for loops. Are there any more fundamental approaches I should be considering? For example, currently each instance is a vector-based MovieClip. Would working with BitmapData be more efficient?

View 1 Replies

Performance :: Flex - Using Nested ViewStacks Cause Performance To Decrease?

Nov 4, 2011

Will I take a big hit in performance using nested ViewStacks? Should I strive to handle all navigation in one ViewStack and push children manually or will the affected performance be negligible?

eg.
<viewstack>
<tabnavigator />
<tabnavigator />
<tabnavigator />
</viewstack>

View 2 Replies

Performance :: Improve Flex Performance For Invisible Views?

Mar 19, 2012

We have a medium size Flex 3.6 application that contains around 20 different page views (managed via a single lazy ViewStack) each having multiple components. Most use custom renderers.All model data is loaded at startup and changes to model instances are communicated via binding and/or collection change events.Once the user has viewed each page at least once, all page views are instantiated and happily listen to update events.Which in effect means that each time a model instance changes, all interested views receive that event and compute derived data or trigger item-renderers.I have tested and confirmed this behaviour in a proof-of-concept application. Even when setting a list to being invisible, it still listens to collection change events and invalidates any renderer affected.What would you do?

View 1 Replies

ActionScript 3.0 :: Pushing Multiple Loaders Into Array At Once Freezes Flash

Aug 14, 2010

It works fine if I wait until the image is actually loaded (loadComplete) and then push the bitmap I create. If I try to push the loaders like you see here, it freezes up, every time. [code]..

View 5 Replies

Ios :: Using Flash Inside A Native App?

Apr 2, 2012

I'm working on a native Objective-C iOS app and I'm wondering if it is possible to embed an animation created in Flash into my app. The animation doesn't have to be interactive, all I need is a couple of animated screens (intro screen, loading screen). Is this posible?

View 2 Replies

ActionScript 3.0 :: Native Cursor Support In Flash Pro CS5?

Aug 17, 2011

I am running Flash Professional CS5 (11.0.2.489), updater reports I am  up to date.  The documentation seems to indicate that FP CS5 should  support native custom cursors, but it doesn't (Mouse.registerCursor method is undefined).
 
Should this be supported  in FP CS5?  Can I update flash.ui to include support?  Is it supported  in FPCS5.5?

View 10 Replies

Windows :: Examples Of Native Apps Using Flash As UI?

Dec 1, 2009

I'm considering using Flash as the UI of a native Windows app, for several reasons, but before I dive in and start building, I figured I'd poll the community to find out whether anyone's got any good examples of this particular approach out there today, just to prove the concept satisfactorily. So I guess that's pretty much the question: Anyone built one specifically? Or better, anyone know of an app in relatively wide distribution that demonstrates the viability of this approach?

View 4 Replies

Flash - AIR Seamless Install With Native Installer

Jan 18, 2011

Air allows for seamless installs (aka, "badge installs") from the browser, as well as launching an Air app from the browser. Air 2.0 has the Native Process API, which requires packing the app as an .exe/.dmg rather than a .air file. My question: does the badge install process support seamless installation of native Air installers?

View 1 Replies

Flash :: Iphone - Adobe Builder IOS App Vs Native IOS App

Sep 7, 2011

I recently came to know about the adobe flash builder with flex in latest release it supports to achieve the benefits of flash for iOS apps.As i am looking for a calendar based app,before taking the Adobe flash builder as a solution, i would like to be clear on the following queries.

What limitation is there of the ipa file generated from FB 4.5 as opposed to a core COCOA touch based solution What are the performance differences between the FlashBuilder app and natively built iPhone app. Is there any limitation of building a HTML5 based app given the calendar functionality apart from look and Feel.

View 1 Replies

C :: Flash Builder 4.6 Native Extension Error?

Jan 13, 2012

i have an error that i dont understand why appear, the most weird is that happens sometimes but lately happens always, the code that i use is the same and i dont have make any changes to it, in fact i dont execute any code in the start of the application, i use buttons , so i dont get a reason with this error please help me, the error is a dialog that say:Native extension Error: there are packaging errors/warning. Check each native extension in the Flex Build Packaging Page for each target platform. would you like to continue?And when i click yes the program dont start, the debbuger show me the line:

[code]...

View 1 Replies

Flash :: Maintain Native Size On Loaded Swf Into Movie?

Sep 23, 2010

Anyone know how to maintain the original stage size of a externally loaded swf in as3 FP10?

View 2 Replies

Flash :: AIR: Customize Badge.swf To Launch Native Installer App (.exe)?

Jul 29, 2011

I'm trying to follow this page to launch my AIR native installer application from the browser using "browser invocation"I've loaded the 'badge' sample app into a new "Flex Project (Web)", and made the appropriate changes to the 'AIRBadge.as' file. But I can't seem to use FlashBuilder 4.5 to compile a new 'badge.swf' file which includes my changes.

View 1 Replies

Flash :: Linking An Inline Swf Wall Post To A Native Ios App

Oct 25, 2011

I have a Facebook application where you can create an animation and share it on your wall. Each feed has a swf player that lets users to play the animation directly on the wall. (like any shared video). As IOS does not support flash, I have also created a native IOS application for playing those animations.

These posts can't be played on IOS devices, when touched, 'Flash Player update required' placeholder is shown.

What I want to do is, to have an alternative link for iPads to play these feeds on my native IOS app (like fb://APP_ID/video_url).

Is it possible to provide a native IOS App url for inline swf feeds?

View 1 Replies

ActionScript 3.0 :: Flash AS3 UI Component (alternative To Native UI Components)?

Jul 13, 2010

I'm looking for an alternative to native Flash components. They are way to heavy for my needs. I'm looking for something light, simple, still customizable if possible for AS3. I'm specifically looking for combobox, checkbox, radio button.I'm looking for something reliable with support eventually...so basically I'm ready to pay the price of a good alternative.

View 1 Replies

ActionScript 3.0 :: Rewrite Flash Native Methods And Classes?

Oct 20, 2010

I am trying to do an app that requires me to change the behavior of a few native methods and classes of a an application.I want to override methods such as:ExternalInterface.call, ExternalInterface.addCallback, flash.net.navigateToURL in a loaded movie.There are a few ways to do this for example:1. Getting the SWF's bytecode and decompile it. Then change the symbols table with my own class.2. Loading the other movie in my applicationDomain, by doing so, I would be able to rewrite it's own classes.o do (2) what I did was:1. Turn off the "-strict" flag.2. Turn on the "-es" flag.in the compiler and then do something like:

Code:
flash.net.navigateToURL = function(u:URLRequest,window:String):void {
throw new Error("yay it works");

[code]....

View 5 Replies

ActionScript 3.0 :: Custom Native Mouse Cursor For Flash Player 10.2?

Dec 11, 2011

writing the title in question in www motors of search u can read a lot of comments on the novelties introduced with the new releases of the flex sdk [URL] where is used the new class MouseCursorData  present in Flash.ui libraries.

Now: I use Flash Prof as Editor of my projects and I don't succeed in giving in meal to the editor the sdk so to have available the new class.

View 9 Replies

Flex :: Acoustic Echo Cancellation In Flash Using Native Libraries

Feb 4, 2010

I have to implement AEC in Flex video conferencing application. I know that it can not be done directly in Flash. I'm thinking to write a native application or library that will do AEC outside Flex.

As far I know Adobe Connect Pro is using some external library that do AEC. I'd like to follow this direction and do something similiar.

There comes two possibilities in my mind:

1) Independend custom AEC filter.

The custom AEC filter will be run in the background and will be processing all data from microphone and sound card and doing AEC. The echo signal will be the data that is to be played but delayed in a temporary buffer, something like this: aec(input, delayed_input, output).

I don't know if it work, because Flash microphone input doesn't know about my custom input and the same with the speakers. But how it is done in WinXP/Vista that have AEC at the system level?

2) AEC filter interacting with Flex's NativeProcess.

The filter will be run by NativeProcess. Flex app will pass microphone sound, received remote voice to the filter and return voice with echo removed and then Flex will output this to the speakers. Will it be correct?

If the 2) method is OK then I have following questions:

I will start with Speex's AEC so in what format should be the data pased from Flex? If I choose Flex Speex codec for sound compression can I pass it directly to the speex library? Will be the performance OK? Calling NativeProcess library every sound frame buffer can be time consuming I think. Why there is no AEC implementation in AS3 that can be used directly from Flash? As far I know to do AEC you must have echo data and microphone data (in Flash 10 there is direct access to the microphone). There is definetly something that is stopping doing it like this but I don't know what it is yet :) Is there some free AEC implementation or a DSP library with in except Speex's that I can use?

View 2 Replies

Flash :: Error Writing Data To A Native Process From An Air Application

Nov 16, 2011

I am writing an AIR application through which I want to open a native process 'wordpad.exe' and write data generated in the AIR application to a document.

My code is as follows:

import flash.desktop.*;
import flash.errors.*;
import flash.events.*;

[Code].....

The wordpad application opens with a blank document but it generates an error Error#2044: Unhandled IOErrorEvent:.text=Error #3128: Error while writing data to NativeProcess.standardInput.

View 1 Replies

Arrays :: Flash - Pushing Or Adding Arrays As Values Into A Multi-dimensional Array?

Jan 21, 2011

I am running into some trouble adding an array into another array to create a multi-dimensional array.The code appears as below:

var slideDataArray:Array = new Array();
var slideShowDataArray:Array = new Array();
slideDataArray[0] = xmlData.SlideShowParameters.SlideShowImagesDirectory;[code]........


I am looking for a means of placing the slideDataArray into a 'slot' or value of slideShowDataArray so that I can in the end pass the slideShowDataArray as a parameter to another function.As of now, the last slideDataArray appears 11 times (the loop runs 11 times) in slideShowDataArray and the way the code is written the slideDataArray is unique every iteration of the loop.

View 1 Replies

Flex :: Flash - Builder 4 Does Not Show Export To Native Installer Option?

Aug 26, 2010

i am using Flash-builder 4 and developed an application to capture screen image and save on desktop.But when i click the export button , the flex builder shows me the option to export to file only as shown belowI have downloaded latest air sdk and overwrite file in sdk4.0.0 , now air app works but how will it show me the "export to native installer option"??

View 1 Replies

Flash - Making Starling FrameWork To Work With Classes That Uses Native DisplayObject?

Dec 6, 2011

I'm trying to use Greensock LoaderMax on a Starling Framework project, but since Starling have a lots of its own class, how I can make it work with other classes that is using the native class?

Exp:

package
{
import flash.display.Sprite;
import flash.events.Event;

[code]....

will return the error:

Error: Implicit coercion of a value of type com.greensock.loading.display:ContentDisplay to an unrelated type starling.display:DisplayObject.

View 2 Replies

Way To Change Relative Path Flash Uses?

May 27, 2010

So I just found out the hard way that the path that Flash uses to load external content is based on the HTML it is embedded in, not the SWF itself. This is a problem for me because I have the HTML generated from a PHP file that is in a folder below the SWF. The PHP has other dependencies that would break if I moved it into the same folder as the SWF.So basically now my dev testing and web versions are separated by a folder.Is there a way to change the relative path Flash uses? Or am I going to have to hack things up?

View 1 Replies

Professional :: URL Relative To Flash Button?

Mar 14, 2011

I'm finishing up a flash template that I have used on numerous occasions and it has worked really well. This time however, the nav button that is used to bring up html pages within my site got out of whack. I have checked (and changed) the flash/menu_v8.swf?button=3 relative to the index page I'm trying to link to, but to no avail. I have also gone into Flash and can change the h-link of the TEXT on the button to the corresponding page, but it makes no changes whatsoever.

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved