Re: 2nd Frame Screenshot?
Re: 2nd Frame Screenshot?
No, screen capture obj. does, as in name, SCREEN capture, not frame. You must somehow jump to this frame and tell her (global vals should be useful) to make screenshot.
Re: 2nd Frame Screenshot?
Sub-app object? That allows you to show (actually run) another frame without leaving the first frame.
Re: 2nd Frame Screenshot?
Quote:
Originally Posted by Darkhog
No, screen capture obj. does, as in name, SCREEN capture, not frame. You must somehow jump to this frame and tell her (global vals should be useful) to make screenshot.
I tried this but could not get it to work, if anyone has a working example that would be a big help. The problem i got is via globals it wouldn't trigger without the frame being in focus, since i don't want the user to see that i tried a fastloop but got blank images back because it won't trigger correctly.
Quote:
Originally Posted by Dynasoft
Sub-app object? That allows you to show (actually run) another frame without leaving the first frame.
Thats nothing to do with what i want really, i need it to render a .png / .jpg etc rather than preview the next frame. Sorry i should have been clearer about that, subapps i can do with no trouble. As far as i know you cannot use the Screen Capture object on a sub app though, when i try i don't see anything from it.
I think it might require a actual new MMF feature or extension to be able to do it, whatever i try i can't get it to work but if it's possible hopefully someone knows.
Re: 2nd Frame Screenshot?
Can't you just capture the frame before-hand yourself and just show an image of it at runtime? It's not like a frame that isn't running will change at all...
Re: 2nd Frame Screenshot?
Quote:
Originally Posted by Dynasoft
Can't you just capture the frame before-hand yourself and just show an image of it at runtime? It's not like a frame that isn't running will change at all...
It is running though it changes by globals, you oviously don't get the idea or are thinking of something else, it's suppost to be a graphics app that previews the results on the first frame with a render button to save the results (frame 2) full scale to an image.
Even though it seems like a very simple task basically it seems like MMF can't handle this sort of thing due to missing extensions/features.
Re: 2nd Frame Screenshot?
Atom, can you provide a small example of your work thus far? I am still confused on what your graphics results will be. You say there are changes that will be reflected on a second frame. Are you causing various objects to move or appear when the second frame is loaded?
You could just view the second frame with the Subapplication Object without using a screen capture.
Here is an example:
www.skiosk-esd.com/clickteam/MMF2_examples/View2ndFrame.mfa
Re: 2nd Frame Screenshot?
Quote:
Originally Posted by DT
Atom, can you provide a small example of your work thus far? I am still confused on what your graphics results will be. You say there are changes that will be reflected on a second frame. Are you causing various objects to move or appear when the second frame is loaded?
You could just view the second frame with the Subapplication Object without using a screen capture.
I didn't save anything because it wouldn't work whatever i tried. I was trying to make a template for it because it's such a basic feature in graphics apps yet MMF can't do it easily sadly.
Thanks but you misunderstand and i have alread said a few times now just viewing the second frame with the sub app is not what i want. However a preview is part of it and it's basically like your example only i want it to save the image also.
What i want is a rendered image of the 2nd or another frame so actually a .png or .jpg saved of the frame after clicking a button and selecting a save location. I want to do it all via the first frame after clicking a button.
So i already had a preview and setup just like in the mfa you posted but now how do i make it save that preview in the original view you would see if it was actually on frame 2 to a image format?
I have actually requested a extension for it as it seems theres actually no way in MMF2 to do it -
http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=130528#Post1305 28
But even Looki who makes great extensions said it's probably not possible. I think it will actually have to be included in MMF and that seems like it won't be anytime soon. MMF is doing a HWA update to improve graphics yet it doesn't have basic stuff like this by default already which is kind of frustrating as i want to make audio/graphics apps with it mainly.
Re: 2nd Frame Screenshot?
ok, how is the "rendered image" being added to the second frame? Perhaps there is a way to do this but I need more detail please.