السلام عليكم ورحمة الله وبركاته
في مشروع جديد
في زر ضع هذا الكود
طبعا قبلها ضع هذه الصورة في ملف الصور
[
]
http://cdn.top4top.co/p_559zf6n99x1.png
و سميها L
في مشروع جديد
في زر ضع هذا الكود
كود PHP:
tImageProperties = {};
tImageProperties.ImageFile = "AutoPlay\\Images\\L.png";
--------------h-------------------
for i = 1,60 do
tImageProperties.Width = 400;
tImageProperties.Height = 1;
tImageProperties.X = 100;
tImageProperties.Y =(i*5)+100;
Page.CreateObject(OBJECT_IMAGE, "h"..i, tImageProperties);
end
---------------bas----------------------------------
-------------- v -----------
for t = 1,80 do
tImageProperties.Width = 1;
tImageProperties.Height = 300;
tImageProperties.X = (t*5)+100;
tImageProperties.Y = 100;
Page.CreateObject(OBJECT_IMAGE, "v"..t, tImageProperties);
end
----------- c --------------
for i=1,15 do
p=i*5
Image.SetProperties("v"..p,{Width=2});
end
for i=1,12 do
p=i*5
Image.SetProperties("h"..p,{Height=2});
end
Image.SetProperties("h30",{Height=3});
Image.SetProperties("v40",{Width=3});
[

http://cdn.top4top.co/p_559zf6n99x1.png
و سميها L
تعليق