How to retrive the text : No movie by this actor

Something along these lines should work:

if ( $the_query->have_posts()){  
    while ( $the_query->have_posts() ) : $the_query->the_post();
        echo '<div class="actor-box-related"><a class="actor-titlu" href="';
        the_permalink();
        echo '" title="'.get_the_title().'">';
        ?>
        <img class="actor-img" src="/scripts/timthumb.php?src=<?php the_field('img'); ?>&h=110&w=75&zc=1" alt="<?php the_title(); ?>"  title="<?php the_title(); ?>"/>

        <?php the_title();
        echo '</a></div>';
    endwhile; 
} else {
    echo("No movie by this actor");
}