From: John-ny on
Hi Flash'ers

I am having some problems with the alignment of dynamic text in a textbox.
For example, i have a textbox of 200 x 200 and i got some dynamic text loaded
inside it through XML.

Problem is that i want the text to align at the bottom instead of the top.

Kinda like a valign=bottom if you make a table in HTML, but i want this to be
done inside the textbox.

Is this possible ?

Thank you in advance!

From: Michael D Cahill on
Are you using the component "Text Area" to load the XML into?

"John-ny" <webforumsuser(a)macromedia.com> wrote in message
news:drah2a$65c$1(a)forums.macromedia.com...
> Hi Flash'ers
>
> I am having some problems with the alignment of dynamic text in a textbox.
> For example, i have a textbox of 200 x 200 and i got some dynamic text
> loaded
> inside it through XML.
>
> Problem is that i want the text to align at the bottom instead of the top.
>
> Kinda like a valign=bottom if you make a table in HTML, but i want this to
> be
> done inside the textbox.
>
> Is this possible ?
>
> Thank you in advance!
>


From: John-ny on
Hi Michael,

No i am just using a simple drag of the text tool and giving it a 200 x 200
dimension.

What i didn't mention before is that i have rotated the text box with -90 so
the text is vertical.
I need this effect , but also want to align the text at the bottom


From: Michael D Cahill on
I'm trying to figure out the solution to your problem now, but could you
tell me how you managed to bind xml data to a text field... I've been using
the component "text area" to do that and i'd love to know how to do it with
a regular text field. I'm assuming you've set the text to "dynamic" instead
of "static" but could you give me some details? Thanks a bunch.

"John-ny" <webforumsuser(a)macromedia.com> wrote in message
news:dran5i$eja$1(a)forums.macromedia.com...
> Hi Michael,
>
> No i am just using a simple drag of the text tool and giving it a 200 x
> 200
> dimension.
>
> What i didn't mention before is that i have rotated the text box with -90
> so
> the text is vertical.
> I need this effect , but also want to align the text at the bottom
>
>


From: Michael D Cahill on
Click on the button you want to change the movie clip frame with. Type in
this actionscript while it is selected:

on (release) {
this.INSTANCENAME.gotoAndPlay(3);
}

where it says "INSTANCENAME" put the movie clips instance name. if you
didnt give it an instance name, give it one like "photogallery".
where it says (3) replace the number with what frame in the movie clip you
want that button to make it go.

That should work, i just did gave it a dry run and it worked fine for me.
Let me know if you have any problems with it.

-Mike.



"Michael D Cahill" <mcahill(a)epix.net> wrote in message
news:drathe$nlt$1(a)forums.macromedia.com...
> I'm trying to figure out the solution to your problem now, but could you
> tell me how you managed to bind xml data to a text field... I've been
> using the component "text area" to do that and i'd love to know how to do
> it with a regular text field. I'm assuming you've set the text to
> "dynamic" instead of "static" but could you give me some details? Thanks
> a bunch.
>
> "John-ny" <webforumsuser(a)macromedia.com> wrote in message
> news:dran5i$eja$1(a)forums.macromedia.com...
>> Hi Michael,
>>
>> No i am just using a simple drag of the text tool and giving it a 200 x
>> 200
>> dimension.
>>
>> What i didn't mention before is that i have rotated the text box with -90
>> so
>> the text is vertical.
>> I need this effect , but also want to align the text at the bottom
>>
>>
>
>


 |  Next  |  Last
Pages: 1 2
Prev: Failed to Load FLV: filename
Next: Flash in Mac Widgets