Ok,
Hello everyone…! i have this problem :
I have this site www.selgec.pt and in “Ofertas de Emprego” i have a dynamic text thingy which is basically a graphic with text from a data base in it, multiplied by the number of fields in it too. So far so good, everything works but as you can see… it need a scroll ! Stupid problem… but i don’t know how to resolve it ! I use Flash CS3 in a iMac G5.
Can anyone help me with this ? It is extremely urgent, and i can pay to whoever helps me today. I need this thatbad* ! eheh
Cheers
well that is for text, what about for a flash generated graphic ? i mean… the graphic and it’s content is generated by the flash with the text in the database, it’s not just text.
I used this in Flash to generate those graphics,
var jsonFetcher:LoadVars = new LoadVars();
jsonFetcher.onLoad = function(success:Boolean) {
if (!success) {
trace(“Error connecting to server.”);
ofertasLoaded = true;
}
};
jsonFetcher.onData = function(thedata) {
try {
var json:JSON = new JSON();
var o:Object = json.parse(thedata);
lastY = 0;
for(i = 0; i < o.length; i++) {
_root.ofertasHolder.attachMovie("ofertaTemplate", "oferta" + i,
_root.ofertasHolder.getNextHighestDepth(), {_x: 0, _y: lastY});
lastY = lastY + _root.ofertasHolder["oferta"+i]._height + 5;
_root.ofertasHolder["oferta"+i].referencia.text = o*["reference"];
_root.ofertasHolder["oferta"+i].titulo.text = o*["title"];
_root.ofertasHolder["oferta"+i].urgencia.text = o*["urgency_title"];
_root.ofertasHolder["oferta"+i].descricao.text = o*["body"];
}
} catch (ex) {
trace(ex.name+":"+ex.message+":"+ex.at+":"+ex.text);
}
};
jsonFetcher.load(“offersjson.php”);
stop();
I could help you in AS3, and this should be in AS2 forum