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




How To Change Frames Speed (FPS)?



Hi guys!

i have a problem, my main scene is running at 60 fps and when i load a movie into it using the 'loadMovie' code, that movie too becomes 60 fps. how can i get the loaded movie to play at its normal 25 fps speed?

is there any simple code?


thanks guys!



FlashKit > Flash Help > Flash ActionScript
Posted on: 10-23-2007, 04:25 AM


View Complete Forum Thread with Replies

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

Can You Speed Up Frames?
Sorry I suck, can you speed up frames in an MC? Thanks

How Do I Change Speed The Speed?
Is there a way to change the speed of an object on Mousemove OUTSIDE the movie.
I have to make a small animation (about 6px x 600 px) in the header of a HTML-document with a flash-animation that changes speed when you scroll the mouse over the body of the html-document.

Is this possible?


Niek

Possible To Speed Up Movie Without Touching Frames?
I want to speed up a movie, but not manaully move the frames closer together. Is it possible?

Set Frame Speed For All Frames Dynamically
Hi,

I'm trying to give users 2 different ways of viewing my .swf.

1) They click on button and it jumps to that frame and stops

2) They click the Play button and it plays all the frames at a slower speed (<1 fps)

I've got option 1 working. But I can't get option 2 working. Any ideas? I'm thought setInterval would help but I am only familiar with using that to control the speed of a given frame, not my entire timeline.

The only workaround I could come up with is that if they choose the "Play All" button it loads another copy of my swf that plays all the frames automatically. Using this code on each frame:

stop();
var interval:Number = setInterval(function () {
play();
clearInterval(interval);
}, 4000);

The problem I have with this is that after it plays I'd want to unLoadMovie so I can continue to display the original swf that gives the user the option to navigate to whichever frame they choose. And I haven't got that working either!

I've been trying to learn from examples/tutorials I've found online, but I'm stumped. Ideas?

Thanks,
Erin

How Do I Change The Speed...?
hello all

can anybody tell me how to change the speed on this effect?? not to sure what i need change..

// create mc that will contain all the squares
mask = _root.createEmptyMovieClip("maskMC",1);
// square size
size = 20;
// init
c=0;
r=0;
// wait however long before squares disapear (in frames)
stallFor=20;

for (i=0; i<560; i++){
// create square mc
mc = mask.createEmptyMovieClip("mc"+i,i);
// draw the square
mc.lineStyle(1,0x000000,0);
mc.beginFill(0x999999,100);
mc.moveTo(0,0);
mc.lineTo(0,size);
mc.lineTo(size,size);
mc.lineTo(size,0);
mc.lineTo(0,0);
mc.endFill();

// position the square
mc._x = r * size;
mc._y = c * size;

// set random properties for movement scaling etc
mc.delay = stallFor + r;
mc.rot = random(20) - 10;
mc.scaler = random(6)+6;
mc.mvx = random(5)+2;
mc.mvy = random(20)-10;

// set on enterframe function for the square
mc.onEnterFrame = function(){
if (!this.delay) {
// do movements
this._rotation += this.rot;
this._xscale = this._yscale -= this.scaler;
this._x -= this.mvx;
this._y -= this.mvy;
if (this._xscale < 0) {
// remove it when we are finished with it
this.removeMovieClip();
} else {
this._alpha-=this.scaler/2;
}
} else {
this.delay--;
}
}
// sort out position in grid
if( c<19 ){
c++;
}else{
c=0;
r++;
}
}

Change Speed Of A MC.How?
Hi!
I have my main movie that has it fps set to 12.Is there a way to make a MC with an animation moving faster for instance 20 fps?

How?Could You send me some examples?

Change X Speed With Actionscript?
Hi,
im making a platform shooter game, and ran into a little problem. When my hero turns around and shoots the bullets are comming out of his back.
im using the code:

laserMoveSpeed = 20;
this._x += laserMoveSpeed;

What script do I use for to make that:

laserMoveSpeed = -20;
this._x += laserMoveSpeed;

tnx.

How To Change Speed Of Animation Please? :)
yo sup all!
im new in this site, im from israel im 13 old...
im trying to change speed of animations in flash but i dont know how..
if any one can help me with it i will be very thankfull

neo_se@walla.co.il

Change Playing Speed
I want to control the flash playing speed.what should I do?

Change Combobox Speed
Is there any way to change the speed of the combobox in MX 2004 so that it comes down quicker?

P.S. Has anyway else had a terrible time searching the forms? I can never get any results...it just times out.

[CS3] Change Framerate NOT Speed
I would like to increase the fps of my flash project without altering the speed. I could go through and add frames, but this will take far too long. Is it possible to do this automatically?

Change Animation Speed
Hi,

Does anyone know if there is a simple way to slow down only certain parts of a flash movie?

I know you can change the overall frame rate, but that would affect the whole movie, and I would only like to change the rate for certain animations.

Any ideas would be much appreciated!

Change Movie Speed
Hello

I want to change the speed of my animation within the movie... set two different speeds in the movie... I tried to run a search on set intervals but can't find anything...

Does anyone has a direct link to it? or can anyone simply tell me how to do it?

thanx

Change Speed Of A _yscale Tween
I have the following AS on a simple movieClip
can i make the change in scale happen with easing?
or does the onEnterFrame make that impossible?

code: onClipEvent (enterFrame) {
_yscale = _root.gAmpLeft9;
}

gAmpLeft9 is my variable with a number value that changes onEnterFrame

flash 8

[F8] Change Speed Imported Swf (external)
Hi all!

I have build a flash site with a portfolio.
The portfolio contains flash animations I made before.
Ofcourse, all with a different frame rate.

