tabIndex on a Movie Clip
i'm working on project need set tabindex on elements within flash movie. i'm having difficult time seems nothing working me. have main swf creates empty movie clip , adds swf file has movie clip acts buttons.
i need buttons have tabindex. saw link adobe blog how make movie clip have tab index.
it works case 7 , because looks has _root reference other examples seem not work me in both ie , firefox.
currently code movie clip within swf gets loaded empty movie clip placed onto main swf timeline.
//---------------------------------------------------------------------------------------- --------------------------------------
if (nextbutton_mc._accprops == undefined ) {
nextbutton_mc._accprops = new object();
}
nextbutton_mc.tabenabled = true;
nextbutton_mc.tabindex = 1;
nextbutton_mc._accprops.silent = false;
nextbutton_mc._accprops.name = "next button";
nextbutton_mc._accprops.description = "click next button move next page";
accessibility.updateproperties();
//---------------------------------------------------------------------------------------- --------------------------------------
any ideas doing wrong?
i need buttons have tabindex. saw link adobe blog how make movie clip have tab index.
it works case 7 , because looks has _root reference other examples seem not work me in both ie , firefox.
currently code movie clip within swf gets loaded empty movie clip placed onto main swf timeline.
//---------------------------------------------------------------------------------------- --------------------------------------
if (nextbutton_mc._accprops == undefined ) {
nextbutton_mc._accprops = new object();
}
nextbutton_mc.tabenabled = true;
nextbutton_mc.tabindex = 1;
nextbutton_mc._accprops.silent = false;
nextbutton_mc._accprops.name = "next button";
nextbutton_mc._accprops.description = "click next button move next page";
accessibility.updateproperties();
//---------------------------------------------------------------------------------------- --------------------------------------
any ideas doing wrong?
so tried diong this:
_root.controls_mc.nextbutton_mc.tabenabled = true;
_root.controls_mc.nextbutton_mc.tabindex = 1;
and did not work either. there's gotta i'm totally missing here.
_root.controls_mc.nextbutton_mc.tabenabled = true;
_root.controls_mc.nextbutton_mc.tabindex = 1;
and did not work either. there's gotta i'm totally missing here.
More discussions in ActionScript 1 and 2
adobe
Comments
Post a Comment