-
Scaleform HUD errors for Unreal Development Kit. Help!
Hello!
I'm working on a Scaleform HUD and my ActionScript (which is directly copied from https://www.youtube.com/watch?v=E8oM808ETWs) is having some really interesting errors. The screenshot below shows them:
http://i40.photobucket.com/albums/e2.../as3errors.png
Here's the AS code I have:
Code:
import flash.external.ExternalInterface;
import gfx.motion.Tween;
_global.gfxExtensions=true;
function init()
{
_root.Health._yrotation = 30;
_root.Ammo._yrotation = 30;
}
init();
I looked in the UDK_hud.fla file and found some of the code I have is identical to what's there (except it compiles). I have no idea what I'm doing wrong. Any help would be greatly appreciated asap. Thank you.
-
Designer, Programmer, Musician
First, _global and _root are properties of actionscript 2.0 , not AS3. Second, is your .fla and your .swf in the same directory of the gfx folder, where you are loading the motion.Tween from? Hope this helps
Already mastering AS3. It was so fun. Now into Javascript and PHP and all its libraries
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|