flip visual and background problem
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 125
- Joined: Sat Jan 31, 2009 12:01 am
flip visual and background problem
any solution to this. going to flip an object with visual flip right, but the background of the object goes gray instead of maintaining the background
on mouseup
hide image a
show image a with visual effect flip right
end mouseup
but a gray cutout is noted instead of a eg. blue background color....
any ideas?
on mouseup
hide image a
show image a with visual effect flip right
end mouseup
but a gray cutout is noted instead of a eg. blue background color....
any ideas?
Last edited by scotttyang on Thu Apr 26, 2012 3:35 am, edited 1 time in total.
Re: flip visual and background problem
Hi,
dont work for me but
work
Best regards
Jean-Marc
Code: Select all
show image a with flip right
Code: Select all
flip image a horizontal
Best regards
Jean-Marc
https://alternatic.ch
-
- Posts: 125
- Joined: Sat Jan 31, 2009 12:01 am
Re: flip visual and background problem
The flip works well in terms of flipping images, but looking for a way in VISUAL EFFECTS on iOS systems that (Visual effect flip right) that doesn't show the gray background of the card. If I had a photo background and I want to flip an image in front of it, I would like only the foreground image flip in "show image x with Visual Effect flip right" without the cut out background.....may be not possible yet with 5.5
Re: flip visual and background problem
Sorry,
I haven't understood your problem.
Maeby you can try this
Best regards
Jean-Marc
I haven't understood your problem.
Maeby you can try this
Code: Select all
on mouseup
hide image "a"
lock screen for visual effect
show image "a"
unlock screen with visual effect flip right
end mouseup
Jean-Marc
https://alternatic.ch
-
- Posts: 125
- Joined: Sat Jan 31, 2009 12:01 am
Re: flip visual and background problem
The best way to describe a visual is a picture! see the attached. The coffee cup is a .png file that that is a photo object with transparent background. but the Visual Effect Flip right cuts out the background when flipping. This is from the iOS simulator. Therefore when making a game where one wants to to flip a flashcard over, the cut out background doesn't make the visual effect very pretty! any thoughts? or will just have to do a work around...
- Attachments
-
- visual flip cutout.png (40.88 KiB) Viewed 6926 times
Re: flip visual and background problem
scottyang...
If the bacground of the image of the coffee cup is white, you could try setting the background colour of the stack to white... that should help to 'mask' the transition at the same time as making it pleasing... if you understand what I mean..
be well
Dixie
If the bacground of the image of the coffee cup is white, you could try setting the background colour of the stack to white... that should help to 'mask' the transition at the same time as making it pleasing... if you understand what I mean..

be well
Dixie
-
- Posts: 125
- Joined: Sat Jan 31, 2009 12:01 am
Re: flip visual and background problem
hi Dixie,
I'm using a PNG file so it the coffee cup has a transparency with shadow. Maybe Livecode isn't meant to flip transparent backgrounds in iOS!
I'm using a PNG file so it the coffee cup has a transparency with shadow. Maybe Livecode isn't meant to flip transparent backgrounds in iOS!
-
- Posts: 1
- Joined: Mon Jun 04, 2012 6:17 am
Flipbook Software
The flip works well in terms of flipping images, but looking for a way in VISUAL EFFECTS on iOS systems that (Visual effect flip right) that doesn't show the gray background of the card. If I had a photo background and I want to flip an image in front of it, I would like only the foreground image flip in "show image x with Visual Effect flip right" without the cut out background.....may be not possible yet with 5.5!
Last edited by heatherlaine on Wed Aug 09, 2017 10:24 am, edited 1 time in total.
Reason: removing link
Reason: removing link
Re: flip visual and background problem
Hi...
To get rid of the grey background as you 'flip'... try setting the backgroundcolor of the stack to a colour that pleases..
be well
Dixie
To get rid of the grey background as you 'flip'... try setting the backgroundcolor of the stack to a colour that pleases..
be well
Dixie
-
- Posts: 125
- Joined: Sat Jan 31, 2009 12:01 am
Re: flip visual and background problem
The workaround for me was the background color went to complete black. Your foreground image at least the "background" of your foreground image has to be black also. Other colors such as white, gray, doesn't work well. Doesn't look nice. So Black is your best bet.
Scott
Scott