Screen To Freeze For A Few Seconds?
Jun 4, 2009I'm making a platform game and i want the screen to freeze for a few seconds when it hits an object (eg, Spikes) the after it has finished freezing i want it to repeat the frame again.
View 2 RepliesI'm making a platform game and i want the screen to freeze for a few seconds when it hits an object (eg, Spikes) the after it has finished freezing i want it to repeat the frame again.
View 2 RepliesI've created a basic mp3 player in AS2, that reads mp3s from a xml file and lists them in a playlist. As its a custom player for a client project, there's some additional features such as volume muter and time limit. Anyway, my problem is, on some computers this player freezes the browser for 10secs and then resumes as normal, but on other pc's it plays fine without a hitch.
All computers tested were
Win XP
Firefox 2.0.0.12
IE 7
So I cant really pinpoint why it would freeze the browser. Here's the player [URL]. Does it freeze your browser for 10secs then resume as normal, or? Here's the source file [URL].
I have just re-installed Flash CS4 onto two Vista machines (laptop and desktop) and the response time of the authoring screens is ridiculously slow on both. For example with the Actions Panel displayed, it takes 18-20 seconds to move the cursor along a line of code.
All other CS4 appilcations such as Photoshop, Fireworks and Illustrator all work very well and have no such problems. The computers have plenty of hard disk space and RAM (eg. Acer Aspire Desktop new computer with 1Tb disk and 3Gb Ram) and the CPUs are running at less than 50% (task manager) and there are no other apps running. I have disabled Kaspersky Internet Security 2010 with no effect.
I'm making a game where little parcels appear and if they aren't dragged to the correct zone within 5 seconds, they disappear and the player loses points. The problem i'm having is that i'm generating the movieclip parcel objects as follows:
[Code]...
currentParcel is 1 of 3 (randomly selected) movieclip names (redParcel, yellowParcel and orangeParcel).
What I need to do is add some code to say "after a movieclip has been generated...if it is still here in 5 seconds time. It sounds simple but I can't figure it out for the life of me! I've tried setInterval with something like: timedProcess = setInterval(timeCheck, 5000);
but how can I pass the actual movieclip "handle" along with the function so that timeCheck knows which movieclip to delete?
i've got 5 images. i want the following things to happen:
1. the placeholder movie clip automatically tweens to adjust to the image's dimensions.
2. the transition between each image is a la: www.barbariangroup.com -- front page when you enter
3. the images stay on the screen for approx. 5 seconds each.
I need to have a series of four numbers appear randomly with fade in and out and stay on screen for a couple of seconds each. These are then linked through to separate movie instances that display relevant information regarding that number and then go back to the random numbers. There are options to randomly display text from an external file, but not library objects within the same movie. I have a cobbled together version using scenes and timeline animation, but it's repetitive. It needs to be more random and effective as a visual element.
View 2 RepliesI am using an external actionscript file, and I have dynamically loading images that stay on the screen for X amount of seconds (the user can set the value of x), then it loads the next image. However, this user would like for there to be a transition, For Example, have it fade out and have the next image in line fade in after the image has been displayed on the screen for X amount of seconds. This user would also like a loading bar, much like the one on the flash banner here: [URL] between each image transition.
I also have it so when someone hovers over a button, the flash banner stops, once they rollout X is reset to 1 and starts the counter again, and sets the movie to play at frame 1. Here is the actionscript file: [URL]
I'm getting a data which contains a certain number.
I need to find how many hours, minutes and seconds it stands for.
for example:
I'm getting the number 248 which means:
00 hours : 04 minutes : 08 seconds
When i use time varaible and then minus the time. Ive noticed that flash does not count down in seconds, but the speed of light. My maths are not very strong so how can i get flash to count in seconds
var time =60;
sprite.onEnterframe = function(){
time -=1; ( this counts faster than seconds)
}
I'm trying to figure out how I can make the sound file that I load into Flash start at x seconds and end at x+30 seconds.So basically, I just want a 30 second sample to play starting at a specific time position. Does anyone have any advice on how to do this or have links to somewhere I can read up on it?
View 4 RepliesI'm working with the youtube API and I'm getting the current time on the video as seconds.What I want to do is to convert them into this: MM:SS.I've tried to google and try different things by myself but nothing seemed to work and be efficient.
View 4 RepliesI am currently using the following code to display the secconds of a FLV being played:
ActionScript Code:time_txt.text = Math.round(_root.video_mc.videoZ.playheadTime*100)/100;I need to change this to display MM:SS (minutes:seconds) rather than just seconds and decimals.The javascript people here at work suggested something like this:
ActionScript Code:
function strPad(str, places, pad, side) {
while (length(str) < places) {
[code].....
I have a video player and trying to make a time indicator of minute and seconds.
View 3 RepliesMac, Flash CS3. How do I make a progressive downloaded flv-video freeze at the last frame instead of jumping back to the first frame again when the video is finished?
View 1 RepliesFlash freezes when in fullscreen, youtube or any other site. Disabling hardware acceleration works but significantly lowers the playback quality. I'm running XP SP3 and WIndows 7, same problem with both OSs, in IE, Firefox, Opera, and Google chrome, so it's definitly the adobe flash player that's causing the problem. Tried unninstaling adobe flash player and adobe activeX completely, than downloaded latest versions and installed them. Then I tried unninstaling them, unninstalling all the browsers, restarting, then installing the browsers and then the latest flash player.
View 7 RepliesI've set up my custom Flash video player and am almost there but would like some final touches and advice on how to do that. How do I get a freeze frame to appear instead of the buffer bar when the clip ends?Here is my code:
Code:
var nc:NetConnection = new NetConnection();
nc.connect(null);
[code]....
I am currently developing a platform game. The hero is controlled by the player using the following script:
code: /onClipEvent (load) {
var ground:MovieClip = _root.ground;
var grav:Number = 0;
[code]......
I found this as on youtube it it works but is there any way to make it freeze on a certain frame?i only started flash 3 days ago.[code]
View 3 RepliesI am new to flash, and I've never done animation before, so I'm a little confused on how to make a symbol movie clip, freeze and then keep moving.
Do I need to do it frame by frame?
I made a character walk from off the stage to the center by using a motion tween and it appears to be moving because I edited the symbol to make the legs move. But now I don't know how to make the legs stop when the character reaches the end of the motion tween. Is it even possible?
I have 3 varibles idle walking and jump. for some reason when i goto walk the animtion wont play just the first frame but everyting else does idle and jumping[code]...
View 0 RepliesI would like to stop all movieclips at once (and all nested movieclips of course) but I have no idea, how to do it. Do I need to stop each movieclip separately?
View 11 Replies1) I want a 60 seconds video to start playing after 40 seconds have been downloaded - to do that I set the NetStream.bufferTime to 40 seconds and retrieve "NetStream.Buffer.Full" event causing the video to really start playing. This step is OK.
2) However, the "NetStream.Buffer.Full" causes data to stop downloading. So the remainder of the video begins to download no sooner than after the 40 seconds have been played. This step is my issue. Can anyone tell me how to avoid this unintended effect? (i.e. playing a video and downloading data at the same time?)
I have my site set up so each page is its own movieclip, and when my buttons get clicked, they tween alpha out from the current page and then tween alpha in to the desired page.This works most of the time, but I do get those odd occurrences where the tween (whether it be from fade in or fade out) just stops - leaving the page with a half alpha.I've tried everything from renaming my variables in my functions to making them the same names, and to no avail.
CODE
var currentPage:MovieClip = index;
var nextPage:MovieClip;
[code]....
why does my exported .mov file freeze/skip? I exported a .mov if HD 1280x720 and it freezes/skips. If I convert it to another format it's okay. Is it my video card or am I am not exporting it right? I used the h.264 and compressor quality best.
View 1 RepliesI am very frequently having Flash CS5.5 freeze up whenever I try to copy and paste Library content between two different FLAs. The object I'm copying is usually a Movie Clip with some child Movie Clips.The larger or more complex the FLA you're pasting into, the worse the problem seems to be.I''ve experienced this on two different systems, Both Macs running 10.6.7.The problem is bad enough that it renders 5.5 unusable.
View 1 RepliesI am using Flash and Photoshop CS5 for a college (HND) project (by which I mean, a single document for a Flash portfolio) and, Flash in particular, they keep appearing to freeze (i.e. they temporarily show as "Not Responding") whenever I save and take forever to save. My computer is quite low spec. (I intend to get another high-spec one but until that point) and possibly insufficient for what I am trying to run. However, I have only recently started having this problem and the saving is so slow that it is hampering my development of the project..
Is there at least a short-term solution to this? I really need to get on with the project and I can't when it's running like this. Flash also occasionally crashes so I can't risk not saving it regularly as I could lose work.
I have a flash movie loaded into my browser.Is there any way that i can pause it and then resume it.I tryed SuspendThread() for all the browser threads but the movie won't freeze
View 1 RepliesI have my site set up so each page is its own movieclip, and when my buttons get clicked, they tween alpha out from the current page and then tween alpha in to the desired page.
This works most of the time, but I do get those odd occurrences where the tween (whether it be from fade in or fade out) just stops - leaving the page with a half alpha.
I've tried everything from renaming my variables in my functions to making them the same names, and to no avail.[code]...
I'm making an MP3 streamer in AS3 and it works fine for normal length files, but for long files the whole movie becomes unresponsive for maybe a second.[code]
View 1 RepliesI created a website for my motorcycle club, and for some reason, certain members say that the preloader freezes half way through loading! Can somebody check out my .fla file and let me know if there is something wrong with the actionscript. Or if there is another script I can add to it to check if it frooze or to force continue..
[Code]...