ActionScript 3.0 :: Stage3D Much Slower In Desktop Air Than In Browser?

Jan 2, 2012

Same setup. Some moving cubes and spheres.

FPS in Adobe air desktop app: 29
FPS in Browser: 58

Any tweaks I should attempt?

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Flash - Slower In Browser Than In The Dev IDE?

Jul 17, 2009

Ive been working on a game on and off for a while now. I've been extremely conscious with the performance because in my book a slow game is worse than no game at all. I even wrote a profiler class so I can really pinpoint any slow code. All this time Ive just been testing the game in the Flash CS3 environment by hitting CTRL+Enter. And everything runs quite smoothly.But today for the heck of it I actually published the Flash and ran it in my browser using the generated HTML file. In the browser everything runs slow as hell! The animation is extremely choppy, and sounds play up to 1 or 2 seconds later than theyre supposed to. This is absolutely unacceptable! Ive tried it in Firefox3 and Internet Explorer 7, and both are very slow compared to the Flash dev environment

View 14 Replies

ActionScript 3.0 :: Animation Plays Choppy In Browser, Not On Desktop?

Feb 10, 2012

Click on any of the 3 circles to make them animation in/out. Notice how there is bad choppiness when they animate.I don't have this problem (or at least its very minor) when playing the file locally through Test Movie or in the standalone flash player.Only noticeable when playing it on my web server in the browser.Is this an aliasing issue?Is my web server not powerful enough to play it?

View 1 Replies

Professional :: Slower And Slower Over Time?

Sep 21, 2011

I have a dashboard I created using Flash CS5 using CS5.5 and ActionScript 3.It seems that while this dashboard is running, the FPS gets slower and slower over time (over several hours) I am thinking that I might have a memory leak but I am not sure how to find out.The project is a Flash Projector exe that loads 8 independent swfs.Each swf file essentially calls a web service and gets XML dataThey then dynamically create a bunch of TextFields,assigns an event listener (Event.ENTER_FRAME) and animates across the screen.When the TextField goes off the screen, I clean up the Text field by removing the EventListenerremoving the TextField and setting the TextField to null.

View 5 Replies

ActionScript 2.0 :: Script Going Slower And Slower?

Feb 24, 2007

try this and give me response

Code:
var max:Number = 50;
var size:Number = Stage.width;[code]........

View 5 Replies

Professional :: Starling Or Stage3D For Android And IOS?

Jan 23, 2012

Does Stage3D work on mobile devices? If so - then HOW? I have worked through several tutorials, downloaded SDKs, added tweaky complier directives to profiles and wonked XML files till I am REMOVED blue in the face. I have had success making web based SWFs (from the afore mentioned tutorials) in Flash & Flash Builder - but no luck getting Stage3D to run in an Android Air App. Is there any way to use Stage3D (preferably also Starling) in a Mobile APP? It could be from Flash 5.5 or Flash Builder.

View 1 Replies

Professional :: .SWF Does Not Render After Load Stage3D And DirectX

Oct 21, 2011

I have a custom rolled COM component that encapsulates and controls the Shockwave Player, in order to run, and be able to communicate with Flash .SWFs as a UI to my DirectX based game. The component works fine, however my problem is that my flash artist wants to be able to use Stage3D now. After attempting to load a Stage3D .SWF I noticed that the .SWF does not render. I have discovered that this is due to the new hardware acceleration that Stage3D uses, (which due to the HRESULT on my CreateDevice() Call I assume to be DirectX) .

In an attempt to work around this issue I have a few questions, both on Stage3D and the Shockwave Player. The first question is this: Is there any way in flash or through the shockwave control to disable the hardware acceleration in Stage3D? (this would be the least prefered solution as flash finally being based in the video card hardware make everyone happy.) The second question is: Does anyone know if there is an IUnknown GUID, or other way that I can query to get the device/rendering context that the Shockwave Player / Stage3D is using?

