Problem to load external .swf
Hello,
I need help!, please!
I am trying to load external .swf with the Sliding List, but not work.
I did all the process explained in this thread to do that, but nothing, I don't have idea what happen.
• This is the code that I put in the AS:
_root._visible = true;
// define item select handler
PList_mc.onItemSelect= function(n:XMLNode){
// display title in the result_txt text box on the stage
result_txt.text = n.attributes.title;
}
// populate menu
PList_mc.root = PList_mc.data =xo.firstChild;
PList_mc.onItemSelect= function(n:XMLNode){
caja.loadClip(n.attributes.clip);
}
•*And this is the code in the XML:
<playlist title="Seleccione una Categoria">
<item title="Bienvenida" clip="pcd.swf"/>
</playlist>
Please! some body help me with this...
Thanks before hands!
Ososa
|