ActionScript 3.0 :: Record Usage Of An App?
Feb 22, 2011
I'm looking at finding a way of recording the amount of times a swf is loaded or a button pressed with the aim of giving a client feedback about how their product is used.Basically I am creating a touch screen app for a client which will contain a couple of hundred images and the client would like to keep track of which images are loaded in and how many times.
I looked at Mochibot which seems good however I don't think this app I am building will be connected to the Internet. So that's not a viable option. So is it possible to output something locally? Which will get added too every time the app is used. Even if the computer and app are restarted?
View 2 Replies
Similar Posts:
Aug 24, 2010
I wrote an application in flash AS3, and when I trace from flash the total memory usage of the total application is only about 9MB, But at the same time Task Manager Shows the memory usage as 110MB. Around 100MB difference.Flash Trace Method System.totalMemory difference of the Trace from the Beginning of the application to end of the application.
View 2 Replies
Apr 11, 2012
I develop failover fms application with server-side action script. But i have a problem that FMS can't continue to record stream with record mode "append".
Environment: FMS 4.5.1 r484 on CentOS 5.5/6.0
Goals:
I have 2 same data streams in failover application and republish primary to livepkgr application.
I have to store of last 10 hours intact recorded video (DVR).
Failover app logic:
1. I create NetConnection and NetStream to livepackager;
2. When primary stream is connected it attach the primary stream to livePackager NetStream
3. If primary stream is disconnected it reattach the backup stream to livePackager NetStream
Problem: I have testing environment. It stop primary stream every 5 min, and started primary stream 5 min after stopping.
It work's, fine, but after a few hours testing LIVEPACKAGER falls. It can't record a stream, NetStream.Record.Start -> NetStream.Record.NoAccess -> NetStream.Record.Stop
Search a solution: I try to relaunch recording process and have no success. try to shutdown/start livepackager, it's same, try to restart server, same no success.
I cant stream.clear() or record with mode "record" cause it clears my dvr cache, I cant clean stream directory in livepackager application.
[Code]....
View 5 Replies
May 25, 2010
Currently when I load my presentation that I have just recently created and testing I'm getting a HUGE spike in my cpu usage.
I'm running an i5 2.4, and it's nearly taking up 100%, a friend of mine is running a core 2 duo and it's taking up 100% of the cores.
What is a proper way to optimize for these occurances? I don't have any preloaders up and running yet.
Here is the link to the site.
[URL]
View 1 Replies
Jun 15, 2010
I'm user of relatively weak computer (pentium IV 3.0 with hyper-threadingiem) but with a bit newer graphic card - asus radeon HD4650I'm not big new games fun, I'm useing my hardware most to internet access so I would rather not to buy new computer in the near future. But also I would like to have possibility to watch flash movies fluently on full screen (eg. youtube, video streeming). Unfortunatelly, till now, it was pretty weak. I got hope that afther new flash release (lately), which should use computing power of graphic card and making CPU work lighter.
Unfortunatelly, afther flash update (10.1) I haven't noticed any changes - everything work in the same way (not fluently) as at old flash. CPU usage is still ca.100% and GPU usage is 0% (I can see it in control panel) What is wrong? Is it this version of flash what should use GPU or it is not yet? Maybe I should configure something more? Or is it possible that I made something wrong? I've tried few times, made lots of work and combinations (instaling and reinstaling different versions of flashs, graphic card drivers, browsers changing etc) and still nothing.
View 1 Replies
Apr 7, 2011
I have a question concerning CPU usage for games. What do people consider as an average or 'acceptable' amount of cpu usage for a game I've created a few different games, some which are more database driven have a very low cpu usage and small size.. others I've seen go up to 80% cpu usage..
I do try to keep a careful eye on this (I mean 80% of one core, of which I have 8.. I'm not sure how this will reflect on a single core/processor machine) but it does really concern me because as soon as I add an 'enterframe' function, spin something around or create a fair size animation it piles on the intensity to the cpu.. are there any professional tips anybody could offer me please ? I really want to make the web a better place for others by not overloading their computers
View 1 Replies
Feb 25, 2011
Is there some way to get the cpu usage in flash or adobe AIR?
I'm using ActionScript 3.0 and flash CS5.
View 1 Replies
May 8, 2002
i don't understand the usage of prototype.
View 4 Replies
Sep 3, 2009
I am making a websites with fairly large videos in the background.The site is extremely heavy for the cpu and I was wondering if any of you guys know a trick on how to make flv streaming less heavy.Here are all my specs :
Large flv (920 x460), with alpha channel (transparent background), Max data rate:300kbs,
codec : On2 VP6 encode alpha channel, framerate : same as source.
Using progressive download
Video plays in a flvplayback instance nested in a swf that is loaded and added to the stage by an other swf.
Embed in the html page with swfobject, wmode = opaque.
Movie playing at 31 fps.
View 1 Replies
Feb 25, 2009
I would like to use the mouse wheel with a quiz I've been making.I have it set up so when you roll the mouse up it goes to the next question and when you roll it down it goes back to the previous question.It isn't working as I would like though, It doesn't scroll through increments of 1 - theres 50 questions in the test and its scrolling through them like this 1,2,4,8,16,32,FinishedIf anybody knows a way I could use the mouse wheel to scroll through the quiz.
View 2 Replies
Jan 22, 2009
I've many unicode russian (cyrillic) fonts installed on my mac. When i type message like "T" type-tool - they show russian letters. When i embed it in Library like Font class, 50% of my fonts doesn't show russian letters.
View 1 Replies
Feb 13, 2010
in the "Interactive 3D Video Flip" tutorial i take the cod and applied to my stuff I noticed that when the page was rotated the Flash player consume 40-50% from my CPU , how it's possible? the animation it's finish but the CPU it's 40-50% used . tested in mozilla and IE and from Flash ( when i test the movie) Pentium 4 and athlon 64 X2 tested!!!.. windows 7 last version of flash player 10.045.
[Code]...
View 2 Replies
Nov 29, 2010
how the post_param is used in SWFUpload. i need the value for name='batchid' loaded when i submit. this is what the example doc shows
post_params : {
"post_param_name_1" : "post_param_value_1",
"post_param_name_2" : "post_param_value_2",
[code].....
View 2 Replies
Mar 4, 2011
System.totalMemory gives the total memory used by the flash player and not one particular application. Is there any way I can get the flex application's memory usage in code/actionscript?
View 3 Replies
Apr 6, 2011
I'm just started doing 'hands-on' learning of Actionscript 3 using FlashDevelop. I've now managed to subclass a sprite, load a graphic from the library, and manipulate it around the stage. Next step is doing the same with a MovieClip, but it doesn't seem to be as simple. Basically, I want a simple subclass of MovieClip, that uses a SWF that I created & exported in Flash CS5 (anything else that can create them?), and then added it into my library in FlashDevelop.
In my 'Main' class, I want something like this:
package {
import flash.display.MovieClip;
import flash.events.Event;
public class Main extends Sprite {
private var myClip:MovieClip;
But that says the child is null, and I'm not sure I should be creating a 'new' MovieClip inside my sub-classed MovieClip anyways.
View 1 Replies
Jul 6, 2009
How much memory in bytes can Flash normally handle? I have a fairly involved program that is running at 39MB usage and now may be causing some memory issues (I'm not sure it's the memory, since it was running smoothly up until I made a few code changes and now Flash freezes after making those changes). But anyway, I have been wondering about memory usage and Flash CS3 and felt like this was a good topic to dicuss. Is there a way to force an increase in available memory for Flash?
View 2 Replies
Jul 17, 2009
I'm building a media player with alot of tweens in the interface , I'm wondering what is common or exceptable in the professional flash community.When I tween the whole Interface into another view firefox spikes to 12 - 16 cpu on a 3.01 GHz duo-core. Is this normal? acceptable? After the tween Firefox flunctuates between 2 - 8 cpu while idle.
View 6 Replies
Aug 20, 2009
I am doing a flash getting data from mysql. My Database is quite big (200+MB) with lots of datas. here is my problems, after using my flash for some searching, maybe because of calling mysql to get too much data (like getting 900 records with their names and images), my memory usage increase to over 2 GB. Thus my flash is dead. I need to restart it. Is there any ways to reduce the memory usage?? Or it might be some other problems. I am quite new at my job, so it might be something that I forget to close ot remove.
View 2 Replies
Jan 28, 2011
In my appilcation i need to plot a graph same as in CPU Usage History (In windows see task manager). The data is available in the form of array collection or xml. I want to update the grph from right to left..
View 3 Replies
Oct 20, 2003
I have a script as follows attached to an MC that is pretty processor intensive (well, that is when the MC is duplicated 30 times). I'm looking for some input from people on how to possibly optimize this to cut back on how badly it lags the rest of the movie. My computer is quite powerful but it still shows performance issues with this script:
[AS]
onClipEvent(load) {
//size of purpleCloud's active area
[code].....
View 3 Replies
Jan 3, 2007
usage of the delete method?
In all my years of flash programming I've never come used it .
View 7 Replies
Jul 17, 2009
Does anyone know if there are any classes that expose information about bandwidth usage? For example, I would like to know when my Flash file is really pushing the bandwidth by loading a bunch of stuff (like images), versus when its basically sitting idle.
Now I know I can get stuff like progress events from an individual load but thats not what I mean here. I want to be able to get a current level of activity for my entire movie which is currently running....not information about a particular item which is being loaded.
View 2 Replies
Dec 9, 2004
I'm puzzled by the use of the colon in the return line of this function (return {r:r, g:g, b:b}). It returns an object with the properties r, g, and b, but I couldn't find this usage in any reference I've looked at. Is there any documentation of this?
PHP Code:
Color.HEXtoRGB =function(hex) var rgb24 = (isNaN(hex)) ? parseInt(hex, 16) : hex; = rgb24 >>16; var g
[code]....
View 2 Replies
Feb 13, 2009
I have a small random image slideshow to go on the main page of the site I am building, which The problem is that it is causing the "Page File Usage" to fill up, and eventually causes the computer to freeze up.Here is the code, which is for the random image to be added on a timed basis
Code:
var flashTimer:Timer=new Timer(4000);
flashTimer.addEventListener(TimerEvent.TIMER, onTime);
flashTimer.start();[code]......
I have tried so many ways to get it stop filling up the cache, but I just cant work it out. I'm thinking maybe a do while statement or maybe a removeChild?
View 3 Replies
May 4, 2009
Did a website, but at the end of it... i needed to translate everything So I simply made a duplicate translated all the text, and added a button on each that will jump between the languages. Button added to main stage. Inside button on DOWN action:
if (MovieClip(parent).mainContainer.numChildren!=0)
MovieClip(parent).mainContainer.removeChildAt(0);
var ii:int=parent.numChildren-1;
trace(ii);
[code]...
I have tried to remove all children from the stage, but then upon loading, I get an error; looks like I removed the stage,timeline etc. So I had to leave the parent.numChildren at -1 to leave the mainContainer (but clean it inside). It works, but now Firefox memory increases each time I click on the Language Change button:
126K
208 K
288.5K
369.7K
450.0K
EDIT: The line stage.addChild() creates error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at final_webMon_fla::MainTimeline/frame1()
View 3 Replies
Feb 21, 2009
As more and more FLV videos are moving to HD, I'm noticing high CPU usage and lots of dropped frames when playing FLV video in web browser with Flash 10. This is true even if the video isn't full screen. I've tried a variety of browsers (Firefox, I.E., Chrome) and the problem occurs on all of them so it's pretty clear it's a limitation in Flash.
Now my PC isn't high end (it has a Pentium M 1.86 GHz processor), but I can take those same FLV files and load them in something like Media Player Classic or Windows Media Player (when using ffdshow) and play the FLV files full screen with little or no drop in frames and an acceptable CPU rate.
This is especially annoying on sites like YouTube where I actually have to save the video and play it back in something other than Flash to have it play back at an acceptable rate. This doesn't work for other sites like Amazon.
Why is the CPU usage so high when decoding and displaying videos when compared to other media players?
View 1 Replies
Nov 28, 2008
Would everyone please mention how they have used video fortheir clients; I would like to hear some really good creative andunusual usage of Flash video on websites etc...Maybe, you could provide some code samples ;) Anyone got anystories to tell al
View 6 Replies
Apr 16, 2009
I have helped write a program in AS3 that uses classes. We have 2 frames in our movieclip that consists of an ant moving. We have a class of ants and can create 15 instances of them and the program runs fine with the ants walking around looking for food and going back to a corner that is their nest and going back out again. The ants also respond to mouse movement if the mouse pointer is near an ant.
If we create more than 15 ants, then the program starts to slow down. If we have 30 ants on the screen, then there is noticable stuttering of the ant movement. The CPU usage on a P4 2.5Ghz Pentium is around 50%.
View 13 Replies
Aug 13, 2010
I'm struggling to understand this, so I'm hoping someone can explain how to further enhance the functionality of my simple unload function, or maybe just point out some best practices in unloading external content. The scenario is that I'm loading and unloading external swfs into my movie(many, many times over) In order to load my external content, I am doing the following:
[Code]...
View 2 Replies
Nov 12, 2010
Do anybody know about how flash player render the content when we do the scaling? Let's say i have 2 flash swf file. swf1 : the stage size is 2000 px x 2000 px. + 1 movieclip with 100% transform swf2 : the stage size is 1000 px x 1000 px. + 1 movieclip with 50% transform Let's say there is a movie clip on swf1. So i copy the same movie clip to 1000 px x 1000 px file and transform the movieclip to 50%. So it will look the same if i scale the swf2 x 2. If there is any different on swf1 and swf2 in team of CPU usage or etc?
Like is it true when playing swf2 need more CPU usage than swf1 because swf2 need to do the scaling but swf1 not. Just not sure which way i should develop the content. Because i have to make some content and the width/height are about 3000 px. So i am thinking if i should set the stage close to limit 2880 or just make the content like swf2. And my concern is if it will use more CPU when do the scaling.
View 3 Replies