View 2 Replies

Professional :: Building For Stage3D - Can't Find Latest Api

Oct 28, 2011

I've got Flash CS5.5 and am trying to build a sample Away3D 4 model viewer. I must not have the latest api for fp11, because the compiler comes back with this:
 
"Type was not found or was not a compile-time constant: TextureBase"
 
The file "RendererBase.as" from the Away3D library is importing a number of files from the flash.display3D package (including TextureBase), which apparently I don't have.
 
I downloaded the latest debug version of flash player 11, what else do I have to do?

View 5 Replies

Compile To Flash Player 11.2 To Use The New Features Like Stage3D?

Apr 12, 2012

So there's a lot of great new features supported by Flash Player 11.2, particularly for game development which is great news for myself.

Some reading here. Highlights:

Right-click is enabled now (finally). Much better rendering performance.

This is all wonderful and magical, however I can't work out how to compile to Flash Player 11.2, and can't find much information about it.

In publish settings, this is all I get:

Using Flash CS5.5 Version 11.5.1.349 (latest).

Do I need to wait for CS6 or am I missing something?

View 1 Replies

ActionScript 3.0 :: Fp11 - Adding Content Under Stage3d?

Jun 17, 2011

when i add an object to stage (bitmap background) and a sprite containing 3d scene on top of it, the background still shows up on top..

View 7 Replies

Actionscript 3 :: Stage3D In Flash Player 11 Doesn't Display?

Oct 4, 2011

I'm trying to write a 3D game in ActionScript 3.0 using the Stage3D API. I've copied the playerglobal.swc in my frameworks/libs/player/11.0 directory, and modified the frameworks/flex-config.xml file by changing the target-player to 11.0.0 and the swf-version to 13.When I compile my ActionScript 3.0 files using mxmlc I set the options -target-player=11.0.0 and -static-link-runtime-shared-libraries=true. Now, I don't get an error at compile time when importing com.adobe.utils.AGALMiniAssembler or flash.display.Stage3D so I assume that there's no problem with that.

I run the compiled SWF file in Opera, and I'm using the latest Flash Player (version 11.0.1.152) which was publicly released today (cheers ;D). There's seems to be no problem with the player because I can play Zombie Tycoon. However, when I play my SWF file the Stage3D doesn't display; but all the other display objects attached to the stage do display.I believe that there's either some problem with my configuration or my code, but I can't pinpoint it. The code I'm using was simply copied from Labs @ Jam3. I believe that there was some problem with the viewport, so I simply replacedI have been searching for a solution all over the web, but I can't seem to locate it.

View 1 Replies

How To Toggle Stage3D Between Full And Standard Screen Mode

Dec 21, 2011

I'm testing a few things with the ND2D library (made by NullDesign, engine's source available at github). What I've encountered, is that if I toggle my Flash application to Fullscreen mode, the World2D (or Stage3D / Context3D buried inside it) doesn't auto-stretch to maximize it to the entire screen resolution. Do I need to reinitialize my setup to the new Fullscreen dimensions? What if the stage.scaleMode is set to "NO_SCALE"? Will that affect the dimensions since the stage, although appearing larger, will still retain the same coordinate system and dimensions? How to correctly toggle Fullscreen mode in Stage3D?

View 2 Replies

Flash :: Options To Import An External Model Into Stage3D?

Jan 6, 2012

From what I found out by a quick google lookup, the Stage3D support for model import is not the best.

Has anyone tried to do something like this and could provide me with some information on how to do it?

I'm interested in an importer capable of COLLADA/FBX or something along those lines.

View 1 Replies

ActionScript 3.0 :: Stage3D - Put Movieclips And Sprites Underneath The 3D Layer?

Oct 6, 2011

Is it completely impossible to put movieclips and sprites underneath the 3D layer?Eg, you can't load a swf with 3D content and show it on top?

View 7 Replies

