Search Unity

[RELEASED] mrSWF -- To make GUI with flash

Discussion in 'Immediate Mode GUI (IMGUI)' started by maoren, Oct 24, 2013.

  1. maoren

    maoren

    Joined:
    Oct 24, 2013
    Posts:
    5
    What is mrSWF?

    mrSWF is an easy to use and high performance Unity3D UI Solution. It uses Adobe® Flash® to render UI and return to Unity. It does not use its own engine to display movies but provide a wrapper around official Adobe® Flash® code instead. So it is possible to avoid certain Adobe® Flash® Player ActiveX limitations.

    Download
    View attachment $mrSWFdemo.part1.rar
    View attachment $mrSWFdemo.part2.rar

    or
    https://code.google.com/p/unity3d-mrswf-ui/

    Buy it
    http://u3d.as/5Gs





    Features
    1. Easy to use
    mrSWF could play original swf movie without any modify.

    2. High performance
    mrSWF only updates the dirty rectangle since last frame rendered.

    3. Flash External API
    Supports Adobe® Flash® External API (available in Flash 8 and higher). This could let mrSWF and Unity communicate with each other.

    4. Support Flash and Flex. ActionScript 2 and 3
    5. Transparent support
    6. Multi control support
    Support multi swf movie playing in one scene.

    7. IME(Institute of Makers of Explosives) support
    Google Pinyin, Sogou Pinyin tested OK, but have some issue with “MS IME” style one. Please note this do not support full-screen mode IME such as Unity3D itself.

    8. support Flash® Player not installed situation
    Rename Adobe® Flash® Player ActiveX as “flash.ocx” and copy to “plugins” folder. This made the mrSWF to use a different version Flash Player from the system.

    Software Environment
    1. Windows XP/2003/Vista/7/8 x32/x64 OS

    2. Adobe Flash Player ActiveX 6 and higher. Version 11 is recommended.

    3. Directx 9.0

    Note

    1. Do not support Non-windows system, eg. Mac OS X/iOS/android/WP/Windows RT. As mrSWF is base on COM/OLE technology.

    2. Do not achieve Directx 11 support now. Directx 11 APIs are different from Directx 9, this need some more research on it. The future versions will support Directx 11.

    3. Do not achieve full-screen mode IME.

    4. A little low performance on OpenGL mode, would improve in the future versions.

    5. OpenGL mode would crash when shutdown, it seems like Unity3D’s error.

    6. Flash and Flex 3 input control can’t get focus in editor mode. The build output version could get.

    7. Flex 4 “s:Application” must set the property cacheAsBitmap="true", Otherwise the input control’s background would welter after input something.
     
    Last edited: Nov 7, 2013
  2. FiveFingers

    FiveFingers

    Joined:
    Oct 15, 2009
    Posts:
    541
    Hey awesome!
    If this will be translated to Unity upcoming new GUI system I will definitively give a try!
    It remembers me the old good Renderware engine plug-in,mkeep it up!
     
  3. maoren

    maoren

    Joined:
    Oct 24, 2013
    Posts:
    5
    upload demo
     
  4. maoren

    maoren

    Joined:
    Oct 24, 2013
    Posts:
    5
  5. ertr2

    ertr2

    Joined:
    Mar 10, 2015
    Posts:
    2

    Happen Critical Error!!!
    "_SWFLoader.callFunction(_SWFControl.Name, "setText", args)" in your example1.
    Unity3D IDE shut down....????
    My unity3d version is 4.3.1 / windows7 64bit
     
    Last edited: Mar 10, 2015