Random text

Post Reply
User avatar
pagol
Insanely Distorted
Insanely Distorted
Posts: 3298
Joined: Sat Nov 03, 2007 8:41 pm
Full Name: Koba
Expertise: Jack of all, master of NONE
x 81

ok.. banglai koi.. tek asay ? ami english , hindi konota e pari na..

1. one flash document. fps more than 20
2. make one big dynamic text ( intense name = dis )
3. convert dynamic text to movie clip ( like name pp )
4. place pp movie clip in scene and put movie clip name as dd
5. write this action script in first frame

Code: Select all

TextField.prototype.compose = function(someText) {
	this.text = "-";
	this._parent.tempText = this;
	this._parent.messageString = someText;
	this._parent.indexNo = 0;
	this._parent.onEnterFrame = composeString;
	function composeString() {
		var intString:String = "";
		if ((++this.indexNo)<=this.messageString.length) {
			var tempString1:String = "";
			var tempString2:String = this.messageString.substr(0, this.indexNo);
			var tempString3:String = this.messageString.substr(this.indexNo);
			var i = 0;
			while (i<tempString3.length) {
				tempString1 = tempString1+String.fromCharCode(100+Math.round(Math.random()*100));
				i++;
			}
			intString = tempString2+tempString1;
			this.tempText.text = intString;
		} else {
			this.onEnterFrame = null;
		}
	}
};
_root.dd.dis.compose("Distorted Designers First Designers Community in Bangladesh");

so now check it :d


**** admin mama.. file upload korar option pailam na.. tai swf or fla kono tai upload kortay parlam na sorry....



bhai and vabi raaaa... ami bhaloo lektay jani na..... tai clear koray liktay parlam na... sorrry


User avatar
chhagol
DD Addict
DD Addict
Posts: 899
Joined: Wed Dec 05, 2007 5:17 am
Full Name: Mamun Khandaker
x 2

Wow, jotil jinish disen mama. Khubi valo (hobe nishchoi). But amar khetre kaaj korlo na. Ki korum bolen, code o manush chine, tai shobar kachhe execute hoy na. Ta chhara disen to green colorer code. Ami abar green ja dekhi tai amar kachhe ghash mone hoy tai code-mode ja paisi shob chabaiya khaiya falaisi...
MAMUN KHANDAKER
Technical Lead
Monstarlab Bangladesh Ltd.
User avatar
admin
Site Admin
Posts: 206
Joined: Mon Oct 08, 2007 2:25 pm
x 1

dear Pagol,
you can email us the swf/fla file. we will upload it for reference. due to our some technical problem we are unable to allow our members to upload files except images.

Thanks
User avatar
pagol
Insanely Distorted
Insanely Distorted
Posts: 3298
Joined: Sat Nov 03, 2007 8:41 pm
Full Name: Koba
Expertise: Jack of all, master of NONE
x 81

here is swf and fla

Code: Select all

http://www.sendmefile.com/00604762

or 

http://www.mediafire.com/?btrzptxpdcd
** KISS Principle **
User avatar
asifshahid
Insanely Distorted
Insanely Distorted
Posts: 4329
Joined: Tue Oct 16, 2007 2:35 pm
Full Name: Asif Shahid
x 37

pagol bhai....I implemented the code and it ran smoothly....but the problem is when it's composing, character gula kemon jeno unusual type like bangla font na pele box box, hizibizi dekhay oi rokom dekhachche...font er kono probloem naki?....see the screenshot


Image
Asif Shahid
Sydney, Australia 🇦🇺
User avatar
pagol
Insanely Distorted
Insanely Distorted
Posts: 3298
Joined: Sat Nov 03, 2007 8:41 pm
Full Name: Koba
Expertise: Jack of all, master of NONE
x 81

smasif wrote:pagol bhai....I implemented the code and it ran smoothly....but the problem is when it's composing, character gula kemon jeno unusual type like bangla font na pele box box, hizibizi dekhay oi rokom dekhachche...font er kono probloem naki?....see the screenshot


Image

ho bhai jan... font a problem.. just apni apnar moto font selete koray den.. then ok...
** KISS Principle **
webdesignertushar

dear Pagol vai jaan,

So nice of it ...cool Action script Animation....thnx
Post Reply

Return to “Flash”