Jump to content
Korean Random

yinx2002

User
  • Content Count

    34
  • Joined

  • Last visited

Everything posted by yinx2002

  1. I found a class ProgressBar under net.wg.gui.components.controls which is the same location as the Slider or SoundButton in prev. example. But when I use progress = addChild(App.utils.classFactory.getComponent("ProgressBar ",ProgressBar , { minimum: 0, maximum: 100, value: 50 })) as ProgressBar ; I got error 2022-01-25 10:33:07.495: ERROR: object with "ProgressBar " linkage is not a component from library! 2022-01-25 10:33:07.496: ERROR: object with "ProgressBar " linkage can`t cast to [class ProgressBar]
  2. A tutor with how to do with Adobe Animate is also appreciated.
  3. @SkepticalFox The above two links cannot be open at my side. now I got a transparent imovable transparent view when I use AbstractView class in AS and AbstractWindowView in PY( it a coincident actually) You can find the text with link at top-left corner and the two button below ( the checkbox with tooltip also) , next step is adding image and make it movable @Budyx69 How to add icon to garage like above?
  4. @SkepticalFox Thank you very much for swiftly reply. I've tried to use AbstractView , but can not managed to use correct class on both python and actionscript side, the class name in python should be the same in the actionscript ? Is this the rule? I remember I could only find AbstractView in net.wg.* but could not find it in python code( only class with "meta" was found), and should I use ViewSettings or ComponentSettings ? Is the above link use XFW ?
  5. I have done what previous example of adding form button checkbox with tooltip to the game hangar. They really work , to me , a novice modder , this is a very exciting step. So thanks to all person shared the code in previous post. or I now want to show a custom pannel in which I can add backgroud image , text or so , how could I? I've dig a lot of python flash works in the game scripts.pkg but still can not figure it out. Can anyboy help me?
×
×
  • Create New...