Me (Stanislav Stankov) growing up

Course Certificate: Effective Organization

Almost moth delay, but it is:

Course Certificate: Effective Organization

Course Certificate: Effective Organization

Seminar introduction (translated from Bulgarian):

How to effectively organize your business from strategic perspective and to free myself as a manager

Dear managers,

  • Do you play the role of firefighter instead of manager?
  • Do you have enough time to plan and organize? Can you efficiently manage time and tasks?
  • Do you delegate successfully the duties to your employees?
  • Do you manage to always be effective enough?
  • Do you adapt your team to the difficult economic environment?
  • Do you know how to create a working and effective team?

As a result of the workshop participants will receive:

  • A clear understanding of all functions in the company to enable it to survive and to grow steadily;
  • A clear understanding of how best to use available human resources in the company and what kind of people it needs;
  • Knowledge of preparing a plan to reach where the owner / manager wishes;
  • Instrument for measuring performance and functionality of the various positions in the company;
  • Instrument for growth and success regardless of market changes;
  • Clearer understanding of the vital elements of successful and productive team and where things can go wrong.

Program of the seminar:

  • What is an organized scheme of a company, what elements are composed and how through it we have a clear picture of each function and department in the company;
  • Determining the ideal situation for each function and department – what would you like to achieve for each function;
  • Identification of the actual situation and the direction in which it moves over the ideal;
  • Opening of the reason for the upward or downward trend there;
  • Produce a strategic plan what steps to take to move closer to the real ideal situation;
  • Elaboration of monitoring system for each function;
  • What is a team and how with its help to achieve higher efficiency.

Certified Expert Flash CS3 Professional

So its little to late to show off, but just want to show you guys.
certified expert
Adobe Certified Expert in Flash CS 3

adobe flash cs3 ACE Exam

Multiple ContextMenuItem for different objects

OK here is a simple way to create as many objects as you want context menus:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import flash.ui.ContextMenu;
import flash.ui.ContextMenuItem;


function addContext(sprite_:Sprite):void {
    var menu:ContextMenu = new ContextMenu();
    menu.customItems = [new ContextMenuItem("Select only " + sprite_.name)];
    menu.hideBuiltInItems();
    sprite_.contextMenu = menu;
}

addContext(yellow);
addContext(green);
addContext(red);
addContext(blue);
addContext(this);

note that yellow, green, red, blue are Sprites, but it can be also buttons

Example:

This movie requires Flash Player 10

Nice post about The Right-Click Menu in Flash by Raiyan

Enable Telnet for Windows 7 and Vista

I found a really nice post written by Sean : Telnet for Windows Vista & Windows 7

JVM heap size, or why Flash is not compiling

Its been a while since i write something into my blog, but I want to share my experience over this topic.
As you develop project for sometime one Flash, and your code get bigger and bigger:

Source Code Statistics:

Code lines: 54 937 (59%)
Comment lines: 20 347 (21,9%)
Blank lines: 17 847 (19,2%)

Total lines: 93 121 Read More…

TV meets web. Web meets TV.

Download Videos From Youtube.com – The final working version 2010

Here is a great article how you can download videos from youtube with the new secure changes that they added:

Download Videos From Youtube.com – The final working version 2010

Flex Drag and Drop with dynamic image

Hey I was searching in internet how to do a drag that create a exact copy of the image without loading it. All the examples were with Embed images so i needed some example that Image load bitmap and then do drag without having to load bitmap twice. So take a look:

1
2
3
4
5
6
7
8
9
10
11
// fire from MouseEvent.MOUSE_DOWN event
private function doDrag(e:MouseEvent):void {
    var dragInitiator:Image = e.currentTarget as Image;
    var dragSource:DragSource = new DragSource();
    dragSource.addData(_core, "core");
   
    var dragProxy:Image = new Image ();
    dragProxy.source = new Bitmap((dragInitiator.content as Bitmap).bitmapData);
   
    DragManager.doDrag(dragInitiator, dragSource, e, dragProxy);
}

Spinets used:
Simple Flex Drag and Drop

equal function String.fromCharCode in PHP

Hey it was problem before I see this solution, to pass charactes to PHP like numbers, basicly because Flash use fromCharCode in UTF-8 format and PHP do chr function work in ASCII.

So here is the script solution:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
function uniord($ch) {

    $n = ord($ch{0});

    if ($n < 128) {
        return $n; // no conversion required
    }

    if ($n < 192 || $n > 253) {
        return false; // bad first byte || out of range
    }

    $arr = array(1 => 192, // byte position => range from
                 2 => 224,
                 3 => 240,
                 4 => 248,
                 5 => 252,
                 );

    foreach ($arr as $key => $val) {
        if ($n >= $val) { // add byte to the 'char' array
            $char[] = ord($ch{$key}) - 128;
            $range  = $val;
        } else {
            break; // save some e-trees
        }
    }

    $retval = ($n - $range) * pow(64, sizeof($char));

    foreach ($char as $key => $val) {
        $pow = sizeof($char) - ($key + 1); // invert key
        $retval += $val * pow(64, $pow);   // dark magic
    }

    return $retval;
}

found on : Unnamed – post number 1799714

my CV is now written in LaTeX

my CV

I used MiKTeX 2.8 Setup to compile it on Windows 7.
Soruce file of my CV

Note: you need to compile it in XeLatex. Also there is file that u need to add in the same dir as “cv.tex”. It is the image in CV. You can download it here:

ace

ace


but use it only for training purpose otherwise you violate the trademark rights

Used links:
Typesetting your academic CV in LaTeX