View Full Version : Simple Question
Glitch
November 5th, 2004, 04:31 PM
Just wondering why flash slows down while drawing API(?) Is there a way to avoid it from slowing down. Heres just a random script of what i mean.
createEmptyMovieClip("lines", 1);
_root.lines.onEnterFrame = function() {
x++;
this._x = 200-math.cos(i++/15)*x/5;
this._y = 100-math.sin(i++/15)*x/5;
this.lineStyle(1, random(10000));
this.moveTo(this._x, this._y);
this.lineTo(math.cos(x/15)*200, math.sin(x/15)*200);
};
Glitch
November 5th, 2004, 07:58 PM
Rather than starting a new thread:
How did you obtain your knowledge of Actionscript? Is it part of a computer science degree or is it just a hobby? Soon enough i'll be going to college and i know theres alot of time to decide, but im troubling between Computer Science, or Engineering. Can anyone give me any information or point me in the right direction to learning more about what its like, or how the job market is, any information at all to computer science would be great. Thanks for you input.
thebloodpoolkid
November 5th, 2004, 10:32 PM
I have a degree in Computer Networking Systems. The job market is horrible. Atleast in NY state it is. I feel like I wasted my education. I landed a tech support job siting next to high school drop outs. I attempt to do web development as a hobby and hope to turn it into something more than just that.
I obtained all my Web development knowledge from books and online tutorials. I am still in the learning stages.
Oh, and I have no answer to your initial question
flashy22
November 7th, 2004, 12:05 AM
I have an answer to your question, it my be wrong, but heres an educated guess.
When its drawing API, the more that it has to display, the more CPU intesive it is, when it gets to a certain amount, it will start "laggin" (for lack of a better word)
That would make sense, but it might not be right.,
Hope i could help!
Ben
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.