-----Original Message-----
From: payal [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 17, 2007 5:04 PM
To: [email protected]
Subject: RE: [Flashcoders] Text Input Component

I am using the following code



for (var i = 0; i < 20; i++)
{
        this.con_mc.data_mc.attachMovie ("kid_mc", "kid_mc"+i, i);
        
        this.con_mc.data_mc["kid_mc" + i]._x = 0;
        if (i == 0)
        {
                this.con_mc.data_mc["kid_mc" + i]._y = 0;
        }
        else
        {
                var prev = i-1;
                this.con_mc.data_mc["kid_mc" + i]._y =
this.con_mc.data_mc["kid_mc" + prev]._y + this.con_mc.data_mc["kid_mc" +
prev]._height + 4
                
        }
        
        
        this.con_mc.data_mc["kid_mc" + i].ifBD1.text = "Test" 

// what is this .ifBD1? try tracing any of the property of the text field,
so that you will come to know whether the reference is working or not.
trace(con_mc.data_mc["kid_mc" + i].ifBD1._x); // if this line gives you the
x co ordinate then it's ok and we can find out the next problem. I don't
think it will give the value of _x. I am concerned for "ifBD1".

        trace(this.con_mc.data_mc["kid_mc" + i].ifBD1.text)
        //trace(this.con_mc.data_mc["kid_mc" + i].ifBD1.text)
        //trace(this.con_mc.data_mc["kid_mc" + i])
}

Regards
Payal
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Andrews
Sent: Tuesday, July 17, 2007 04:47 PM
To: [email protected]
Subject: Re: [Flashcoders] Text Input Component

----- Original Message ----- 
From: "payal" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, July 17, 2007 12:00 PM
Subject: [Flashcoders] Text Input Component


> Hi All
>
> I am trying to attach a movieclip containg  textInput component to the
> stage. Its attaching successfully But I am not able to set its Text.

If you don't show what you are doing to set the text, we can't tell what's 
wrong..

Are you trying to assign to the textinput object itself  rather than the 
text property?

> Regards
> Payal
>
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
> 

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to