ActionScript 3.0 :: 10.4 Elements Without PC Slowdown?

Oct 26, 2009

I'd like to ask the following question: for instance, I have a scene in 3ds max with 10000 textured cubes. Is it possible to export this .max scene to Flash and create a .swf application, in which user will be able to rotate, zoom the scene and also select a particular cube and all this done without visible PC slowdown? After some googling I found that Papervision3D is a good tool for working with 3D in Flash.

View 3 Replies


Similar Posts:


ActionScript 3.0 :: Slowdown: Memory Isn't Freeing Up

Feb 9, 2010

I'm having a bit of trouble in a game application I'm building,I recently added a bit of code that makes the game more visually interesting. As you move your character around screen, it creates instances of the GFX_Dot class, which is tied to a small green dot.In the class file I have a timer which decreases the alpha of the dot until it hits zero, at which point I'd like it to delete itself. Here are the functions I've got in the GFX_Dot class:

//GFX_Dot class
public function GFX_Dot() {
randomize();[code]..........

The part at the end "delete this" is meant to delete reference to "this" and allow it's memory to be re-used, however upon running the program, it's clear that they must not be deleting themselves, because after half a minute of creating a new GFX_Dot every frame at 30 fps, the game begins to get very slow. Before adding these graphical elements the game ran snappy all the time, I'm almost certain it has to do with them not being deleted properly.

View 1 Replies

Actionscript 3 :: Slowdown An Animation Without Decreasing The Fps?

Jan 20, 2010

I have this code that I found online that does an infinite rotating gallery, now my problem is that on enter frame it jumps and too fast. I want it to be as fast at after you hover out of the logo.

Here is the code:

//Import TweenMax
import com.greensock.TweenMax;
//Save the horizontal center

[Code].....

View 1 Replies

ActionScript 3.0 :: SlowDown Collidion Detection Kit

Dec 21, 2009

after starting simple project with the Collision Detection Kit i get very poor framerate. The movie starts at full frame rate, but slowdown after few seconds.

View 1 Replies

ActionScript 2.0 :: [Flash8] - Slowdown With RemoveMovieClip?

Jun 3, 2007

I'm fairly new to the use of loadMovie, unloadMovie, and removeMovieClip for external swfs, but anyways, let me summarize the problem as simply as I can. I have a shell.fla file that is currently loading in external swfs, one at a time, for a game. Here is an outline of how my shell works:

1. first part of game gets loaded in an empty movieclip (container_mc)
2. a listener is created that will listen to an event broadcaster that exists within the external swf.
3. when the listener receives the "done" message, I run container_mc.removeMovieClip() and then load part 2 of the game in a new empty clip called container2_mc.

At this point, I get really severe slowdown for some reason, and I don't know why!! Part 2 of the game is a tile based maze game which is not optimized 100%, but when I run that swf on its own (i.e. not inside the shell) it runs perfectly smooth. But when it is loaded after part 1, it goes really slow.

[Code]...

View 3 Replies

Flash8 : Massive Slowdown When Exporting To Movie?

May 26, 2009

I've been building my app' and testing it every day by exporting it to a movie, and testing everything.It's all been going very well and the .swf is usually exported to my desktop in less tha the time it takes to minimize the Flash window.Today I started work on my .fla (mark18) and added a "back" button to every scene (it takes the user back to a main page with the actionscript:

on (release) {
_root.gotoAndPlay("Main");
}

There are 9 scenes which are very short.BUT, when I tried to export it, it took about 15 minutes to export.

View 4 Replies

ActionScript 3.0 :: Complete App Slowdown When Using Timer Class?

Mar 17, 2012

My app is set up to pause the animation when the mouse is pressed down by calling Timer.stop(). While the mouse is pressed, the user can draw on the screen by dragging the mouse. When the mouse is released, the animation starts again with Timer.start() and is based off what the user draws.However, after I let the animation run for a while the app gets so slow that I can't even drag to draw when the timer is not calling the animation update without the drawing skipping hundreds of pixels at a time.

ActionScript Code:
package  {
import flash.display.Sprite;

[code].....

View 2 Replies

ActionScript 3.0 :: Experiencing Slowdown When I Move The Mouse?

Aug 11, 2009

I am working on some particle effects, and I am experiencing noticeable slowdown anytime I move the mouse. I am not using any MouseEvents, and I even see this slowdown when the mouse is moving outside of the Flash window. Also, I only notice this slowdown when running the movie from within Flash CS3 (when I run the .swf externally, it runs flawlessly).How can I make this slowdown disappear?

View 2 Replies

ActionScript 3.0 :: Mouse On Screen Causing Slowdown?

Mar 17, 2010

I have a game that has around 400 movie clips in it and whenever I mouse over the stage the FPS drops to around 8-15. I tried setting Mouse.hide() and mouseEnabled = false but it doesn't seem to do anything

View 1 Replies

ActionScript 3.0 :: Huge Slowdown Of Graphics Pipeline In Firefox

Oct 11, 2009

When I run my flash app in the default player it runs at 60 fps (the code is ~2ms a frame), but when I run it in firefox, the rendering phase is incredibly slow (~50ms).This is a relatively new symptom. I have not increased the amount of data to be rendered, but I have modified the type of data from MovieClips cached as Bitmaps, to straight Bitmap data... if that's relevant.[code]

View 3 Replies

ActionScript 3.0 :: Large Number Of Movieclip Slowdown The Application?

Jan 10, 2012

I have a scrollbar function.In the content area i attached movieclips.Those moviclips have dynamic textfield.The scroll bar working for small list of contents.up to 500 or 600 moviclipsWhen i attached 2000 or larger number of movieclip the Entire flash get slows. How to i fasten them with same number of movieclip. why flash player slow when attaching large number of movieclip? it takes near by 58% cpu usage at this time.What is the reason for

View 2 Replies

ActionScript 3.0 :: Background Loading Causing Animation Slowdown?

Feb 9, 2009

I am using Bulkloader [URL] to load in a succession of 10 images whilst the main elements of my site have already been preloaded. It is required that these images are not loaded within the preloader as they are large in size and this will increase the wait to an unacceptable level. They are not added to the display list upon succesful load but instead are added at a later time.

The problem I am having is that the menu navigation of the site is slowed down considerably and looks sluggish if the user navigates around whilst the images are being loaded in the background. Once loading stops everything is fluid and smooth. The animations are being carried out using a combination of timeline and Tweener.

Firstly, does anyone know if this is normal behaviour? I don't see why something being loaded should interfere with something moving on the screen, they are doing completely different tasks so I am a bit puzzled as to why they seem to clash.

Secondly, can anyone suggest a feasible workaround? I have been experimenting with using BulkLoader's pauseAll and resumeAll methods and have had some success by detecting mouse events and pausing/resuming as and when required, but it is proving a lot more complicated than I feel it should be, especially as I don't think loading should be affecting animation in the first place.

I have tried loading the images in one-by-one as I thought having too many connections open (apparently bulkloader can open multiple connections for faster loading) may cause some memory issue or suchlike, but that made no difference, everything is still choppy and sluggish whilst the background loader is running.

View 2 Replies

ActionScript 3.0 :: Mouse Movement Causing Flash Player Slowdown

Oct 1, 2009

I am struggling with an issue at the moment related to mouse events or more specifically mouse movement. I have found that moving the mouse in my game causes it to slow down. Rapidly moving the mouse can actually freeze the game, I believe EnterFrame events are actually dropped when the mouse is moving rapidly.

I thought at first that it must be something I coded incorrectly so I used the Flex 4 Beta's performance tools and analyzed the Flash 10 SWF that I build using Flash CS4. Mouse Events were the leading performance hog by far.

Whenever the mouse moved the CPU usage would skyrocket. I then tried an empty Flash App with no Actionscript, I had the same CPU spike.

So if I'm getting this problem with a Blank SWF how come I don't see this problem talked about all over the internet, how is every other Flash Developer not running into this problem?

View 10 Replies

ActionScript 3.0 :: Firefox And Opera - NetStream.Play.Stop And Video Is A Slowdown?

Mar 25, 2011

Video broadcast using VLC to flv file. I am using the NetConnection, NetStream and Video to play it in a flash. In Chrome and IE everything works fine, but in Firefox and Opera NetStream often dispatch event NET_STATUS with info.code = NetStream.Buffer.Flush and NetStream.Play.Stop and video is a slowdown.

View 1 Replies

Professional :: Position Elements Relative To Other Elements Or In Absolute Values?

Jan 26, 2010

Is it generally to position elements relative to other elements or in absolute values?

View 2 Replies

ActionScript 3.0 :: Shift Array Elements Without Deleting The Elements?

Oct 1, 2009

does anyone know how to shift all the array elements by one or more without deleting the array itself?

Something like rotating the array:

1,2,3,4,5,6,7,8,9,10
10,1,2,3,4,5,6,7,8,9
9,10,1,2,3,4,5,6,7,8
8,9,10,1,2,3,4,5,6,7
7,8,9,10,1,2,3,4,5,6

View 4 Replies

Html :: Show Elements Over Flash Elements?

Jun 9, 2010

When i create a menu, the dropdowns go behind the flash element. But in some sites, like Digg, it is shown above. z-index is of no use

View 2 Replies

ActionScript 3.0 :: Stacking Elements Under FLA Elements?

Jul 10, 2009

I made a .as Class where some graphical elements are spawned into the stage. However, the Flash (.fla) have some internal graphics that are supposed to be over the graphical elements spawned from the custom class.I tried to make another layer over the layer where the as3 Class is being called, but unfortunately it doesn't do anything, the graphic from the .as still appearing over the internal .fla graphics.

View 2 Replies

ActionScript 3.0 :: What New Elements Did They Add In Cs4 To 3d

Jun 24, 2009

I am reading up on 3d and wonder what new elements did they add in cs4 to 3d?? or nothing special.basically write 3d pre cs4 method or there something new to know?

View 3 Replies

Importing All Elements From One Flv To Another?

Sep 11, 2010

I work in Adobe Flash cs3 and as2. First I have flv file no1 it contains buttons, animations, imported sounds and fonts, lot of layers, preloader and its all mixed on stage (its a kind of meny for a web page). Now Im working on flv no2 in which all the elements contained in flv no1 are represented as a small picture (button) which should call (make it visable like zooming that object) some mc that contains all the elements from flv no1 and working as they do in flv no1. how to pack all the elements in flv no1 in a form of movie clip and import it to flv no2 and preserve all the functionality.

View 1 Replies

Allow The User To Arrange Elements?

May 7, 2009

I would like to know if flash can allow the user to arrange elements (in a published swf) on the stage and "lock" their positions so that if the swf is reopened or reset, it will retain the new arrangement. How would you describe this feature?

View 1 Replies

ActionScript 3.0 :: Resize Only Some Elements?

Oct 5, 2009

How would I make only some elements of my movie resize to fit the screen?For instance: I have a 2000 px wide movie and inside it a centered 1000px wide MC which will aways fit the screen while other elements (the background for examle) won't resize.

View 5 Replies

ActionScript 1/2 :: LoadVars With Many Elements?

Feb 4, 2010

I want to load data from a text file with four elements (account, first name, last name, club status).  There are 88,000 accounts.
 
[Code]...

View 10 Replies

ActionScript 3.0 :: Load .swf Under Other Elements?

Jul 15, 2010

I have one .swf containing an image.I also have a .swf containing elements such as a logo, all in movieclips.I need a way to load the image .swf into the second .swf, but have the image placed underneath all other elements.

View 3 Replies

Professional :: Tab Key And Elements Order?

Oct 15, 2010

I've created a form with 4 input text fields taken from the components.I've tested it and I've seen that pressing tab the cursor doesn't move through the correct input text order but it does like this:1st field2nd fieldsomewhere else (I can't see where)3rd field4th field

View 3 Replies

Professional :: XML Controlled Web Elements?

Jan 5, 2011

I'm fairly new at flash development but here goes: is it possible to use xml to drive the layout of a flash website in CS3?  Perhaps using ActionScript 2 or 3?  In particular, I'm looking to be able to for e.g. create a news ticker where changing the XML allows you to 1) change the text and appearance, 2) framerate can be controlled, 3) interpolations between key frames can be specified (e.g. linear interpolation)

