ActionScript 2.0 :: Loading Complex SWF Into Simple Movie - Slow Performance

Jan 27, 2006

In terms of performance, does loading .swfs into a flash movie have any implications. I've been experimenting with loading complex swfs into a simple movie and the complex .swf seems to perform a lot slower within the .swf than as a standalone. The host movie has no other funcitonality other than as a simple container. Is it in general terms better not to load .swfs into a movie but to code everything inside 1 movie ?

View 2 Replies


Similar Posts:


Flash :: Incredibly Slow Performance When Going To Previous Frame Of A SWF Movie?

Aug 5, 2011

In a SWF file, when I am using the following code to move backwards to a previous frame, it is incredibly slow -- Taking around 2 seconds. Where as moving forward to next frame takes 30-40 milli seconds.

[Code]...

View 2 Replies

AS3 :: Professional - Performance In IOS - Animations Run Really Slow (CS5.5)

Feb 18, 2012

I have created an app in CS5.5 for Android and iOS. I have tested on two Android devices and everyingthing works fine. However, on an iPad and iPhone the animations are really slow. Here are some more facts:

1) My project has many scenes and in the problems scene there are upwards of 1,200 frames. But even simple animations run slowly.

2) The frame rate is set for 24 fps.

3) I have created a universal app (iphone and ipad), publish resolution is standard at full screen.

4) Ironically, I have already tried caching as bitmap. That actually slowed my animations even more. I am truely at the end of the line here and don't have any possible solutions.

View 3 Replies

ActionScript 3.0 :: Datagrid Component Performance Slow

Mar 14, 2008

I have a DataProvider object which loads an XML object during instantiation. I set my datagrid.dataProvider to the DataProvider object. There are 13 columns, and approximately 40 rows.

Scrolling the datagrid, and resizing columns has alot of lag. Is this to be expected when using the DataGrid component with larger datasets?

View 10 Replies

ActionScript 3.0 :: Slow Performance With Bitmap Erasing?

Nov 26, 2008

for the past couple of weeks I've been learning AS3, and for a school project I'm doing a remake of the popular DOS game Liero. Everything is working fine, I got a layer of dirt that I am shooting away, but the problem is that after a few hundred bullets, the game starts to lag heavily whenever a shot is fired.I'm using a simple bitmap and a brush to erase the parts where the bullets hit.

// Drawing stage
bmap = new BitmapData(1100,800, true, 0);
dispBmp = new Bitmap(bmap);

[code]...

View 1 Replies

ActionScript 3.0 :: Spinning Many Objects With Slow Down The Performance

Aug 27, 2009

I have 500 small objects, I would like for them each to rotate (spin) constantly, I have seen a few methods for doing this, but what would be the best way to do this so performance doesn't slow down?

View 9 Replies

Professional :: Slow Performance Using Anti-alias Option?

Jul 23, 2009

when I create a medium or large text block, Flash (cs4) starts to work very slow, only a objet move or a click on stage takes a lot of time to process. My computer features should be ok... 4gb ram, intel 2 core duo 2.4 hz... The only thing that I think can be a problem is that I'm using Windows Vista 64 bit.

View 9 Replies

Professional :: CS5 Component Inspector Panel - Slow Performance

Aug 31, 2010

I'm curious when Adobe are going to repair the performance issues inside component inspector panel in CS5? Scrolling through the properties of some components is ridiculously slow, 486 like slow...

View 2 Replies

ActionScript 3.0 :: Slow Performance With Full Screen And No Scale

May 10, 2010

I have a Flash movie that runs full screen, but with StageScaleMode.NO_SCALE so that the actual movie size is the same as it would be if I ran it not full screen.

There is a huge difference in performance between full screen and no full screen. This is despite the movie taking up the same screen space.

how I could improve performance at full screen?

View 8 Replies

ActionScript 3.0 :: Performance - Videos Play Slow Using FLVPlayback

Feb 25, 2009

My scene has a video background which scales to the stage size. Then, each section has another video when transitioning in. The problem is that the videos play really slow than they should, very low fps. When there are 2 videos on the stage, it goes even slower. I've tried with embedding videos, using FLVPlayback, wrapping in movieclips, but still the same result. The videos are exported at 30 fps, same rate than the flash movie.

View 3 Replies

ActionScript 3.0 :: Function Only Works In Simple App But Not In Complex One

Mar 11, 2010

I made a simple app with 2 movieclip symbols containing photos of a butterfly with this actionscript:

