Flash Cs4, And Other Compilers - Difference In Swf Performance?

Mar 8, 2009

I was wondering, because people do suggest this, but i've never explicitly had it verified:does the flash cs4 compiler actually generate a SWF file, that is more optimized and faster, than the flash cs3 compiler?and what about other compilers? custom as3 compilers, are there faster ones?I don't mean the time it takes to compile the .fla, but the speed of the SWF file.

View 1 Replies


Similar Posts:


Flash :: AS3 Performance Difference Between Function And Events

Jun 2, 2011

I working on a game project in Flash AS3. I need to pass data from one class (Game) to other class objects (Ships) on EnterFrame and performance is starting to be a issue. I was wondering is there a difference in performance between calling to the Ship a direct function or dispatching an event which the Ship can listen.

another question is where should I put the enterframe function. Is it better to use only one enterframe function and call the methods dispatch events from there, or it will be wiser to put the enterframe in the different objects (Ships)? note: some Ships are inactive most of the time.

View 1 Replies

Professional :: Performance Difference Of A Flash File Between Computer And Cd?

Mar 20, 2012

I am working on this cd-rom and have just reached testing stage for part 1 (of 5).  There are lots of interactive activities, video and animations.  For the activities, I dont know if I am just too tired but there seems to be items which are visible on my .swf on my computer that sometimes are visible and sometimes are not visible on the cd-rom, also in testing yesterday there sere some activities that seemed to not be working correctly (Althought they perform fine on the desktop version, on a reset of the cd-rom they then seemed to work.  Is there anything that I need to take into account for the code being read off a CD to make it more bullet proof?  I am stressing out a bit at the Unknown factor- I cannot continue to produce this resource if I cannot guarantee how it will perform in real life?

View 5 Replies

Performance :: MouseEvents Or TouchEvents Any Difference In Execution Speed?

Sep 13, 2011

I'm building an air app which will run on iPads. For the touch interaction I'm using just MouseEvents handlers (MOUSE_DOWN, MOUSE_MOVE, MOUSE_OUT, MOUSE_UP) because my app don't need multitouch, now I'm wondering if there is any difference in execution speed, should I use the equivalent touch events or the mouse events are faster?

View 2 Replies

ActionScript 3.0 :: Does Removing Listeners Make Much Difference To Performance

Feb 19, 2012

almost every single one of my classes, starts with the same method. An event listener in the constructor for EVENT_ADDED_TO_STAGE. Then i do all my actual intialising in a beginclass function that listener runs.I've not generally been removing these listeners though. i never thought it would make a difference since i'm only adding these objects once, but i wonder if there's a performance element. it could be for example, that all of these listeners add an extra check each, ehenever any object is added to the display list.

View 1 Replies

Flex :: Do Calling A ColdFusion Web Service Using <s:RemoteObject> And <s:WebService> Have A Difference In Performance

Jan 22, 2011

Assuming calling the same ColdFusion web service and all other factors are identical, is there a difference in performance/speed between using the following two tags?

<s:RemoteObject id="MyService" destination="ColdFusion" source="MyWSFolder.MyService"/>

and

<s:WebService id="MyService" wsdl="http://www.myDomain.com/MyWSFolder/MyService.cfc?wsdl"/>

View 2 Replies

Actionscript 3 :: Big Performance Difference Between Using Class With Static Functions Vs Instantiated Class?

Mar 22, 2012

I'm wondering if anyone has experience with if there is a big difference in performance in ActionScript 3 between keeping a class with only public static functions, and utilizing those functions often (as in a frame event at 30fps), and in turning the class into a "normal" class of which I instead make an instance and call the functions via the instance instead.

View 1 Replies

ActionScript 3.0 :: How Do Compilers Read Code

Feb 23, 2010

I should probably know this by now and think I read this somewhere but I want to hear it from the experts in a clear way.I believe compliers read (flash on my case) Actionscript 3.0 code from top to bottom right? Does that mean that the placement of your code makes a difference in the action it may take?

View 7 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

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

Flash :: CS3 (mac) Sluggish Performance?

Dec 2, 2009

PowerMac Dual 2.3 GHz G5/8 GB RAM I suspect I'm not using best practices, as this is my first project, but my the flash file is getting very sluggish to work on. The swf (AS 2.0) publishes fine and runs OK off the server and in the browser, but the Flash application is slowing down to a crawl making work very unpleasant indeed. Not that it was ever that fast to begin with. The Flash file size is presently 15 megs. It's got a log of symbols in the library and a lot of small jpgs used as navigational buttons, and utilizes many instances of the loader component to dynamically load external files: Is this too much of a demand on the app's resources? I do think that some of this has to do with a poorly implemented user interface (first attempt by Adobe to make Flash "look and feel" like a CS app), but I'm sure there are other issues.

View 1 Replies

ActionScript 3.0 :: Getting The Performance From Flash Using Curves?

Aug 28, 2009

I've been working on simple animation for a client, which you can see __here__.I have a few issues with performance. I have popped a fps counter at the top left and it seems to only run at around 30 fps on my laptop, I need it up to 60 though.

i was just wondering if anyone had any tips about getting the best performance from flash.I have used Shape instead of Sprite on the curves, which gave a slight improvement. Surprisingly I didnt notice any change in performance when I dont use the blur filter on the curves, which was odd to me.

View 5 Replies

Internet Explorer Flash Performance?

Nov 11, 2009

Steps to reproduce my problem:Create simple dot DisplayObject in flash

dot.graphics.beginFill( color);
dot.graphics.drawCircle( 0, 0, 2 );
dot.graphics.endFill();

Draw dot to bitmap many times a frame

bitmapData.draw( dot, null, null, "normal", null, _smoothing );

Test FrameRate in combination of browsers,flash plugin versions on Win32

Expect:

Framerate to be close in most cases

Observed:

I am seeing a 25% decrease in framerate under IE7 using Flash10b.ocx(10.0.22) and 50% decrease in framerate using Flash10c.ocx(10.0.32). PLugins under FireFox, Safari and in Mac OSX don't exhibit the same slowdown.

I would like to get help/confirmation on a performance problem that I see in Internet Explorer. The Adobe and Flash community is great on the Internet but I have been surprised to see no information on this, just a few reports about movie playback on 10.0.32 vs. 10.0.22.

My guess is that in IE flash plugin is passing draw calls to Win32 and that this is slow.

Instead of drawing each time on the bitmap using draw, cache the draw calls to a bitmap and use CopyPixels. When I do this the performance is the same across browsers, within 10%.

bitmapData.copyPixels(dot.bitmapData,dot.bi tmapData.rect,new Point(dot.x,dot.y),null,null,true);

Loop I am using:

function enterFrame(e:Event) {
bitmap.lock();
for (var i:int=0;i<particles.length;i++) {

[code]....

View 2 Replies

Test The Performance Of A User's PC In/for Flash?

Apr 8, 2010

I'm a developer on nice space MMO using Flash. On new PCs performance is quite good, but some features shouldn't be enabled on older PCs because the framerate drops to shit if we do. Flash wasn't made for this, but hey, pushing boundaries is fun.

An example is fullscreen mode. Of course every user can manually enable it, but "advertising" it to a user with and oldie PC would be a bad idea - but for the Alienware crowd it would be dumb not to.

So I want to find out how "capable" a user's PC is to decide if I should enable or disable some features for him.

View 2 Replies

Flash :: CPU Performance Proeblems With Animation?

Jun 24, 2010

Well I'm having a hell of a time trying to get my CPU down under 45% when running my current application. I've tried all sorts of optimization tricks and tips with little success and I'm at a point now where I need a fundamentally different approach.

Problem and Current Approach In the main view of my application I have a single enterframe handler.I have my frame rate down as low as 10 fps. This handler notifies 16 seperate movie clips to draw wedges of varying angles using Lee Brimelow's wedge class. So, 16 times every enterframe, I have 16 movieclip graphic clear, begin fill, draw wedge, endfill all being co-ordinated by my single enterframe handler.

[Code]...

View 2 Replies

Flash - AS3 CPU Performance With 100 MovieClip Copies

Aug 16, 2010

I have a movieclip wich has a simple movement of a simple shape. This movieclip is copied many times to create a graphical effect. As the number of copies, or the complexity of the movieclip increases, CPU usage goes up. As from 90 copies, when I keep moving the mouse over the swf movie in a circle, playback stops (hangs). When the mouse movement stops, the swf continues again at the right position, as if calculation has continued, but updating the display has not. Now this is a quadcore pc, and we're 2010. I can't believe or accept that 100 mc's is the maximum number of movieclips that can be rendered. The obvious question is what can be done to optimize CPU performance ?

I'm using AS3, flash player 9.
Movieclip is a simple rectangle shape which moves along 1 axis.
var myLinkage:Class = Class(getDefinitionByName(getQualifiedClassName(McToRepeat)));
var newMC:MovieClip = new myLinkage();
containerMC.addChild( newMC );

View 1 Replies

Professional :: Flash SWF Performance Testing And Data?

Jan 10, 2011

Looking for some recommendations on tools that can be used independent of the source (that is just on the swf) to check for Frames Per Second, total size and how often the movie loops.
 
Needed for Flash Banner ad quality assurance.

View 5 Replies

Best (performance) Way To Animate 55 Png Images In Adobe Flash?

Jan 14, 2010

We are using Adobe Flash to produce software for an interactive touch screen kiosk.I have 55 1024x768 24 bit PNG images.I want to play them (fairly regularly...once every 5 minutes or so) without them stuttering but can't find a good dependable way, main problem is I think Flash GC's them after an arbitrary idle period.Reason I'm doing this is because the FLV attempts we have made aren't sufficiently high quality.I also looked at using a H.264 but that obscures any other assets placed over it.I have a number of text fields sitting over this animation. The machine in question is a Core2 Duo, 4GB Ram, GeForce 9500GT.

View 1 Replies

Performance :: Flash - Application Slows Down [removeChild]?

Jul 30, 2010

I have a problem with my flash application because after a while that it is running, it eventually starts to slow down. My application involves something that needs to be replicated with the addChild() method. I've read some info on the internet which states that the cause of the slowing down or the lag in the application is that the removeChild() does not remove the child from the memory

View 2 Replies

Flash - Possible To Improve Performance Of Drawing Technique?

Oct 22, 2010

Am currently working on a tool created by a colleague of mine and would like to improve performance. Basically, it's a tool for drawing on screen and uses a combination of Sprites and the Graphics class to draw a line segment every time the mouse is moved when the mouse button is down. Here is the drawing bit:

// on MouseMove
protected function drawLine(e:MouseEvent):void {
if (currentTool.thickness > 0){
//pen
var line:Sprite = new Sprite();
line.graphics.lineStyle(currentTool.thickness, currentColour);
[Code] .....

As you can see, it checks if the line 'thickness' property and draws if it is and erases if it isn't. I did think of using a technique similar to blotting here where it'd draw to a bitmap but I'm not sure this'd give the performance boost I want or if, indeed, there would be any way to have an eraser function. The drawing itself works nicely - this isn't the problem, it's the performance of the subsequent 'drawn' sprites.

View 3 Replies

Actionscript 3 :: Flash Performance With Large Bitmaps?

Apr 20, 2011

i have a AS3/FL10 based application that renders/animates/filters (blur) large PNGs (1 per view) (about 1100x900 px, roughly 2mb). Due to the fact that the fans start spinning like crazy on my notebook, i wonder if this is considered "bad practise". Unfortunately i need transparent images, so JPG is not a choice. Additionally, the PNGs are loaded dynamically, so embedding the files to the flash file (for utilizing flash jpg compression) is not a choice either.

How do you guys deal with large bitmaps in flash

View 1 Replies

Does Warnings Affect The Performance Of The Flash Application

May 27, 2011

I have a lot of the following warnings:Duplicate variable definition.variable 'elem' has no type declaration.Illogical comparison with null. Variables of type Boolean cannot be null.Will they affect the performance of my flash application? Will they affect the compiling time?

View 1 Replies

Jquery :: Animation & Flash Combined / Bad Performance / Low Fps

Jun 16, 2011

I'm currently working on a project where i use SWFObject to include a flash header (some fire animation). Also I'm using jQuery for serveral animations and effects on the page, like Imagesliders and hovering effects.The problems I got:high CPU usage: about 50% on a Intel Q9550 low frame rates of jQuery animations due to the high CPU usage.The flash animation seem to stuck when i trigger any jQuery animations or effects.I tried to remove serveral jQuery animations and simplify the page, but also with only an hover menu, the flash animation stucks and the jQuery animations are laggy when hovering the menu.The only browsers where my page runs smooth are Chrome and Opera, but only with high CPU usage. FF3&4 and IE7-9 produce bad frame rates all time.I tried to reduce the jQuery internal fx interval, that seems to help, but the animations were not smooth any more. Am I the only one having this issue, i could not find any other postings here with that topic?!url...We changes the graphic card of the computer, from a GeForce 8400GS to a 8800GT. After that, the animation run smooth. I never thought that it would be the graphic card ^^

View 1 Replies

Flash :: Performance Decrease From Not Specifying The This Word In A AS3 File?

Jul 15, 2011

I know there are performance loses if you don't specify variable types explicitly. Do ActionScript/Java developer in general prefer the use of the in classes or no?

public function hello():void
{
this.speaker.says("hello");
}

vs

speaker.says("hello")

View 3 Replies

Performance :: Flash Scenes - More Efficient Than Using Mcs Or Frames?

Feb 15, 2012

I am making a game and was wondering whether scenes have any efficiency/performance purpose or if they're just there to make Flash more organized?

View 2 Replies

ActionScript 3.0 :: Flash Player 10 Debugger Performance

Nov 3, 2010

Has anybody else noticed serious performance problems with the flash 10.1 debug player?With the non debugger player my swf runs cpu usages of about 5 -10% percent depending on whats going on.In debug mode it jumps up to 50 % and hangs and crashes. So at the moment it's impossible for me to actually debug my application in flex.

View 3 Replies

ActionScript 3.0 :: Performance Fine Tuning For Flash?

Dec 10, 2010

I am into an AS3 project where we have used strict OOP . We have around 2000 different controls(in different views) which can be classified into around 30 different types. Each of them have a base class and the rest are derived from them. Now we are reaching the finall stages of the project and we badly need some performance improvement.

We can broadly classify views into Single view(only one particular control is displayed) and group view(where 16 to 256 controls may be grouped). When dealing with these groups the performance comes down significantly that the knobs and faders jerk on moving. The single view knobs and the group view knobs logic is derived from the same base class..

Now i tried to listen to mouse move events at the stage level and on tracing the event target i found that all the objects are sending out mouse events.. Is there anyway to capture all the unwanted mouse events at the object level itself?

View 4 Replies

ActionScript 2.0 :: BitMapData And Mx Transitions: Flash Performance

Sep 10, 2008

Been going crazy the last two days trying to figure this out. Can't get my head around it, so I thought I would ask here. I've programmed a fairly simple site in AS 2.0, using a couple of old functions like mx.transitions (still learning myself AS 3.0). The site is outlined like this:

- A main MovieClip on _root called mc_scene containing four different movieclips (doing this because I need to be able to run the Flash fullscreen and center the content).
- This main MovieClip contains a simple header movieclip, a footer movieclip, a MovieClip holder (for loading images) and a Meny for controlling the different sections and loading.- Inside the main MovieClip there's four frames each containing a holder and buttons according to each section. - Each section movieclip contains some manual tweens and 1-7 (differs from each clip) buttons. - On the main _root scene I'm using BitMapData to fill a patterened background and centering mc_scene.

[Code]...

View 1 Replies







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