Actionscript :: Define Projection Matrix In Stage3d Without Using PerspectiveFieldOfViewLH Method

Jan 24, 2012

url...The interesting part is that he didn't use perspectiveFieldOfViewLH and instead he defined his own projection matrix. I'm new to the 3d programming, so after reading this explenation of projection matrix:[code]And i got the black screen. All i did was exchanging the matrix from the tutorial with this matrix. I tried to play with it for some time, but with no results. This is the matrix from the tutorial[code]

View 2 Replies

Low-level Code Required To Render Texture (BitmapData) To Stage3D In 2D Space?

Oct 13, 2011

I've looked at the following website for some information on writing AGAL to render Textures / Bitmaps to the Stage3D object: url...But it seems to cover more about how to create objects in 3D space. Maybe it can't be avoided?What would be the bare-bone necessary AGAL code & AS3 code to write to render multiple sprites to the Stage3D?No Filters, Effects or Shaders required - just position, scale and rotation transformations. Also, I'm not looking for existing 3rd party APIs that do this under the hood. I would like to experiment this low-level language myself.

View 1 Replies

ActionScript 3.0 :: SWF Much Slower On Web

Mar 27, 2011

I'm creating a flash animation in Flash.When I'm publishing it and reviewing it on my pc runs all right.But, when I'm uploading on the web it runs much slower.It's like the animation has less frames per second.Why is this happening and how could I avoid this difference in performance.

View 5 Replies

ActionScript 2.0 :: Does Flash Go Slower

Aug 31, 2009

Does flash go slower if it has to check on points that are for an example: 6.1873128932 versus: 6?

View 1 Replies

Buffer Slower Than Movie?

Nov 19, 2009

I have employed two different methods to embed an flv movie in webpage, but both result in studdering because the movie catches up to the buffer.   I can't figure out what is wrong... is the frame of 30fps rate too high?  is my method of embedding the files and playback wrong?  Or is it just a function of the viewer's internet speed?   

Method 1:
Dreamweaver > Insert Flash Video
FLV size:  13,428kb
Play time: 2:31

[code].....

View 3 Replies

Flash :: Loaded SWF Gets Slower?

Jul 29, 2010

i am making a game involving a number of balls that move across the screen. Everything works fine and dandy when I play the SWF on its own, but when I load it into another SWF, animation become increasingly choppy with time.

View 1 Replies

ActionScript 3.0 :: App Keeps Getting Slower And Becomes Useless

Mar 10, 2009

I have a simple application where you can sort isometric boxes on a grid. It works just fine but the more often you apply changes (i.e. click on a box and drag and drop it) the slower the app gets. After about 10 changes it has something like a 5 second delay in response and becomes completely useless.

As long as I stay on the first MOUSE_DOWN it works as fast as it should, but speed decreases with every click. Strangely CPU-levels will always return to near zero when I stop doing things in the app and always go up to the same level when working, so I do not think it that there is some procedure I call while dragging and forget to close again (I also checked this about a hundred times in the code).

Basically I think it must something with the most basic event listeners that look like this:
Code:
container.addEventListener(MouseEvent.MOUSE_UP, dropElement);
container.addEventListener(MouseEvent.MOUSE_DOWN, dragElement);
function dragElement(e:Event):void{
currentElement = currentDropTarget = previousDropTarget = Kiste(e.target);
currentElement.alpha = 0.5;
stage.addEventListener(Event.ENTER_FRAME, whileDrag);
}function dropElement(e:Event):void{
currentElement.alpha = 1;
stage.removeEventListener(Event.ENTER_FRAME,whileDrag);
}
I also checked if my "whileDrag"-function keeps running but it doesn't.

View 4 Replies

ActionScript 3.0 :: FF Runs Slower Than Safari And IE?

May 14, 2009

[URL].. This runs much slower (about half the speed) in FF than in IE/Safari...its set at

View 2 Replies

Mac Plays Timeline Animation Slower Than PC?

