I have a stack which I'm filling with tables . I'm trying to fadeIn, fadeOut, moveTo, several of these actors but the addAction methods don't work:
stack_stage = new Stack();
table_menu = new Table();
level_selector = new ex01MenuLevelSelectorBase(skin, table_menu);
table_menu.add(level_selector).center();
table_menu.setFillParent(true);
stack_stage.setFillParent(true);
stack_stage.add(table_menu);
stage.addActor(stack_stage);
table_level_selector = new Table();
image_level_selector = new Image(skin.getDrawable("hud-level5"));
image_level_selector.setColor(1f, 1f, 1f, 0.5f);
table_level_selector.add(image_level_selector);
stack_stage.addActor(table_level_selector);
//doesn't work
table_level_selector.addAction(com.badlogic.gdx.scenes.scene2d.actions.Actions.fadeOut(5f));
//works
table_level_selector.addAction(com.badlogic.gdx.scenes.scene2d.actions.Actions.hide());
try this
or
is likely that this is your mistake, try this in the render method