ActionScript 3.0 :: Slower Cpu And Lack Of Graphics Card - Strange Results

Feb 26, 2009

I'm not working on my usual windows computer, but on my friend's mac.This mac has no graphics card, and a slower cpu. the result is a decrease in fps from 55+- to 20+-. the strange thing is: the screen doesnt seem to lagg at all. but all the objects are moving very slowly.It's very strange.I do all the movement and calculations etc, not in onEnterFrame, but in a TimerEvent.TIMER event listener. now how come this is the case?because what i'd expect to happen, is that everything moves at normal speed, but with laggs.whats going on?

View 2 Replies


Similar Posts:


ActionScript 2.0 :: Strange Variable Results With Eventlistener Function

Oct 14, 2009

So I've got a function that does several things: It creates video cue points, loads content & executes a function based on those cue points, and finally, sets the eventlistener for the video.

The problem I'm having (after tracing it out) is that the variables within the function seem to be stored as an 'array-like' deal. In other words, the variables output as they should when initially clicked. Next time the code executes, it outputs the newest variable values then IMMEDIATELY the first variable values. This output 'builds' and builds but ultimately the content never dynamically changes as it always ends up loading the first content that was loaded very first time out. I'm *guessing* it has something to do with the event listener being re-instantiated? Tried modifying where I add the listener to no avail.

Any thoughts?


Code:
function vidPlay(vidName) {
swfText.gotoAndStop(1); // mc1 to load external data & play a function
swfText._alpha = 100;

[Code]....

I still haven't been able to figure this one out. My best guess is something to do with the eventlistener being re-instatiated each time the function is called, but I'm not sure. Again, it seems to either be 'storing' the variables in a backwards array somehow (first variable is stored and accessed last at all times) or maybe somehow it's creating multiple instances of the eventlistener and the variables are being pulled from the first iteration of it.

View 5 Replies

ActionScript 3.0 :: Button On Top Of Movie Clip Producing Strange Results?

Mar 23, 2009

So, at one time I w s fairly familliar with Flash, but I amnow returning to it I have a movie clip that Iam using AS3 to control, basically it slides out when your rolloverit and then slides out when you mouse off it. This is my code:

OPEN:
stop();
import flash.events.MouseEvent;

[code].....

View 6 Replies

Put Some Graphics On Front Of Card?

Dec 3, 2009

I just made my first flash game. A memory game, But I cant figure out how to put some graphics on the front of the card. And make it take the pictures from a image folder. and make it look ok ?

View 1 Replies

ActionScript 3.0 :: Flash's Call To Graphics Card

May 31, 2011

My friend is teaching me some math required for 3D engine tomorrow. how do I program an actual 3D engine in as3? Do I just use bytearray and have it somehow call the graphics card to....Ya know im not gonna imagine how I would apply this because the only way I know how to render a graphic in as3 is graphics.beginFill.So basically, do I need to know a certain class file to render graphics right or do I need to dig into Flash's core...?

View 1 Replies

ActionScript 3.0 :: Overlapping Graphics Mask Each Other With Unwanted Results

May 29, 2009

This code draws a template example.
Code:
//charmedV2
var charmedV2:Sprite = new Sprite();
with (charmedV2.graphics) {
lineStyle();//removes line
beginFill(0xd6b2d4, 1);
[Code] .....

I need to split the code up into sections so that each graphic can change colors. So I broke it out into individual vars, push the vars into an array, then iterate through the array adding the children to a holder mc. When I do this, for some reason, the overlapping graphics mask each other giving unwanted results.

Code:
//populates holder with selection
stage.addEventListener(Event.ENTER_FRAME, placeChT, false, 0, true);
//vars for element COLORS
var chHolder:MovieClip = new MovieClip();
var chlf:ColorTransform = new ColorTransform();//left footer
[Code] .....

View 3 Replies

Professional :: Slower And Slower Over Time?

Sep 21, 2011

I have a dashboard I created using Flash CS5 using CS5.5 and ActionScript 3.It seems that while this dashboard is running, the FPS gets slower and slower over time (over several hours) I am thinking that I might have a memory leak but I am not sure how to find out.The project is a Flash Projector exe that loads 8 independent swfs.Each swf file essentially calls a web service and gets XML dataThey then dynamically create a bunch of TextFields,assigns an event listener (Event.ENTER_FRAME) and animates across the screen.When the TextField goes off the screen, I clean up the Text field by removing the EventListenerremoving the TextField and setting the TextField to null.

View 5 Replies

ActionScript 2.0 :: Script Going Slower And Slower?

Feb 24, 2007

try this and give me response

Code:
var max:Number = 50;
var size:Number = Stage.width;[code]........

View 5 Replies

Java :: Print Photo ID Card To A Plastic Card Printer From Website?

Oct 28, 2010

printing directly to a Photo ID Card printer in a web browser?I have a web application that manages user data, photo, and so forth. I'd like to add a Print ID Card feature to it. The web application is a single page javascript application that talks to a RESTful web service via JSON. I'd like to display what the printed card will look like on both the front and back for approval before the user clicks the print button.

Generate front and back JPG or PNG images to print on the server, send them to the client for display and approval, and then somehow send the images to the printer.Use javascript with SVG or Canvas to display the card to print in the UI for approval, then somehow send the SVG/canvas data to the printer.Generate a PDF and print the PDF to the printer.Use Flash to display and print Use a Java applet to display and print Something else?

View 3 Replies

IDE :: Lack Of Smoothness In Playback

Jul 1, 2009

I'm creating a movie with a swift flying quickly across screen, but in playback it always appears as if there are two or three swifts flying together almost on top of one another, a sort of stuttering effect in the playback. I've tried altering frame rate/frame number ratio; tried viewing the swf file in the external movie player, but nothing seems to improve it.

Is this lack of smoothness a basic problem in Flash with moving objects, or is it something to do with my Flash preferences, or even my computer settings? What are the standard ways to try and increase smoothness of playback in Flash?.

View 4 Replies

Flash 10 :: Small Lack In Frame Looping?

Aug 8, 2010

I made a gear and created a 40 frame long tween for it using this: i36.tinypic.com/97tk0h.png @ 24 fps. But when the tween reaches the 40th frame and starts again from 1st frame there is a small small lack. I mean i pauses for very very very small time (almost not noticeable, but i see it anyway as developer). So is there any way how to make it work perfect with out the small lack/pause?

View 1 Replies

Flex :: ASMX Service And Lack Of Crossdomain.xml File?

Oct 29, 2010

I have an issue with an asmx service I am trying to access. No crossdomain file. I read there is a way around this using HTTPService instead of a webservice. Still cannot load the wsdl. See code below.

var dataService:HTTPService = new HTTPService();
dataService.url =
"http://flexmappers.com/proxy.php?url=http://www.server.net/carbon.asmx";[code]....

View 2 Replies

Flex :: Security Sandbox Violation: Lack Of Policy File Permissions

Apr 15, 2011

I'm using as3httpclientlib to post data to my web service, but I'm continually getting the following security violation. Does anyone know how to resolve this? My crossdomain.xml file is below the security violation notice. NOTE: I'm using apache to proxy requests to the web service, therefore the target url/port and the url/port serving the applet are the same -- [URL] Also, the rossdomain.xml file is located in the root of the web app which serves the applet rather the web service; however, since the requests are proxied the url for the file is [URL]

[Code]...

View 1 Replies

ActionScript 2.0 :: Attach Graphics Instead Of MC Cause A Graphics File Size Is Relatively Small Than That Of A Graphic?

Apr 9, 2005

I was wondering about MC and hey can help to lag a game out. I set up an advanced class system so i don't have to use MC to simulate walls, all i use isthe x,y,width and height. Well anyway since i don't need MC anymore I was wondering if there is a way to attach Graphics instead of MC cause a Graphics file size is relatively small than that of a graphic, I think. If anyone could tell me thats true and show me a way to attach graphics that would be nice. I haven't tried it yet but maybe if I exported the graphic from the library imihgt be able to call its name, but it doesn't have an instance name so im stuck.

View 2 Replies

ActionScript 3.0 :: 1119: Access Of Possibly Undefined Property Graphics Through A Reference With Static Type Flash.display:Graphics.

Oct 8, 2009

i am trying to receive in my function as a parameter either a shape or a sprite and then access their graphics property, but this gives me an error:

Code:
public static function makeRect( obj:DisplayObject, ...
var g:Graphics;
if(obj is Sprite){

[code]...

//1119: Access of possibly undefined property graphics through a reference with static type flash.display:Graphics.

View 1 Replies

Actionscript 3 :: StageWebView Lack On URLs With Target="_blank"?

Jan 20, 2012

is there any solution on StageWebView.loadURL(), how I can handle URLs in HTML Pages which have target="_blank"?

It's a mobile Android App (TabbedViewApplication)

View 6 Replies

ActionScript 3.0 :: Another "lack Of Handcursor"?

Nov 9, 2010

Oh for goodness sake, I can't get a handcursor onto my _leftArrow or my _rightArrow.

They are both topmost on the display list and unobscured.

[Code]...

View 5 Replies

ActionScript 3.0 :: SWF Much Slower On Web

Mar 27, 2011

I'm creating a flash animation in Flash.When I'm publishing it and reviewing it on my pc runs all right.But, when I'm uploading on the web it runs much slower.It's like the animation has less frames per second.Why is this happening and how could I avoid this difference in performance.

View 5 Replies

ActionScript 2.0 :: Does Flash Go Slower

Aug 31, 2009

Does flash go slower if it has to check on points that are for an example: 6.1873128932 versus: 6?

View 1 Replies

Buffer Slower Than Movie?

Nov 19, 2009

I have employed two different methods to embed an flv movie in webpage, but both result in studdering because the movie catches up to the buffer.   I can't figure out what is wrong... is the frame of 30fps rate too high?  is my method of embedding the files and playback wrong?  Or is it just a function of the viewer's internet speed?   

Method 1:
Dreamweaver > Insert Flash Video
FLV size:  13,428kb
Play time: 2:31

[code].....

View 3 Replies

Flash :: Loaded SWF Gets Slower?

Jul 29, 2010

i am making a game involving a number of balls that move across the screen. Everything works fine and dandy when I play the SWF on its own, but when I load it into another SWF, animation become increasingly choppy with time.

View 1 Replies

ActionScript 3.0 :: App Keeps Getting Slower And Becomes Useless

Mar 10, 2009

I have a simple application where you can sort isometric boxes on a grid. It works just fine but the more often you apply changes (i.e. click on a box and drag and drop it) the slower the app gets. After about 10 changes it has something like a 5 second delay in response and becomes completely useless.

As long as I stay on the first MOUSE_DOWN it works as fast as it should, but speed decreases with every click. Strangely CPU-levels will always return to near zero when I stop doing things in the app and always go up to the same level when working, so I do not think it that there is some procedure I call while dragging and forget to close again (I also checked this about a hundred times in the code).

Basically I think it must something with the most basic event listeners that look like this:
Code:
container.addEventListener(MouseEvent.MOUSE_UP, dropElement);
container.addEventListener(MouseEvent.MOUSE_DOWN, dragElement);
function dragElement(e:Event):void{
currentElement = currentDropTarget = previousDropTarget = Kiste(e.target);
currentElement.alpha = 0.5;
stage.addEventListener(Event.ENTER_FRAME, whileDrag);
}function dropElement(e:Event):void{
currentElement.alpha = 1;
stage.removeEventListener(Event.ENTER_FRAME,whileDrag);
}
I also checked if my "whileDrag"-function keeps running but it doesn't.

View 4 Replies

ActionScript 3.0 :: FF Runs Slower Than Safari And IE?

May 14, 2009

[URL].. This runs much slower (about half the speed) in FF than in IE/Safari...its set at

View 2 Replies

Mac Plays Timeline Animation Slower Than PC?

Jan 24, 2010

I have an issue with how Macs play timeline animation slower than PC. On the PC the animation plays right and syncs correctly with the music.

I have a tree that grows, when it finished an axe chops it. The tree finishes and the axe starts chopping the tree at exactly 30 seconds into the song which is exactly how it is meant to happen.

Syncs right on PC but on Mac, the tree finishes and the axe starts chopping at 50 seconds into the song.

During the tree animation, I also have some other swf movies loading in the background so that it is preloaded and ready to go when required because I am trying to prevent any delays or the chance of a preloader from appearing when these swf needs to start playing.

What is causing the Mac to have a slower animation. I do notice in general than Macs take longer to play an animation than PC on a browser.

Is this just natural or do you think the Mac and PC difference caused here is due to me loading swf movies into the background?

What are my options to make the sync right. I can not make the animation actionscript based, so I am stuck with timeline based animation.

I think music streaming would be the best solution here. Right now, I am triggering the music as an event, but I am worried of the stuttering effect using streaming music, while my animation plays and swfs are loading in the background and the viewer has a slow PC.

View 1 Replies

Flex :: Flash Runs Slower On Mac?

Jan 27, 2010

I was in the middle of developing a Flex applcation, and then I recently switched from Windows XP to Mac. My app is noticeably less responsive on my Mac than on Windows, and today I proved it's not a hardware issue, because I ran the App on my Mac and a Window XP on Virtual Box side by side, and IS much more responsive on XP. Things like repainting in response to window resizing, selecting/unselecting list items, scrolling up and down(I do have complicated list-item-renderers). Has anyone seen this as well? Is flex/flash just not as well supported on Mac? Or are there tweaks I can do to improve performance on the Mac?

View 3 Replies

ActionScript 3.0 :: SharedObject Makes The Swf Slower

Feb 15, 2011

I have made a game which successfully uses SharedObject as a highscore system (if you know SharedObject, you'll know what I mean) But after the first time playing the game, when it loads the highscore using SharedObject, it goes noticablly slower My computer when new only had 1gb ram so is slow as it is. Is it just a speed issue with my computer or is this a regualar occurance?

View 0 Replies

ActionScript 3.0 :: Flash - Slower In Browser Than In The Dev IDE?

Jul 17, 2009

Ive been working on a game on and off for a while now. I've been extremely conscious with the performance because in my book a slow game is worse than no game at all. I even wrote a profiler class so I can really pinpoint any slow code. All this time Ive just been testing the game in the Flash CS3 environment by hitting CTRL+Enter. And everything runs quite smoothly.But today for the heck of it I actually published the Flash and ran it in my browser using the generated HTML file. In the browser everything runs slow as hell! The animation is extremely choppy, and sounds play up to 1 or 2 seconds later than theyre supposed to. This is absolutely unacceptable! Ive tried it in Firefox3 and Internet Explorer 7, and both are very slow compared to the Flash dev environment

View 14 Replies

IDE :: Flash Lagging On Slower Machines

Feb 5, 2010

I created this flash object, which preloads the file on the first frame before continuing to play, yet on slower machines it moves much slower then the 30 fps it is supposed to play at. The file is 1.2 MB in size. Using actionscript 3.

[URL]

View 1 Replies

ActionScript 2.0 :: Swf Is Slower When Loaded Externally?

Mar 12, 2004

i am 5 seconds old here so first of all i just want to say WHAT"S UP!!!

when i load my swf from an external source with loadMovieNum(the swf is actually on a different server all together). it plays it a whole lot slower. Has that ever happened to you. do you know how to work around that?

View 3 Replies

ActionScript 3.0 :: Flash Lagging On Slower Machine?

Feb 5, 2010

I created this flash object, which preloads the file on the first frame before continuing to play, yet on slower machines it moves much slower then the 30 fps it is supposed to play at. The file is 1.2 MB in size. Using actionscript 3.

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved