Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Small Framerate Question



If I have a _root swf set to 12 fps and load another swf (set to 30 fps) into an empty movieclip, will they both run at 12 fps, or will the _root run at 12 fps and the loaded swf run at 30 fps? If they are both running at 12fps (due to the root) is therr a way to have 2 different framerates running at the same time?



FlashKit > Flash Help > Flash MX
Posted on: 07-24-2002, 12:24 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Framerate Of Loaded SWF Changing Framerate Of Main Movie?
I don't understand why this is happening, as everywhere I read said this was impossible, but - I have my main movie defined as 24fps.

I use the following code to load in an SWF that happens to be 12fps.

ActionScript Code:
_root.ImageLoop.createEmptyMovieClip("anSWF", _root.ImageLoop.getNextHighestDepth());
    _root.ImageLoop.anSWF.loadMovie("./InsulinClip4plasma_12fps_mx.swf");

As I understand it the main movie should control the framerate so I was terribly shocked when I found my main movie runs at 12fps after loading in that swf.

Does anyone know how I can circumvent this?

Thanks!

Video Framerate / Movie Framerate Issues
Hi all,

I have one swf, say "loader.swf", running at 40 fps loading a video swf, say "video.swf", exported from sorensen squeeze running at 25 fps.

Now, what I thought at first was video.swf would adjust to the framerate of loader.swf, like any other swf would, but it seems that if video.swf contains timeline video or sound, loader.swf will conform to the framerate of video.swf ?

When decompiling the swf from sorensen squeeze there´s also a "framerate=25.00000" action at frame 1. Is this some kind of secret movie property, or just a simple way for loader.swf to get the video framerate?

What happens to loader.swf when i unload media.swf? Will it go back to its original framerate?

Couldnt find any info on these slightly puzzling issues, anyone with experience from this?

Nick

Small To Large To Small In Actionscript
Say I wanted an "a" to go from 100 xscale/yscale to 200 then back again as in normal tweening, how would I do this in actionscript? Here is what I thought of but didn't work:

if(this._xscale<>200 and x<>1){
this._xscale+=5
this._yscale+=5
}
}else{
x=1
}
if(x==1 and this._xscale>100){
this._xscale-=5
this._yscale-=5
}

Am I Blind..? Small Small Bugg But Where..
maybe i´ve got my eyes in my ass but I can´t see where it goes wrong...
works fine in flashplayer 6 but not 7 & 8

onClipEvent (enterFrame) {
loading = this.getBytesLoaded();
total = this.getBytesTotal();
percent -= (percent-((loading/total)*100))*.25;
per = int(percent);
percentage = per+"%";
loadBar._width = per;
if (percent>99) {
_parent.gotoAndStop(2);
}
}


somebody?

tnx

Big MC Made Up Of Small MCs Not Reflecting Change Made To Small MC
Hi, I hope someone can help me. I have a large movie clip (screen size) that is made up of 30 small movie clips called 'element1'. I was hoping to load a small (screen size) external movie clip into this 'element1' movie clip and knock out the existing content. This it does, but because the large movie clip was made up of 30 movie clips I would have expected after the content of 'element1' was replaced with the external SWF file that the whole of the large movie clip (made up of the 30 small clips) would have changed to reflect the change in swapping over the targeted 'element1' movie clip. All that is happening is that only the targeted 'element1' is showing the swap. Do you have to refresh the screen or something?
Any help would be appreciated.

Cheers

FrameRate
Is it possible to control the frameRate of a movieClip, independently of the main movie frameRate?

So if my main movie runs at 60fps, I need my movieClip to run at 25fps.

Also if I'm loading a movie into another movie, can I control the movie frameRate of the movie I'm loading in, to be independant of the host movie.

Thanx

Nick

Right Framerate ?
Hello,
I just wonder, what's the right framerate to use ?!
The moving of my objects really looks smooth with 40fps. I wonder if it's ok using such a high frame rate. Is there a kind of "rule fo thumb" ?
Thanks a lot in advance.
cheers
Stefan

Framerate
I have a movie at 24fps, but when I publish it, it seems to run much slower,(perhaps 12fps), is this normal, and can I change this ?

Max Framerate MX (mac/pc)
hello all.
Got an old-new question:
what is the maximum framerate that will play on all platforms? 15, 18?

The flash player 5 wouldn't play faster than 15 fps on macs.

any input?

thanks,
FF

Framerate
Haidiho!

Is it possible to use different framerates in a external swf. My level 0 swf has got a framerate of 20 and my level 1 has 60. But the player takes over the framerate of level 0!! Can I change that?

E.

Framerate?
How do you guys make a nice flash animation without it "lagging"? I tried making some, but it keeps lagging, thought may be because of my framerate (60fps), but if i drop it too low, it becomes ugly. ...

Framerate?
I have a big problem...I'm using an animated navigation that looks great using 50 fps. If I would do a site with this framerate..where are the problems? Someone knows if there are sites using higher framrates than the usual 12fps?
Another question is if there is a way to load movies with different framerates and keep them going on with them?

thanks a lot!

