Moving Text Slows Everything Up
peepz,
im making a slider for different movieclips that moves to a position i want. The problem im having is that it's not running fine when i put some text in it!
my processor is working at 98%, but while i use a image it's only using 25% of it?
is there a solution for it?
stop();
speed = 2.5; oldPos = mcEmpty.mcContent001._x; newDest = oldPos;
movePic = function (dest) { newDest = oldPos-(dest-1)*mcEmpty.mcContent001._width; };
this.onEnterFrame = function() { if (mcEmpty.mcContent001._x<newDest) { vel = Math.round((newDest-mcEmpty.mcContent001._x)/speed); mcEmpty.mcContent001._x += vel; } else { vel = Math.round((mcEmpty.mcContent001._x-newDest)/speed); mcEmpty.mcContent001._x -= vel; }
mcEmpty.mcContent002._x = mcEmpty.mcContent001._x+mcEmpty.mcContent001._widt h;
}; mcButtonLeft.onRelease = function () { movePic(1) } mcButtonRight.onRelease = function () { movePic(2) }
ActionScript.org Forums > ActionScript Forums Group > ActionScript 1.0 (and below)
Posted on: 06-20-2005, 12:46 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Moving Text Slows Everything Up
peepz,
im making a slider for different movieclips that moves to a position i want. The problem im having is that it's not running fine when i put some text in it!
my processor is working at 98%, but while i use a image it's only using 25% of it?
is there a solution for it?
stop();
speed = 2.5;
oldPos = mcEmpty.mcContent001._x;
newDest = oldPos;
movePic = function (dest) {
newDest = oldPos-(dest-1)*mcEmpty.mcContent001._width;
};
this.onEnterFrame = function() {
if (mcEmpty.mcContent001._x<newDest) {
vel = Math.round((newDest-mcEmpty.mcContent001._x)/speed);
mcEmpty.mcContent001._x += vel;
} else {
vel = Math.round((mcEmpty.mcContent001._x-newDest)/speed);
mcEmpty.mcContent001._x -= vel;
}
mcEmpty.mcContent002._x = mcEmpty.mcContent001._x+mcEmpty.mcContent001._widt h;
};
mcButtonLeft.onRelease = function () {
movePic(1)
}
mcButtonRight.onRelease = function () {
movePic(2)
}
Too Much Text Slows Animation
Hello:
Brand new to the forums. Also pretty new to AS. Slowly but surely working my way through learning it, though.
I have an issue with slowed animation. I've used AS to control several menus. The menus work great as "blank" menus, but it seems when text is adapted into the menus, more importantly, when there are several menus on the stage at the same time, the performance of the menus decreases.
I know this seems confusing. I've attached 2 source files to help you visualize what I am referring to. When you get to the main menu that simply has options 1, 2, and 3 as choices, my main concern lies in the menus that are revealed when you go into number 2 ("DBI Customer Model"). This is the section that includes several menus. Keep in mind that I am still building the file, so beware of any incorrect behavior if you stray from choosing menu number 2. The .zip file contains 2 source files. "TEST" includes menus that contain all text in menu number 2's menus. "TEST2" has all text removed from these menus. You can definitely see a difference in performance. WHY???
Thanks in advance for any help...
Regards,
zink.
Movie Clip Speed Slows Down When Text Inputted Solutions Please
Hi all
I have a movie clip that has tweening incorporated into it
the speed is fine ...though when i add text within this movie clip to appear with this it slows down the motion
tween ....has anyone any solutions for solving this
or had teh same problem ...
the movie clip is a button that when clicked causes the tween to start.
Thanks
J
Long Text Variable Slows Player Frame Rate
I have a Flash movie with some animation and a scrolling textbox, containing a large text variable (with HTML formatting).
For some reason the text appears to be slowing the frame rate of the movie to a snail's pace. If I remove the text, it plays at the correct speed.
Any ideas what might be causing this, and how I might resolve the problem would be greatly appreciated...
Ben
How To Keep Text Field Text Values After Moving In Time Line?
I'm trying to to make flash application that requires the user to input data on several keyframes in the time line. I have buttons that take the user back and forth between the different keyframes so a user can input the needed data in what ever order they wish and/or go back and change it if they want.
My problems is, that as soon as the user clicks the button to go to another point in the timeline, and they come back, those input textfields that they entered data in are now empty again.
I hope that all makes sense. It seems that there must be an easy way (or even a hard way) to prevent this, and get these fields to retain the input data.
Any help would be GREATLY Appreciated!!!!!
Thanks in Advance!
My Fla Slows Down
hi
when i test my fla. it slows down on it's own and i don't know why... is it because there is too many things happening at the same time?
is there a way to solve it?
My Fla Slows Down
hi
when i test my fla. it slows down on it's own and i don't know why... is it because there is too many things happening at the same time?
is there a way to solve it?
Flash Slows Down
I have this problem. I created a simple game where two pictures are shown, you then push which objects are different on the screen and a little movie clip plays, there isn't any calculation or algorithm running, all it does is create the movie clip, place it where it should, then change the xscale and yscale according on the object. The problem is, some of the scenes run fine, the user pushes the buttons and the movie clip plays just how it should, a couple of the scenes though, when you push the object the movie clips that circle the objects run very, very slow. It always happens on the same scenes.
I have the scenes all in one movie clip, 1 scene per frame, to switch between scenes I simply change frames in that movie clip. If anyone has any suggestions that would be great.
Terry Treangen
Loading Swf Slows Everything
Hi, I have this site that I'm working on which resides on one swf.
There is an animated tour which I am creating as an external swf which will be loaded by the main swf into level 1 when required.
My problem is that when I play the animated tour on its own everything goes fine, but when it is loaded by the master swf all the animations slow down a lot.
Any ideas or remedies??
thanks.
Flash Slows Down
hey people im having a problem whenever i load a flash site or game etc it plays ok but then slows down dramaticly
Im running on a laptop but it is new and high spec and i dont have a clue why it is happening
Sound Slows Down
I'm wondering why the sound slows down after about 2 or 3 seconds when i play it in Flash? I've imported it as an mp3 at 16 bit 22kHz and a host of other formats. The file was originally a wave file.
Thank you.
Bad MCs That Slows Down All The Movie?
Hi, there!
Well, I have this website and I am with a problem that is annoying me.
In the bottom of the screen I have a mc that is a bar with 8 photos, filling all the bottom of the page (from left to right). The mc have 760px (width) by 67 (height).
Well, it suppose to slide from left to right one pixel each time, then I put the following script on the mc:
onClipEvent (enterFrame) {
this._x = this._x-1;
}
The problem is that this animation is slowing down ANY other animation of the site up to half of its right speed. I pressed CONTROL-ALT-DEL, opened the task manager and took a look in the performance tab, and there is my CPU stucked in 100% (my machine in an Athlon XP 1700+ and my movie runs at 30fps for smooth moves).
I noticed that the same seems to happen when I put some frame-by-frame animation, like titles created by Flax.
There is any way to improve the movie performance in order to avoid this CPU eating???
I have seen a lot of Flash websites where the guys abuses the animations and this kind of problem dont seems to happen...
Any help will be apreciated!
Thanks!
JPG+MP3 Slideshow Slows Down.
Sorry about my bad english. I'll try to explain my problem for getting an advise.
I program the slideshow with JPG & MP3...
So, I have a problem. In the action script I do preloading of jpegs and sounds. JPG-files loads step-by-step. When one jpeg loads up to 100 percent, I starting preload process of the next JPG. Progress of loading is realized on onEnterFrame function of an empty movie clip, dynamically created for it.
On the other side, MP3-files are also preloads as the parallel process. When it preloads, slideshow starts. So, the working script slows down when 7-10 jpegs are shows. Sound is playing. in this time, because slideshow is start to play. Preloading of jpegs is not complete, but about of 15-16 jpegs are preloads.
Can it be because too much objects are created? I delete all onEnterFrame functions and clear setInterval calls.
Actially in one time the running processes are:
. preloading of one jpeg in sequence
. playing on sound
. onEnterFrame of sound playing progress
. scrolling pages list movie clip
. fading of previous and current photos, when it exchanges
and it runs quickly, but after 7-10 jpg the process slows down...
Where can be an error?
Movie Slows Down
I am a relative newbie to flash, so this might be an obvious question. I am working on a project where I am animating a song. One of my layers is an mp3 track that plays along. I set up certain events to start and end at particular points in the song, but when I 'Test' the movie the timing is off. It seems that the animation is playing slower than it should. My guess would be that the animation will get slower as you add more and more simultaneous movies. Is this correct? What is the practical limit on concurrent movies and sub-movies? Is there a way to counteract or mitigate this slowdown effect? Any suggestions would be appreciated. I am thinking that I could alter my start and stop points to compensate for the slowdown, but I am concerned that each machine will play the movie at different speeds depending on processor speed/memory.
Thanks
LocalConnect Slows Down?
Hi,
I use a localConnect to read data from com-port in director and send it
via localConnect to flash. I send it every frame and it seemed to slow
down a little bit after a while.
I'am not sure if it is really the localConnect that causes the problems.
Of course the problem sounds bigger when the customer is reporting it
compared to what I can see here on my test pc.
Does anyone know if it can be a problem when sending data to a
localConnect to often?
TIA
.exe. And .swf Slows Down Considerably
Hello everyone,
I have a "newbie" question. I can't seem to figure out why my flash presentation slows down considerably towards the end of the animation.
I have sound added to it and on my computer it is timed well and works great, but when I take it to a laptop and another computer the sound stops well before the end and the end drags very slowly.
Is this a memory problem or is it something else I am doing wrong?
Thanks for your help and any comments.
KT
Sfw In Html Slows Fps
really annoying problem
i have flash project with 800x600 running on 48 fps.
swf and fla runs beautifully but after publishing it inside html, fps drops noticeably down. changing fps does not seem to help, it looks jerky no matter what if swf embedded to html.
anyone have solution for this?
SWF Slows Down In HTML?
Having a weird problem that I've never experience before...after testing my SWF from flash and seeing that all animations were working fine, I went along and placed it in an HTML file to test some things, and noticed the animations were going quite a bit slower than the 30fps frame rate I have...I mean it can't be my computer because its displaying the animations fine in Flash...why the would it be slowing down in the browser?
Anyone else had this problem?
.exe. And .swf Slows Down Considerably
Hello everyone,
I have a "newbie" question. I can't seem to figure out why my flash presentation slows down considerably towards the end of the animation.
I have sound added to it and on my computer it is timed well and works great, but when I take it to a laptop and another computer the sound stops well before the end and the end drags very slowly.
Is this a memory problem or is it something else I am doing wrong?
Thanks for your help and any comments.
KT
Sfw In Html Slows Fps
really annoying problem
i have flash project with 800x600 running on 48 fps.
swf and fla runs beautifully but after publishing it inside html, fps drops noticeably down. changing fps does not seem to help, it looks jerky no matter what if swf embedded to html.
anyone have solution for this?
Movie Slows Down
Hi,
i have a movie with a lot of vector work in it. A lot of small animations happening at once.
The movie plays fine but a few seconds into it- it begins to slow down dramatically.
Is that because of the amount of vector objects i have in the clip or the amount of animations i have going at once? Or is it happening for another reason.
How do i fix this?
Thanks.
Movement That Slows Down As It Gets Closer?
I'm looking for a snippet of ActionScripting similar to this:
(http://www.flashkit.com/tutorials/Sp...39/more3.shtml)
However, I don't want it locked to the mouse and I want it applied to menu elements which fly into the screen. They are six 4x4 squares that fly in, and once all six are onscreen, they become the elements of the menu (i.e. you click on them and an action takes place). I want them to also slow down as they get closer to the final position - like in the above example as the elements get closer to the mouse position.
Any ideas?
Another example is http://www.secondstory.com/?features. Look what the bottom menu does when the mouse is taken away.
[Edited by kmsiever on 11-19-2001 at 04:09 PM]
8 K Image Slows Movie Down?
Hi all
i am making a game, space invaders, yea i know....
anyway i have been getting the gaming concepts correct and have been working on a black background. My framerate is 24 fps and everything works as it should do.
So i then try to, using a shared library, bring over a symbol that i made in another swf, again at 24 fps, this will be the backdrop for the game. There is no motion in this back drop, just a still graphic symbol.
When i publish the full movie with the backdrop symbol included, my game is running at half speed. The backdrop is no more than 8k in size - Why is this causing my game to now run at half speed????????????????
Thanks in advance
gilesb
Rotation, Like A Tween, That Slows Down When It's Done.
I have a simulation I'm working on, and on this display I have a needle that needs to rotate when a button is pressed. The good thing is, the button is a toggle, so the needle only ends up in 2 places: it either rotates to -55 or to 90, depending on what the toggle is set on.
Well I got it to "snap" to the position, that was simple, but my boss wants it to ROTATE somewhat slowly to the position instead, and I'm trying to use actionscript to get it to work. I modified some code that I have been using for another part of the simulation but that is just moving the _x so it's totally different. Anyway I am having trouble mostly with the speed, I have been playing with it for ever and have simplified it and am closer but still can't control it totally and I need some HELP, PLEASE
Here's what I have on the movieClip instance that I'm rotating (it's called "TACAN") and the toggle button is called "FwdAftMC1"
onClipEvent(enterFrame){
///here's my variables for use up in here///
var Rot1; /// the current rotation degree of the tacan needle
Rot1= this._rotation;
var speed1; /// um, speed
speed1 =2; /// speed value
///sets the rotation to the toggle button///
if(_root.topPanel.FwdAftMC1._currentframe==1){
this, _rotation = (this._rotation-55)/speed1;
}
if(_root.topPanel.FwdAftMC1._currentframe==2){
this, _rotation = (this._rotation+90)/speed1;
}
}
It might be easier to just associate the movement with the toggle button instead of on the MC itself, but I tried that in the beginning and for some reason this seemed to work better.
OnClipEvent Slows Down Movie
I have an external movie loaded into level 1 and there's being a textfile loaded into a textbox which has a scrollfunction.
As soon as the movie is loaded it slows down my movie on level 0 a lot! I can see from the navigation in the main movie.
The scrollfunction is using onClipEvent (enterFrame).
Is that the reason? And if so, does anyone have a solution for getting around this?
The movie is on http://www.brucekey.nl and the page with the scrollfunction is at LOGBOEK/OUD NIEUWS.
Sorry for the dutch language Thanks for any tips/help!
MAN This File Slows Down At Times
I've designed several flash files that run great on this computer, but crawl on another computer. Same ram, same connection speed, etc. I'm not so much bugged about the difference as I am bugged about the slowdown at all.
I thought the file had just enough going on to NOT slow down a regular computer... but I'm discovering a significant difference when looking at the files from home.
So HERE'S MY QUESTION:
IS IT POSSIBLE to have two animations going on at the same time without causing a slowdown? I know, I know, there's many undetermined variables at this point. So I'll give an example.
Say I design a movie with a spinning oval. It's purple and grey, and it tumbles downward. Now, I want the page to have several of these at once, at different speeds, so I've created three library items, oval1, 2, and 3. I put each one on a path so it'll follow in a specific line... so the three items go across the page at different speeds. Whew man they slow down mad-crazy on my home PC, but go fine on this one -- and I honestly believe that THIS computer is a slower computer.
Is there ANY way to help speed up these types of files?
My Flash Movie Slows Down
Ok here is the problem the movie works fine and I checked it for errors in scripting and its only a 60kb movie but after using it for a while it slows down.(after hitting the different buttons that change frame numbers and play movie clips). But it works fine for the first 2 or 3 buttons but after clicking more and more buttons going from one page to another the animations start to creep. Do I need to cut my movie into seperate swfs and load it into different levels or just have a preloader? Or any other suggestions
Movie Slows Down In The Middle; Why?
Here's my 1st real attempt at a movie from scratch:
http://www.mechphisto.net/storage/clouds3.html
In the middle, it slows down. I know because those little balls of light that move are 10 frame tweens, repeated 9 times from beginning of the movie to end. For a couple of the tween sets, they go slow, then pick back up.
Why would they do that, and is there something I'm missing that can prevent it? Like, "Allow frame drop during heavy processing to prevent slowness" or some magic setting like that? =)
Thanks for any help!
Liam
druid -at- celticbear -dot- com
Script Slows Down Computer ?
hi
i wrote this small script on an movieclip with image(1000*550px), on a movie (750*550px)
Code:
onClipEvent (enterFrame) {
xm = _root._xmouse*100/750;
fx = (xm*-250/100)-_x;
_x += fx/15;
}
and while i'm running the movie and playing with it and, the movie runs smooth, but everything alse slows down, like the music that is playing in winamp...
my pc is pretty good though...(1.4ghz)
is there something wrong with the code?
EPS Vector Slows Down In The Video....
Hi all. Small problem here - its easier for me to create some vector stuff in Illustrator, and then export it to Flash in an EPS 3 file. Ive then converted it to a movie, and then got the image to fade, using Alpha. Im using Flash at a 24 rate, but god, the image, really, really seems to slooooooow down....and it only seems to happen when i use Alpha in a EPS file. Is there anything i can do stop this happening? Or is there any particular reason why its happening? Cant quite understand, as its only vector image really. thank u.
Does Blank Mcs Slows Flash?
This is one simple question: When you create a movieclip, there's a box you check if you want to export it to actionscript or no. But if you check the box, but don't write anything in the mc's actionscript panel, will the flash player have to enter in it every frames that goes on in time to check for actionscript, or will it just ignore it? (slows down fast when having many mcs)
I mean like when you run the debugger, there's a panel that has every actions for every mcs for every keyframes and all. Because I think that if I don't check the export box for actionscript, the flash player won't try to enter in the mc to see its actionscript, that doesn't exist. So does leaving the scripting panel blank will still slow down the flash player?
LoadSound Slows Framerate Down?
Peepz,
I have a site that works fine until my loadSound object is triggered.
Is it possible that loadSound slows down my whole movie framerate?
canit be the MP3? (it's playing very well, no stuttering)
or is attachSound a better method? (but then i have to include the sound i guess?)
thnx!
Animation Slows The More It Is Played
Hi,
I have an animation which is triggered by a button. It plays fine at first, but the more it is played the slower it gets. I think there must be something in my scripts which is having an unexpected side effect, but I have no idea what it could be. Has anyone else had a problem like this?
This is part of a game which is turn based with a timer and has a lot of scripts throughout. I noticed a slight increase in memory usage, but have confirmed that I only create the correct number of my OO objects.
Thanks for any suggestions
Animation Slows Things Down
Hi,
I'm a bit new to objects and classes though I've been using flash for a few years now.
I'm putting a site together and used the tween class to animate some items onto the page:
here
Then the client wanted the character to animate instead of the text, so I ended up using shape tweens, because I needed to morph the shapes and figured you couldn't do that with classes:
here
But now the whole thing has slowed right down.
Has anyone maybe got any suggestions as to how I can maybe organise the file differently?
Could someone have a look at my .fla please? Any suggestions gratefully received.
Thanks,
Al
LineStyle Change Slows Down App
Hi there,
I have an application where part of the animation loop is as follows :
Code:
graphics.lineStyle(2.0, color);
graphics.drawRect(bounds.x, bounds.y, bounds.width, bounds.height);
With the lineStyle set method on the FPS starts to drop to 1 after about 10 seconds, with that first line commented FPS stays high and stable.
I've found a number of posts outlining the problem and everybody seems to think it's the actual drawing of the outline that causes the slowdown, but setting the lineStyle only once while always drawing the outline is also fast. I'm left to conclude it's the lineStyle call itself that's causing issues.
Anyone have any explanation for this?
P.S. Funny detail, people working in .NET apparently run into the exact same problem. Windows API call problem perhaps?
Program Slows Down Over Time.
I'm having trouble with this app slowling down over time. It will become unresponsive within a minute. Any ideas?
Code:
var worldX:Number = 50;
var worldY:Number = 50;
var sw:Number=(stage.width/worldX);
var sh:Number=(stage.height/worldY);
var cy:Number=-1;
var cx:Number=-1;
var sprite:Sprite = new Sprite();
var spriteState:Array = new Array();
var s1x:Array = new Array();
var s1y:Array = new Array();
var s1s:Array = new Array();
var s2x:Array = new Array();
var s2y:Array = new Array();
var s2s:Array = new Array();
var doGens:Boolean = false;
var myTimer:Timer = new Timer(1,0);
var gens:Number =0;
stage_load();
function stage_load():void {
var r:Number;
var c:Number;
this.addChild(sprite);
for (r=0; r<worldY; r++) {
spriteState[r]=new Array();
for (c=0; c<worldX; c++) {
if ((r==23 && (c==24 || c==25)) || (r==24 && (c==23 || c==24)) || (r==25 && c==24)) {
sprite.graphics.beginFill(0x000000);
spriteState[r][c]=true;
s1x[s1x.length]=c;
s1y[s1y.length]=r;
s1s[s1s.length]=true;
} else {
sprite.graphics.beginFill(0xCCCCCC);
spriteState[r][c]=false;
}
sprite.graphics.drawCircle(sw*c+sw/2,sh*r+sh/2,sh/2);
}
}
doGens=true;
myTimer.start();
}
function get_s1_state(y:Number,x:Number) {
var ret = null;
var i:Number;
for (i=0; i<s1x.length; i++) {
if (s1x[i]==x) {
if (s1y[i]==y) {
ret =s1s[i];
}
}
}
return ret;
}
function get_s1_idx(y:Number,x:Number) {
var ret = null;
var i:Number;
for (i=0; i<s1x.length; i++) {
if (s1x[i]==x) {
if (s1y[i]==y) {
ret = i;
}
}
}
return ret;
}
function stage_mouseover(event:MouseEvent):void {
if (cy!=-1) {
if (spriteState[cy][cx]==true) {
sprite.graphics.beginFill(0x000000);
} else {
sprite.graphics.beginFill(0xCCCCCC);
}
sprite.graphics.drawCircle(sw*cx+sw/2,sh*cy+sh/2,sh/2);
}
var x:Number = Math.floor(event.localX/(stage.width/worldX));
var y:Number = Math.floor(event.localY/(stage.height/worldY));
if (x<1) {
x=1;
} else if (x>=worldX-1) {
x=worldX-2;
}
if (y<1) {
y=1;
} else if (y>=worldY-1) {
y=worldY-2;
}
cy=y;
cx=x;
sprite.graphics.beginFill(0x0000FF);
sprite.graphics.drawCircle(sw*cx+sw/2,sh*cy+sh/2,sh/2);
}
function stage_click(event:MouseEvent):void {
var s = get_s1_state(cy,cx);
if (cy==1 && cx==1) {
doGens = !doGens;
if (doGens) {
myTimer.start();
} else {
myTimer.stop();
}
} else {
if (s==false) {
s1s[get_s1_idx(cy,cx)]=true;
spriteState[cy][cx]=true;
sprite.graphics.beginFill(0x000000);
} else if (s==true) {
s1s[get_s1_idx(cy,cx)]=false;
spriteState[cy][cx]=false;
sprite.graphics.beginFill(0x0000FF);
} else {
s1x[s1x.length]=cx;
s1y[s1y.length]=cy;
s1s[s1s.length]=true;
spriteState[cy][cx]=true;
}
sprite.graphics.drawCircle(sw*cx+sw/2,sh*cy+sh/2,sh/2);
}
}
function runGen(event:TimerEvent):void {
var i:Number;
var r:Number;
var c:Number;
var v:Number;
var h:Number;
var n:Number;
for (i=0; i<s1x.length; i++) {
for (r=s1y[i]-1;r<s1y[i]+2;r++) {
for (c=s1x[i]-1;c<s1x[i]+2;c++) {
n=0;
for (v=-1; v<2; v++) {
for (h=-1; h<2; h++) {
if (h!=0 || v!=0) {
if (spriteState[v+r][h+c]==true) {
if ((v+r)>1 && (v+r)<(worldX-2) &&(h+c)>1 && (h+c)<(worldY-2)) {
n++;
}
}
}
}
}
if (n==3) {
s2x[s2x.length]=c;
s2y[s2y.length]=r;
s2s[s2s.length]=true;
} else if (n==2) {
s2x[s2x.length]=c;
s2y[s2y.length]=r;
s2s[s2s.length]=spriteState[r][c];
} else {
s2x[s2x.length]=c;
s2y[s2y.length]=r;
s2s[s2s.length]=false;
}
}
}
}
for (i=0; i<s2x.length; i++) {
if (s2s[i]==false) {
sprite.graphics.beginFill(0xCCCCCC);
} else {
sprite.graphics.beginFill(0x000000);
}
sprite.graphics.drawCircle(sw*s2x[i]+sw/2,sh*s2y[i]+sh/2,sh/2);
}
s1y=new Array();
s1x=new Array();
s1s=new Array();
for (i=0;i<s2x.length;i++) {
spriteState[s2y[i]][s2x[i]]=s2s[i];
}
for (r=0; r<worldY; r++) {
for (c=0; c<worldX; c++) {
if (spriteState[r][c]==true) {
s1y[s1y.length]=r;
s1x[s1x.length]=c;
s1s[s1s.length]=true;
}
}
}
s2y=new Array();
s2x=new Array();
s2s=new Array();
trace(gens++);
}
stage.addEventListener(MouseEvent.MOUSE_MOVE, stage_mouseover);
stage.addEventListener(MouseEvent.CLICK, stage_click);
myTimer.addEventListener("timer",runGen);
LoadSound Slows Framerate Down?
Peepz,
I have a site that works fine until my loadSound object is triggered.
Is it possible that loadSound slows down my whole movie framerate?
canit be the MP3? (it's playing very well, no stuttering)
or is attachSound a better method? (but then i have to include the sound i guess?)
thnx!
Using Levels Slows Down Loaded Swf?
hi guys,
i am making a presentation for my client which has a video when the user hit the "show movie" button, i tried to make another swf to store and load it when the button has been clicked. it is loaded on level 1 of the current scene. But the problem is the video slows down quite a lot and everything is like a slow motion. Is it because i still have too many stuff happening on level 0 and the computer is not fast enough to have two huge swf show at the same time? how can i turn off the animation on level 0 when i load the video?
thanks for any help, cheers!
Help The SWF Slows Down . Something Wrong In The Code?
Hi.
I am currently creating my portfolio site and have decided to use a combination of loading files externally and having some content on the base site.
On the base site, I have a vertical slider navigation for previewing my recent work. However for some reason when I publish the swf., it plays back in an staggering way. If i place the code for the same effect on a fresh swf file without the background and buttons of my site, etc.. it plays fine.
I was wondering if someone could check out what is wrong with my fla. code or that particular code. What is slowing down my swf ? The (fps) frames per second have been set to 30 and i always work with this speed because it allows smooother motion.
Please help.
I hope I managed to explained my situation.
Download the source file here
http://kraftedlogic.com/kl_base site3.zip
LoadSound Slows Framerate Down?
Peepz,
I have a site that works fine until my loadSound object is triggered.
Is it possible that loadSound slows down my whole movie framerate?
canit be the MP3? (it's playing very well, no stuttering)
or is attachSound a better method? (but then i have to include the sound i guess?)
thnx!
Movie Clip Slows Down After A While.
Hi I have a number of dynamically attached movie clips on my stage. the majority of them just still images.. but some of them have some animation that just loops frame by frame....
Apart from that I have movement with the use of the keys.. froward, back, right, left.... for some reason after a while the animated dynamically attached movie clips just slow down...
my frame rate is 24 pers sec and i only have one other animation that plays randomly using setInterval.....
any ideas what is causing the slow down of the movie clip after a while..?
Thanks guys..
Movie Clip Slows Down
I have a movie clip consisting of movieclip images fading in and out in a kind of slideshow.
What I've noticed is that after a certain number of frames, the tweening becomes jerky and really slow. So I split it up into a few separate movie clips and this seemed to help.
BUT, when I view the movie on an older machine with a slightly slower connection, the whole thing is so s l o w and really jerky.
I've seen other websites do this same kind of fadein/fadeout transitioning and it is not slow and jerky on the older machine.
What am I doing wrong?
Swf Slows Down In Browser (safari)
hey kirups, has anyone had problems with a movie "dragging" in safari? The speed is fine when I launch it sraight from the swf but is noticeably slower when viewed through safari. Any comments/suggestions?
Animation Slows In Browser
hey guys -
i've always noticed that flash player slows down a little once it's gets dropped in a browser window. usually i ignore it or increase the frame speed a bit to compensate (not that it ever works)..
but i'm working on a project now that is just becoming so jerky when it's in the browser. when i test the SWF it's fine but once it's in the browser it's god awful.
anyone know anything about this or maybe something that i can do to resolve it?
Blur Effect Slows Down Swf
hi all
i'm sure people have asked this before, but I couldn't find a post...
I am working on a new animation and have discovered the joys of the blur effect...when i export as a quicktime it's perfect...but when i export as an swf it plays like 100 times slower!!!
it's so easy to test your movie as an swf as you go along working... my current project is 7 minutes long & i dread having to export a quicktime mov 1,000 times before i finnish, to make sure it's in synce with the soundtrack...
any suggestions welcome!
thanx
tiff
http://www.crazygirl.info
Using Levels Slows Down Loaded Swf?
hi guys,
i am making a presentation for my client which has a video when the user hit the "show movie" button, i tried to make another swf to store and load it when the button has been clicked. it is loaded on level 1 of the current scene. But the problem is the video slows down quite a lot and everything is like a slow motion. Is it because i still have too many stuff happening on level 0 and the computer is not fast enough to have two huge swf show at the same time? how can i turn off the animation on level 0 when i load the video?
thanks for any help, cheers!
|