ActionScript 3.0 :: Get The Difference In Minutes Between 18:30 And 19:15?
Aug 23, 2010How do i get the difference in minutes between 18:30 and 19:15?
View 1 RepliesHow do i get the difference in minutes between 18:30 and 19:15?
View 1 RepliesI just upgraded to Flash CS4 on my laptop. program that used to take 5 seconds now takes up to 2 minutes. I installed the 10.0.2 update, and searched the web for a solution. I am desperate because all of my programming is based on CS4. I know how to compile a swc and use FlashDevelop with the compiled graphics, but this isn't a solution for me. Whenever I need to make changes to the graphics I can't wait this long. I am using an HP dv5-1190. This meets the minimum requirements by far.
View 2 RepliesI am working in Flash5. My problem is that I want my animation to run after every 5 minutes.
I mean that when I run my fla file, it should load my animation when 5 minutes has passed, then there should be a break and screen should become blank and then again after 5 minutes it should appear and run. I want this process to keep on happening. If this is not possible, can that be done through HTML code as I want to put it on my web page, what would be the html coding in that case. An important point is that, I want the coding to be in FLASH5, if done in flash.
I need to execute a function every 30 minutes including once immediately.User loads my flash swf, function gets executed.. 30 minutes later, it does it again.. and so on..
View 3 RepliesHow I can create a timer that will start from 00:00 and will stop at 3:25 or 2:53 and etc and stuck in that position? And I want it to be in a format of 59:59 (60 minutes and 60 seconds) and NOT in 99:99.
View 3 RepliesI am rather new to actionscripting and am looking for a script or something that will automatically return to frame 1 after 5 minutes of inactivity and then reset the timer. It will be used on an interactive sign that the user can click through like a website but I want it to reset so when the next user uses it, they begin at the main page. I am using Actionscript 2, with CS3 on a Mac. I have tried different scripts that I have found on the net and can't get anything to work.
View 2 RepliesAfter 5-10 minutes of use my application disconnnects all users....does anybody know some general causes of this or how do i fix it...........in the server logs i get code 600 normal disconnect.
View 1 RepliesDoes anyone know what would make a movie slow down the longer it is open. Theres nothing that I can think of this is constantly running, but after about 15 minutes of the website being open it slows down almost unresponsive.
View 10 Repliesim really new to flash, how do i go about creating a variable which will get the current date and time and add 30 minutes to it ?
View 2 RepliesIs there a way to compare the current time to a bunch of times (loaded from XML) and have it figure out which is the closest to the current time?
View 3 RepliesI've made this flash intro:[url].....(make sure you get the Dutch version to see it).It works fine, but after a couple of minutes, playback starts to slow down and it gets slower and slower. It's a simple looping timeline slideshow. I figured that perhaps of the looping, new instances of the slides are created every time, so I added this to my code, to remove a slide after it has faded out:
ActionScript Code:
var clip:MovieClip = MovieClip( mcc.cc.getChildByName( "Slide" ) );
mcc.cc.removeChild( clip );
It doesn't make a difference.Removing the large bitmap images doesn't make it better either.Playback in FF and IE slows down faster than in the desktop flash player.
I need to make a dynamic text field display Sound.duration like 1:30sec instead of 90sec (for exemple...). I was not a maths major... I studied that long ago... I think... But I have no clue...
View 8 RepliesI've checked the forum a couple times, couldn't find an answer.this file gets local time, and then adds 5 minutes to it, problem is that when the minutes gets to 60 it continues because it's getting the actual time from the first time and just adding 5 to it
View 2 RepliesI want some Script for the Count Down timer of 15 minutes in the end of Timer i need to show another thing any regarding this thing
View 3 Repliesmy kiosk program runs fine - for a while.It's set to go to remove all eventListeners, go to frame 2, load and play a random f4v if the mouse isn't moved in a preset interval. after the video's finished it removes the stream and goes back to the main program on frame 1.This all appears to work fine for about 20 minutes on a 10 second timer, however the program crashes after about 20 minutes regardless of whether the program plays as an SWF or executable. My guess is that this is because I'm not clearing everything out in each loop, and that there's a build-up that eventually clogs the program and it falls over, but I can't see anything more that I can do to clean up.
[code]...
My problem is this: I built a Flash website, but it is painfully slow to load up (3-5 minutes) when I visit the site (via Firefox, etc). Once it does load up, everything is fine with navigation, etc. I'm having a hard time figuring out why its taking so long to load up on the web because, basically, I don't know how to trouble shoot.Details: the site is just a portfolio site with pictures and a few motion-things, no complicated animations. The swf file is about 9MB. I do have a flash preloader, but it doesn't show up until after the 3-5 minute "load-up" time. When I do the testing via Flash, its Ok and doesn't show the lag. But once I upload the website files and try to visit my website, the load time problem occurs.My thoughts: do I have to purge my Flash file/library of unused images before creating my swf file? Is there a problem with my html code in my index fil Just in case, here is the html code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
[code].....
I am trying to create something in which even when the flash file is already loaded and never closed, it will update itself. All the variables that are changing are pulled from a text file and loaded using
myData = new LoadVars();
myData.onLoad = function(){
and then I set all of the variables of the text equal to dynamic text fields. My question is: Is it possible to have it reload this text file (reset the text fields to the new variable) every so often?
I am however hosting an event at the end of this month to which I need countdown timer that counts down 30 minutes from when I begin playing the movie.
00:00:30:00 -> 00:00:29:55 and so on until the movie reaches 00:00:00:00.
If possible.. I'd like that movie to open an additional flash movie once that timer has reached 0, if that can be done. - But for now I'd just be happy with a simple countdown timer that counts down from 30 minutes.
Now I HAVE tried to utilize the various tutorials that are about, the problem is they all seem to be WAY too complex for what I'm looking to do here...As I said all I'm looking for is a flash document that will countdown from 30 minutes once i've opened the movie..
How would I get a timer function to reset after no buttonswere pressed for 3 minutes?Right now I have my timer starting on load, and then when abutton is pressed, it stops it. I basically want to restart itafter 3 minutes.
the code I have:
[PHP]var timer:Timer = new Timer(5000);
timer.addEventListener(TimerEvent.TIMER, playSlides);
[code].....
I'm having an incredibly annoying problem with Flash CS5 on my Mac that is making the software absolutely unusable.
If I open a previously worked on file and start deleting layers and moving keyframes, the screen never redraws the interface. As in, if I delete a layer, I don't actually see it go away. It's still there in the interface. Minimizing/maximizing does nothing to refresh the interface.
Since the beginning of nov.2010, it crashes after some time of use. More precisely the toolbar disappears, then reappears, some GUI elements blink. It's not related to a specific user action. When this happens, closing flash is difficult (the window remains here). When switching to another app, some Flash parts remains The graphical memory seems saturated. Launching another app is met with a window error message. A windows restarts becomes necessary.This problem arises only in Flash, and with no other apps from CS3 suite.2 colleagues of mine has the same issue, also in the last weeks (= nov 2010). We work in separate places. We didn't exchange files.We are on Win XP Home Edition, Dell computer.They have more recent PCs than mine (which clearly meets the CS3 requirements), with enough memory,etcOne colleague has reinstalled winXP. The problem arised again, but I don't kow when. He also tried CS4 and CS5 and had the same problem.Today he un-installed all Adobe products with this utility:
View 2 RepliesWe are testing IP Multicast, with Flahs media player 4.0. We set up the encoder and generated the manifest file. Multicast start, but we see lot of bufferring and video running fast. After about 2 minutes, the encode stops publishing to the server. We are using digital rapids as the encoder.
View 3 RepliesIs there a setting for the length of time a video plays. Video streams are stopping after playing for about 4 minutes.
View 3 RepliesHow can I tell when a user has been idle for say 5 minutes on my Flex app? When I say "idle" I mean the user has not interacted with the application at all.
View 5 RepliesI'm trying to find out what the time is through a Date var and changing the hours in it.Does anyone know how to do that? I guess in pseudo-code i would like something like this:
function updateTime(d:Date)Void
{
Var nowTime:Date() = new Date();
[code].....
I have been searching and trying different methods to locate how to calculate minutes and seconds of an audio file that has been loaded within my public class. Does anyone know how to get seconds/minutes with a loaded sound object? I can easily do it with video, but it seems a bit harder to find info on calculating sound object length in minutes and seconds.
Currently, my class:Loads the mp3 file Contains pause/play, mute/unmute buttons and they function beautifully A scrub bar - this is the piece I am currently working on. I want to add a current time and total time (minutes/seconds)Scrub bar contains progress area bar - already built and functioning
I am working in Flash5. My problem is that I want my animation to run after every 5 minutes. I mean that when I run my fla file, it should load my animation when 5 minutes has passed, then there should be a break and screen should become blank , and then again after 5 minutes it should appear and run. I want this process to keep on happening.
if this is not possible ,can that be done through HTML code as i want to put it on my web page,what would be the html coding in that case. An IMPORTANT point is that, I want the coding to be in FLASH5,if done in flash. If done in the form of fla file,
As per title said how to calculate the hours and minutes for 2 diferent values eg;
value 1 = 9.15 AM
value2 = 2.45 PM
So I want calculate how many hours and minutes between this 2 values..
9.15 AM -----> 2.45 PM
I'm trying to solve an AS 1.0 elapsed minutes. In MS Excell this should be easy but i'm having a hard time in Flash MX. I have an equation such as this:
Start: 1/28/08 9:00 AM
End: 1/28/08 10:19 AM
Duration: 79 mins.
In Excell I can plot this easily such that if Start is in R23 and End is in R25 my equation would be:
R25-R23*1440
and I get the 79 mins as a result.
i have had cs4 for a long time now, and yesterday it suddenly took flash 10 minutes to open a document. i have loaded different documents to see what is the problem and found out it was the documents containing a lot of code (on frame1) that made him almost freeze. it takes ages to open medium size .as files, and even editing normal stage objects takes about 5 times longer. flash takes about 25% of cpu. i reinstalled, restarted, cleared aso, nothing.
View 2 Replies