Fresh_ales
01-17-2006, 07:22 AM
I try to make an LCD like they have it in casinos, that displays some text and numbers... I have made like this...
1 layer: background
2 layer: dots
3 layer: dots
4 layer: text field /masking with dots
but i have a problem...
1 i cannot use dynamic text box for masking
2 if i animate (move) text box it converts to graphic
What i want to do?
1. I want that flash reads content of text, from text file // i know how to do this..
2. i want this text mask with a layer (dots) //i cannot do it with dynamic txt field
3. i want to animate text box (text)
If anyone can tell me anything...i would be happy
Fresh_ales:D
Flash Gordon
01-17-2006, 08:02 AM
Maybe I'm just stupid, but I have no idea what you want or are asking.
Fresh_ales
01-17-2006, 08:20 AM
hehe
o.k.
Here is the fla file...
the file is RAR and i rename it to ZIP (dont have the zip tool:P)
goliatone
01-17-2006, 11:38 AM
hi fresh, lets see...i think you want somethin like this (http://www.actionscript.org/forums/showthread.php3?t=93369)
it was in some other post with almost the same title:rolleyes: ...didnt you search before posting?;)
Fresh_ales
01-17-2006, 10:34 PM
hi fresh, lets see...i think you want somethin like this (http://www.actionscript.org/forums/showthread.php3?t=93369)
it was in some other post with almost the same title:rolleyes: ...didnt you search before posting?;)
hmmm...
acualy i did search, but didnt found anything interesting....
your link is nice..thnx
I m trying to make a dysplay like on this page
http://www.casinos.at
You can see the display on the right side if not, just clikc "AUTOMATEN"
And i want that, diplay is reading content (text) from a txt file...
:P
Fresh_ales:D
goliatone
01-17-2006, 10:44 PM
ok, did you see the file that i attached, it was just a display like the one you want, you only need to, change the dot's style, give the background a color and make a load vars from the text file you want...its all done but the loadVars...take it an other look a the post...and tell me
Fresh_ales
01-18-2006, 01:05 AM
ok, did you see the file that i attached, it was just a display like the one you want, you only need to, change the dot's style, give the background a color and make a load vars from the text file you want...its all done but the loadVars...take it an other look a the post...and tell me
hyeah.....but this display only know charters, no numers..if i enter test like" This is the 100.000 way to go" it will not show the numers :eek:
Fresh_ales:mad:
invader
01-18-2006, 09:56 AM
i hope you have embedded your fonts for the dynamic text field. transforming and masking dynamic text fields require it.
select the text field, go to the properties panel, click on the button that says "Embed.." i usually either use Basic Latin OR select uppercase, lowercase, numbers, and punctuation. don't embed all, it will increase the SWF's file size more than necessary.
to animate the text field, put it inside a movie clip and move the movie clip. keep in mind that it will affect how you read/write text to that text field.
instead of:
-> textField.text = "foo";
you would use:
-> mcName.textField.text = "bar";
goliatone
01-18-2006, 11:34 AM
hey, fresh ales, well...u right...the numbers are not supported. Im looking at it. To define the number matrix to be displayed its easy. it would be something like this:
letter z
z1 = [1,0,0,0,0,1,1];
z2 = [1,0,0,1,1,0,1];
z3 = [1,0,0,1,0,0,1];
z4 = [1,0,1,1,0,0,1];
z5 = [1,1,0,0,0,0,1];
z = [z1,z2,z3,z4,z5,gap];
numb. one
11=[0,0,1,0,0,0,0];
12=[0,1,0,0,0,0,0];
13=[1,1,1,1,1,1,1];
14=[0,0,0,0,0,0,0];
15=[0,0,0,0,0,0,0];
1=[11,12,13,14,15,gap];
but you cant use a num to name a var, so...
one1=[0,0,1,0,0,0,0];
one2=[0,1,0,0,0,0,0];
one3=[1,1,1,1,1,1,1];
one4=[0,0,0,0,0,0,0];
one5=[0,0,0,0,0,0,0];
one=[one1,one2,one3,one4,one5,gap];
but you have to change some code to make it really work, im just playin round with it. if i come up with something, ill post it here. if you find something that works for you, post it as well, i will take it a look.
Fresh_ales
01-18-2006, 05:17 PM
i hope you have embedded your fonts for the dynamic text field. transforming and masking dynamic text fields require it.
select the text field, go to the properties panel, click on the button that says "Embed.." i usually either use Basic Latin OR select uppercase, lowercase, numbers, and punctuation. don't embed all, it will increase the SWF's file size more than necessary.
to animate the text field, put it inside a movie clip and move the movie clip. keep in mind that it will affect how you read/write text to that text field.
instead of:
-> textField.text = "foo";
you would use:
-> mcName.textField.text = "bar";
Ohhh yeaaah!!!!
I did it!!
It goest like this...
I have created yelow dots on layer1
on layer2 that is UNDER leayer1 i have MC
in this MC i have dynamic txt box, witch reads content of a txt file, but you have to embedd the font! or else, you cannot mask this!
then i have masket this layer with MC on it with layer1 with yelow dots...
Then i move this MC from right to left and tht's that!
here you can see, how it lookes like :P
[link deleted]
Regards...
Fresh_ales:D
goliatone
01-18-2006, 05:22 PM
ok, congrats...its nice work'round...i think i still would like to found out how to make the one i posted to work. Just 'cose it can be done...
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.