Probably something wrong with your UnrealScript somewhere. That's usually the culprit of a Scaleform related crash. Hard to say what it could be. You'll have to debug it to track it down.
Announcement
Collapse
No announcement yet.
Cant Access an text if its not on the first frame?
Collapse
X
-
well i completly took the code that referenced any oter classes and used exactly the same whole Class you posted above Checked twice the paths to make Sure there werent any path issues
Code:class SFHud extends GFxMoviePlayer; var GFxObject buff1txt; function Init(optional LocalPlayer player) { super.Init(player); Start(); Advance(0); } event bool WidgetInitialized(name WidgetName, name WidgetPath, GFxObject Widget) { switch(WidgetName) { case ('tests'): buff1txt = Widget; SetWidgetPathBinding(buff1txt, WidgetPath); break; default: break; } return true; } function TickHUD() { if (buff1txt != none) { buff1txt.SetText("TEEEESSSSTTTT"); } } defaultproperties { WidgetBindings(0)={(WidgetName="tests",WidgetClass=class'GFxClikWidget')} MovieInfo = SwfMovie'SURVIVORFlash.HUD' bIgnoreMouseInput = true bDisplayWithHudOff = false bEnableGammaCorrection = false bPauseGameWhileActive = false bCaptureInput = false; }
Code:if( _global.CLIK_loadCallback ) { _global.CLIK_loadCallback(buff1_mc.tests._name, targetPath(buff1_mc.tests), buff1_mc.tests); // changed buff1nametxt to tests to see if it was some sort of isse }
Everything just gave me the same result wich is the Crash
Comment
Comment