ActionScript 2.0 :: Frames Per Second (fps) / Small Problem
Aug 19, 2004
I have a movie container (fps:30) that load other movie that I want on 20 fps in this movie I have 20frames on the 2 first frames a preloader and in the next 20 I have one MC with a image sequence, to control the fps of this Movie (MC) I use this code attach to my MC
FPS controler:
[code]...
Problem:The problem is that in each run of the MC my movie stop for 2 seconds and the loop is not continues how can I fix this problem Take a look by your self: http://138.188.237.103/cielo.swf
View 7 Replies
Similar Posts:
Apr 28, 2003
my preloader starts at 55 percent. this is because the first frame (if i can trust the bandwidth-profiler) has a size of 32 kb. i think this is strange, because the b-profiler also tells me the film has a total size of 35 kb. after the first preloader frames are some small files with transitions only, and then there is the main frame, which has a size of 18 kb my preloaderframe only contains a small bar and a dynamic textfield, just like the tutorial says... i ve already searched the forums, i found that quite many people have the same problem, but i didnt find any solution... i do not load any swfs dynamically. the only thing i can imagine that could cause that problem is the embed font which i use for the dynamic textfield in the preloader. is that possible?
View 8 Replies
Nov 16, 2009
I want to create a preloader that plays a certain amount of frames as it loads the rest of the frames. So, I have labels on the frames basically and need a preloader to play the "loading" frames as it is loading the "content" frames. Does that make sense? I have no idea how to even start this one... p.s. I am using AS 2.0, but if it can be done in 3.0 easier, I can switch over its no biggie
View 4 Replies
May 2, 2011
there seems to be no accepted method of playing multiple flv using buttons. My latest attempt has me putting multiple instances of the flvPlayback component in different frames and using buttons to navigate to those frames. It works but nothing anyone has posted anywhere will result in removing the flv when you go to a different frame and instance. This was simple in AS2. Load movie to a traget and each time you load a new movie the other one goes away. REALLY goes away.
View 7 Replies
Nov 24, 2011
basically im making a quiz on my main timeline ive got my questions and answers and on the last frame i want it to say how many answers the user got right. ive made a movie clip on this last frame. in the movie clip ive got 11 frames with the posible totals so frame one would be 0/10 frame 2 would be 1/10 etc what i want to do is when the user clicks the correct answer on the other frames i want flash to make the frames within the movie clip to go 1 step forward.
View 2 Replies
Mar 26, 2009
I have a function that counts days and some other variables and displays the values via dynamic text.
[Code]...
I have to place the incrementCount(): function every 12 frames so that it increments the values. Seems like it would be easier to simply modify the script to count "every 12 frames" but I can't find anything that tells me how to "count frames" in flash. Seems to be this is probably basic but I've searched unsuccessfully....so how do you do this. How do I get my script to work so it's frame based so I don't have to put incrementCount() every 12 frames?
View 16 Replies
Jan 7, 2010
Is it possible to have an movieclip of about 50 frames and navigate between these 50 frames? As if u put a marker on frame 10 and one at frame 30 and if u use a button it plays to frame 10 and stops and use another button to go from frame 10 to frame 30 and stop... and reverse if u use the earlier button.
View 5 Replies
Jan 8, 2010
I want to preload all of the voiceover swf files before a lesson starts so that they are instantly available when each frame / page that incorporates a voiceover is first visited.
View 4 Replies
Jun 13, 2010
I had a quick question, I have a movieclip with 15 frames in it with an image on each frame, and a stop action on each frame. On my main stage I have 15 different buttons, which when pressed will change the movieclip to that particular frame (so pressing button 3 would make the mc go to frame 3). I'm still rather new to AS3, but I figured the most simple way to do this was a function which was called when the buttons are pressed
[Code].....
View 2 Replies
Apr 3, 2009
I need to export a 60 animation from flash. It has text and image animation on the timeline, no actionscript. The swf file when published is 5 mb. When I export as an .mov, it is 768 mb. Also, there is some jumping and stuttering.
View 1 Replies
May 10, 2010
Actionscript Code:
function createNames(){var counter:Number = 1; for each(var ca:Categorie in arrCategories) if(ca.Name == currentMonster.name) for each(var ch:Channel in ca.Children)
[code].....
View 1 Replies
Oct 2, 2009
I've got an mp3 file of about 2 secs, that should be looped in my movie, but every time between the 2 secs there is a small pause where there's no sound.[code]...
View 1 Replies
Dec 21, 2009
It's pretty common on many Architectural and Engineering sites to have a small movie on the home page. For example: URL... I've made similar movies for my websites using flash, and there always seems to be a lag and an image icon while the movie to loads. Here is a site where the movie loads unnoticeably: hensonarchitect com. Is there a way to use flash and have the movie load without an image icon placeholder? The flash movie that I have in mind is only 90kb, so a preloader isn't needed.
View 2 Replies
Aug 11, 2009
I guess I did not finish my project yet. I have a script that will stop sound on click of the mouse, but I have a little animation running but I need to stop it with the same click of the mouse ( together with the sound) just insert stop() stop entire project and this is not good, this is a loader and it need to have ability to continue even some one shut sound of.
View 7 Replies
Jan 18, 2010
All I want is to create a line (which is part of a rectangle) with a certain height (60), which I can then resize to another height. This works if I do it by hand (or mouse ), but if I use AS3, the line (or whatever object I'm using) is too small. Not only that, but the bigger the enlargment, the bigger the difference! I have attached an .fla file that contains two examples:On the right a rectangle that is being created with AS3, on the left two lines, one is just a Drawing Object, the other one a copy of that and made into a MovieClip symbolach example will be enlarged (by 200px) and in each one you can see that this results in a gap between the end of the line and the control object (red). Also, I measured the length of the line and it is indeed to short.
View 1 Replies
Mar 29, 2011
i want to find a easy tool to make a small flash
View 1 Replies
Aug 6, 2009
I have a flex project and if I build a release version of the application using flash builder with RSLs on my swf is 115k. If however I build the same application using ant the swf is 342k. Without RSLs the swf is 520k.
How do I get the swf to be as small as the one built by FlashBuilder?
Here is my ant file I have another task that copies the rsls.
<project name="EUI Client Application" default="compileClientApp">
<target name="compileClientApp" depends="compileClientBundles">
<mxmlc
[Code]....
View 4 Replies
Jan 20, 2010
I am trying to tile a small mc instead of a bmp image and I was wondering if anyone knows what aspects of Lee's tutorial need to be changed to accomedate that?
[Code]...
I tried a couple of things and was not able to get the mc loaded onto the stage.
View 1 Replies
Jul 7, 2004
I am having a little trouble understanding why my code is not functioning. It works if I subtract and combine numbers above .1 but if I use a number below .1 the _x and _y values stop at 0. I would like the _x and _y values to go into the negative. I am using Flash MX.
function movePastCorner(mc){
mc._x = 2;
mc._y = 2;
[code]......
View 2 Replies
Nov 26, 2004
Code:
// msg_box_txt is a TextField for user input
// by hitting ENTER, it sends msg_box_txt.text
var my_listener:Object = new Object();
my_listener.onKeyDown = function() {
if (Key.getCode() == Key.ENTER) {
[Code]...
msg_box_txt should be cleared, empty, after hitting ENTER. the problem that it contains one empty line, and the cursor is at beginning of the second line. how can this be fixed??
View 1 Replies
Dec 26, 2007
im just looking to animate an object from small to big using actionscript, i understand moving objects and fading them in and out with alpha
View 2 Replies
Feb 22, 2008
Basically what i have is a intro mc on frame 1... then frame 2 is my preloader. then frame 3 is my videoclip atm. What i want to happen is have the preloader to at least appear for a small interval. So intro movie plays, then preloader plays. for a desired interval by going into the preloader_mc mc for a smalla mount of time. As of right now it loads to fast and the preloader_mc just goes right into scene3. here is my preloader code
// Preloader Script
// ==================================================
this.onEnterFrame = function() {
var bl = _root.getBytesLoaded();[code].........
View 6 Replies
May 29, 2008
first: i know. ZigoEngine is better, etc. but all i'm doing is a simple alpha fade out, swap in new image, alpha fade in. so i'm using the lmc_tween.as to keep it light. here's the code
[Code]...
View 4 Replies
Mar 11, 2010
Buteh, I sat down to create a small app to calculate X in order to solve 2nd grade equations.
So, in order to manage this I had to translate "x = -p/2 +- sqrt((p/2)^2 - q), right?
Everything works fine until I reach the step when I must perform equations with -p/2 and sqrt((p/2)^2 - q).
Adding and/or subtracting with these numbers causes Flash to return NaN.
View 5 Replies
Feb 20, 2010
Im doing a small PhotoGallery but it throws me an:
Error #2044: Unhandled IOErrorEvent:. text=Error #2124: Loaded file is an unknown type.
The code in really simple but I really don�t know what this error means o what is the reason because it pop ups.
Code:
var photoRequest:URLRequest = new URLRequest()
var photoLoader:Loader = new Loader();
photoLoader.addEventListener(MouseEvent.CLICK, unLoadPhoto);
function unLoadPhoto(evt:MouseEvent):void
[Code]....
View 5 Replies
Mar 29, 2010
flash and working on two flash files for a website. They are small, 2.20KB and 4.10 KB. I am testing them on localhost and notice the object creates a box and an icon on the screen for both of them before they load and appear
View 3 Replies
Jun 21, 2009
I want to make a list of things, when I move the mouse over an item, a small picture appears next to it. when I click on an item it sends me to another scene _page_ within the flash.
View 3 Replies
Oct 12, 2009
I have made a total flash site but the exported site is 50 mb!! Not a usable size, so I want to know how to make this site 'smaller'. there are a ton of flash sites on the www, so I must do something wrong.. What is the normal file-size for a flash site?
View 1 Replies
Apr 28, 2010
I am trying to loop a small sound file (wav file because I was told wav will loop seemlessly)...in any case, got the actionscript (2.0) to work with one simple button that acts as a start and pause... but yet, the file still doesnt loop.
View 8 Replies
Oct 13, 2011
i,m developing a HTML site and used one animated flash button(AS2) I want a small sized window to open when a user clicks on a button. The window will contain information that i want to display.It dosnt require a normal 800x600 window to open. I just want a 1/4 size of 800x600 etc.
View 14 Replies