Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 31

Thread: ScaleForm: Making a Menu with Components + Camera Animation

  1. #21
    KayoticSully
    Guest
    Quote Originally Posted by rvc View Post
    I'm having this error:
    Code:
    Load: _level0.DMHolder_mc
    Load: _level0.MainMenu_mc
    Load: _level0.Settings_mc
    Load: _level0.MainMenu_mc.New Game_mc
    Load: _level0.MainMenu_mc.Settings_mc
    Load: _level0.MainMenu_mc.Exit_mc
    Load: _level0.Settings_mc.Resolution_mc
    Load: _level0.Settings_mc.Save Settings_mc
    Load: _level0.Settings_mc.Exit_mc
    Error: CallMethod - 'substr' on invalid object. (x2)
    here's the actionscript
    Code:
    DMHolder_mc.BindMenu("MainMenu");
    DMHolder_mc.BindMenu("Settings");
    DMHolder_mc.SwitchToMenu("MainMenu");
    
    DMHolder_mc.HandlePress = function(pressName:String)
    {
    	switch(pressName)
    	{
    		case "New Game":
    			break;
    			
    		case "Settings":
    			DMHolder_mc.SwitchToMenu("Settings");
    			break;
    	}
    }

    Also, I'm on CS5, I've set the flash player version to 8 and AScript to 2.0.

    I'm pretty sure I wrote everything else exactly the same as you did so... don't get it :S

    I am getting the exact same error. I have looked through as much of the code as I could, but I can not seem to track down the source of the error.

    Any help would be greatly appreciated.

  2. #22
    xatrius73
    Guest
    Quote Originally Posted by KayoticSully View Post
    I am getting the exact same error. I have looked through as much of the code as I could, but I can not seem to track down the source of the error.

    Any help would be greatly appreciated.
    Exactly the same error!

    Please anyone help us!

  3. #23
    isack55
    Guest
    I am having the same error with substr as these guys. Looks like something either broke or we are all just having the same silly error. Any help would be greatly appreciated.

    EDIT: so far, I have narrowed it down to this particular part of the code:

    Code:
    DMHolder_mc.HandlePress = function(pressName:String)
    It seems as thought the HandlePress return value has been changed since he made the tutorial. I'm sure if I look hard enough, I can find the code that states the return value, but I haven't figure it out yet. Not that familiar with actionscript either, I'm afraid (C++/Java though :/). So if anyone knows at least where/how I can find the code, please tell me.

  4. #24
    ID_Busy
    Guest
    In Making a Menu: Scaleform + Forecourse UI Components Part 2 when you Test with FxMediaPlayer the command line says
    Error: CallMethod - can't find method _level10.DMHolder_mc.BindMenu (x2)
    Error: CallMethod - can't find method _level10.DMHolder_mc.SwitchToMenu
    and I can't see anything.

    Please Help. I have november udk

  5. #25
    roosterMAP
    Guest
    I've tried the tut 3 times, and even in the earlyest stages of the tut, when u test with FxMediaPlayer for the first time, it still has errors in the compiler errors tab:

    The class or interface 'com.fourecourse.DynamicMenu' could not be loaded.
    The class or interface 'com.forecourse.DynamicMenuHolder' could not be loaded.
    The class or interface 'gfx.controles.Button' could not me loaded.

  6. #26
    ankangronto
    Guest
    The problem is that its very outdated. The button.as is alot different now from when he made his. I should have checked the date for this tutorial before I tried it.

  7. #27
    CommanderXG
    Guest
    Ive just used this tutorial, and it worked... used CS5, and UDK version 8916 with the latest download from forecourse.
    The only problem is, when i customized my buttons, my Resolution button changed slightly, and somehow, it has the name and part of the fontname too. "ResolutiontheDark 640x"... then it gets cut off... everything else is working...

  8. #28
    ThePriest909
    Guest
    Has anyone gotten this to work with any of the 2012 UDK versions? I keep getting this kind of errors when using the Player.
    Code:
    Symbol=Dynamic Menu, layer=Layer 1, frame=1, Line 1	The class or interface 'com.forecourse.DynamicMenu' could not be loaded.

  9. #29
    collix
    Guest
    What version of Actionscript are you using?
    I think the one used here is Actionscript 2 and the current version of Scaleform in UDK uses Actionscript 3, so it's probably not going to work at all...

  10. #30
    ThePriest909
    Guest
    Quote Originally Posted by collix View Post
    What version of Actionscript are you using?
    I think the one used here is Actionscript 2 and the current version of Scaleform in UDK uses Actionscript 3, so it's probably not going to work at all...
    Thanks for replying. Isn't scaleform still supporting AS2 as well?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •