el cabezal se coloque en el frame x ( this.gotoAndPlay(x); )
(ejemplo: cuando se escoja BAJA CALIFORNIA en el combo box el cabezal se coloque en el frame numero 5
y asi con cada uno de ellos en diferente frame.
debe de ser independiente de la sentencia (navigateToURL(request, "FRAME1"); )
el combobox es el siguiente :
----------------------------------------------------------------------------
----------------------------------------------------------------------------
var sfEstados:Array = new Array(
{label: "AGUASCALIENTES",
data:"http://localhost/repmex/agsmun.svg"},
{label: "BAJA CALIFORNIA SUR",
data:"http://localhost/repmex/bajasmun.svg"},
{label: "BAJA CALIFORNIA",
data:"http://localhost/repmex/bajanmun.svg"},
{label: "CAMPECHE",
data:"http://localhost/repmex/campmun.svg"},
{label: "CHIAPAS",
data:"http://localhost/repmex/chiamun.svg"},
{label: "CHIHUAHUA",
data:"http://localhost/repmex/chihmun.svg"},
{label: "COAHUILA",
data:"http://localhost/repmex/coahmun.svg"},
{label: "COLIMA",
data:"http://localhost/repmex/colimun.svg"},
{label: "DISTRITO FEDERAL",
data:"http://localhost/repmex/disfedmun.svg"},
{label: "DURANGO",
data:"http://localhost/repmex/duranmun.svg"},
{label: "GUANAJUATO",
data:"http://localhost/repmex/guanamun.svg"},
{label: "GUERRERO",
data:"http://localhost/repmex/guerreun.svg"},
{label: "HIDALGO",
data:"http://localhost/repmex/hidalmun.svg"},
{label: "JALISCO",
data:"http://localhost/repmex/jalmun.svg"},
{label: "MEXICO",
data:"http://localhost/repmex/mexmun.svg"},
{label: "MICHOACAN",
data:"http://localhost/repmex/michmun.svg"},
{label: "MORELOS",
data:"http://localhost/repmex/mormun.svg"},
{label: "NAYARIT",
data:"http://localhost/repmex/nayamun.svg"}
);
var aCb:ComboBox = new ComboBox();
aCb.dropdownWidth = 199;
aCb.width = 199;
aCb.move(1,265);
aCb.prompt = "Ver por Estado";
aCb.dataProvider = new DataProvider(sfEstados);
aCb.addEventListener(Event.CHANGE, changeHandler);
addChild(aCb);
function changeHandler(event:Event):void {
var request:URLRequest = new URLRequest();
request.url = ComboBox(event.target).selectedItem.data;
navigateToURL(request, "FRAME1");
aCb.selectedIndex = -1;
}