hello os flash list,
i work as a flash developper in the web company (http://www.nothing.ch)
and after several month there i build up my own as library with a lot of
usefull classes. and i think i would be a pity not to share it with all
the other flash developpers.
but sometimes it would be practical if someone else review the code or
just give a new idea how to implement some classes.
so i am LOOKING for other as software engineers that will working on the
same library via svn. add some new pratical classes or use the existing
ones or optimize them.
if you just want the source code you can have it, but thats not what im
looking for. i think it is usefull for somebody that works also everyday
with as code and want to contribute his know-how.
i will make a little description of what i have already in my library:
(http://preview.ch/documentation/library/ ASDoc)
- there are some components based on mvc and because of the designer
wishes most of the time the components looks different, so you build you
own view for different projects.
components are: combobox, imageloader, list, scrollbar, txtfield
most of them are used at: http://beachvolley.swatch.com/flash.html
- there are some dataholder classes, like: list hashmap, stack
- there is and animation framework where you can make tree similar
animations. based on the composite pattern. you can make a list of that
should happen and when which function should be called or properies
should be applied
example:
http://www.sunrise.ch/privatkunden/iminternetsurfen/adsl/adsl_abosundpreise/adsl_welchesabonnementbraucheich.htm
- there is an eventrepeater class, that wrapps interval based and
onEnterFrame based loops. you dont have to care about interval ids or
remove the onEnterFrame loop just use it like that:
*******************************code*************************************
EventRepeater.setEnterFrameMC(_root.createEmptyMovieClip("test",1));
//first make sure to specify the target mc for the onEnterFrame Loop
var a:EventRepeater = new EventRepeater(this,"loop",["gehts
denn"],20,1); //create a eventRepeater with a delay - will create a
intervalrepeater
var b:EventRepeater = new EventRepeater(this,"loop",["gehts denn _
enterframe based"],20); //create a eventrepeater without - will create a
enterframe repeater
// start them both
a.start();
b.start();
*******************************code*************************************
- language files: if you want do a multilanguage website of application
its very usefull.
- there are some basic mvc, eventsource classes which you can extend to
make eventsources, mvc triade etc
- there is a little but practical soundManager
*******************************code*************************************
this.a = new SoundManager(_root.soundcontainer) //where soundcontainer
is the root movie on which the manager will attach empty movie for all
necessary soundclips
this.a.attach("libID","movieID"); // before you can use it, you have
to attach the movie from the library an then assign a id for internal
use in the movie.
this.a.play("movieID"); //will play the attach soundclip with the
libID: "libID"
this.a.fadeout("movieID",2); // will fadeout the movie during 2 sec
*******************************code*************************************
make the soundmanager instance as a singleton you can use it over your
hole application and have controll over all the sound clips
there are some outer util classes you can check the documentation.
all these classes works fine in my projects, but if they really easy to
use and are intelligent build up, i dont know exactly for that i need
some peoples they work with and have some ideas to refactor or optimize.
so i hope someone is intressed and we can develop a standart library for
allday use in a flash developers life ;)
bye - bis naii
loop - mich
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org