View Full Version : Explanation Pretty Please :)
TOOL
April 17th, 2003, 09:20 AM
i was looking at flashkit tonight and found a pretty cool text effect that i liked...so oi downloaded it and would like to understand the code behind it better. so could someone please give me an in depth explanation if they have the time? i'd really appreciate it, i'm just getting nowhere with learning flash at the moment...uni is way too busy
now what is the best way to do this? should i just paste the code or since there are a few frames with it, would it be easier for someone to download the .fla?
thanks
TOB
Jubba
April 17th, 2003, 09:31 AM
paste the code here... a lot of files from Flash Kit are outdated and have Flash 4 code on them, but post the code and the fla and someone will be able to help you...
TOOL
April 17th, 2003, 09:42 AM
text = "fakhar abbas shahi";
i = 1; max = length(text);
kerning = "20"; size = "10";
setProperty("gull", _visible, "0");
hmm first attempt at posting code not sure if that will come out properly...thats first frame
second frame:
duplicateMovieClip("gull", "gull" add i, i);
set("/gull" add i add "/letter:gull", substring(text, i, 1));
setProperty("/gull" add i, _x, 100+Number(i*kerning));
setProperty("/gull" add i, _xscale, 25*size);
setProperty("/gull" add i, _yscale, 30*size);
i = Number(i)+1;
third frame:
if (Number(i)>Number(max)) {
stop();
} else {
gotoAndPlay(3);
}
Jubba
April 17th, 2003, 09:46 AM
is this similar to the effect you are looking for?
http://www.kirupa.com/developer/actionscript/ascript_text_animation.htm
because that is all Flash 4 code.
Jubba
April 17th, 2003, 09:46 AM
alos a link to the original tutorial would be useful as well...
TOOL
April 17th, 2003, 09:50 AM
http://www.flashkit.com/movies/Effects/Text_Effects/fakhars_-Smooth_C-8399/index.php
theres the link and i did do that tutorial but had problems, you fixed it up for me jubba, it was a while back but i dont understand the code or how you did anything...
Jubba
April 17th, 2003, 09:52 AM
did you read the explanations of the code underneath the tutorial? I can't really explain it any clearer than that. The one on Flash kit is Flash 4 depreciated code...
TOOL
April 17th, 2003, 09:54 AM
i read the explanation on the page but yeah didn't really help me underestand...basically i havent done much AS lets say EVER! ha...
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.