Announcement

Collapse

The Infinity Blade Forums Have Moved

We've launched brand new Infinity Blade forums with improved features and revamped layout. We've also included a complete archive of the previous posts. Come check out the new Infinity Blade forums.
See more
See less

ScaleForm: Making a Menu with Components + Camera Animation

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

  • #16
    Hey Allar,

    Not sure if you know, but, I'm at part 3 and whenever I try to launch the ScaleForm test with the placeholder thingy, I get this error:
    The following JavaScript error(s) occurred:

    SyntaxError: missing ) after argument list

    I tried googling it, but I only got results for Dreamweaver(and a Java error site, but apparently said error wasn't listed), where the victims were told to delete their Java cache, so I'm kind of stumped about this. You've made great tutorials though(not just ScaleForm ones)! Four thumbs up.

    Comment


    • #17
      This will help me for my current project. Thanks for the share.

      Comment


      • #18
        Originally posted by Ordo View Post
        Hey Allar,

        SyntaxError: missing ) after argument list
        Some where in your code, its like...

        Something(onething,otherthing,blah

        where it should be

        Something(onething,otherthing,blah)

        Comment


        • #19
          My question is: what code?
          The Frontend compiler found no oddities and I looked through my own projects code myself, line-by-line.

          Comment


          • #20
            thanks allar
            good stuff! those components are well handy

            just one question
            is the code from the video in text form anywhere?
            im wasting hours squinting at crappy youtube vids trying to copy the code down right

            Comment


            • #21
              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.

              Comment


              • #22
                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!

                Comment


                • #23
                  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.

                  Comment


                  • #24
                    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

                    Comment


                    • #25
                      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.

                      Comment


                      • #26
                        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.

                        Comment


                        • #27
                          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...

                          Comment


                          • #28
                            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.

                            Comment


                            • #29
                              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...

                              Comment


                              • #30
                                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?

                                Comment

                                Working...
                                X