View 1 Replies

Actionscript 3 :: Access The Elements Of Xml?

Aug 22, 2010

I had no problem working with xml in cumbersome AS2, but apparently it's menat to be easier in ASŁ, however I'm having a problem getting the data from this piece.

Basically I need to be able to access the id & src.

View 3 Replies

Actionscript 3 :: Xml - Deepest XML Elements

Sep 10, 2010

At the moment I can only parse a certain depth of XML elements, and I was wondering how you could get the deepest XML element, because at the moment I have a series of for each loops that loop through xmlElem.children() but this only allows me to parse to a certain depth, so it's rather limited.

View 2 Replies

XML :: How To Get Elements (Descendents) With Attributes

Mar 17, 2011

I want to get all xml elements (xml descendents) which have some attributes like:
<books>
<book concept="rr" author="xx"/>
<book concept="tt" />
<book concept="yy" />
<book concept="uu" author="xx"/>
</books>

I need to perform a xml descendent search for xml nodes with author attribute containing
results should be:
<book concept="rr" author="xx"/>
<book concept="uu" author="xx"/>

View 2 Replies

AS2 :: Loop Through Movieclip Elements

Apr 26, 2011

I got a Flash AS2 website and I need to get all the buttons inside an instancied movieclip (to define an specific property for each one). I've been searching for an hour or more, but I just got solutions for AS3

View 2 Replies







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