import fl.transitions.Tween;
import fl.transitions.easing.*;
butterfly_mc.addEventListener(MouseEvent.CLICK, bigPic);
butterflyHand_mc.addEventListener(MouseEvent.CLICK, bigPic);
function bigPic(e:MouseEvent):void{ new Tween(e.currentTarget,"scaleX",Strong.easeOut, e.currentTarget.scaleX, (e.currentTarget.scaleX * 1.4), 4, false);
[Code] .....

I don't get any error messages but when I click on case1_mc.c1_mc.case1a_mc or case1_mc.c1_mc.case1b_mc nothing happens.

View 11 Replies

ActionScript 2.0 :: Highlighting (Simple And Complex) Buttons On Menu

Feb 13, 2006

How do you code simple buttons and complex buttons that show they are on or have been activated? I want my interface to be able to tell my users that they are in a specific area by highlighting the button on my menus. (Just like the navigation menu for [URL]).

View 2 Replies

Actionscript 3 : :Improving Slow Performance Of Drawing Application Using BitmapData.draw()?

May 27, 2011

I am using a custom Flex skin to create an active blur/frosted glass effect on the background of floating Panels, TitleWindows, and other containers (similar to http:url....). There is a background image in the Application skin, and potentially any number of other components above and below the active blur component. Here's some relevant code within the skin:

public static const BLUR_FILTER :BlurFilter = new BlurFilter(16, 16, BitmapFilterQuality.HIGH);
private var _bitmapFill :BitmapFill = new BitmapFill;
private var _matrix :Matrix = new Matrix;[code]....

Unfortunately, the performance of this when the component is being resized, and especially when moved, is poor. There is noticeable drag delay and overall slowdown, and this is with only one popped-up TitleWindow in the test application. There is especially poor performance when components inside the TitleWindow are changed (button hover states, etc.)I've attempted to optimized a little bit by avoiding reinstantiation of the blur filter, bitmap fill, and matrix, but this has had little or no effect. I removed the blur at one point, just drawing the Application to a bitmap, and the performance is still poor, so it's clear that it's mostly the BitmapData.draw() call.

I've read about using scrollRect and cacheAsBitmap, but I'm not sure where to apply these properties (or other optimizations I'm not aware of) within the Application or its components.

View 2 Replies

Performance - Simple Flash Test Application Runs Very Slowly Compared To Exact Same Processing Applet?

Mar 3, 2011

I get a working application in Flash made that lets the user click to create blocks which subsequently gravitate towards the mouse. I made the exact same thing in Processing too, just to compare speeds.However, when I run the Flash version and add around 15-20 blocks, the framerate drops to 5-10 FPS.In the Processing version I can add ~60 with no noticeable slowdown. What's the deal, Flash?

Links to each version's source:

Flash version
Processing version

Here is the source for each in case you are a wizard and can help just by glowering at the code sternly and telling it to behave:

Flash version:

blocks.fla
import flash.events.Event;
import flash.display.MovieClip;

[code]....

View 1 Replies

ActionScript 3.0 :: Game App Runs Fast In Simple Loader And Slow In Other Loader?

Apr 28, 2010

I'm feeling a bit low now as I have been suffering this for months. A simple loader loads my simple game and runs VERY FAST on even slow pcs BUT when I build this other loader, it goes quite slowly and I don't know where the app is going wrong. WHERE is the processing consumptoin coming from out of my app.

[Code]...

View 1 Replies

ActionScript 3.0 :: Allowing The Movie To Run During Complex Code Execution

Jul 17, 2009

I have this complex XML processing code that builds up thousands of objects on stage. This might take some time. Perhaps not that big time to bring up that message about slow code execution, however signifficant enough to cause interface uncomfortabilities. I understand very well that I can restructure my code in order to save all contextual variables, all counters in an object that is passed down to onEnterFrame events that process it a little bit and then pass it further, until the job is done. However, before I go into dissecting my code, I wanted to make sure if there really is not a way how tom tell flash player do it's frame rendering routine while a complex code is executed in background (without splitting it up).

View 1 Replies

ActionScript 3.0 :: Flash Complex Movie Clip As Button Class

Aug 5, 2010

I want to create a class, or classes, that will allow my designers, working in Flash Pro CS5, to call a Movie Clip from their library to be used as a button on the stage. In a perfect world they would do this with one line of code, setting the dynamic label text, the X and Y position, and setting the URL for the onClick function such as below: [code]How do I direct it to what MC I want in the Library? I am guessing it would be another parameter of the method call, but how would that work? I would like them to be able to use the code on any MC design they create.

View 1 Replies

Css :: Flash Loading Slow?

Nov 21, 2011

I have a Wordpress website located here: http:[url]....I'm trying to figure out why the page loads slow - I'm almost sure it has to do with Flash and size of images, plus rotating banner. I don't know how to edit or fix the problem though. So the question is: What is causing my website to load slow, and what EXACT steps can I take to fix the problem.I've already tried adjusting some of the browser ActiveX filters and other temp fixes, but that is not the proper solution. If this is a flash or image loading issue, can you tell me the EXACT step in how to edit these issues?

View 1 Replies

ActionScript 2.0 :: XML Loading With Php Is Slow?

Jan 24, 2006

I'm loading XML cross domain and it works but it's really slow, or sometimes it never load...

Code:
system.usecodepage=false;
c = new XML();
t = new LoadVars();

[Code].....

how can i make sure that the XML is loaded everytime?! Sometimes I have to click the link in flash to reload the page that shows the XML to get the XML to load...

View 1 Replies

Slow Loading Portfolio Website

Jan 4, 2012

Somehow through tons of research I've been able to make myself a flash website which features my work. There is one big problem, my site loads really slow and I'm afraid I'm loosing all of my potential clients who probably won't wait for it to load.

Here's my website url: [URL]

I'm hosting with hostgator if that matters at all, I've also optimized the images.

View 3 Replies

Actionscript 3 :: Slow Loading Images?

Apr 26, 2011

Just need a bit of guidance. This is my portfolio site My images are loading in very slowly. I'm loading them in with a UILoader component for more functionality and my code is below. Also the images look a bit distorted. Does anyone see anything wrong with the code or maybe my server godaddy account is running slow.

var myImage:String = "images/showcase.jpg";
var myRequest:URLRequest = new URLRequest(myImage);
showImg.scaleContent = true;

[code].....

View 1 Replies

IDE :: Slow Dynamic Content Loading In IE?

Nov 17, 2009

This is really weird and I have no idea what could be causing this.I have this simple Flash site:

http:[url]....The main interface is loaded, and then it starts to preload a few external JPG images.The problem is that with IE it is taking about FOUR times (or even more) the time to load the same pictures with FF. In a slow connection such as a 128K the main interface takes the same time to load either on FF aswel IE - about 5-10 seconds. Then, it starts loading the external pictures - in FF it will take about 20 seconds more and in IE it will take about 80 seconds more. It is clear to me that the problem is not in the site loading itself, but in the contents loading. I can't see what in the browser could be interfering in the SWF, unless that the IE Flash plugin have some known (or unknown!) bug regarding to MovieClipLoader!

The only thing I can have in mind, is that I am not terminating the listeners in the onLoadComplete events, so theoretically they would be keeping the CPU busy even after the pictures finish to load (I spawn about 30 listeners, one for each picture). However, I doubt that this is the reason or else it would make FF slow down too, indeed? Also I noticed that when running the application in the authoring environment (control+ENTER) but loading contents from remote server, it have the same behavior as when loaded within IE (slow loading).

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

Professional :: Flash - Website Loading Slow?

Dec 19, 2010

I am building a website entirely out of flash. I know thats not a great idea, but it is not the biggest website in the world, however it does contain seven or eight .sws that take some time to load.When I test the website via a cable connection (T1), the speed of opening the website is not bad, but on DSL pretty slow.I dot want to turn people away from my site how can I make sure my flash site doest load that slow? Ie read somewhere that if you put all the .Ss into one master file it could make the site load faster.seen some flash websites that are big and their files load

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

Media Server :: Very Slow Connecting Loading And Serving?

May 24, 2009

We have installed Flash Media Server on a Linux machine.It has 2GB of RAM,Fedora 9 with kernel 2.6.27.5-41.fc9.i686, the install required a few packages (compat-expat1 was one) to be installed before we saw the sample page. The sample page takes a few minutes to load and opening the page to connect to the admin console is about the same.

This is currently on our internal network while we try and see how it works. Are there any specifc TCP related kernel tuning parameters (eg in sysctl.conf) which need to be put in place over and above the out-of-box configuration. Any troubleshooting hints which might identify the problem. The install seemed ok nothing in /var/log/messages and checking to see what is running (ps aux | grep fms) I see

./fmsmaster -silent/opt/adobe/fms/Apache2.2/bin/httpd -f ./conf/httpd.conf -d /opt/adobe/fms/Apache2.2 -k start/opt/adobe/fms/fmsedge -edgeports :80,1935 -coreports localhost:19350 -conf /opt/adobe/fms/conf/Server.xml -adaptor _defaultRoot_ -name[code]....

but when we clear our browser cache and go to a page it is taking forever.It is taking about 5 minutes to open up the initial page, but when it is open the videos all seem to come through fine.The server previously had apache on it but I removed that copy and went with the version included with FMS.

View 3 Replies

ActionScript 3.0 :: Loader Not Loading Thumbnails On Slow Connection

Nov 15, 2009

I've got a basic dynamic XML gallery on my website and I noticed that thumbnails in the gallery do not load on slow internet connections. They load only when I enter the gallery for a second time. The debug flash player doesn't throw any errors. Is there maybe some loader property that allows longer timeout for the loader to finish loading?

View 3 Replies

ActionScript 2.0 :: Loading External SWF Via Menu - Slow / Sluggish

Mar 25, 2011

I'm creating an application where the user uses the Arrow Keys to navigate around the menus and Spacebar to continue. On the first screen is the main menu that launches external swf's. (I have it as an exe). When I play the external swfs individually in the Flash Player.......the navigation is perfect and runs smoothly. But when I launch the external swf's through the first screen (menu).....the loaded swf becomes very slow/sluggish to react when I hit the Arrow Keys. (E.g. have to hit the arrow key 3/4 times before it moves). The frame rate in each fla is the exact same. I use the levels to launch the external swf. I have also used the "load into an empty movieclip" and the outcome is still the same. I'm using CS5.

View 5 Replies







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