------------ Дoбавленo в 08.37:
и еще подскажите, вот такая конструкция будет использовать одни и те же ресурсы картинок или отдельные?
Add(ImageView,16570210,490,168)
{
Left=30
Top=38
Height=87
LayoutManager="3"
WidthMode=0
Animation="Scale"
DefaultPicture="start"
ScaleType=5
Point(onClick)
Point(onTouch)
Point(doVisibility)
Point(doStartAnimation)
link(onTouch,16570210:doStartAnimation,[(534,181)(534,208)(478,208)(478,188)])
}
Add(BitmapFactory,14704789,427,168)
{
Format=1
link(onDecode,16570210:doBitmap,[])
}
Add(GetIndexData,1171288,364,168)
{
Count=4
link(onIndex,14704789:doDecodeResource,[])
link(Data1,12112181:ResourceID,[(370,160)(328,160)])
link(Data2,8479994:ResourceID,[(377,152)(363,152)])
link(Data3,1296075:ResourceID,[(384,152)(398,152)])
link(Data4,15154808:ResourceID,[(391,160)(433,160)])
}
Add(FileResource,12112181,322,119)
{
Name="off"
}
Add(FileResource,8479994,357,112)
{
Name="on"
}
Add(FileResource,1296075,392,112)
{
Name="error"
}
Add(FileResource,15154808,427,119)
{
Name="start"
}
Add(LayoutLinear,11864273,245,168)
{
Name="3"
Order=3
Weight=1
WidthMode=1
gVertical=2
gHorizontal=2
}
Add(ImageView,5991397,490,287)
{
Left=30
Top=168
Height=87
LayoutManager="4"
WidthMode=0
Animation="Scale"
DefaultPicture="start"
ScaleType=5
Point(onClick)
Point(onTouch)
Point(doVisibility)
Point(doStartAnimation)
link(onTouch,5991397:doStartAnimation,[(534,300)(534,327)(478,327)(478,307)])
}
Add(BitmapFactory,9557178,427,287)
{
Format=1
link(onDecode,5991397:doBitmap,[])
}
Add(GetIndexData,6413928,364,287)
{
Count=4
link(onIndex,9557178:doDecodeResource,[])
link(Data1,660068:ResourceID,[(370,279)(328,279)])
link(Data2,12810288:ResourceID,[(377,271)(363,271)])
link(Data3,3010212:ResourceID,[(384,271)(398,271)])
link(Data4,8089131:ResourceID,[(391,279)(433,279)])
}
Add(FileResource,660068,322,238)
{
Name="off"
}
Add(FileResource,12810288,357,231)
{
Name="on"
}
Add(FileResource,3010212,392,231)
{
Name="error"
}
Add(FileResource,8089131,427,238)
{
Name="start"
}
Add(LayoutLinear,10217503,245,287)
{
Name="4"
Order=3
Weight=1
WidthMode=1
gVertical=2
gHorizontal=2
}