Showing posts with label Classes. Show all posts
Showing posts with label Classes. Show all posts

Saturday, May 23, 2009

AS3 Basic Preloader Class



  • Languages

    - Actionscript 3.0



  • Purpose

    - A basic calls to build preloaders from. It is meant to act as a starting point to build more advanced preloaders. It is available for free download


  • Download Here

XMLLoader Class



  • Languages



    - Actionscript 3.0



  • Brief



    - This Actionscript 3.0 Class allows for multiple XML files to be loaded and stored for future use by way of a name or index number. I use this class in all of my XML powered projects.


  • Download Here

  • Watch ScreenCast

Tuesday, April 14, 2009

XMLLoader 3.0 Update

Fixed a small bug that was confusing the names and actual data. Link in the last post has been updated to the bug fixed version. This is just a courtesy posy to the ones who have already downloaded the class to download it again. Enjoy and keep me updated on bugs you may find or features you would like in the future.

I'm always available @cg219.


Download Link

Monday, April 13, 2009

New XMLLoader 3.0 Release

I have finally gotten around to updating the XMLLoader Class now, in its 3rd Release. With this release comes a couple new properties such as bytesLoaded, bytesTotal, totalItems, currentItem and ratioLoaded. The biggest update is the new naming feature. With this feature you can now give each XML file a name to reference it. Also in the big boat of updates is the new way of handling errors.

Monday, March 23, 2009

AS3 Basic Preloader Class

I been thinking of ways to preload things in AS3 like you would in AS2. Meaning a simple drag and drop and it preloads. I unfortunately couldn't come to a solution of just drag and drop. But I have gotten pretty damn close. Last night I started working on a Basic Preloader Class in which I can build more complex preloaders off of. Just like some of the classes in my VIdeoPlayer API, the Base Class gets replaced with BasicPreloader to give it its functionality.

Monday, March 16, 2009

New kreativeKING VideoPlayer API

I finally released the kreativeKING Videoplayer API. I'm sure you all remember the old VideoViewer and ProgressionBar classes. Well this new set of API does away with those and replaces with a plethora of new classes to make your video player creating processes much easier. Spend more time on design than on programming. Some of the 10+ classes released are VideoWindow ( Replacement of the VideoViewer Class ), VideoPanel ( ProgressionBar replacement) and the VideoControl Classes. These are the main 3 classes that you will be using to the video players logic. I will post later on a short tutorial on creating a video player using the API.

Wednesday, October 29, 2008

Now On FlashDen

Yup, you read that right, I am now a developer on FlashDen. I know a lot of you are saying OH NOOOOO no more free stuff. On the contrary, I will still be releasing free content on the site as well as premium content on FlashDen. Most likely I will be releasing basic versions for free and more advanced versions with more features on FlashDen.

Saturday, October 25, 2008

XMLLoader 2.0 Update***

I've been getting some complaints about the XMLLoader.

First I have to say I missed a file when packaging it for distribution. I have already fixed that and you can redownload to get the updated package.

Secondly, for people getting a host of errors and the Error message is "Loading Failed". This is because you have cacheBuster set to true. The cacheBuster must be set to false when testing locally.

If any other bugs pop up, don't hesitate to drop me a line. Thanks again for the feedback, this wouldn't have been caught without your help.

Enjoy


Download XMLLoader Class 2.0 Here

Monday, October 6, 2008

Stable Release XMLLoader 2.0

**Update**
http://blog.kreativeking.com/2008/10/xmlloader-20-updatexmlloader-20-update/



I have been working hard on making this as robust and stable as possible. This release should be able to do anything you would like with loading XML. Couple of new features from 1.8 the community has been emailing me about as well as some that I wanted to include in past versions. I will be releasing a video tutorial on how to use this class properly. I'll explain the new features to hold you over until then.



Friday, September 12, 2008

**UPDATE** *NEW* XMLLoader Class v. 1.8

**Update**
XMLLoader 2.0 « Cleck Here

**UPDATE**
Build 1.8 had some back end updates.


  • Complete Event doesn't dispatch early

  • XML Root is now passed instead of just the children




