On 2/8/06, CARABUS plus <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I create dynamic textfield with functions and I try to field them without
> success, Have you got an idea ?

yes. in fact, i have quite a few suggestions -- sorry if they sound a
bit harsh, that's not my intention, they might help you get answers to
future problems, and apply to some others as well:

-- consider posting to the newbies list:
http://chattyfig.figleaf.com/mailman/listinfo/flashnewbie

-- use a subject line that is more descriptive than ">>". at most, i
would have expected this to relate to the bitwise rightshift operator.

-- be more descriptive. "without success" means what exactly? you see
nothing at all, the text doesn't show but the borders do, or what
exactly?
you already have traces in your code. what do they trace? when you
post here you probably have tried to solve the problem yourself
already, so why not tell others what potential causes you have
excluded so they don't have to go through the same again? you know
what "dt" and "dtd" are, i know it because i read to the
createTextField line, but normally i wouldn't bother. it takes only a
few seconds to change the variable names to something meaningful,
instead everybody who reads it has to figure out what they are by
oneself.
in what scope is the code? you talk about creating textfields with a
function, is this in a function?
what are you trying to do? it looks like you're trying to create a
textfield with 70px thick top and left borders.

-- you can replace the "i" in "i++" with "dt" and remove the last line
of your code.

-- you declare var dt:Number twice. remove the first one.

-- instead of "dtd.text" etc, use _root[ dtd ] to make it work.

again, sorry if this sounds too harsh, it just needs to be said once
in a while, and really is more of a general hint to many than directed
only at you. i often don't even look at the code if i don't know what
i'm looking for, yours just happened to be pretty short. you know what
it's supposed to do, what does/doesn't happen, and what causes you
already have excluded. we don't, and can't figure it out as easily as
you could provide us with that information. if your code would have
been only slightly longer i'd have simply closed your mail and moved
on, you and others really miss lots of good advice or solutions that
way. not because nobody knows, but because they don't look at the code
without knowing what to look for.

hth,
mark

--
http://snafoo.org/
jabber: [EMAIL PROTECTED]
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to