Monthly Archives: March 2014

Use External Background Image in BorderContainer in ActionScript 3.0, Flex 4.6

Here is a BorderContainer, which uses an embedded image as background.

<s:BorderContainer width="100%" height="100%" backgroundImage="@Embed('Internal/Image.jpg')" visible="true">
    <!-- Some contents -->
</s:BorderContainer>

An easy way to use an external background image without creating a skin class is this:

<s:BorderContainer width="100%" height="100%"visible="true">
    <mx:Image source="External/Image.jpg" width="100%" height="100%" maintainAspectRatio="false"></mx:Image>
    <!-- Some contents -->
</s:BorderContainer>

WoW addon: Cross Realm Auto Invite

This is my first World of Warcraft addon. Actually it was done like one year ago. When I was cleaning my repositories today I found it.

https://github.com/01zhou/WoW_CrossRealmAutoInvite

Basically it allows you to automatically invite your friend into your party when s/he whispers you ‘1’. Well it may help those players who are looking for rare pets or rare NPCs by switching between realms frequently.