Jan 24, 2010

I have an issue with how Macs play timeline animation slower than PC. On the PC the animation plays right and syncs correctly with the music.

I have a tree that grows, when it finished an axe chops it. The tree finishes and the axe starts chopping the tree at exactly 30 seconds into the song which is exactly how it is meant to happen.

Syncs right on PC but on Mac, the tree finishes and the axe starts chopping at 50 seconds into the song.

During the tree animation, I also have some other swf movies loading in the background so that it is preloaded and ready to go when required because I am trying to prevent any delays or the chance of a preloader from appearing when these swf needs to start playing.

What is causing the Mac to have a slower animation. I do notice in general than Macs take longer to play an animation than PC on a browser.

Is this just natural or do you think the Mac and PC difference caused here is due to me loading swf movies into the background?

What are my options to make the sync right. I can not make the animation actionscript based, so I am stuck with timeline based animation.

I think music streaming would be the best solution here. Right now, I am triggering the music as an event, but I am worried of the stuttering effect using streaming music, while my animation plays and swfs are loading in the background and the viewer has a slow PC.

View 1 Replies

Flex :: Flash Runs Slower On Mac?

Jan 27, 2010

I was in the middle of developing a Flex applcation, and then I recently switched from Windows XP to Mac. My app is noticeably less responsive on my Mac than on Windows, and today I proved it's not a hardware issue, because I ran the App on my Mac and a Window XP on Virtual Box side by side, and IS much more responsive on XP. Things like repainting in response to window resizing, selecting/unselecting list items, scrolling up and down(I do have complicated list-item-renderers). Has anyone seen this as well? Is flex/flash just not as well supported on Mac? Or are there tweaks I can do to improve performance on the Mac?

View 3 Replies

ActionScript 3.0 :: SharedObject Makes The Swf Slower

Feb 15, 2011

I have made a game which successfully uses SharedObject as a highscore system (if you know SharedObject, you'll know what I mean) But after the first time playing the game, when it loads the highscore using SharedObject, it goes noticablly slower My computer when new only had 1gb ram so is slow as it is. Is it just a speed issue with my computer or is this a regualar occurance?

View 0 Replies

IDE :: Flash Lagging On Slower Machines

Feb 5, 2010

I created this flash object, which preloads the file on the first frame before continuing to play, yet on slower machines it moves much slower then the 30 fps it is supposed to play at. The file is 1.2 MB in size. Using actionscript 3.

[URL]

View 1 Replies

ActionScript 2.0 :: Swf Is Slower When Loaded Externally?

Mar 12, 2004

i am 5 seconds old here so first of all i just want to say WHAT"S UP!!!

when i load my swf from an external source with loadMovieNum(the swf is actually on a different server all together). it plays it a whole lot slower. Has that ever happened to you. do you know how to work around that?

View 3 Replies

Actionscript 3 :: Use Adobe's "Stage3D" To Improve The Performance Of My 2D Applications And Games?

Jan 18, 2012

I've been doing a little bit of reading about Stage3D, which will be a new API used with Flash Player 11.Will this API improve the performance of 2D rendering (Vector) in any way, or will the library be used primarily for rendering 3D?

View 3 Replies

Flash :: Error #1014: Class Flash.display::Stage3D Could Not Be Found

Oct 7, 2011

There isn't any tutorials on the web on how to use Stage3D on AIR 3.0. How do I enable it in Flash Builder 4?

I have countless trial and error when testing 2D/3D framework:

VerifyError: Error #1014: Class flash.display::Stage3D could not be found.

View 2 Replies

ActionScript 3.0 :: Flash Lagging On Slower Machine?

Feb 5, 2010

I created this flash object, which preloads the file on the first frame before continuing to play, yet on slower machines it moves much slower then the 30 fps it is supposed to play at. The file is 1.2 MB in size. Using actionscript 3.

View 3 Replies







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