Slow-mo Button Over
Is it possible to have an animation playing in flash and when the user places their mouse over it, it slows down?
Is this possible?
Thanks everyone
FlashKit > Flash Help > Flash MX
Posted on: 06-27-2003, 02:55 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Large Images / Alfa Tween / Slow Slow Slow... Help Please
I'm working on a site at the moment and one of the main eyecatchers is there is a slideshow-type of animation running in the background the whole time.
There's a dozen (large in pixels, but not in kb) .jpgs that have a minute long fade between images, a few seconds pause and then onto the next fade.
I've tried just making a normal alfa tween, I've tried making the slideshow as a seperate .swf, I've tried dynamic images with .xml, I've even tried making the .fla background transparent and making the slideshow on the html page using javascript.
But all make the site run very slowly. Text scrolling is slow, short rollover animations are slow, etc. etc.
My question is: Is there a way of making a super light alfa tween with large images?
99% of the threads regarding slideshows here at Flashkit have many views but no replies. I need help, and soon. Many many thanx to anyone that can point me in the right (or any) direction.
Button's Slow To Respond-problem
Hello
The main nav buttons I created for a new site (samanthamakeup.tv)
work, but are slow to respond to a mouse click; they have the requisite
up, over, down, hit states with keyframes, and they are not supposed to even animate, they simply have actionscript attached to them to take you to a smaller
pop-up. Sometimes you have to click three, four times before you get the link,
please help!
thank you!
Slow Color Change For Button
If I want the color of a button to change slowly when it's in an Down state, do I put a movie clip with a tween inside the button symbol? or what?
Slow Reaction On Button Release?
I am having reaction issues when a button is pressed. I have my main .swf with a MC placeholder that loads external .swf's. The button release passes a variable that moves the external .swf's timeline to the outro transition. My problem is, when I click a button I have to wait ten seconds sometimes before it passes the variable and starts the outro transition. The outro keyframe is the start of the outro transition, so there is no timeline progression to slow it up.
To see an example of this: http://www.conspirator.org/test2.htm. Select Conspirator let it load, then try clicking Tour to see the slow reaction usually many seconds.
Here is my buttion Actionscript.
on (release) {
if (_root.currMovie == undefined){
_root.currMovie = "tour";
container.loadMovie("tour.swf");
}else if(_root.currMovie !="tour"){
//if(container._currentframe<=container.midframe){
_root.currMovie = "tour";
container.play();
}
//}
}
Any ideas? I don't see why if the external .swf is loaded there should be any reaction time.
thanks. j
Button Rollover Slow To React
I have a program made in Flash 8 that when up and running the 2 main buttons are real slow to react to a rollover. There's nothing fancy with these 2 buttons, each has three layers.
But I also have 16 other buttons that are active in another part of the screen that react to rollover just fine, they have this kind of code:
btn_c1.onRelease = function() {
if (Blank1 != 1) {
loadMovie("OrgansC1.swf", "mc_OrganMan");
loadMovie("NervesC1.swf", "mc_NerveBlank");
_level0.states.gotoAndStop(2);
loadMovie("C1.swf", "mc_Blank1");
_global.Blank1 = "1";
} else {
loadmovie("VertRolls.swf","mc_Blank1");
_global.Blank1 = "0";
}
My question is how can I get the other 2 simple buttons to react to rollover quicker?
thanks
5-state-anvanced Button Is Too Slow
5-state-anvanced button is too slow
by Pekka Varis on May 28, 2008 at 10:21:27 am
My AC3 made button is choppy:
http://www.catchline.fi/cow/version-04.html
normal button works fine and fast:
http://www.catchline.fi/cow/version-06.html
The 5-state button is made with this correct way:
------------------------------
AjaC.buttonMode = true;
AjaC.addEventListener(MouseEvent.ROLL_OVER,animIn1);
AjaC.addEventListener(MouseEvent.ROLL_OUT,animOut1);
function animIn1(event:MouseEvent):void {
AjaC.gotoAndPlay(2);
}
function animOut1(event:MouseEvent):void{
AjaC.gotoAndPlay(6);
}
------------------------------
If you think can help me, load the 2 fla (CS3) files from here:
http://www.catchline.fi/cow/slow.zip
http://www.catchline.fi/cow/working.zip
Pekka Varis
Slow Animated Glow On Rollover Of Button?
I have a black button. How do I make a white glow slowly apear on a rollover. I can make it suddenly appear on rollover but I need to know how to make it appear as a slow motion fade-in. Know what I Mean?????? Help!
Steve
Slow Scroll Movie On Mouseover Button
I have a movie with animation which is longer then the screen, so it is hidden with the help of mask.
I have a Up & Down button.
How do I make the movie scroll slowly once the mouse is over the button?
Thanks
How Do I Enable A Playing Movie To Slow Down And Stop At The Click Of A Button?
Hi,
I was just wondering whether someone could tell me how to script a playing movie (within a movie (not on the main timeline)) to slow down and eventually stop.
For example, I click on a button (that's not on the timeline) and I want a certain movie that's already playing to slow down over a period of 10 frames and to stop on the 10th frame.
Any ideas? Anybody?
Thanks for your help!
Blastbum
SLOW SLOW External Text File
Hi,
I have created a .fla that consists of 3 scenes, each of which contains the same scrolling text box that loads the same external text file. The .fla is fairly CPU intensive already, and maybe the addition of the text pushed it over the edge, but when it plays, the text takes a long time to load when switching scenes (the text box appears, but it takes up to 30 seconds to load the text depending on the computer I use), and the scrolling is hit-and-miss.
My questions are:
1) Would it be faster if I hard-coded the text right into the textbox?
2) Should I get rid of the other 2 scenes and put everything into 1 scene?
3) Any suggestions?
Thanks,
sreebar
Slow...slow...slow Animation
hey guys,
im making an animation to a voiceover.
i want to sync the images with the voice.
it seems everytime i play the movie (i am publishing it as an exe to view because this is to be my final platform), the images play at a different speed.
what is this and how do i fix it?
also, does the way i have put the audio in make any difference to the speed it all plays back at?at the moment ive just got it on its own layer in the timeline.
cheers.
Why So Slow?
I've created a short animation intended as a possible splash page/site introduction. Why does it run so slowly at 56K (runs well on broadband)? What can I do to tweak it to run more smoothly at 56K?
See: http://www.jmrcreative.com/flash/pri...cepounder.html
Thanks!
Why So Slow ?
I've written a 'simple' flash game that uses lots of ActionScript code.. and it all runs just fine my Pc (1Ghz lots of memory etc).. but when others run it on their 300Hz systems it runs very slowly (what a suprise!).. where is the best place to start looking to see where I can get some performance gains ? (ie what to cut out/ tune)
Is It Slow?
Take a look at this movie. I wonder whether it runs slow on different pc's. Please tell you configuration.
http://dasher.flashmaster.ru/swamp.htm
Slow SWF
So I'm realitivly new to flash here, so forgive me if this belongs in the newbies section.
My problem is that the SWF I have created runs really slow and seems to lag the browser it is running in.
The movie relys on jpgs for the majority of its appearance. I created a movieclip that is supposed to resemble particles, the movieclip has 6 vector circles, the largest being 3px by 3px. I then used about 15 or so instances of this movieclip to get the effect I wanted. My movie is set at 25fps, yet it runs at no more than 5fps. I checked and when I load the movie in a browser the cpu usage doubles. How can I fix this? Or can I? Thanks in advance.
Why So Slow?
Hey, i have programmed this guy to walk left and right by scaling the backround 3 pixels, but the problem is, is that he does it so slow, like it takes a while for him to start moving (seconds but still...) how can i make it fluent and fast?
Heres the code I have on the backround:
onClipEvent (keyDown) {
if (Key.isDown( key.RIGHT)) {
_x-=3;
}
}
onClipEvent (keyDown) {
if (Key.isDown( key.LEFT)) {
_x+=3;
}
}
Thanks guys,
Mike
Slow 'else'?
Hey,
I'm working on a TileBased game...
For the movement code I use something like this (removed some lines to short in post):
PHP Code:
if (bussy == false and move == false) {
if (Key.isDown(Key.DOWN)) {
dir = "d";
if (map[heroY+1][heroX][1] == 1) {
oldX = tiles._x;
move = true;
}
} else if (Key.isDown(Key.UP)) {
dir = "u";
if (map[heroY-1][heroX][1] == 1) {
oldX = tiles._x;
move = true;
}
}
} else if (move == true) {
if (dir == "u" && tiles._x+tileW>oldX) {
tiles._x -= 5;
tiles._y += 2.5;
tiles.hero._x += 5;
tiles.hero._y -= 2.5;
} else if (dir == "d" && tiles._x-tileW<oldX) {
tiles._x += 5;
tiles._y -= 2.5;
tiles.hero._x -= 5;
tiles.hero._y += 2.5;
} else {
scroll();
move = false;
}
}
This all works well, but it's kinda shocky, the weird thing is that if I remove the else between controls and moving the shocky is almost fully removed!
So code looks like:
PHP Code:
if (bussy == false and move == false) {
if (Key.isDown(Key.DOWN)) {
dir = "d";
if (map[heroY+1][heroX][1] == 1) {
oldX = tiles._x;
move = true;
}
} else if (Key.isDown(Key.UP)) {
dir = "u";
if (map[heroY-1][heroX][1] == 1) {
oldX = tiles._x;
move = true;
}
}
}
if (move == true) {
if (dir == "u" && tiles._x+tileW>oldX) {
tiles._x -= 5;
tiles._y += 2.5;
tiles.hero._x += 5;
tiles.hero._y -= 2.5;
} else if (dir == "d" && tiles._x-tileW<oldX) {
tiles._x += 5;
tiles._y -= 2.5;
tiles.hero._x -= 5;
tiles.hero._y += 2.5;
} else {
scroll();
move = false;
}
}
I was wondering why this is, does that meen I better not use 'else' statement to gain speed?
Why Is It So Slow
hello, i just put up a temp page for a client. but it is taking forever to download and the .html page is only 876kb. i have it named default. in the folder is the flash file and the html file only.
how do i trouble shot this?
www.rccbrooknam.comhttp://www.rccbrooknam.com
Slow Down
Hi,
I have been making a website in flash, and although the final file size is only 55kb, the movie does have a huge number of small components (lots and lots of small graphics blocks).
The movie has a preloader, which loads up the entire site before the first proper scene is visable, but my question is this...
Can having a large number of components have a negative effect on the outputted movie even with a small file size?
For example, the whole thing appears to slow down, and the movements appear to be a bit jerky - is it my imagination or is something wrong?
Does it perhaps depent on my processor?
Any help is greatly appreciated.
Damaged
How Do I Slow It Down?
I've been trying to figure out how to tweek this script to make the object gradually slow down as it approaches its goal, could someone enlighten me? I'm including the unadultered code:
Code:
MovieClip.prototype.follow = function (leaderX, leaderY, speed) {
// only move if we're not at the destination
if (this._x != leaderX) {
// determine distance between clip and destination
deltaX = this._x - leaderX;
deltaY = this._y - leaderY;
dist = math.sqrt((deltaX * deltaX) + (deltaY * deltaY));
// allocate speed between x and y axes
moveX = speed * (deltaX / dist);
moveY = speed * (deltaY / dist);
// if the clip has enough speed to overshoot the destination,
// just go to the destination. otherwise move according to
// the clip's speed
if (speed >= dist) {
this._x = leaderX;
this._y = leaderY;
} else {
this._x -= moveX;
this._y -= moveY;
}
}
}
Button:
Code:
on(release) {
_root.box.onEnterFrame = function () {
_root.box.follow (300, 50, 20)
}
}
Lag/Slow Down
Ive just made a short .fla movie and have noticed in some parts it lags (slows down) is this a common occurance? Any way to prevent it?
Slow PC Sim - How Do I Slow Down?
Hi, kids.
Um, I built some stuff in Flash, which I thought was kinda groovy, and then I took it to a mates place, and he has an old computer (celeron something something), and it looked like, well, horrible.
I was hoping someone may know of a piece of software which would slow down my computer ie. make my P4 think it's a P3 (or P2) or something. I was hoping this because, the thing I did had lots of alpha in it, which is kinda nice, but on a slow box, just looked awful and chunky, and was hoping to preview it on an 'old box' so I could go and optimise the code/take out all the alpha bits.
Incidentally, I found a program called "Web Optimiser" at xat.com, which is sort of useful -> you can set it up so that you can look at a web file on your hard drive through the software, and slow it down, so that it's like looking at it on a slow modem (without having to upload to the internet)->you can also see the preloaders working too, so that's cool.
Um, yeah. I've heard of Mo'Slo, but that seems to be more for old retro gaming under DOS, and I was looking for Windows friendly device.
Thanks muchly!
Too Slow
my web page run to slowly. i think it need to much processor.
what can i do to make it work fast?
www.cisternasltda.cl
Slow Slow Slow
I am making a simple flash document to highlight web pages. They fade in and out using a motion tween and tint. I made the images into buttons so they can go to the actual website.
Most of these frames work really well, but almost to the end, the frames slow down and nearly stop. You can see how each frame is moving and it is jerky. Does anyone know why this could happen???? How can I fix it?
Thanks.
Going TOO SLOW
Hi!
I'm making several flash movies that combine to make a website calledCondiff Photography and im havig a little trouble with the size of the movies, especially the movies with the pix in them. The movies are just taking awhile to load and i dont know what to do. I've already resized the pictures. and have done other things to try to make it faster. In my website i am working on (weddings>>>smith/durham). My problem is with the thumbnails and with the pix. Thanx in advance.
Austin Condiff
Go to: http://www.condiffphotography.com
Slow Mo
Hey i was just wondering, is there a way to make a movie play in slow mo by pressing a button instead of extending frames or changing the fps in the whole movie, such as an actionscript alternative maybe?
well just wondering cause that would be cool to have a slow mo button that could slow down the movie, then another to speed it up and so forth, but if there isnt oh well,
thanx if u can help.
or could you help me understand the code in this site?
tuneUp() [fps]
Why's It Slow?
Anyone help me tweak this code? It's slow....
code:
if (_root.platform == 1) {
// Mac platform
_root.Buttonclose._x = 5;
gotoAndStop(3);
} else if (_root.platform == 2) {
// Windows platform
_root.Buttonclose._x = 775;
gotoAndStop(3);
} else {
nextFrame();
}
Thanks!
EDIT: Added [ as ] tags - jbum
Why So Slow?
Hey all,
I have a page located at: http://www.deetonline.org/new
For some reason, everytime someone views this page, one's computer resources get extremely low. Checking the task manager will reveal that the computer is using close to 100% of the computer's resources. Is it because of the "bubbly" effects that were included? Any insight would be much appreciated. Thank you.
Don Ho
Slow On Mac, Not On Pc
why is there such a big difference in the speed of a swf on a MAC and PC. Viewing the same swf-on a MAC, it appears so slow..and on a PC it is fast. Why?
Everything Is SLOW
I'm kinda new to FLASH but I'm making this site:
http://infostarproductions.com/to_Mike/mikey/newsite
and even with preloading everything, the ammount of stuff going on is making it run SOOOOOO SLOWWW! Is there any way I can fix this?
Hey I Need Some Help With Slow Down
I am createing a graphic arts flash peice right now and I am having trouble. I have had this problem before but it wasnt this bad. I am creating a really large file. It has a rain animation and when the rain animation plays instead of going smoothly it doesnt go from frame to frame fast enough. In other wordes it goes to frame 1. stops fora second then goes to frame 2. It is so bad that I am having trouble doing anything in the workpace becuase you have to click on something wait a minute for it to register, then move it, then wait for it to register ,ect,ect. I have seen on the internet larger and for complicated flash movies and they dont have any problem but a long load time. I had compressed previouly and that was slowing it doewn so I uncompressed it and that helped. I think the problem is that it is running off hard-drive memory, when it needs to be using the video board. I dont know if that is true though. If it is what should I do. Please help
Maybe I Am Slow
My question for all the masters out there is. How do they use or how do they get real life color.. for instance chrome or something that looks metalic? are they just using a real photo or is there just something i am missing? i hope you understand what I mean. Thanks.
Slow Swf
I finally finished my site ( I had some help) and when I test the fla and swf in the fla folder everything works well. I copied the swf to a html folder and suddenly the swf plays very slowly. The music plays at the correct rate, but all of the animations are playing too slow. Any help would be greatly appreciated.
As3 Slow
this goes in part with the preloader question i asked on another thread, but maybe someone can clear this up for me:
Code:
//MC_Ground is the movie clip that i have exported to the first frame via library.
private function build_layer(build_layer:Sprite) {
for (var i:int = 0; i<tile_row; ++i) {
for (var j:int = 0; j<tile_col; ++j) {
var layer:MC_Ground = new MC_Ground();
layer.gotoAndStop(4);
layer.name = 't_'+i+'_'+j;
layer.x = (j*tile_width);
layer.y = (i*tile_height);
layer.width = tile_width;
layer.height = tile_height;
layer.gotoAndStop(1);
build_layer.addChild(layer);
}
}
layerStage.addChild(build_layer);
}
why does this cause flash (using as3) to slow/freeze while loading
while
Code:
for (var i = 0; i<map.length; ++i) {
for (var j = 0; j<map[0].length; ++j) {
var newname = 't_'+i+'_'+j;
layers.attachMovie(type, newname, ++tileDepth);
layers[newname]._x = (j*width+(width/2));
layers[newname]._y = (i*height+(height/2));
layers[newname].gotoAndStop(1);
}
}
for example (my older as2) code runs immeditaley without the slowdown?
Is my as3 bad coding? as I thought the as3 code should execute much more quickly.
Why So SLOW?
I've had this issue for at least a year and I'm finally fed up enough to post the question: does anyone know why Flash gets so SLOW if you are working with graphics you've drawn yourself that contain many (as in hundreds) of lines and text boxes? Is this normal? Is there any way to fix this?
These graphics are not drawings, they are mock-ups of government forms -- basically we put forms (some of them 3 or 4 pages long) into flash using lines and text boxes so that we can demonstrate the correct way for employees to complete them. We "draw" the forms, then convert them to graphics to work with them.
By the way, when I say slow I'm referring to the workspace, not the export or loading speed. I will click a keyframe and literally have to wait three or four seconds for the frame to highlight. My co-workers who work on these same types of Flash files have the same problem. And no, it's not a RAM or other hardware related problem.
Is this just my fate b/c there are so many items on the page or am I being an idiot and missing some step I need to take to make my life easier?
Why So Slow On A Mac?
I recently switched from Flash 8 Pro on a PC to the same on a Mac G5. For some reason doing even trivial things on the Mac version seem to be at least 5 times slower then (using the same file) on a PC. I don't think there is a lot of different in the processor speeds, at least not enough for what I am seeing.
When I flip out to a different application and then back into the flash, it freezes up for about 30 to 45 seconds before it lets me continue. Which is really a fricking pain when you are trying to flip in and out to copy and paste text in.
Also publishing this small file (404kb) takes about 10 minutes. Compared to much more complicated flash files that I have built on the PC this is crazy. The same file on my PC is about 30 seconds to publish.
Has anyone else had similar issues? Is there an update or something I can do? Is it something to do with Suitcase?
Any info would be appreciated!
Too Slow
Heya all, Im having a problem with the refreshrate of this movie, im simply moving an mc across the screen, using a bit of actionscript, but for some reason, no matter how high I set the fps, it still runs juddery like. Now the MC im using is quite big, and is all vector graphics, but surely it shouldn run quite so slow should it?
Any ideas how I can make it run a little more efficiently?
Run. Then Slow Down.
i want my movie clips to run, then slow down. so far i have this working nicely. THE CATCH! it's not triggered by an onKeyDown, because I have cpus in the game, not just the main character. I have a group of functions achieving my goal, but I know there must be a better, less messy way!! could you give me a hand?
ActionScript Code:
topSpeed = 2;
xSpeed = 0;
ySpeed = 0;
weight = 2;
var i = 0;
function checkFall() { //this keeps my character just above the ground in case he falls through, but if he is not touching he will fall. i would like to find a different method for this as well. but i can easily just change it so he goes to the _y of the ground.
if (this.hitTest(_root.bg) == false) {
if (ySpeed<10) {
ySpeed += .05;
}
this._y += ySpeed;
} else {
ySpeed = 0;
this._y -= .05;
}
}
function walk(topSpeed) {
if (xSpeed<topSpeed) {
xSpeed += weight/10;
}
if (xSpeed>topSpeed) {
xSpeed -= weight/10;
}
this._x += xSpeed;
checkFall();
walking = true;
}
function slowDown() {
if (xSpeed>0) {
xSpeed -= .01;
}
if (xSpeed<0) {
xSpeed += .01;
}
this._x += xSpeed;
checkFall();
}
onEnterFrame = function () {
walking = false;
if (i<120) { //this tells the character to walk for 1 second, then slow down to a stop.
walk(topSpeed);
i += 1;
}
if (walking == false) {
slowDown();
}
};
This is the swf
Swf In Swf Slow
I'm developing a website in Flash and to decrease load times I slit it up in several SWFs. There's the main SWF (containing background, menu, etc) that loads all other SWFs. I noticed that when I do that, the loaded the SWFs are becoming slower than they should be, let's say their fps gets halved.
What is happening is that the CPU shoots all the way up to 100%. When viewing the SWFs "standalone" (not loaded by the main SWF) the CPU usage is "only" around 75%, so something is definitely wrong with (some of) my SWFs.
test site: http://twsteel.com.php5.nognietonline.eu/
flash files: http://twsteel.com.php5.nognietonline.eu/flash/
- All SWFs run at the same fps, 36.
- The slow SWFs have hand made animations
- slow SWFs use transparency
The slow SWFs are: manual, distribution and intro.
I'm going to test now if it could be the transparent objects we used. Hope to post the results asap.
Has anyone any experience with this and/or a solution to it?
Thanks in advance,
-FB
Take A Look, Slow MC
http://personales.ciudad.com.ar/diabolus/
Ok,Im pissed off cos the scrollbar is damn slow! its a movie clip
what Im scrolling,is that the reason? and how can I improve it?
Too Slow
my web page run to slowly. i think it need to much processor.
what can i do to make it work fast?
www.cisternasltda.cl
Why Is This So Slow?
I'm currently working on a Flash job (my first big one). The Flash movie is rather large (1 mb) with an audio track that accompanies it. Certain sounds in the timeline are tied into what's displayed (i.e., there's a drum bang and the picture changes). When I play the file on my computer, it plays great. However when I play the file off of a website, there is a ton of lag in the display. However, the Audio plays fine, resulting in the audio track being off. I checked the html page to see if it was setting a frame rate, however it is not, and my computer should have more than enough power to handle it. Any ideas? If you need a site link I can send it, let me know.
Thanks!
SLOW .SWF
Hi friends,
my .swf it's playing so slow everytime when I'm Exporting the Flash Movie.
Any suggestions please?
[Fl9] Slow IDE
Hi,
when clicking through the elements (clips, buttons, shapes) of my sceene
it takes long time until the clip (or whatever) is selected. Also when
clicking with double click into the clips it is very slow. Is there some
preferences to speed things up or is Flash 9 just slower then Flash 8?!
Thanks for any help.
AS3 As Slow As AS2?
ok, i've made a simple comparison test (due to a performance issue i had with a more complex app). the app adds 10000 movieclips to stage, each of them with a random color and random alpha. i've done this in as2 and as3 (as2 compiled in flash authoring, as3 compiled with mxmlc). the result is kind of freaking me out ;)
AS2 build time: ca. 6s
AS3 build time ca. 1s
so far so good. but then, i resize the window so i can see all the rects, then i just do nothing. nothing! i just leave the window open:
AS2 cpu: 99%
AS3 cpu: 99%
so.. well.. WHY??? i of course can see flash handling 10000 timelines.. some timers perhaps.. but i've also tries with shapes, and it's still going to 50%, that just doesn't feel right. i've published to 120fps, less improves.
anybody has an idea? i hate when things take cpu where nothing happens.
Attach Code
// AS3:
package {
import flash.display.DisplayObject;
import flash.display.Sprite;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
/**
* @author sev
*/
public class TestApp extends Sprite {
public function TestApp() {
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
var s : DisplayObject;
for ( var x:uint = 0 ; x < 100 ; x++ ) {
for ( var y:uint = 0 ; y < 100 ; y++ ) {
addChild( s = new SimpleRect() );
s.x = x * 9;
s.y = y * 9;
}
}
}
}
}
import flash.display.MovieClip;
internal class SimpleRect extends MovieClip {
public function SimpleRect() {
this.graphics.beginFill( Math.round( Math.random() * 0xffffff ) , 0.5 + Math.random() / 2 );
this.graphics.drawRect(0, 0, 8, 8);
this.graphics.endFill();
}
}
// AS2:
Stage.scaleMode = 'noScale';
Stage.align = 'TL';
var s : MovieClip;
for ( var x:Number = 0 ; x < 100 ; x++ ) {
for ( var y:Number = 0 ; y < 100 ; y++ ) {
s = createEmptyMovieClip( 'bla'+x+'_'+y , x *100 + y );
drawmc( s );
s._x = x * 9;
s._y = y * 9;
}
}
function drawmc( mc : MovieClip ) {
mc.beginFill( Math.round( Math.random() * 0xffffff ) , 50 + Math.random() * 50 );
mc.moveTo(0,0);
mc.lineTo(8,0);
mc.lineTo(8,8);
mc.lineTo(0,8);
mc.lineTo(0,0);
mc.endFill();
}
Why Is It So Slow ?
Hi volks...
another problem... sometimes i think iŽd better return to html.... damned ...
ok looking at my page:
http://www.oliver-schulte.de/amateur
you can rollover the buttons and an arrow occurs...
the movement of this arrow is quite fast (framrate of movie is set to 100 !!!)
all works fine using mozilla 1.1 latest flash player plugin
using mozilla 1.2 or opera or some newer version of the ie, the motion of the arrow is as slow as hell...
and i donŽt know what causes the problem. If i only play the swf file all is ok, but unsing one of the above mentioned browsers motion is really slow....
any ideas of the cause of problem? maybe a solution ?!?
Slow On A Mac, Here's Why...
I have an old G4 Dual 450 Mac that I'm testing my animation on. My animation was running really slow on this Mac, but fine on the PC. I narrowed the problem down to having wmode set to transparent.
Code:
wmode="transparent"
This runs fine on the Mac:
http://www.iuinfo.indiana.edu/projects/olympiad/
But this page has wmode set to transparent, and runs really slow on my Mac:
http://www.iuinfo.indiana.edu/projec...ex_trans.shtml
(Both play fine on my PC)
Anyone else seen this problem? Any ideas? I would really like to keep the wmode set to transparent.
Slow Down
On my website I have an mp3 player that use xml to load songs. My site runs at 40 fps. but with the mp3 player running it looks more like 20fps.I've tried it witout the mp3 player and it runs fine.
Has anyone ever experienced this problem? is there better way for me to load music that won't slow down my site?
[f8] Slow Swf
i'm very new and I want to get better any body have any advice for me? It seems like every flash site I make runs slow.. could it be the advanced roll over buttons?
http://www.krissygordonmusic.com - check this out, I have this hooked up to a CMS that I build for the news content. But it seems to run kinda slow. I'm on a Mac - does this have anything to do with it? I also run FireFox.
if anyone can tell me what to do to get back or share with me how they got better at flash I'd greatly enjoying hearing!
thanks!
|