| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hi I am trying find out how to add font style to a simple xml document I have made. <images> <image source = "images/Image1.jpg" thumb = "thumbnail/Image1.jpg"> Picture of car.</image> <image source = "images/Image2.jpg" thumb = "thumbnail/Image2.jpg"> picture of orange.</image> <image source = "images/Image3.jpg" thumb = "thumbnail/Image3.jpg"> book.</image> <image source = "images/Image4.jpg" thumb = "thumbnail/Image4.jpg"> Poster in Holborn.</image> </images> thankyou for helping much appreciated! mt |
|
#2
| |||
| |||
| Perhaps I have missunderstood you, but you can set the font style on the text-field that displays the text. |
|
#3
| |||
| |||
| text-field that displays the text.- do you mean inside flash ? I am trying to change the font with this external xml file ? apparently I can do this with css but I just cant figure out how to compose it.. |
|
#4
| |||
| |||
| If you select your dynamic text field on the stage, you can select the font that you want to use in the properties inspector and whatever xml data is placed into that field will have that font. Don't forget to embed the font if it's not standard. |
|
#5
| |||
| |||
| I see, no I have added the text with the addChild method, I am trying to figure how to do it with code |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.