Making a Menu: Adding Button Functionality
Uploader Comments (AwesomeAllar)
Top Comments
-
I keep getting the following errors... any sugestions?
C:\UDK\UDK-2010-08\Development
\Flash\CLIK\gfx\controls\Butto n.as, Line 313 There is no property with the name 'bindingEnabled'. C:\UDK\UDK-2010-08\Development
\Flash\CLIK\gfx\controls\Butto n.as, Line 318 There is no property with the name 'bindingEnabled'. C:\UDK\UDK-2010-08\Development
\Flash\CLIK\gfx\controls\Butto n.as, Line 442 Type mismatch in assignment statement: found Number where Boolean is required. and one other
-
I can't get the Resolution Text to work; my code lines are the exact same as yours, but there isn't any resolution under Settings-Resolution.... any idea?
All Comments (21)
-
This works for me, I have no idea why other people have problems with it. Oh well lol
-
the navigation doesnt work for me :/ evertime i start adding more action script other than the stuff from the last video's its stops working all together :/
-
This is a really old tut, I doubt it still works.
-
Mine's having this strange issue where everytime I try to switch menus it doesn't. I checked the syntax and it's identical to what you have except that it uses the word "options" instead of settings. The menu's instance name is Options_mc and Title is Options, and it's called options in the bind code and in the switch and case code.
-
@AwesomeAllar I'm getting the same error. No empty entries, _mc at the end of my menus.
-
I noticed that if scaleform is launched that @ resolution 1920x1080 that the stage areas color does not show and a default grey takes its place, any idea why?
-
Hi thanks for the tremendous tutorials.
Having an issue with this one-My Resolution Button just says 640x480 when I test. When I press it, it doesn't do anything. You say at 4:56 (in the next video) it should output a message in the console. I don't see it. Everything else so far works fine, I get no errors. Any idea what I should do? I'm using Flash CS5 and haven't done anything that you haven't done in the tutorials...
A better name for your manager variables is to post-fix them with "Mgr", so instead of settingsManager, put in settingsMgr. Simpler, still easy to read, and less typing lol.
This is just a suggestion though, I dont want to get into a naming conventions arguement with anyone. ;)
Thanks for the awesome tutorials.
KyleKatarn145 1 year ago
@KyleKatarn145 Will do that from now on!
AwesomeAllar 1 year ago
every time when I click on any button console write that message. maybe I'm wrong somewhere in the writing of code
here is my code:
DMHolder_mc.HandlePress = function(PressName:String)
{ switch (PressName) { case "New Game": break; case "Settings": DMHolder_mc.SwitchToMenu("Settings"); break; }
}
thx i will try to open new topic on udk forum
black0n3 1 year ago
@black0n3 Don't create a new thread, just continue on my thread.
The problem isn't your code here.... that substr function is called in my code.... but I've never seen that happen before.
For your menus, do you have any entries in the Button properties that are blank?
Also, do all your menu instances have _mc at the end of their names?
AwesomeAllar 1 year ago