Hi,
I’m working on a project loading portfolio items (thumbnail, image, text) from XML into a gallery.
Everything worked fine when I created a static template (ie movieclips and text boxes in Flash). But I’m moving it over to be created in Actionscript based on the number of items in the XML rather than having a fixed number of items set out in flash.
The problem I’m having is creating the text area with Actionscript, and I think it is something to do with embeding fonts perhaps?
Here is what I have:
var currentText_mc = window.easing.text_holder.createTextField("text_"+i,i);
currentText_mc.text = currentPicture.attributes.details;
(This was modified from a kirupa tutorial hence familiar var names! And runs within a for loop - the rest of which works fine.)
This doesn’t show anything at all. Can anyone tell me what I need to add, or how to embed a font with this - if that’s the problem?
Thanks
S