Вверх ↑
Ответов: 34
Рейтинг: 0
#1: 2010-04-06 06:22:01 ЛС | профиль | цитата
Сделал как сказали.Вот ссылка на результаты
[url]http://virusscan.jotti.org/ru/scanresult/47a6627ea0aedcb3d791fadffd8784c8ce8f2513 [/url]
Вот схема
Add(MainForm,5386240,14,98)
{
Width=691
Height=446
Caption="Училка"
BorderStyle=1
Point(Handle)
link(onCreate,363247:doWork1,[(54,118)])
}
Add(StrCat,2218607,301,147)
{
Str2=".jpg"
link(onStrCat,7580439:doData,[(347,153)(347,216)(226,216)(226,244)])
}
Add(Hub,12159918,266,147)
{
link(onEvent1,2218607:doStrCat,[])
link(onEvent2,1115081:doAdd,[(293,160)(293,55)])
}
Add(StrList,1115081,308,49)
{
Point(doGetString)
Point(onGetString)
Point(String)
link(onGetString,819194:doWork2,[])
}
Add(DoData,7580439,238,238)
{
link(onEventData,12220921:doEvent1,[(286,244)(286,342)])
link(Data,9084315:Var1,[(244,225)(153,225)])
}
Add(Hub,79607,63,147)
{
OutCount=4
link(onEvent1,9084315:doWork2,[(141,153)(141,195)])
link(onEvent2,9084315:doWork1,[(129,160)(129,188)])
link(onEvent3,9352402:doRandomize,[(95,167)(95,104)])
link(onEvent4,7026873:doRussianKbd,[(84,174)(84,258)])
}
Add(Random,9352402,175,91)
{
Max=2
Point(doRandSeed)
link(onRandom,1115081:doGetString,[])
}
Add(KeyboardLayout,7026873,105,245)
{
}
Add(MediaPlayer,15907466,175,35)
{
link(onEndPlay,9352402:doRandom,[(214,41)(214,73)(163,73)(163,97)])
}
Add(DoData,2455912,119,35)
{
Data=String(набери слово.mp3)
link(onEventData,15907466:doPlay,[])
}
Add(StrCat,2584339,371,56)
{
Str2=".mp3"
link(onStrCat,4696786:doPlay,[(415,62)(415,27)])
link(Str1,14603059:Var3,[(377,44)(357,44)(357,110)])
}
Add(Image,9860787,525,287)
{
Left=25
Top=15
Width=180
Height=125
}
Add(ImageLoader,8184193,483,280)
{
DrawSource=2
link(onLoad,8184193:doDraw,[(520,286)(520,274)(476,274)(476,293)])
link(onDraw,9860787:doLoad,[])
}
Add(Image,2885308,560,378)
{
Left=250
Top=15
Width=180
Height=125
}
Add(ImageLoader,12199600,518,371)
{
DrawSource=2
link(onLoad,12199600:doDraw,[(555,377)(555,366)(506,366)(506,384)])
link(onDraw,2885308:doLoad,[])
}
Add(Image,13042443,469,420)
{
Left=475
Top=15
Width=180
Height=125
}
Add(ImageLoader,4378548,427,413)
{
DrawSource=2
link(onLoad,4378548:doDraw,[(467,419)(467,408)(415,408)(415,426)])
link(onDraw,13042443:doLoad,[])
}
Add(Label,15323171,483,322)
{
Left=70
Top=155
Width=131
Height=42
Font=[Comic Sans MS,20,0,0,204]
Alignment=2
}
Add(Label,2610183,518,413)
{
Left=270
Top=155
Width=151
Height=42
Font=[Comic Sans MS,20,0,0,204]
Alignment=2
}
Add(Label,4877665,427,455)
{
Left=505
Top=155
Width=146
Height=42
Font=[Comic Sans MS,20,0,0,204]
Alignment=2
}
Add(IndexToChanel,6852721,350,378)
{
Count=3
Data=String()
Point(Data)
link(onEvent1,15323171:doText,[(457,384)(457,328)])
link(onEvent2,2610183:doText,[(508,391)(508,419)])
link(onEvent3,4877665:doText,[(401,398)(401,461)])
link(Data,2276668:String,[(356,206)(244,206)])
}
Add(IndexToChanel,2356506,364,336)
{
Count=3
Point(Data)
link(onEvent1,8184193:doLoad,[(439,342)(439,286)])
link(onEvent2,12199600:doLoad,[(464,349)(464,377)])
link(onEvent3,4378548:doLoad,[(409,356)(409,419)])
link(Data,2218607:Result,[(370,189)(307,189)])
}
Add(Hub,12220921,301,336)
{
link(onEvent1,2356506:doEvent,[])
link(onEvent2,6852721:doEvent,[(333,349)(333,384)])
}
Add(If_else,10743072,539,77)
{
link(onTrue,3750681:doData,[])
link(onFalse,1471643:doData,[(590,90)(590,146)])
link(Op1,14603059:Var1,[(545,65)(440,65)(440,113)(335,113)])
link(Op2,12722247:Text,[])
}
Add(DoData,3750681,595,77)
{
Data=String(молодец!.mp3)
link(onEventData,12189363:doPlay,[])
}
Add(DoData,1471643,602,140)
{
Data=String(неправильно!.mp3)
link(onEventData,703743:doPlay,[])
}
Add(Edit,12722247,546,21)
{
Left=150
Top=225
Width=350
Height=80
Font=[Comic Sans MS,36,0,0,204]
Text=""
Alignment=2
Point(doSetFocus)
link(onEnter,9886709:doEvent1,[])
}
Add(MediaPlayer,4696786,441,21)
{
link(onEndPlay,4983067:doEvent1,[])
}
Add(MediaPlayer,12189363,686,77)
{
link(onEndPlay,15129760:doWork2,[(737,83)(737,115)])
}
Add(MediaPlayer,703743,651,140)
{
link(onEndPlay,3614944:doEvent1,[])
}
Add(HubEx,363247,50,126)
{
Angle=1
link(onEvent,79607:doEvent1,[(54,153)])
}
Add(HubEx,819194,350,56)
{
link(onEvent,2584339:doStrCat,[])
}
Add(Hub,14733838,462,161)
{
link(onEvent1,1115081:doClear,[(484,167)(484,119)(296,119)(296,62)])
link(onEvent2,363247:doWork3,[(497,174)(497,132)])
}
Add(GetDataEx,14603059,329,105)
{
link(Data,1115081:String,[])
}
Add(StrList,2276668,217,140)
{
Strings=#3:дом|3:жук|2:ёж|4:мама|5:гриша|6:лунтик|3:лев|3:бык|3:дед|3:йод|3:кит|3:кот|3:мяч|3:нож|3:оса|3:пёс|3:рак|3:мёд|3:лёд|3:лес|3:мел|3:сок|3:сыр|2:уж|3:уфа|3:фея|3:чай|3:шар|3:юла|
Point(doGetString)
Point(onGetString)
Point(String)
link(onGetString,12159918:doEvent1,[])
}
Add(MultiElement,9084315,147,182)
{
link(onEvent1,2276668:doGetString,[])
link(onEvent2,2455912:doData,[(195,195)(195,144)(85,144)(85,41)])
}
BEGIN_SDK
Add(EditMulti,1572971,21,35)
{
EventCount=2
WorkCount=2
VarCount=1
link(doWork1,7465617:doFor,[(26,41)(26,160)])
link(doWork2,9508110:doRandomize,[(42,48)(42,104)])
link(Var1,7465617:Position,[(27,201)(43,201)])
}
Add(Random,9508110,98,91)
{
Max=28
link(onRandom,4296909:doCompare,[])
}
Add(If_else,4296909,147,91)
{
link(onTrue,5781004:doWork1,[(199,97)(199,74)(84,74)])
link(onFalse,4707456:doValue,[])
link(Op2,4707456:Value,[(160,62)(190,62)(190,140)(216,140)])
}
Add(HubEx,5781004,80,84)
{
Angle=1
link(onEvent,9508110:doRandom,[(84,97)])
}
Add(Memory,4707456,210,91)
{
link(onData,1572971:onEvent1,[(268,97)(268,41)])
}
Add(For,7465617,37,154)
{
End=2
link(onEvent,5781004:doWork2,[(81,160)])
link(onStop,1572971:onEvent2,[(292,167)(292,48)])
}
END_SDK
Add(Hub,3614944,693,140)
{
link(onEvent1,4495796:doWork2,[(744,146)(744,59)])
link(onEvent2,819194:doWork3,[(718,153)(718,182)(354,182)])
}
Add(Hub,4983067,483,21)
{
link(onEvent1,12722247:doSetFocus,[(509,27)(509,41)])
link(onEvent2,10840344:doWork2,[])
}
Add(HubEx,10840344,532,28)
{
Angle=3
link(onEvent,12722247:doText,[(536,29)(537,29)])
}
Add(HubEx,4495796,630,53)
{
Angle=2
link(onEvent,10840344:doWork3,[(536,59)])
}
Add(Hub,9886709,588,28)
{
link(onEvent1,4495796:doWork1,[(634,34)])
link(onEvent2,10743072:doCompare,[(622,41)(622,70)(529,70)(529,83)])
}
Add(Button,9017326,462,77)
{
Left=150
Top=320
Width=350
Height=75
Caption=""
link(onClick,15129760:doWork1,[(508,83)])
}
Add(HubEx,15129760,504,109)
{
Angle=2
link(onEvent,14733838:doEvent1,[(450,115)(450,167)])
}



Картинки со звуками выкладывать?
Если в схеме есть какие-нибудь грубые ошибки(наверняка есть) - буду рад услышать критику.

карма: 1

0
файлы: 1code_17710.txt [6.3KB] [486]