Syntax is still the same

As many of you may already know, I built an XMLLoader class couple months ago. I have steadily been adding more features and making it more robust and easier to use. In this release v.1.6, 2 new features are introduced. You can now choose which list to get by the name of the xml file and now there is a new function to load xml outside of the constructor.

Wednesday, September 10, 2008

Fade In Gallery Class

***Can now be found on FlashDen***

Simple yet very useful for a quick setup of a gallery and pretty flexible. With this class it creates a simple effect that reveals your images in sort of the same fashion the Transition Effect. All of the settings re placed into an xml file named "fade_gall_config.xml". The images you want loaded re placed into another xml file named "fade_gall_images". Both these files should be in the same directory as your .swf file. Hope you are all still with me.....

The only function in the FadeInGallery Class is the constructor where you need to pass in the stage. That is pretty much all you need to do on the flash side of things. Here is an example of te syntax for instantiating the class...

Monday, September 1, 2008

New VideoViewer Class Source

Alot of people were asking me to post the source for my classes as I post them. So here is the updated source.

Saturday, August 16, 2008

New Class from Jack aka Mr GreenSock...

I just checked my email to find that Greensock has come out with a new class. The Custom Ease Class. Now this is a pretty powerful class. It allows you to create custom easing instead of using the default Back, Bounce, Elastic, etc.

Jack "



Sometimes the standard easing equations(Elastic, Strong, etc.) don’t give
you quite what you want. This tool allows you to interactively draw a curve
for your own custom easing equation and it even writes the code for you.
Just copy and paste it into your application. The code it writes requires
the gs.easing.CustomEase class which is a membership benefit of Club
GreenSock.
"

Friday, August 15, 2008

New and Improved VideoViewer Class (AS3)

I have been working hard on improving my VideoViewer class. Some of the new features is the possibility to make a play list. The play list is made in an xml file. Even with the playlist you can still have it play one video or play the play list. Along with that comes a config.xml file with a slew of settings such as the delay between videos when using the play list function. Within the play list file (videos.xml), settings such as the buffer time, height and width will be able to be set.

Saturday, August 2, 2008

ProgressionBar Class (AS3)

I briefly touched on the ProgressionBar Class in my last post on the VideoViewer Class. This class controls all the time line assets(the scrubber, the progression bar, etc). This class is a lot easier to use and only contains one method.


var myPBar:ProgressionBar = new ProgressionBar($videoViewer:VideoViewer, $stage:Stage,
$progressBar:DisplayObjectContainer, $timeSlider:DisplayObjectContainer, $track:Object,
$playedColor:DisplayObjectContainer, $playedColorMask:DisplayObjectContainer)


Tuesday, July 29, 2008

VideoViewer Class (AS3)

The VideoViewer Class is a class I created to quickly put together a video player in a matter of minutes. This is just part of a package that includes other classes such as the ProgressionBar Class which controls the scrubber and the time line. I will release the other classes at a later date.


The VideoViewer class has an easy to use API , that only consists of a couple methods and properties.

Thursday, July 24, 2008

XMLLoader Class Updated Version (A.S.3.0)

**Update**
XMLLoader 2.0 « Cleck Here



I recently released a class (XMLLoader) and after some suggestions and further research, I decided to revamp the class entirely. With this comes some good news and bad news. Bad news first, the class no longer automatically creates the event listener for you. This is not a big lose. I just wanted to keep to Encapsulation standards.



Tuesday, July 22, 2008

XMLLoader Class (AS 3.0)

**Update**
XMLLoader 2.0 « Cleck Here

Even though with AS 3.0, dealing with XML has became very easy. I still don't like writing this...





var myXML:XML = new XML();
var myLoader:URLLoader = new URLLoader();
var myURL:URLRequest = new URLRequest("titles.xml");

myLoader.addEventListener(Event.COMPLETE, loadXML);

myLoader.load(myURL);

function loadXML(e:Event) {
myXML = new XML(e.target.data);
return myXML;