September 2, 2009

String Text Effect

Notice the following sample swf , Press the center of the text and Drag , you can view Nice  String text effect.

Like it!. well let me explain step by step to create this.



  1. Create new Flash File (File->New or Ctrl + N) and Name it as string text.
  2. Create one Movie clip called CIZ and inside create the Text like "CIZ" . Note The font should be Bolder one.
  3. Now Break (Ctrl+B) , until it becomes as an vector image.
  4. Now its like an image . so inner and stroke color with 50% of alpha .Please look at the below image.
  5. Now came back to stage , and give Instance name as "ciz0".
  6. Create one invisible circle button and place this in center of the "CIZ" Movieclip.
  7. And again select the Movieclip and Paste following code in its Actionscript layer

    onClipEvent (enterFrame) {
    _x = _root.drag_A._x + factor*(_root.drag_B._x - _root.drag_A._x);
    _y = _root.drag_A._y + factor*(_root.drag_B._y - _root.drag_A._y);
    rspeed = rspeed+3;
    _rotation = _x/3 +_x/5+rspeed;
    _xscale = 10+ (_y/300)*180;
    _yscale = 190- (_x/300)*180;
    }
    onClipEvent (load)
    {
    thisNum = number(_name.substr(3,length(_name)-3));
    factor = thisNum/_root.totalClips;
    }

  8. Now select the invisible button and paste the following code .




    on (press) {
    startDrag("", true, 0, 0, 300, 300);
    }
    on (release, releaseOutside) {
    stopDrag();
    }
  9. And create new Layer called Action and make continuous 3 keyframes in this , and paste the following codes on each frame accordingly




    In Frame 1
    totalClips = 20;
    clipNum = 0;
    In Frame 2
    while (++clipNum <= totalClips) { duplicateMovieClip("ciz0", "ciz"+clipNum, clipNum); }
    In Frame 3
    stop();

  10. Now you finsh, just run and Press the center of the text and Drag , you will get the nice string effect.

Download source code from here
 

About

we are doing all kind of web / standalone applications using Flash , FMS, PHP , XML , CSS , etc. we handle all projects starting from the initial design concept through the delivery of your personalized product. Our commitment to you is comprehensive and complete-aimed at satisfying your every need. We have the experience and the expertise to get the job done.

Site Info

we Currently handling web requirements and multimedia productions and we have the capability of cutting your web , graphics and multimedia expenses to a bare minimum without sacrificing professional quality or delaying production. Our focus is on the development of smart, successful ideas and we always strive to maintain the highest . we currently using following technologies Flash 8, Flash cs3,Actionscript 2 ,Action script 3 ,Flash Media server , PHP,AMFPHP,XML ,HTML ,CSS ,Photoshop

Text

Digizone, AnnaNagar East, Chennai, TamilNadu ,India. Please view our website for further details

Flash and photoshop resources FREE Download Copyright © 2009 Community is Designed by Bie