Clicking anywhere takes me to the mainstack ?.

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Klaus
Posts: 13824
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Clicking anywhere takes me to the mainstack ?.

Post by Klaus » Fri Jul 09, 2021 11:51 am

Hi jackyjoy123,

welcome to the forum!

Do you have a "mouseup" handler anywhere in your STACK or in a CARD script?
Usually this does not happen, so the problem must be somewhere else.
I inported a video and this won't play.
Did you import it via menu: File -> Import as control?
Then you need to script the playback of the video!

So you may use a PLAYER object instead. This also provides a basic navigation bar
to play, pause, stop, forward and rewind the video.

All this must be scripted with an imported videofile.
The PLAYER object only supports external audio- and videofiles.


Best

Klaus

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9648
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Clicking anywhere takes me to the mainstack ?.

Post by dunbarx » Fri Jul 09, 2021 2:24 pm

Hi.

What Klaus said.

Use the "Find and Replace" gadget in the "edit" menu and do a search for "on " The characters "on" and a space. This will give you all handlers. I assume you are not using the "command" keyword. Anyway, see what might be hanging about that navigates to card 1.

Craig

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”