Actionscript :: Flash - Application Gets Slower The Further Scroll Down
Jul 18, 2011
I have built an application in flash, it is rather a large application that runs pretty smoothly, however it is a long list of graphs that run further than the application window so I use a vertical scrollbar and a mask to display them. The problem is everything becomes choppy the further you scroll down, any Tweens or movement and the framerate in general just appears to be much much lower.
When you get to the bottom it is unbearable although there is the same amount of movieclips and same amount of detail throughout the scroll, so I don't see why there should be this massive performance hit for going down a bit.
[Code]...
View 1 Replies
Similar Posts:
Aug 26, 2010
I have a Flex web application where I am visualizing data (for different countries) in the form of charts. The data is in the form of CSV files. There are individual files for individual charts i.e. one file has all data pertaining to one chart for all countries.I have a left navigation menu that allows one to see data on a country by country basis. As I view more and more countries, the web application becomes progressively slower till it freezes completely. The problem goes away if I refresh the browser and empty the cache.I am using the URLLoader class in flex to read the CSV data into a string and then I am parsing the string to generate the charts.I realize this is happening because more and more data is somehow accumulating in the browser.
View 1 Replies
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
Feb 24, 2007
try this and give me response
Code:
var max:Number = 50;
var size:Number = Stage.width;[code]........
View 5 Replies
Feb 24, 2011
My Flex application is half cut off with no scroll bar in the browser window. How can I get a scroll bar? The application tag doesn't have a setVerticalScrollPollicy property.
View 3 Replies
Jan 25, 2012
I want to create a Custom Scroll bar in my FLEX 3.0 application. Which should enable to use Text instead of |||| that shows in ScrollThumb... I have used mx_internal for changing the style of that but still facing the problem that text is not displayed. here is the code that i have created.
[Code]...
View 1 Replies
Jun 22, 2011
do I have to necessarily have a application container as the root node in my mxml file?econd, I was reading this document on adobe's website and it says that the spark application container has no scroll bars by default and they can be added by using a custom skin. (Look at the table comparing the mx and spark application containers). But my problem is that my application container already has scroll bars by default and I want to get rid of them. I have a main application container with a custom child component that already has scroll bars. I just want the child to have the scroll bars and not the main application
View 2 Replies
Nov 26, 2010
I have to necessarily have a application container as the root node in my mxml file? Second, I was reading this document on adobe's website and it says that the spark application container has no scroll bars by default and they can be added by using a custom skin. (Look at the table comparing the mx and spark application containers). But my problem is that my application container already has scroll bars by default and I want to get rid of them. I have a main application container with a custom child component that already has scroll bars. I just want the child to have the scroll bars and not the main application. Right now I get 2 scroll bars nested within each other.
View 2 Replies
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
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
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
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
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
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
Sep 28, 2011
Positioning / Scrolling problem with Flex popup I am trying to get the main control bar on my application to control the location of a popup that has been opened using PopUpManager. create PopUp(this,JakePanel,false);Initially the page looks like this:After I scroll the page it looks like this: What I would like is for the Popup to scroll with everything else.[code]
View 1 Replies
Mar 27, 2012
So i have a fake preloader going... doesnt actually preload, but just does the 'action'. my issue it gets to 100% way too fast. As its not really loading anything, how do i slow this down so its takes about 3 seconds to "complete loading?"
[Code]...
View 2 Replies
Nov 27, 2010
Im trying to write the codes for buttons that make a Square rotate faster and slower. I tried hard but it did not work.
how about a slider to control speed of the square_mc. can some1 give me the code.
this is the code:
addEventListener(Event.ENTER_FRAME, startRotate);
function startRotate(evt:Event):void {
// Call function rotateSquare
[Code]....
View 2 Replies
Mar 4, 2010
I have a TextArea that I don't ever want to be scrolled. When scrolling within the application that holds this TextArea, however, the scrolling stops as soon as the mouse ends up over the TextArea.
Is there any way to pass the scroll event to the application, or tell the TextArea to not claim the event?
View 1 Replies
Dec 15, 2011
I have a spark datagrid on a mobile application, I set the
interactionMode="touch"
and the dataGrid scrolling is good, I got some problems adding a selectionChange eventListener to it, because scrolling the dataGrid will automatically change the selection and instead simply scrolling it, the function binded will start...
How can I add the touch dalay before select the index, so if I scroll the grid the selection won't change, and it change only if I press the item without scrolling?
View 1 Replies
Jul 30, 2007
I know you can use the mouse wheel to scroll through text in the flash componenet scroll pane, but is there a way to set it up to work with the code I have posted below?
fscommand("allowscale", "false");
bar.useHandCursor = dragger.useHandCursor=false;
space = 5;[code].....
View 4 Replies
Jun 30, 2003
is there anyway when i use scroll bar component in flash... how do i make it so that i can be controlled by your mouse scroll button.. thing.... ( if its possible )
View 3 Replies
Feb 24, 2011
I've gotten to chapter 5 in my AS 3.0 classroom book but I need to use wisdom today (CHAPTERS before I gain it for myself),I need to create a custom scroll bar with buttons that function just like the UIScrollBar but more visually suited to our projects. the boss demands it.
I found several tutorials on creating the custom scrollBar, however, they don't include the buttons and I'm unable to find a tutorial on how to create a button scroller (I figured I could link them both to my "info_txt" after creating them separately).
how to create an AS3 text scrollBar WITH buttons? how to create a nice scroll effect with buttons(if creating the scroll bar and buttons apart then linking them to the same text field is not possible or a faulty way to accomplish this).
View 1 Replies
Jun 16, 2010
I am having endless trouble trying to get flash to scroll with a mouse scroll wheel on both PC and Mac. Pixel Breakers code "swfmacmousewheel" seems to be the way to go but despite everyone raving about how amazing it is and showing many version of it working very nicely, I cant get it to work. I've followed all the instructions I can find as carefully as possible but I get nothing. I just want something similar to this > [URL]
View 2 Replies
Nov 5, 2009
someone told me you cant have the page scroll up and down , but i just seen a template that has it URL...Any idea on how i would put that into my work? Is there a tutorial , or something im missing ?
View 6 Replies
Oct 19, 2011
I need the code for Scroll Pane scroll to top. I tried every thing but nothing happen.
View 1 Replies
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
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
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
May 14, 2009
[URL].. This runs much slower (about half the speed) in FF than in IE/Safari...its set at
View 2 Replies
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