Bonsoir,
Impossible de comprendre pourquoi on ne récupère pas l’input de l’utilisateur, et encore moins comment le passer à la slide suivante. On obtient l’erreur suivante :
Ci-dessous notre code :
<?xml version='1.0' encoding='utf-8'?>
<frogans-fsdl version='3.0'>
<!-- 1. Prepare a drawing resource, set a relief, and add a layer
to the lead and vignette representations -->
<resdraw resid='resdraw1' size='640,480' figure='roundrect' stroke='off' round='100,100' color='#ffffff' />
<setrelief reliefid='setrelief1'>
<relief rpos='-10,-10' color='#000000' blur='10,10' opacity='50' />
<relief rpos='10,10' color='#000000' blur='10,10' opacity='25' />
</setrelief>
<layer layerid='layer1' leapout='all' resref='resdraw1' align='left-top' pos='0,0' reliefref='setrelief1' opacity='75' combine='add' />
<!-- Ruby Image-->
<file fileid='file1' nature='static' name='/images/rubyfliped.png' cache='on' />
<resimage resid='resimage1' size='350,350' fileref='file1' />
<layer layerid='layer2' leapout='lead' resref='resimage1' pos='150,300' combine='add'/>
<!-- Dialog Box Image -->
<file fileid='file2' nature='static' name='/images/dialogboxfliped.png' cache='on' />
<resimage resid='resimage2' size='350,350' fileref='file2' />
<layer layerid='layer3' leapout='lead' resref='resimage2' pos='450,200' combine='add'/>
<!-- Dialog Box Text -->
<setfont fontid='setfont1'>
<font scripts='default' pfont='112-2-sans-r' height='13' color='#010101' stretching='-50'/>
</setfont>
<restext resid='restext1' size='230,180' orientation='h-ttb-ltr' fontref='setfont1' talign='justify'>
<text>Comment t’appels tu ?</text>
</restext>
<layer layerid='layer5' leapout='lead' resref='restext1' pos='455,185' combine='cutout' />
<!-- Button, Variables & Input-->
<respath resid='result_not_selected' size='60,60' crop='auto' stroke='off' spread='on' color='#ff8000'>
Ju:0,0; Li:100,50; Li:0,100;
</respath>
<respath resid='result_selected' size='60,60' crop='auto' stroke='off' spread='on' color='#ffff80'>
Ju:0,0; Li:100,50; Li:0,100;
</respath>
<setdata dataid='my_session_data'>
<data key='name'>...</data>
</setdata>
<session dataref='my_session_data' remember='on'/>
<file fileid='file3' nature='dynamic' name='/main4.fsdl' dataref='my_session_data'/>
<entry entryid='my_button_entry' key='name' input='text' max='8' preset='Ton nom:'/>
<button buttonid='button1' goto='slide' fileref='file3' entryref='my_button_entry'>
<layer layerid='layer6' leapout='lead' resref='result_not_selected' align='left-top' pos='380,360' combine='clip' visible='not-selected'/>
<layer layerid='layer7' leapout='lead' resref='result_selected' align='left-top' pos='380,360' combine='clip' visible='selected'/>
</button>
</frogans-fsdl>
Cdt,
Tsiory