Mouse selection with picture

For general discussion related FlowStone
rustyou
Posts: 93
Joined: Sat Jan 04, 2014 10:55 am
Location: France

Mouse selection with picture

Post by rustyou »

Hello,


i would like a image who change when i clik with my mouse. For to have a second picture after the clik.

How shall we do it?

Thank you,
Xtinct
Posts: 106
Joined: Fri Feb 11, 2011 12:06 am

Re: Mouse selection with picture

Post by Xtinct »

Toggle switch loads images for on / off
rustyou
Posts: 93
Joined: Sat Jan 04, 2014 10:55 am
Location: France

Re: Mouse selection with picture

Post by rustyou »

Hi,

Yes, but i want cliked on the picture for to see a second picture..... ?

without seeing switch... (only picture)
RJHollins
Posts: 1573
Joined: Thu Mar 08, 2012 7:58 pm

Re: Mouse selection with picture

Post by RJHollins »

rustyou wrote:Hi,

Yes, but i want cliked on the picture for to see a second picture..... ?

without seeing switch... (only picture)

It's a neat trick, but what you can do is place a switch in with the picture ... expand the 'mouse area' to include the full pix if you like ... then, the trick ... HIDE the switch or remove the switch graphics.
rustyou
Posts: 93
Joined: Sat Jan 04, 2014 10:55 am
Location: France

Re: Mouse selection with picture

Post by rustyou »

Ok,

Possible to have an exemple.. ?

Thank you,
Jay
Posts: 276
Joined: Tue Jul 13, 2010 5:42 pm

Re: Mouse selection with picture

Post by Jay »

here you go! load your images with the modules properties panel

2pic.fsm
(167.43 KiB) Downloaded 1026 times


regards
rustyou
Posts: 93
Joined: Sat Jan 04, 2014 10:55 am
Location: France

Re: Mouse selection with picture

Post by rustyou »

Hi :)

Yes it's good, but it's possible to charge different size for the picture ?

The first small... with a size define and the second big with a other size define ??



Thank you,
billv
Posts: 1165
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia
Contact:

Re: Mouse selection with picture

Post by billv »

Yeh..you got it...just define the bitmap size.
Invisible switch.fsm
(5.95 KiB) Downloaded 985 times
RJHollins
Posts: 1573
Joined: Thu Mar 08, 2012 7:58 pm

Re: Mouse selection with picture

Post by RJHollins »

some good examples guys ...

billv ... your example is maintaining the same mouse 'active' area, rathing than changing with the bitmap size.
billv
Posts: 1165
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia
Contact:

Re: Mouse selection with picture

Post by billv »

RJHollins wrote:billv ... your example is maintaining the same mouse 'active' area, rathing than changing with the bitmap size.

Good point..... ;) ...he might prefer it like that..
If that behaviour is required, he can just make another switch, re-size it, then switch it
same time as the the bitmaps.
Invisible switch_alt.fsm
(6 KiB) Downloaded 1001 times
Post Reply