Friday, June 28, 2013

Break from UDK

Hey guys, I've been taking a break from UDK. Several months of dealing with it left my head full of UDK and I would rather finish my other projects right now. So we'll be returning to regular programming for a while. When I do finish the UDK tutorial, I'll have it all in one place.

Monday, June 24, 2013

Getting Flash to Talk to UDK - part 4


Talking to Unreal Script -


In as_base, outside of any function, you can simply put:


import flash.external.ExternalInterface;


This is the standard way of getting Flash to talk to what is containing it. In this case the UDK script that will be set up later.


ExternalInterface.call("UnrealScriptFunction");


This will call the Unreal Script function by name. So that, MyFunction(), 
is called by putting:


ExternalInterface.call("MyFunction");