I made some updates in BaseUI. You don't have to change a code already written, it is just bugs correction or functionalities added.

The demo, docs and source in the download page are updated.

Version 1.0.8 - The elements are now correctly refreshed when created if they are not visible (alpha or visible properties)

Version 1.0.7 - The elements are now correctly refreshed when a position or a margin is changed

Version 1.0.6 - Bug correction with the margin when using a type background mode ratio out

Version 1.0.5 - refresh method added in BaseUI

you can refresh all the elements of a BaseUI instance:

Actionscript:
  1. baseUI.refresh();

Version 1.0.4 - The Element is added to the list-to-render if the DisplayObject is already in the display list

When you create a ElementUI by adding a DisplayObject to a BaseUI instance, if this DisplayObject has been already added to the display list, the ElementUI is now added it correctly to the render list. This wasn't possible before:

Actionscript:
  1. var s:Sprite = new Sprite();
  2. addChild(s);
  3. var e:ElementUI = baseUI.addElement(s);

Version 1.0.3 - Refresh method in ElementUI is now public

It makes you able to access to the refresh method:

Actionscript:
  1. var e:ElementUI = baseUI.getElement(mySprite);
  2. e.refresh();

Version 1.0.2 - removeAllElements method added in BaseUI

You can remove All the elements in BaseUI:

Actionscript:
  1. baseUI.removeAllElements();

Version 1.0.1 - Alignment and position for the background in mode ratio out is now respected

It makes you able to set the alignment of a ElementUI type background in mode ratio out. This wasn't possible before and was always aligned top left.

Vote in HexoSearch
2 Responses to “BaseUI minor updates”
  1. Freddy says:

    important add this...
    stage.scaleMode = StageScaleMode.NO_SCALE;
    stage.align = StageAlign.TOP_LEFT;

  2. Romuald says:

    BaseUI has nothing to do with the StageScaleMode, you can easily use it with a StageScaleMode.SHOW_ALL.

    If you mean in the demo, I set it in the SWFObject instead of the Main class. If it is a problem from some people, I can set in the Main class of the demo?

Leave a Reply