Announcement

Collapse
No announcement yet.

Enabling GFx Extensions in AS3

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Enabling GFx Extensions in AS3

    Enabling access to Scaleform GFx Extensions, such as 3Di and the various Stage extensions, is slightly different in AS3. Looking in the following directory: C:\UDK\UDK-2011-11\Development\Flash\AS3\CLIK\scaleform\gfx you will find the file Extensions.as.

    To provide easy access to this class, use an import statement at the top of your AS class or FLA file.

    Code:
    import scaleform.gfx.Extensions;
    Next, we can enable the Scaleform extensions with this line:

    Code:
    Extensions.enabled = true;
    Alternatively, simply use the following line:

    Code:
    scaleform.gfx.Extensions.enabled = true;

    #2
    Is this the equivalent of _global.gfxExtensions = true in AS2?

    I still can't get WidgetInitialized called on my UIComponents using this.

    Comment

    Working...
    X