changeSlide not working

I have 5 slides on my fullWidthSlides1 .
changeSlide function on buttons not working.
nothing happens when clicking.
what is wrong please?

export function button7_click ( event ) {
$w ( “#fullWidthSlides1” ). changeSlide ( 1 );
}

export function button8_click ( event ) {
$w ( “#fullWidthSlides1” ). changeSlide ( 2 );
}

export function button9_click ( event ) {
$w ( “#fullWidthSlides1” ). changeSlide ( 3 );
}

export function button10_click ( event ) {
$w ( “#fullWidthSlides1” ). changeSlide ( 4 );
}

export function button11_click ( event ) {
$w ( “#fullWidthSlides1” ). changeSlide ( 0 );
}

Hi @cipcivil ,

Have you removed the event handler from the property panel? (It should not be removed, but it won’t exist if the code is copied from else where)

Is the full code not running?

Certified Code Logo

when write the code manually it didn’t work. when write with the event handler it worked. thank you