[Gambas-user] Cannot assign value to MovieBox.Path
T Lee Davidson
t.lee.davidson at gmail.com
Tue Oct 31 14:46:59 CET 2023
On 10/31/23 00:46, Safiur Rahman wrote:
> Hi
>
> Whatever value I assign to Path variable of MovieBox
> eg.
> MovieBox1.Path = "flag.gif"
>
> I get error
> File of directory doesn't exist
>
> Previously it worked. Is there any change?
>
> Attached project
>
>
> --
> Regards
> Safiur Rahman
When I try that, I get this error message in the IDE console, "gb.gui.base: MovieBox.Path is deprecated. Do not use it anymore."
Yet, the Wiki documentation does no mention that it is deprecated. Weird.
Anyway, try this:
MovieBox1.Animation = Animation.Load("images/flag.gif")
--
Lee
More information about the User
mailing list