ResourceMonitor v2 = ResourceMonitorUtil [updated to 2.1]



8 Comments

  • Share/Bookmark




UPD: i’ve updated the class to version 2.1, fixed some bugs, added new features, switched the license to MIT !


yellow – current fps
cyan – current memory usage
red – max memory usage graph

As lots of you asked me to add some new features like the font color changing, performance increasement etc, i decided to make a new version of the ResourceMonitor class. I’ve added a few new features, made the code more ammm more readable (well, it’s an os class, so probably u’d like to edit smth there) and i’ve even made a documentation this time :)
And i also decided to rename it to ResourceMonitorUtil.

Class usage also has shorten.

Flex:


import com.chargedweb.utils.ResourceMonitorUtil;

rawChildren.addChild(new ResourceMonitorUtil());

Flash:


import com.chargedweb.utils.ResourceMonitorUtil;

addChild(new ResourceMonitorUtil());

Blah-blah-blah, just let me download the ResourceMonitorUtil source code already

Read more

Skype status icon class



No Comments

  • Share/Bookmark






Today i had some free time to make a skype status icon class (don’t know who’d need that).
Anyways, it’s a simple class that connects to the skype service, retrieves the status code for a specified account name and displays the status icon. All parameters customizable. I’ve even created a sample page with a php proxy (see the archive)

Download SkypeStatusIcon sources

A proper as3 captcha validator



8 Comments

  • Share/Bookmark




Some time ago i was surfing the net and i noticed that flash captchas are very popular on such components stores like flashden etc, but just few of them are actually made properly and can prevent spammers from doing their magic ^_^.

So, i’ve decided to write a little sample catcha validator class for those of u that need or would need one.

Read more

Vimeo video player



2 Comments

  • Share/Bookmark






Amm, u ever needed that social networking stuff (twitter, youtube, vimeo etc.)?
Well, this one will help u at least with the vimeo video service. Yes, i know that there is a sample class at their web called moogaloop, but it’s buggy.
That’s why i’ve rewritten their class.

Read more

TextPreloader class



3 Comments

  • Share/Bookmark






Nice old school minimalistic preloader. No assests, no graphics, just an *.as file.
Very easy to include in every project.
The size of the archive is increased due to the huge image included in the test *.fla to simulate preload.

Read more

Controlling cache



2 Comments

  • Share/Bookmark






Cache is an as3 class, which is made for memory monitoring and forced cleaning. You can define the memory usage limit, the delay and that’s it – the Cache class will clear memory every time memory usage exceeds your limit.

Read more

ResourceMonitor class {as3.0}



6 Comments

  • Share/Bookmark




ResourceMonitor is an as3 class, which monitors your fp resource usage (ram, cpu, frameRate).
Benefits: one *.as file, no external files needed – just import and create instace.

Download source files

UPDATE: Check out the new v2 ResourceMonitorUtil class

Read more