Hi,
Can anyone here explain why my attached movie won't show
I am loading an XML file with city data, and this data I want to present in dynamic text fields using a loop
after each city I need a line (from my library with linkage name "cityDivider").
But I can't see my line anywhere, do I do something wrong?
please see attached code
hope anyone have som answers,
Thanks in advance.
best regards T
Code:
code:
// Create textfield, and insert data
cityMC = resultHolder.createEmptyMovieClip("cityMC", 1);
// Store some variables
cityMC.x = cityX;
cityMC.y = cityY;
cityMC.city = city;
cityMC.cityMap = cityMap;
cityMC.createTextField("_city",1,0,0,scWidth,textF ieldHeight);
cityMC._city.text = city.toUpperCase();
cityMC._city.setTextFormat(boldFieldFormat);
cityMC.onRelease = function() {
// Some action
}
//
var div = cityMC.attachMovie("cityDivider", "cityDivider2", 5);
div._width = 100;
div._height = 100;
EDIT: Added [ as ] tags for readability - see posting guidelines at top of forum - jbum


Reply With Quote