Announcement

Collapse
No announcement yet.

AS3. How to call AS3 code in classes from UScript?

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

    AS3. How to call AS3 code in classes from UScript?

    We used FlashDevelop and AS3 classes to make SWF.
    And now we can not call any functions in different classes in our SWF.

    How to call any function in any class of our SWF from UScript? timeline is empty, all code in AS3. We can't call functions through "_root" because there is no "_root".

    We have Main.as class as entry point of our SWF. How to call functions in this class from UScript?



    The other problems i wrote in that thread:
    http://forums.epicgames.com/threads/...es-in-game-Why

    #2
    Code:
    ActionScriptVoid("root.someAS3Function");

    Comment

    Working...
    X