So there I have my problem.
The imported swf files adjust there speed to the main file.
But they should play at their own speed :-(

Can I get this fixed somehow?
I am a afraid it is not possible (huge problem)... but maybe you know????

TNX!!!!

Text Tweening - Speed Change?
I have a quick question about motion tweening text and speeds. I've seen text motion tweened (often in banner ads) where the speed seems to change. For an example, check out this:

http://www.istockphoto.com/file_clos...php?id=3907298

See how the white text seems to move quickly at first and then slow significantly before stopping? How is this achieved? Thanks.

Change Speed On Running SetInterval()
Hi

I just started out with flash and actionscript a couple of days ago..

Yesteday I started making a vertical menu.. When you move your mouse over one of the selections, another object slides to the same y-postion as the rollovered button..

I did this by checking some y-values and then use setInterval() to start moving the object until it is at the right place.. So far everything is just fine..

Now i'd like to make it change speeds depending on how close it is to it's final position.. So I'm wondering, is there a smart way to increase/decrease the speed of the setInterval refresh while it is running? I'm pretty sure I could work this out by starting and stopping the setInterval with different values for the refresh depending on how close it is to it's final position, but a solution like that feels a bit bloated.. It would be nice if there is a way to chage it while it is running..

I start it by using moverID = setInterval(moveBox,20);

and then the movebox function does the actual changing of the _y property.. the best thing i guess would be if i could just add some code to the movebox function, and have it check some stuff and then change the update interval..
Maybe i shuld just do an if() and check some differences in postion and depending on the value clear the interval and then set it again.. but i'm not sure it works to set the interval within the function that runs with help of the setInterval..

Hope you get what I mean.. I'm very new to actionscript..

Any ideas?

Thanks,
Kenny

Looping A Timeline With Speed Change..?
Hi all - first thread!


anywho;

I need to create a function for speeding up and down a looping clip.

imagine a rotating object, triggered by an action, and slowly decreasing in speed, till it reaches a point 0 (compare a hand spinning a fortune wheel).
now, this is quite an easy this to achieve, since you just have to set an interval to increase rotation, with a value that decreases over time (on every call), till it finally reaches a stop.

BUT: how to create the same effect by playing a looping clip? say i want a 3D effect, which I cannot script since it's based on actual photos, and hence needs to be developed over a timeline, that needs to snap back to the beginning after every cycle.

since a looping clip (at least as far as I know) can basically only be achieved by having the last frame call a gotoAndPlay/-Stop(1), the playhead must hit the last frame, and so effectively every frame needs to be hit on every cycle, which means that to increase/decrease speed can only be done by changing the speed of the interval that calls the nextFrame().

so, how to do this? I have tried nesting one interval in another, where the containing interval changes the interval value of the inner on every cycle. but I can't get it to work...

can i use an Array perhaps? load all frames (graphics) in an array, and have them shift a certain about of steps?

appreciate all input/new ideas! think I might have dug myself into a hole here, as far as thinking "out of the box" concerns.

AS3 Camera Shutter Speed Change?
Does anyone know if it's at all possible to change the shutter speed of a user's camera?

I'm trying to do a project where I need freeze frames of Jowls, but the default webcam shutter speed it too slow.

How To Change The Speed In The Snow Tut [renamed]
Which part of this code do I change to make the speed of the 'snowflakes' faster? (from falling snow 0.3 tut):

init = function () { width = 800;height = 500;max_snowsize = 5;snowflakes = 350;for (i=0; i<snowflakes; i++) {t = attachMovie("snow", "snow"+i, i);t._alpha = 20+Math.random()*60;t._x = -(width/2)+Math.random()*(1.5*width);t._y = -(height/2)+Math.random()*(1.5*height);t._xscale = t._yscale=50+Math.random()*(max_snowsize*10);t.k = 1+Math.random()*2;t.wind = -1.5+Math.random()*(1.4*3);t.onEnterFrame = mover;}};
mover = function () { this._y += this.k;this._x += this.fall;if (this._y>height+20) {this._y = -20;}if (this._x>width+20) {this._x = -(width/2)+Math.random()*(1.5*width);this._y = -20;} else if (this._x<-20) {this._x = -(width/2)+Math.random()*(1.5*width);this._y = -20;}};
init();

Change Speed Of Random Motion
i was wondering if it was possible to change the speed of the random motion. i was using Suprabeener's AS for flash MX. thanks for any help.

=ryan=

Change Framerate / Playback Speed
Does anyone know a way of changing the framerate of a movie clip? I want to have a looping animation that can be made to play faster or slower..? Just for the clip though, not the whole movie.

Dynamically Change Video Playback Speed?
hi all.

i've googled this endlessly but not finding much... i need to be able to dynamically affect the playback speed of video in flash. i need to be able to noticeably speed or slow the video itself. has anyone done anything similar or have any suggestions as to how it might be done, or where i might look?

any help/input/tips would be great - i'm stuck!!

thanks!

Problem: How To Change Speed Of Animated Object
Hello to everyone! I installed Macromedia Flash a few days ago, cause my job compelled me to do some animation. It sounds pretty easy to make it. I have to do something like this: a few object moving (sliding) on the screen. I did it by the method: Using a motion path. The problem is, that all object are moving with the same speed but in my solution they should move in different speeds (one faster than another). My question is: how could I change (accelerate or to slow) a speed of a moving object? Thanx to everyone who would try to help me.

How To Change Alpha Depending On Movement Speed...?
Heyo all, I'm a newbie to actionscript but I kinda have to jump in at the deap end (well deap end for me) due to my work. I have some a simple script which makes a small box follow the mouse about the screen, the box also has ease so it slows down as it reaches the mouse. What i would also like is for the box to fade out to 0 alpha depending on its speed...so full speed following the mouse would be 50% and when the mouse is still or away it goes down to 0% as the speed slows.

I porbably could have explained that a lot quicker but I'm finding it hard to explain. Can anyone assist me

if you go to this site www.stalker-game.com and look at the menu, there is a small sliding box which does exactly what I'm after

EASY Q: Change Text Tween Speed
Greeting, I am moderately new to Flash. I would like to have text that flys in from the left, and comes at a pretty fast clip, until it gets closer to its final destination on the stage, in which it will slow down until it stops.

This is a fairly common process in a lot of good flash movies, and I assume it has something to do with the way the text is tweened.

So many thanks, please, simple language, whereas I'm fairly novice,
Stephen
Tallahassee, FL

Move A MC With Constant Speed And Change It To Ease In
Hi!

How do I do this?

I want to move a mc with constant speed until it reaches a certain x/y value then it slows down and stop. All in as of course.

Change Speed And Length Of Path Of Motion
How can I change the speed and length of path of a vertically moving object by user input values in Flash 8?

Can You Change The Speed When Viewing A Flash File?
Ok i need some help!

I am viewing a flash file...and i want to be able to reduce the speed of it drastically...is there any way?

Also it is on a website so not on my computer

Please someone help!!!

Move A MC With Constant Speed And Change It To Ease In
Hi!

How do I do this?

I want to move a mc with constant speed until it reaches a certain x/y value then it slows down and stop. All in as of course.

Super Smooth Alpha, W/ Ability To Change Speed
I am looking for a super smooth script to change the alpha of a MC. Been looking through posts/tutorials and find decrement variable scripts that change progressively by 5 or 10, etc...

I need a statement that is divisible by a number, creating speed that is changeable.



I have a MC that I am using a prototype function to move. I need to have it fade out while moving.

Anyone point me in the right drection?




Much Thanks.

How Do You Change Playback Speed Or Pitch Of Audio Files?
Please please please if you can help. I'm making a DJing tutorial in flash and can't find any information on changing the playback speed, or pitch, of audio files as they are played or loaded. Does anyone know if this is even possible?

Any help is greatly appreciated

Thanks

Pete

Multiple Clips Keep Horizontally Evenly Spaced After Change Speed
I've been struggling with this for days.

I am trying to imitate the text effect from this website:

http://www.bale.com.au/home.php

I can't keep the movie clips spaced evenly once I change the speed of movement on the x coordinate.

This my code:

Quote:







/////////////////////////////////// Text related scripst


function placeText(target:MovieClip, x:Number, y:Number, banner:String, tFormat:TextFormat, effectFunction:Function, delay:Number):Void {
// For each character...
var my_array:Array = banner.split("/");
for (var i = 0; i<my_array.length; i++) {
// Create a clip and place the current
// character in the text field inside it.

var char:MovieClip = this.attachMovie("letter", "char"+i, textNumber+i);
//char.field.text = banner.substr(i, 1);
//char.field.autoSize = true;
char.field.text = my_array[i];
char._x = x;
char._y = y;
// Add the width of the current text character to the
// next letter's x position.
x += (tFormat.getTextExtent(char.field.text).width)-40;
//
var theTextLength:Number = tFormat.getTextExtent(this["char"+(i-1)].field.text).width;
var theArrayLength:Number = my_array[i].length;
trace(theTextLength);
// Here is the effect function call, passed in as a parameter
// Here is the effect function call, passed in as a parameter
effectFunction(char, i*delay);

}
}

function slideText (target:MovieClip, delay:Number):Void {

target.interval = function() {
target.visible= true;
clearInterval (target.intervalID);
target.onEnterFrame = function() {
target._x -= acceleration;
if (Math.abs(target._x-target.startX)<1) {

acceleration = 4;
//delete target.onEnterFrame;
}
if (target._x<150) {
textSlide3(target, 0,-200);
//delete target.onEnterFrame;
}
};
};



target.intervalID = setInterval(target, "interval", delay);
target.startX = target._x;
target._x = 800;
//target._visible = false;

var acceleration:Number=(target._x-target.startX)/9;


}




function textSlide3(target:MovieClip, delay:Number,targetX:Number):Void {
target.interval = function() {
target._visible = true;
clearInterval(target.intervalID2);

target.onEnterFrame = function() {

target._x -= 20;

if (target._x < -200 ) {


//target._x -= (target._x-target.startX )/6;
//target._x=target.startX;
//target._x -= 2;

//textSlide2(target, 0);
delete this.onEnterFrame;
counter++;
trace(counter);
if (counter == 11){
placeText(TextHolder,650, 200,"help/I/am/struggling/with/this", format, slideText,600);
}
}


};
};

target.intervalID2 = setInterval(target, "interval", delay);
//target._x = 0;
target.startX = target._x;


//target._x =targetX;

}


var format:TextFormat = new TextFormat();
format.font = "Arial";
format.size = 24;
format.color = 0xffffff;

var counter:Number=0;
var TextHolder:MovieClip=this.createEmptyMovieClip("Te xtHolder", this.getNextHighestDepth());
var TextHolder2:MovieClip=this.createEmptyMovieClip("T extHolder2", 7000);
placeText(TextHolder,650, 200,"help/I/am/struggling/with/this", format, slideText,600);

stop();






Any advice would be greatly appreciated

Interesting Movie Clip Speed Change Depedant On Time Between Mouse Clicks
I've set up a crude but entertaining link between my rowing machine and my PC with an old mouse and flash. Flash records and processes the mouse clicks for information and also displays a rower moving accross the screen in increments with the mouse clicks.

My problem is that for completion I would like to get the rower moving in time. I can get him to start a stroke at every click but he starts a new stroke even if he hasn't finished the last one as it depepends how fast i'm rowing. I would really like to vary the time it takes for him to finish the stroke.

I wanted to record the time between two mouse clicks and then get the rower to row his next stroke for the same duration. So if it takes 2 seconds to do a stroke (2 seconds between mouse clicks) the rowers next stroke takes 2 seconds, if it takes 1 second for a stroke (1 second between mouse clicks) the rower takes 1 second (the clip plays for 1 second)

I was thinking about advancing each frame a after a dynamic number of seconds which changed relative to the time between mouse clicks.

The rowers stroke sequence is a tween moving backwards and forwards of 20 frames.

Any ideas???

Thanks in advance

D'oh Can't Change Frames Within MC.
Hi all,

Just a quick, probably stupid question. I have a button within a nested MC, which is working properly, except for the gotoandplay command. It just skips this command and goes on to the next line. If I drop the button on the stage by itself, no problem. It must be a targetting problem. How do I let it know I mean the main timeline, and not that of its MC?

thanks in A

Possible For Php To Change Frames Of .swf?
I've created a flash movie with multiple frames. On frame 2, there is a form that utilizes a .php script to enter the data into a SQL database. The .php script checks to see if there is already data associated with the KEY variable that is passed to the db. If that KEY variable already exists in the db, I want the .php file to load an error message into the flash video on frame 2. If the KEY variable does not already exist, I'd like to direct the new user to the login page which is located on frame 3.

Is there such a .php command that will load the flash movie and tell it to begin at a certain frame (the equivalent of gotoAndStop actionscript)? ...in this case, 2 for error message and data re-entry and 3 for succesful data entry/login? I'm currently using a header() to re-direct back to my website from the .php script.

Maybe there's an easier way to do it, but I'm stumped.

[F8] Change Frames
Im making a flash myspace layout but ive come to a problem. Im not that experienced at flash so bear with me. My problem is I cant figure out how to make it when someone clicks on "About Me" it would change to the frame with my about me on it.


From this:


To this:


(yes i know... top navigation seperators arn't lined up.)

Links That Change Frames
I'm making a page that has 3 frames on it. Two frames are html based and one is flash based. I'm wondering if there is a way to click a button in the flash based frame and have it change one of the other frames. Is this possible?

Change Frames With Javascript
Hi,

I'm trying to change frames in my flash move when a user clicks on link in my HTML page. I'm using a javascript function to pass the variables, which by the way works, but I can't get it to go to a frame and play. I've tried GotoFrame(#) but that doesn't work. Play() works, but I need it to start on a specific frame? Any ideas? Here is what I a have for my javascript function:

function add2Favorites(id) {
//alert("This function is not yet available.");
window.document.Navigation.SetVariable("PerformURL ", "ID="+id);
window.document.Navigation.GotoFrame(5);
window.document.Navigation.Play();
}

Name/Id of move is "Navigation".

Thanks!
Dave

Change Tween/frames
edit: (I found the answers to my other questions):

How can I go two scenes ahead. nextScene only brings me one...

Change Dimensions To Several Frames
Hello:
I have tried with onion paper to change dimensions and coordinates to
several frames at a time and does not work. Can you help me, please?

thank you

Change Frames Into Time
Can anybody offer any help on converting totalframe numbers into total time.


I'm using Flash 5...

It's easy for me to get the totalTime:

framerate = 15
totalTime = ((myMovieClip._totalframes/framerate));


...but that usually produces a number with a long remainder (X.XXXXXX). What I would like to do is get it in the format of:

X:XX

Thanks for the help.

? CAN Mouse Position Change Frames?
How would I make the mouse position change frames of a MC?

Mouse Left = << (move animation backward)

Mouse Right = >> (move animation forward)

[Edited by phallex on 01-16-2002 at 07:31 PM]

Play 15 Frames And Change Scene
i need a button to do exact that. when u click the button it must play 15 frames and then go to other scene.

i can`t tell to go to other scene in the last frame because there are a lot of scenes and buttons that have to do the same.

5 buttons - 5 scenes - play 15 frames and then change the button-scene


send help!!!!!

Preloader? Want To Change % Into # Frames Loaded
I have found this preloader script but i want to change it to load up to frame 47 in my movie and then play, instead of load all of it.
What do I change in this script to do that?

frLoaded = getProperty(_parent, _framesloaded);
frTotal = getProperty(_parent, _totalframes);
factor = frLoaded/frTotal*100;
if (factor < advance) {
tellTarget (_parent) { stop(); }
percentloaded = int(factor) add "% loaded";
setProperty ("bar", _xscale, factor);
} else {
tellTarget (_parent) { play (); }
}

Making A Flash Nav Change Other Frames
Ok how to explain this. Ok I have a 2 frame site i want to make. so lets call the frames "top" and "Bottom". Now i have my nav in the bottom frame. When you click on lets say picture button the bar drops down to show thumbnails of my pics. I want people to be able to click the thumbnail and have the full picture load on frame "top" without changing Frame "bottom". Is this possible?

[F8] How Do I Keep Stuff From Reseting When I Change Frames?
Im making this point and click game and it seems to be working fine except when i change frames and go from one "direction" in my room to another and then back everything in the past frame or "direction" has reset itself.

How can i make it remember what ive done in the past frame? ive included the .fla and i rly rly rly would appreciate it if some1 could check it out and give me some help.

Change Color On Several Frames In The Timeline
Hi everyone:


I'm curious if there's an easy way to do the following?

I have a movie clip symbol in the library that contains about 40 frames on the timeline. The timeline itself has two layers - one contains the main drawing objects, and the second layer is supposed to be a background fill for the drawing objects. What I need to do is to change the color of the background layer on all 40 frames dynamically with the AS.

Thank you in advance.

Change Frames Based On UTC Time
I'd like to place a time-based ad on my site - essentially advertising a "happy hour" every tuesday. Before happy hour, the flash file would show one frame. During happy hour it would show something different and link to a promo. After happy hour it shows something else.
I can get this working with the user's local time using the code below, but I'd really like to use UTC so that the happy hour is the same for everyone. I've tried changing all the .get references to .getUTC to no avail.
Any help would be greatly appreciated.

alarmDay = 2;
alarmHour = 14;
alarmMinute = 11;
kMillisecondsInSecond = 1000;
kMillisecondsInMinute = kMillisecondsInSecond*60;
kMillisecondsInHour = kMillisecondsInMinute*60;
kMillisecondsInDay = kMillisecondsInHour*24;
mySetAlarm = function (alarmDay, alarmHour, alarmMinute) {
var d = new Date();
var dm = new Date(d.getFullYear(), d.getMonth(), d.getDate());
var ms = dm.getTime();
var day = dm.getDay();
var dayD = (alarmDay+7-day)%7;
ms += dayD*kMillisecondsInDay;
ms += alarmHour*kMillisecondsInHour;
ms += alarmMinute*kMillisecondsInMinute;
var df = new Date(ms);
trace(" Setting alarm for "+df);
var msDiff = df.getTime()-d.getTime();
alarmHandle = setInterval(myAlarmAction, msDiff, alarmDay, alarmHour, alarmMinute);
};
mySetAlarm(alarmDay, alarmHour, alarmMinute);

myAlarmAction = function (alarmDay, alarmHour, alarmMinute) {
clearInterval(alarmHandle);
gotoAndStop(10);

};
mySetAlarm(alarmDay, alarmHour, alarmMinute);


alarm2Day = 2;
alarm2Hour = 14;
alarm2Minute = 12;
kMillisecondsInSecond = 1000;
kMillisecondsInMinute = kMillisecondsInSecond*60;
kMillisecondsInHour = kMillisecondsInMinute*60;
kMillisecondsInDay = kMillisecondsInHour*24;
mySetAlarm2 = function (alarm2Day, alarm2Hour, alarm2Minute) {
var d = new Date();
var dm = new Date(d.getFullYear(), d.getMonth(), d.getDate());
var ms = dm.getTime();
var day = dm.getDay();
var dayD = (alarm2Day+7-day)%7;
ms += dayD*kMillisecondsInDay;
ms += alarm2Hour*kMillisecondsInHour;
ms += alarm2Minute*kMillisecondsInMinute;
var df = new Date(ms);
trace(" Setting alarm for "+df);
var msDiff = df.getTime()-d.getTime();
alarm2Handle = setInterval(myAlarm2Action, msDiff, alarm2Day, alarm2Hour, alarm2Minute);
};
mySetAlarm2(alarm2Day, alarm2Hour, alarm2Minute);

myAlarm2Action = function (alarm2Day, alarm2Hour, alarm2Minute) {
clearInterval(alarm2Handle);
gotoAndStop(20);

};
mySetAlarm2(alarm2Day, alarm2Hour, alarm2Minute);

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