is the GuiFadeinBitmapCtrl defined the same as the other Gui Controls
by hbomega · in Torque 2D Beginner · 08/26/2013 (12:09 pm) · 5 replies
I am having somne problem creating a GuiFadeinBitmapCtrl object i am not sure exactly how to create one do i go about it like the other Gui controls, how would i use it after that
#2
08/26/2013 (8:11 pm)
This is a follow up to this discussion : www.garagegames.com/community/forums/viewthread/134860/
#3
08/26/2013 (8:45 pm)
thanks Simon got it working now to get it to do what i want thanks alot i'll get back to you about my button flashing problem when i got this working how i want it hanks again Simon for your patience
Associate Simon Love
new GuiFadeinBitmapCtrl(MyFader) { bitmap = "^Assets/assets/images/1234.png"; fadeinTime = 1500; fadeoutTime = 2500; waitTime = 500; }; Canvas.pushdialog(MyFader);You can then call MyFader from anywhere in the script.
Alternatively, you can create a .gui.taml file and load it when you need it
MyModule.add( TamlRead("./gui/MyFaderControl.gui.taml") );