SkepticalFox Posted January 10, 2022 Share Posted January 10, 2022 @yinx2002 try to use gui.Scaleform.framework.entities.View n python. 6 hours ago, yinx2002 said: Is the above link use XFW ? These don't use xfw (but a little outdated): PY - http://pastebin.com/VNPUyafE AS - http://pastebin.com/i4HhdQ0H 1 @ Quote Link to comment Short link Share on other sites More sharing options...
yinx2002 Posted January 11, 2022 Share Posted January 11, 2022 (edited) @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 On 7/13/2015 at 2:46 AM, Budyx69 said: Nice :-) THX Work :-) How to add icon to garage like above? Edited January 11, 2022 by yinx2002 @ Quote Link to comment Short link Share on other sites More sharing options...
SkepticalFox Posted January 11, 2022 Share Posted January 11, 2022 9 hours ago, yinx2002 said: How to add icon to garage like above? there are different ways to do this, for example like this: [Embed(source="image.jpg")] public var imageClass:Bitmap; // later on you can instantiate it and use: addChild(new imageClass()); // creates and adds new image from https://stackoverflow.com/questions/23347816/embed-images-using-flashdevelop-as3 @ Quote Link to comment Short link Share on other sites More sharing options...
yinx2002 Posted January 21, 2022 Share Posted January 21, 2022 can somebody show me the code to add a slider? @ Quote Link to comment Short link Share on other sites More sharing options...
SkepticalFox Posted January 21, 2022 Share Posted January 21, 2022 3 hours ago, yinx2002 said: can somebody show me the code to add a slider? slider = addChild(App.utils.classFactory.getComponent("Slider",Slider, { minimum: 0, maximum: 100, snapInterval: 10, snapping: true, liveDragging: true, value: 50 })) as Slider; not tested 1 @ Quote Link to comment Short link Share on other sites More sharing options...
yinx2002 Posted January 24, 2022 Share Posted January 24, 2022 @SkepticalFox Really work! @ Quote Link to comment Short link Share on other sites More sharing options...
yinx2002 Posted January 25, 2022 Share Posted January 25, 2022 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] @ Quote Link to comment Short link Share on other sites More sharing options...
SkepticalFox Posted January 26, 2022 Share Posted January 26, 2022 @yinx2002 need to remove extra space from string @ Quote Link to comment Short link Share on other sites More sharing options...
yinx2002 Posted January 26, 2022 Share Posted January 26, 2022 6 hours ago, SkepticalFox said: @yinx2002 need to remove extra space from string The space is typo , not exist previously .And after removing space, the error persist.@SkepticalFox @ Quote Link to comment Short link Share on other sites More sharing options...
yepev Posted January 26, 2022 Share Posted January 26, 2022 9 часов назад, yinx2002 сказал: And after removing space, the error persist No, the error in your previous post is about space. If you removed the space and got errors, show it. @ Quote Link to comment Short link Share on other sites More sharing options...
yinx2002 Posted January 27, 2022 Share Posted January 27, 2022 the error is the same 2022-01-27 10:10:34.666: ERROR: object with "ProgressBar" linkage is not a component from library! 2022-01-27 10:10:34.667: ERROR: object with "ProgressBar" linkage can`t cast to [class ProgressBar] my code is progress = addChild(App.utils.classFactory.getComponent("ProgressBar",ProgressBar , { minimum: 0, maximum: 100, value: 50 })) as ProgressBar; @ Quote Link to comment Short link Share on other sites More sharing options...
yinx2002 Posted January 30, 2022 Share Posted January 30, 2022 I found if I create a window using AbstractWindowView or AbstractView , the window in client display normally in lobby but will overlap with the game UI even if I leave lobby by clicking different tab in the header. What event should I listen that to hide the window and show it again ? @ Quote Link to comment Short link Share on other sites More sharing options...
yinx2002 Posted February 7, 2022 Share Posted February 7, 2022 @SkepticalFox could you help me ? @ Quote Link to comment Short link Share on other sites More sharing options...
P.S.Enot Posted November 10, 2022 Share Posted November 10, 2022 Здравствуйте подскажите как например сделать кнопку в ангаре на социальную сеть телеграмм или на любую другую @ Quote Link to comment Short link Share on other sites More sharing options...
SkepticalFox Posted November 16, 2022 Share Posted November 16, 2022 @P.S.Enot на основе xvm должно быть просто, addchild кнопки в нужный слой. Без xvm нужно писать ещё код инжекта, вроде, где-то пример был. @ Quote Link to comment Short link Share on other sites More sharing options...
P.S.Enot Posted November 16, 2022 Share Posted November 16, 2022 46 минут назад, SkepticalFox сказал: @P.S.Enot на основе xvm должно быть просто, addchild кнопки в нужный слой. Без xvm нужно писать ещё код инжекта, вроде, где-то пример был. по ходу я далек от этого @ Quote Link to comment Short link Share on other sites More sharing options...
Xotabych Posted November 16, 2022 Share Posted November 16, 2022 @P.S.Enot никто вам готовое не разжует и в рот не положит, учитесь, спрашивайте - вам помогут... Когда-то Андрей накидал примеров был давно, смотрите тут, может поможет что-то. https://github.com/Mododejl/code-example @ Quote Link to comment Short link Share on other sites More sharing options...
P.S.Enot Posted November 16, 2022 Share Posted November 16, 2022 1 час назад, Xotabych сказал: @P.S.Enot никто вам готовое не разжует и в рот не положит, учитесь, спрашивайте - вам помогут... Когда-то Андрей накидал примеров был давно, смотрите тут, может поможет что-то. https://github.com/Mododejl/code-example Спасибо . @ Quote Link to comment Short link Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.