PDA

View Full Version : dynamic text


tg
10-11-2002, 09:02 PM
ok, i have once again been staring at my monitor too long... this is really easy.
in fact i did the in a file just yesterday and it worked perfectly... maybe you can see my mistake.

var counter;
obj=this.createEmptyMovieClip("header",++counter);
obj.createTextField("title",++counter,0,0,100,30);
obj.title.border=true;
obj.title.background=true;
obj.title.backgroundColor=0xf7aebd;
obj.title.selectable=false;
obj.title.autoSize=false;
obj.title.text="Match-up Graph";
obj._x=100;
obj._y=200;


this is giving me a blank screen instead of a text box.

Clint Critchlow
10-12-2002, 04:21 AM
Worked for me. I cut and pasted with zero changes and it worked. Kind of an ugly pink color. If testing the browser make sure you have Flash Player 6.

pom
10-12-2002, 07:42 AM
Hallucination confirmed. Works for me too. And I kinda like that pink :rolleyes:

pom :D

ScratUAD
10-12-2002, 01:25 PM
whoa man... that pink looks like barney threw up in your text box.
but it works, no changes.

Ricod
10-12-2002, 07:44 PM
*blink* ... *blink* ... tg ?
better have some coffee man !

Mortimer Jazz
10-12-2002, 09:36 PM
works for me too.
have you got it displaying under a mask?

ScratUAD
10-12-2002, 10:11 PM
nope... no mask here

Mortimer Jazz
10-12-2002, 11:24 PM
Heheh ScratUAD ... how do you know that he hasn't got a mask layer or setMask somewhere in his movie? :)

Ricod
10-12-2002, 11:59 PM
Those Scrat's sure have evolved ... one moment they're chasing acorns all over the Ice Age, the next they're flashing and know wether or not tg is having masks ... :)

ScratUAD
10-13-2002, 11:39 AM
OH DEAR GOD! he may have a mask...
he might be hiding it!
Robin, we have GOT to get this to the MAYOR!
QUICK! to the scratmobile!

farafiro
10-14-2002, 07:46 AM
so, I think that code calls a bug that lives in TG's pc and I'm affraid it might ate him
oh lalalalaaaaaaa

ScratUAD
10-14-2002, 11:18 AM
not the dreaded... ... what?...bug?

tg
10-14-2002, 03:21 PM
heh.
ok, took a while to stop laughing...
been off relaxing this weekend. but yesterday, i started thinking about this whole thing, and thought i should just scrap the whole thing and try it again fresh... so once i'm done with my morning browse of the forums, i will copy and paste the above code and give er another whirl...
thanks for all the responses folks... much appreciated.



whoa man... that pink looks like barney threw up in your text box.
but it works, no changes.


nope... just a big burp.

ScratUAD
10-14-2002, 04:13 PM
weeeeeeeeeeeeeeeeeeeeeeeeeeeee!


"and I raa-aa-aan... I ran so far awaaa--aaa-aaayyy..."