HeroEngine Forums
Welcome, Guest. Please login or Register for HeroCloud Account.

Author Topic: [Tech problem?]GUI Window Tutorial not working  (Read 1425 times)

Dothackking

  • General Accounts
  • *
  • Posts: 34
    • View Profile
[Tech problem?]GUI Window Tutorial not working
« on: Dec 31, 11, 11:56:25 PM »

Hello, I have tried this four different times, each time on different instances of HB.


http://hewiki.heroengine.com/wiki/GUI_Window_Tutorial


I cannot get it to save the prototype.  It says it does, but it doesn't.   It doesn't save it with script editor or the GUI editor.


I have no idea what's wrong.

Here's the console logs:

Code: [Select]
17:55:18: System:SCRIPT[GUIeditor]:
<createControlType inheritFrom='_movePanel' type='MyTestWindow' description='My Test Window' treePath='CleanEngine' name="MyTestWindow" owner="0">
  <size x="300" y="100"/>
  <_titlebar name="titlebar">
    <set name='MyTestWindow.titlebar.title' attribute='text' value="My Test Window"/>
  </_titlebar>
  <_scrollableParent name="scrollable"/>
</createControlType>

17:55:18: System:SCRIPT[GUIeditor]:XML sent to repository.
17:55:23: SYSTEM:System:Requested updated resource /guixml/mytestwindow.xml version=0. result=1
17:55:23: SYSTEM:System:Got XML file /guixml/mytestwindow.xml
17:55:23: SYSTEM:System:Got XML file /guixml/mytestwindow.xml
17:55:40: System:SCRIPT[GUIeditor]:MyTestWindow
21:54:51: call testwindow1 MakeMyTestWindow
21:54:51: !ERROR!HeroScript::HeroMachine::ScriptError:Exception DefinitionNotFoundException in function 'createNodeFromPrototype' definition not found: MyTestWindow
21:54:51: !ERROR!System:SCRIPT ERROR: Exception DefinitionNotFoundException in function 'createNodeFromPrototype' definition not found: MyTestWindow
12/31/2011 21:54:44
Call trace:
  Script testwindow1 line 4 me[0]
starting method/function MAKEMYTESTWINDOW
starting me[id=0 invalid]
21:54:51: SYSTEM:System:call OK 0 : "HeroScript called"
« Last Edit: Jan 01, 12, 02:29:11 PM by Dothackking »
Logged

Dothackking

  • General Accounts
  • *
  • Posts: 34
    • View Profile
Re: [Tech problem?]GUI Window Tutorial not working
« Reply #1 on: Jan 02, 12, 08:54:30 PM »

I have gotten it to save....and can only see it via the repository browser (It does not appear in the organizer), thus meaning I can't edit it easily.


I can also call it by a function, but without being able to edit it easily, this is no help.
Logged

cloudnine

  • General Accounts
  • *
  • Posts: 80
    • View Profile
    • Youtube
Re: [Tech problem?]GUI Window Tutorial not working
« Reply #2 on: Jan 05, 12, 03:47:06 AM »

When you have the organizer window open , on the xml tab
at the bottom hit refresh
might make it show up
Logged