Swf Framerate Lag?
wondering if someone can help me. I've created an animated flash header for a website, and it just does fairly simple transistions from one image to another. For some reason the framerate seems to drop partway through the movie. The clip is set at 30 fps, exported at version 6 (was created in MX 2004).

Here's a link to the movie: header.swf

The clip begins to lag near the end of the first image transition..

Here's the .fla file if anyone is interested: header.fla

I have a slower PC, but i've been told by several people that the movie lags even on fast processors..

What Framerate To Use?
last time I made an animation I used the default framerate and some people told me that its better to use a higher framerate. What do you think is a good framerate to use, or what is the lowest framerate that shoudl be used?
Thanks, Matt

Which Framerate/s?
hello at all,

i´ve got some problems regarding to my flash site i´m creating.
for now i´m making the layout and some 3D animmations which i´ll put in this. my questions are:

1. how many fps do usually choose?
2. if i choose fps of 12 for my mainmc and then load another mc in it(my 3D mc),i.e. in level1 or a container, needs the movie at level1 also the fps of 12?
3. can there be different fps of the movies when they are in different levels?

thanks in advance for ur help.

best anfd greets

t

Framerate
I'm curious as to how frame rate plays into downloading a flash animation. Would it make the file much larger or harder to play on slower computers or because it's vector based would it not matter. And is there any standard as to what fps to use for flash animating? Thanks!

Framerate
Does anyone know of a way to have a certain framerate in one scene of a movie, and another framerate in the next? ie: Scene 1 FPS=30, Scene 2 FPS=50. Thanks in advance!

Framerate
is there a way to change the framerate of a movie via action script?

I have a power bar that moves up and down, but it moves too slow (but I need there to be that exact number of frames) so is there away to speed up the framerate when the powerbar starts moving but then put it back to normal when it stops?

Thanks!

Edit: I am using Flash 5

edit2: ack! sorry! I was too quick to post as this thread deals with this exact question http://board.flashkit.com/board/showthread.php?t=692273 mmods feel free to delete this thread (sorry for being a pain... again)

Different FrameRate
hi
how can i use a equalizer like this (http://www.flashkit.com/movies/Scrip...6641/index.php)
if my movies are 35fps ans the eqaulizer is 120 fps?
if i load the equalizer in the main swf it goes very very slow obviously.. how can i do?
thanks!

Different Framerate Within The Same *.fla
In my main file I have the standard framerate 12fps.

In a movieclip I have used this code;

Code:
function timelineFaster() {
nextFrame();
updateAfterEvent();
}
var tweenFaster:Number = setInterval(timelineFaster, 42);
on the first keyframe, and this make the movieclip
play faster in the main movie.

But when the movieclip comes to an end the movieclip-framerate
seems to transfer to the main movie, and the mainmovie speeds up.

What can I do to avoid it?

- helmer -

Framerate
Hi,

I have a fla that contains only a framerate componant that displays current / average framerate.

If I put the framerate up to 120,

The average framerate after 2 minutes is 34.

There is nothing else in the fla.

What is going on?

Thanks

FrameRate In AS3
Hello,

I know there is a method to control framerate in a movie using AS3. But is there any way to get the frameRate of an external SWF file that is loaded inside another using actionscript?

Any help would be highly appreciated

Get Framerate
Hi Folks,

Maybe you will find it useful - I know there has been several versions.


PHP Code:



Object.prototype.getFps = function() {    
    if (signal == true) {
        time = getTimer();
    } else {
        tempo = int(1000 / (getTimer() - time));
    }
    signal = !signal;
    return tempo;
};

// Aufruf
this.onEnterFrame = function() {    
    txtAusgabe = getFps();
}; 




yours
Matze K.

[FMX] Framerate MC
How do i change the framerate of a movieclip without changing the framerate of the main movie?

Tutorial or simple script examples are ok

[as2] Different Framerate Swf Flv
Do you know what happens when you put a 25 fps flv into a 30 fps swf?

Thx

Framerate
Okay, first of all, forgive me, for I know this question has probably been asked a thousand times before, but I didn't quite find the thing I wanted with the search button.

Anyways, I'm planning on creating a full flash website with lots of effects, so what Framerate should I use?

Thanks

Framerate
Is there any way to get the framerate of the current movie using AS?

[FMX] Framerate MC
How do i change the framerate of a movieclip without changing the framerate of the main movie?

Tutorial or simple script examples are ok

FrameRate
how do i change the framerate of a movie during the movie?

Framerate
What is best framerate to show flashpage and how big framerate I can put in my movie?

Getting The Framerate
hey,
As you know in flash if you are making games, if you have lots of graphical stuff the computer can get laggy. This is basically depending on the people's machine, how much RAM ect.

I wanna do it so that it's allways smooth, to do this I need to know what the current frame rate is. Then depending on the numbers I would do certain actions to reduce the graphics. But how do I get the FPS??

I don't mean the one I set, I mean when it is lagging horribly, is there a way to tell flash that it's lagging?

basically I need a statement that tells flash that if computer is lagging, turn variable on. Any ideas?

Recommended Framerate?
Looking at the Flash Sites of the day, I've noticed one big similarity among most of them: they seem to have graphics that move incredibly fast, yet very smoothly. Even http://www.2advanced.com moves relatively smoothly on my machine, which has a sucky video card.

What's the max framerate you guys would recommend?

Change Framerate Via AS - Possible Or Not?
is it possible to change the framerate of a swf via actionscript.

thx,
kay

Set Framerate At Runtime
Hello ppl,

anybody knows howto set framerate at runtime? Or maybe a tutorial which could help me out?


Thanx in advance!

Help Please Framerate Problem
http://www.interpaul.nl/schaapskooi/Movietest.html

can you please give me some info on how to make the framerate go up?

heres the deal. the site itsself is ok, but as soon as you press a button on the board another movieclip comes ontop of the whole site and shows a scroll that roll open.. thats where the problem is .. i has MASSIVE framerate drop on most of the pc's here. pIII800. thats bad!..

i think its all the text on the screen that causes the framedrops. its all behind a mask that opens up, as the scrolls openup, all motions are tweened, (yeah i know i should use scrpit, but its an update of an old site and i dont have the time to do a complete remake).

has someone got some ideas?

thanks in advance!
greets
Martijn.

Framerate Question
Hi All,

If i have a MC (MC1) at 24 fps and i stick it into a movie that is running at 12 fps (MC2)...will i still get 24 fps from the embedded MC in when i play MC2??

thanks all

Framerate Riddle
what is the best common FRAMERATE in order for a standard computer to visualize GOOD FLASH ANIMATIONS. computers like pentium II´s or pentium III´s. Im mean what... 10fps, 15fps, 20fps, 25fps, 30fps, 35fps? i dont know, please help me. Thanks in advanced guys.

Optimal Framerate
I'm starting work on a new flash site and I just wanna know what framerate you guys would recommend? Thanks.

Changing The Framerate Using AC?
Bit of a long shot but here goes anyway:

I was having a convo with a mate of mine and we was wondering about "Is it actually possible to change the frame rate using actionscript so you can have a very high fps for the intro and in the next scene have a frame rate of something around 18"

Anyone got anyideas? Im a bit a n00b wen it comes to AC but if you could help it would be absolutly FAB.

Cheers,

Altering Framerate
Hi,

Can you help me - I'm trying to alter the frame rate of my flash movie by the press of a button. I know this can be done but I can't find out how - can someone point me in the right direction?

Thanks!

Framerate After LoadMovie
i have a big movie running at a framerate of 15 which loads several other movies from the filesystem using loadMovie().

these movies have sometimes a different framerate.
how exactly is the framerate changed? i guess its using the parents framerate, but im not sure?

is there a way to avoid this?

is there a way to avoid the scaling to the size of the parent movie?

thanks!

Changing Framerate
Hello again, my movie has a framerate of about 12fps, well in certain parts of the movie, liek certain objects.. i would like to speed tehm up to like 30 or so , but i catn figure out how to simply change the framerate on certain objects. i jsut want like text to change frame rate, not the whole movie

Why Does My Framerate Change?
i wanted to ask anybody out there for help im having trouble with an animation.
i have a movie clip and it is zooming in and out and moving around and for some reason the framerate changes as it goes thru the tweens.

i started it out at 24 fps (frames per second) but for some reason as it goes thru the tweens it drops to as low as 6 fps and comes back up sometimes. this makes the animation all jittery and dumb.

how can i get it to keep a steady framerate?

LoadSound And Framerate ?
Hey everybody, heres a fun one. I have a loadSound function that works great on a IE6 PC. If I run it on a IE 5.1 MAC it doesn't work properly. On a PC the sound loads, the volume gets set to 0 and the sound stops.
On a MAC, every sound I have in the movie(event and streaming) get stopped. The only sounds that play are sound inside of buttons.
Basically what is suppose to happen is, after the intro plays the site loads up and plays the 1st song in the jukebox. My framerate is at 60fps. Could that be too fast for the function to work correctly on a MAC?
Heres the test link:
http://www.theanglephotography.com/index_test.html


function loadMusic() {
myMusic = new Sound();
myMusic.loadSound("track1.mp3", true);
myMusic.setVolume(0);
myMusic.stop();
}

Any ideas out there? I'm ready to pull my hair out with a friggin pair of pliers!

Thanks

Framerate And SetInterval
i have trouble with some movies running slower on some platforms/OS's.
Is there a solution by making the movie timebased (by using setInterval for example) instead of framerate based. So how do i do that (applying setInterval on the movie itself) is this a good idea anyway.

Framerate Component Here
Hi,

I made this little component, which lets you control the framerate independent from the movie framerate. To install, exit from flash and click on it. Just put the component into frame 1 of your movieclip and enter the parameters.

Control Framerate?
Hi all,

does anyone know if it's at all possible to control a movies framerate using AS?

tnx

Detect An Swf's Framerate ?
Is there a way to read the original frame rate of an swf?
I've searched all over but I can't find a property or any
variable to get this value at runtime.

Thanks,
Chris

Ideal Framerate?
What do you guys think that s an ideal framerate, for flashmovies with a high quality

Copyright © 2005-08 www.BigResource.com, All rights reserved