Craftero
|
  |
| Joined: 24 Jun 2011 |
| Total Posts: 1451 |
|
|
| 16 Nov 2015 02:19 PM |
I have an ImageButton in a Frame in my StarterGui Folder. Everythings OK when I test in Studio, i.e. the ImageButton can be clicked. However, in online Play mode, I get a message in the Developer Console saying "ImageButton is not a member of Frame".
Can anyone help me out here? What could be going wrong? |
|
|
| Report Abuse |
|
|
|
| 16 Nov 2015 02:22 PM |
| It just needs to load. Use WaitForChild to wait for it to load, and then you will be good. |
|
|
| Report Abuse |
|
|
RonDanino
|
  |
| Joined: 21 Dec 2012 |
| Total Posts: 290 |
|
|
| 16 Nov 2015 02:23 PM |
local imagebutton = game.StarterGui.ScreenGui.Frame.ImageButton if you did that and it didnt work, try going for the long way and type the entire game.StarterGui.ScreenGui.Frame.ImageButton
instead of just imagebutton Idk if it'll help you, But I think it happened to me once and that fixed it Not sure. |
|
|
| Report Abuse |
|
|
RonDanino
|
  |
| Joined: 21 Dec 2012 |
| Total Posts: 290 |
|
|
| 16 Nov 2015 02:24 PM |
OOO... try ImageButton.ZIndex = 2
|
|
|
| Report Abuse |
|
|
Craftero
|
  |
| Joined: 24 Jun 2011 |
| Total Posts: 1451 |
|
|
| 16 Nov 2015 02:58 PM |
@JarodOfOrbiter
I tried your suggestion and it worked. Thanks. |
|
|
| Report Abuse |
|
|