Image (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy
Link mistake, sorry!
 
>Camoy
No edit summary
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{CatUp|Properties}}
<onlyinclude>{{Property
|name = Image
|property = [[String]] ''texture id''
|description = Sets the target for the image, which has to be uploaded to Roblox and the link given to you for this.
|objects = [[ImageButton]], [[ImageLabel]]
}}</onlyinclude>


{{Property|
{{clear floats}}
name = Image
 
|property = [[String]] ''texture ASPX id''
== Usage ==
|description = Sets the target for the image, which has to be uploaded to Roblox and the link given to you for this.
One way to add a picture to the GUI:
|object = [[RBX.lua.ImageButton (Object)|ImageButton]], [[RBX.lua.ImageLabel (Object)|ImageLabel]]
# Create a new part.
|}}
# Add the decal with the image you want to the part.
# Go the decal inside the part (using Explorer).
# Copy the [[Texture (Property)|Texture]] ID.
# Paste it into this property of the GUI.


[[Category:Properties]]
[[Category:Properties]]

Latest revision as of 15:51, 29 January 2011

Image
Property String texture id
Description Sets the target for the image, which has to be uploaded to Roblox and the link given to you for this.
Member of ImageButton, ImageLabel


Usage

One way to add a picture to the GUI:

  1. Create a new part.
  2. Add the decal with the image you want to the part.
  3. Go the decal inside the part (using Explorer).
  4. Copy the Texture ID.
  5. Paste it into this property of the GUI.