Is there any way to load a movie and be able to play parts of it?
I found nothing in the docs.
Latest posts made by rui_mac
RE: Loading and playing a movie. Possible?
Thank you for your reply, Jon.
What I wanted was the ability to control the video, being able to click a button and advance a frame, for example. Or, being able to play/stop the video at the click of a button (not the standard system controls)
RE: Button.action runs as I add the button to the View
Thank you so much.
It is working now.
However, to check for something inside that array, I need to make it global, right?
Otherwise, how can I send it over to the action method when the button is pressed?
Button.action runs as I add the button to the View
Ok, I'm very new to this. Although I already coded in python before, I only have Pythonista for a couple of days.
My problem is the following:
I'm creating a new layout using code, not the UI editor.
I created a new button and set its action to a method I created with:
the pn is an array that I must check somehow (but that is not important).
The problem is that as soon as I add the button to the view, the get_action method gets called.
Shouldn't it only be called when the button is pressed?
Please, help me out with this.