Archive for category Ressources

Ressource – French book from Thibault IMBERT

I thought I’ve talk about this one already but looking in my archive I haven’t been able to find it.
SOooo.
This is an excellent french book “Pratiques d’Actionscript” from Thibault that you can find here
++

, ,

No Comments

RIA Ressource – tostring.org

It’s been a while since I blogged. Working like hell and have no time for anything else :/
But I had to talk about the initiative of Mike Chambers and the tostring.org website.
The purpose of this website will be to list the open source books available on the net and also translate them into non-english language.
Check Mike post here
++

, , , , ,

No Comments

MTASC – MTASC compliant AS2 classes

Hello,

Some people on the pixlib mailing list ask me to give them the macromedia classes patched for mtasc ( for strict compiling ).
The patch are on the osflash.org website here, but you can download the classes already path below

MTASC Compliant classes Download the classes Unknown

And this post reminds me that I have to finish updating my website. I definitly need to go through some CSS :)

, , , ,

5 Comments

Oregano – Forum online

Hello,

Yes Eric Priou (aka erixtekila) who has done the AS2 API for Oregano ( so he knows what he's talking about when talking about Oregano ) has ( re ) open a forum for Oregano.
Here is the link http://www.v-i-a.net/forum/

Some other links you may like:
Articles : http://www.v-i-a.net/forum/

Some other links you may like:
Articles : http://www.v-i-a.net/inprogress/doku.php/oregano

C you and thx Eric for that ;)

, , ,

No Comments

Oregano – how to run the server

Hello there,

First, check this post if you dunno Oregano.

This one looks kinda easy, but I took some times to get the server running and the basic example provided working, cause of some stuff not written in the manual.

I'm using mysql. I've downloaded the JDBC connector from the mysql.com website. Do as described in the manual and put this in your config

XML:
  1. <database
  2.     url="jdbc:mysql://localhost/oregano?auto-reconnect=true"
  3.     driver="com.mysql.jdbc.Driver"
  4.     userID="root"
  5.     password=""
  6.     connectionLimit="20"
  7.     transactions="false"
  8.     >

Continue to follow the manual.
When you are creating the table you need to insert a record in the mode table, otherwise when oregano will want to update the value, you'll get an error ( as no record is in the table yet ).
If you are using mysql that support innoDB use innoDB and put transaction="true" in your config file.
If so instead of using the oregano.sql provided in the zip downloaded on their website you can use this file which create all the table in innoDB and insert the missing record

I got an error with the server ID too so I've changed it. If you do so, remember to change it everywhere in the config file ( here in the node ) otherwise your basic example will not work...

That's all for now...

More will come as I will go further in the development with this socket server.

And thx to Eric who helped me to find my way...

12 Comments

Hexa class – format correct hexa string

This class will help you to get correct hexa string to save in a file. eg, 10 in decimal is "A" in hexadecimal, but when creating an hexa string to save it in a file you need to give the byte like "0A".

Then you have word ( 2 bytes ) and DWord ( 4 bytes ). Lets say you want to save in hexa a width of your bitmap, saying 678. 678 in hexa is 2A6 and must be saved in a DWord ( 4 bytes ). The thing is that Words and DWords are read from right to left, but the bytes still from left to right. So you should have this to be correct: A6 02 00 00.

Anyway you don't need to know all of this. With the class to get your hexa string just do Hexa.DWord( "2A6" ) and you'll get the "A6020000" in result. Check the function in the class.
The getString will let you choose the length of the string, eg if you need to retreive the hexa for a pixel do like:

Actionscript:
  1. getString( _bmp.getPixel(0,0).toString( 16 ), 6 );

Read the rest of this entry »

, ,

2 Comments

Exporting BitmapData in hexa for file saving using swf2exe soft ( like mdm Zinc )

This class will help you to have a string in hexadecimal format to save it in a file. It creates the header of the file, the header of the bitmap and the data. This class require the Hexa class. Be sure you have it when compiling.

This class do its job, but I have to admit as soon as you are processing big bitmap, it's slow... very slow. This is due because of the string operation I'm doing to format it to a conform Hexa string.

So check it and give feedbacks if you find any way to improve it or if you have any request.
Read the rest of this entry »

, , ,

1 Comment

ColorMatrix or how to “paint” MovieClip

Today I have to finish an application I'm developing for my company.
This application is downloading external parts of a house (png files) and displaying them on top of the house image. Thus the user can see the different texture he could chose.

The thing is a feature is to be able to "paint" those external materials.
So I've look around a bit for tips / tricks. I've found two classes for flash, both named ColorMatrix, one made by Grant Skinner the other by Quasimondo

The one from Grant doesn't have any painting features, the one from Quasimondo has it but is not working the way I've wanted to.
What I've wanted is replacing "totally" a color by another one but still keeping the shadow, contrast, ...
Read the rest of this entry »

, ,

2 Comments

MDM Zinc – FTP Manager

Hello.
This is a class I've done long time ago. I'm quite sure it will be helpfull to some people (at least one, the one who sent me an email asking for this class ;) ).
Read the rest of this entry »

, , ,

2 Comments

AS2 – Listening the event of a CLASS

This class has been made to be able to listen to the events of a CLASS not to the on of an instance.
Read the rest of this entry »

, ,

No Comments