ActionScript 2.0 :: Movie Lags While In Fullscreen?
Mar 18, 2007
I am working on a flash desktop application which requires me to have the flash to appear as full screen when run on the computer. I compiled my flash into executable(.exe) file with mdm zinc but I realise that the flash animation is lagging a lot when it is shown in full screen. I then try to display the frame rate on the movie and the movie is actually running at 10fps when full screen and animating. It returns to about 20-25fps when it is not having any movieclips animating while remaining full screen. It is running all well at 30fps when opened with flash player.
View 6 Replies
Similar Posts:
Jul 20, 2011
i created a game that has 96 still movieclips and seven more movieclips that basically move horizontally. The lag starts to rise if i add more and more moving movieclips. The game loop just basically, increment the x coordinate of the movieclips, so i don't think i have problems in the game loop.Is it normal the flash will lag once it has exceeded certain number of movieclips??if it's normal, what do you suggest to increase the game's performance?anyway, this is the update method from the game loop:
public function update():void
{
//cek kondisi untuk melakukan spawn char
[code].....
View 2 Replies
Oct 3, 2007
I have a movie that opens up full screen and load an external movie into it. No problem there but I want the loaded movie to keep its original size and not resize with the full screen movie. In the screenshot, you see how the yellow external movie loads into the fullscreen green movie. The white rectangle is only for size reference (photoshopped it in) and is not in the actual flash movies. The yellow movie is supposed to be 800x125 pixels but resizes with the fullscreen of the green movie.
View 1 Replies
Oct 23, 2009
when exporting a long SWF (10,000 frames and higher...of course not over 16,000 cause it won't export) the exported audio in the SWF will slowly start to lag behind the animation until it is completely out of sync by a few seconds at the end of the clip. i have all my sounds set to stream and they are all on the main timeline. this is a straight animation with no actionScript.i run at 24fps and export the audio at mp3/128kbs/best.
Flash CS4
windows Vista 64bit
8gb RAM
View 1 Replies
Jul 11, 2007
I have waited FOREVER for a Universal Binary version of Flash to be finally released. Now that I've finally got it, its performance is less than stellar. I'm running it on a 2.16Ghz Intel Core Duo and 2GB RAM, and there is considerable lag when renaming layers, or when dragging the timeline across a simple shape-tween. Not only that, but when I export movies (Apple+Enter), the pop-up window that plays it is EXTREMELY slow, and it's slow regardless of what's going on, even if I'm only animating a circle moving from point A to point B.
What's going on here? I've tried disabling all but the system fonts, closing the help window, and made sure I have no extensions running. Nothing helps. The horizontal scrollbar in the timeline moves from side to side with great fluidity and ease, but dragging the timeline bar is awfully slow. Did Adobe miss something here? I didn't spend $1800 on this Design Suite to be stuck with a piece of software which runs FASTER on my 2.16Ghz AMD-powered PC (which I built over four ears ago). Macs used to be the top-of-the-line in terms of Photoshop + Flash performance when they were on the PowerPC platform. But this whole Intel switch has really taken a hit on Flash.
[Code]....
View 11 Replies
Jan 24, 2009
I was wondering whether you could help me with a small problem that I am having with my first Flash animation.
I'm using CS4, and when I export the SWF and view it in Firefox, it skips/lags at certain points in the animation (specifically during some of the fast, "zooming out" text tweens - you'll see what I'm talking about if you watch it below). The odd thing is that it appears to work just fine in IE. The animation isn't that complicated, but it does have a fair amount of text tweens./[URL]..
View 4 Replies
Dec 4, 2009
I'm currently streaming an FLV as a website background and I'm having some lag issues with it. The streaming works fine however it lags the website to the point where its difficult to use the button rollovers. This is done in AS3. Here's the link to the website: [URL]. At this point only the first 2 buttons have code on them.
Code Button Roll Over:
stop();
var rewind:Boolean = false;
myBT.addEventListener(MouseEvent.ROLL_OVER,growUP) ;
myBT.addEventListener(MouseEvent.ROLL_OUT,growDown );
myBT.addEventListener(MouseEvent.CLICK,gotoSite);
[Code] .....
I also noticed that the smaller the browser window gets, the less lagg I have. Anyone have any idea why the FLV is lagging the website so bad?
View 1 Replies
Oct 9, 2010
I currently made a flash animation. the background is the only one that is animated and scrolls to the right. But my problem is why it lags? Is there any way to not make it lag? here's a link of the swf file you can view: http:[url]......I tried it on a high spec pc and it does not lag when it is in normal screen(640x480) but when I view it in full screen it lags. There are no scripts or anything in this file just animation.
View 1 Replies
Mar 1, 2011
I'm trying to improve the performance of a flash game we did. It's a game very similar to GTA but for flash... This is why its important that Mouse and keyboard can be used at the same time...
But in Firefox (with the last flash version, and the last Firefox version) in some cases if you press a key (WASD) and you move the mouse, the mouse events are dispached after the keyboard events, when you release the keyboard.[code]...
View 5 Replies
Feb 23, 2010
I'm working on a "storm the house" game and there is a really annoying bug wich causes the game to lag whenever I press a key on the keyboard.This is a pretty big problem since you reload with Space and swap weapons with the number keys.
View 2 Replies
Dec 28, 2010
I've been working on a top-down shooter.I have it set up so that a map can be generated using an array which is loaded from an external .txt file. This works perfectly fine... Until the map generated reaches a certain size.A map size 1850 pixels by 1000 pixels works perfectly fine. But if you double the size, it becomes nearly unplayable. The map is generated from a determined number of 50 pixel by 50 pixel movieclips (they are plain black), each one is created (using attachMovieClip) where ever the array contains the corresponding value.
I thought at first it was the fact that I was moving the entire _root when the player moved (there has to be a better way, suggestions?), but that was dumb considering that the lag exists before the player even starts moving (bullets lag).
View 3 Replies
Aug 10, 2009
I am looking for information on how to create an image which lags somewhat behind the scroll on a webpage, very simliar to the candle at the bottom of this page: [URL].. If I only knew the name of this effect, I could search out a tutorial for it myself.
View 3 Replies
Jul 2, 2009
I'm using NetStream to show my videos, everything works fine except the annoying lagging that I get after the video has buffered. The video simply skips/ jumps to the point that it had buffered to, stops and waits again for the same amount of it to buffer then plays normally.Me changing the seconds that it takes to buffer doesn't effect it. The action script is as follows:
stop();
ns.play("blank");//stops video playing in the background
var nc:NetConnection = new NetConnection();
[code]........
View 0 Replies
Sep 12, 2009
2. When the image loads, click the "Crop Image" button on the left side3. Start dragging the corner handles around (the mid handles are not coded for yet)4. If you move the handles fast enough and let go, the rectangle does not stay with the handlesI think the problem has something to do with the rectangle I create and use. Notice that once you get the handles away from the rectangles,Here is the code:
Code:
private function grabberdrag(evt:MouseEvent):void {_grabarray[_i].x = _grabbers.mouseX;//move the current handle to mouseX
[code]....
View 1 Replies
Jan 26, 2009
I was working on a little particle engine for blood in a project I am working on and I can see it being versatile enough to be good but when I import it into a test environment it causes a little fps lag.
Code:
package {
import flash.display.Sprite;
import flash.events.Event;
public class mc_Blood extends Sprite{
private var xTarget:Number, yTarget:Number;
[Code] .....
View 14 Replies
Jul 22, 2009
This is an issue that I've run into over and over again, and it just drives me insane. Whenever I make a game which stays on one frame for a while (lots of dynamic objects are made, particle effects, bla bla), the framerate very very slowly starts to drag. After a few minutes, it's at about half what it started at, and it steadily drops until the game is unplayable.I use some variation of the following code to clean up dead movieclips:
Code:
e.currentTarget.visible=false;
e.currentTarget.removeEventListener(Event.ENTER_FRAME, moveThing);
e.currentTarget.parent.removeChild(e.currentTarget);
I guess I should mention that I do contain references to the movieclips in arrays, but I splice them out. Is that ok?I'm almost positive that somehow Flash is still keeping track of my old movie clips, even though I feel like I'm getting rid of them. Is there something wrong? Do I have to do some extra special magic to totally banish them forever? Please help. This has been driving me insane.
View 4 Replies
May 21, 2011
I have make a fullscreen btn, is not problem it fullscreen function, but i wanted a movie clip to stay the size it was,can't be over take by fullscreen.
View 1 Replies
Dec 23, 2011
I have a flash movie with fullscreen capability,
the movie uses the timeline and actionscript in frame 1 and repeats four times.
The thing is when i get to the end of the movie and it plays again, the objects I had specifically for full screen (arrows and such), disappear and are replaced by the objects I have for non-fullscreen.
I have been unable to use
stage.addEventListener(FullScreenEvent.FULL_SCREEN , fullOn);
or
a boolean
View 5 Replies
Feb 20, 2007
I want to make a fullscreen movie with 4 movieclips in each corner of the browser... The movieclips have to stay the same size... No resizing depending on the users screen resolution.
View 1 Replies
Sep 1, 2009
I made a smooth scrolling scrollbar in Flash - it works fine except when I upload it to my server/domain the scrollbar lags a bit and is not really smooth. The swf runs very smooth on my desktop but when embedded into html and uploaded, the movie clip that the scrollbar is scrolling doesn't animate smoothly, it jumps. Is there any way to make it go faster?
View 0 Replies
Aug 28, 2010
I am including a image on SWF file (using Flash CS4) i want images to keep its original dimension whether user fullscreen the SWF movie or play it on windows.
currently i do not have any action script or coding on my .fla file. when i publish the movie and fullscreen it, the image i put in fla file get all stretched out and blur.
View 1 Replies
Nov 2, 2011
I have a flash website that opens in fullscreen mode (this is a customer request). Now I need to create some dynamic pages (php+mysql) but I cannot do them in Fles+php (I have no time to learn it). I just created some getUrl links that open in _blank targets but this is causing some problems: - in some browsers (firefox and safari) the link opens BELOW the movie, so, you don't see it until you close the flash website. - in other browsers when you click the link, the fullscreen mode will revert by itself to normal screen and the link opens in a new tab (chrome and IE 8) Is there a way to open links in front of the fullscreen mode?
In the past I created a flash website [URL] that, once you set it to fullscreen mode, allows you to see images on pop-ups (lightbox) in front of the fullscreen. I would like to do the same with php page, and not only jpg/gif/png images.
View 5 Replies
Oct 13, 2011
I've tried lots of ways to get my game running on fullscreen, it seems to be impossible. Here's what I've tried so far[code]...
View 3 Replies
Jan 23, 2009
3 frames
on the 1st i have some XML code
in the 2nd i read the XML and send to the 3rd frame and play a FLV movie. when the FLV movie ends, if goes back to the 2nd frame to "know" what is the next movie and goes again to the 3rd frame.
When i export everything is OK, when i publish and use the Mac Projector it is ok. But if i use the Fullscreen Mode, when the movie end's the Movie doesnt go back to the 2nd frame...
View 0 Replies
Jul 29, 2003
I've been noticing a lot of fullscreen flash websites popping up all over the place and the size of the embedded flash movie is set to 100% x 100%. But then when you look at it, the text doesnt stretch. How do you keep the text from stretching to fit the window? Heres an example: [URL]
View 13 Replies
May 14, 2010
This is probably something very simple, but I can't find the answer...I have a movie (say 1024x768) that I want to play full screen, which it does. How do I get the area around the movie to be a color? Right now it shows white and I want it black.
View 3 Replies
Mar 11, 2009
hi guys, basically quick rundown is:
1. container1-->bitmap image with bitmapData.
2. container2-->bitmap image with bitmapdata.
3. im using the latest tweenmax
4. have correctly added a 2 seperate scrollrects to container1 and container2 that takes the width and height of the stage.
5. tweenmax is only moving the rectangles.
I get the effect i want, however, it still lags a choppy animation. Anyone know how come?
View 3 Replies
Mar 2, 2012
how do I get a movie clip in the center of the stage, even if it moves to fullscreen
View 3 Replies
Feb 6, 2011
i am aiming to display an alert when the user hovers over the form in fullscreen mode only. When the user is in normal view nothing appears. I have listed the code i am using but nothing seems to happen.
Code:
onLoad = function() {
displayAlert();
}
[Code].....
View 5 Replies
Jul 11, 2011
I'm trying to get my flash movie load and then to go into fullscreen mode. I'm using swfobject to load the swf and received a similar if not the same "Full screen mode is not allowed" error and did some reading and saw that apparently fullscreen needs to be initiated by a link or something.So my next step was to try and get Actionscript to call my javascript function when the movie was loaded. When that failed I tried putting in a link and still get the following error.
ActionScript Code:
SecurityError: Error #2152: Full screen mode is not allowed.
at flash.display::Stage/set_displayState()
[code]......
View 0 Replies