Php :: Php - Save A Screenshot Of A Certain Object On A Website?
Feb 8, 2012
On my website people enter, watch a live stream from a remote server (not my server) and when they click on a button it report it to me and what I want to add is the ability for me to take a screenshot of this stream at the very moment when they click that button and save it on the server. They question is how to implement so? Now I just have that stream in an Iframe that shows it as a .swf object Possible solutions I thought of but don't know whether will work are:
Embedding this Iframe inside a flash object that I will create. That means that on the website the users will see a flash object I created that all it does is to show the stream from an url I give it and when the user clicks on a button inside the html it will send the flash the command to save the screenshot now and then save it on my server (don't know how to implement it, so the second question is, if you think it will work, how to do so?).Second solution is to have an open browser on my server that when the user clicks the button, I send an ajax request to the server that will then order the browser to take a screenshot and save it locally on the server. (again, if you think this solution will work, tell me how to implement so).
View 1 Replies
Similar Posts:
Jan 19, 2009
I want to save a screenshot of my flash application at the highest resolution as possible ( 300 dpi or more).[code]...
Do you know how to improve the resolution ? Is there any encoder that can make higher resolution pictures ?
View 9 Replies
Apr 27, 2005
how can i take a screenshot from flash and save it to disk using php or whatever.
View 3 Replies
Jun 22, 2010
I need the user of my Flex application to be able to save a snapshot of part of the UI to a local jpg file. I got the screenshot part down - can generate an image out of any given control. However, the only way I see to let the user save the image locally is to send to my server which would return it with the appropriate Content-Disposition.
View 2 Replies
Feb 11, 2012
I want to take a screenshot from my website of another website or preferable 1 part of it (an object tag).I want it to work this way: I click on a button that will send a request to screenshot the page at this moment. Several ideas are insert the page inside a flash object and screenshot it. Or opening a browser on the server and when I click the button send a request using AJAX to tell the server to screenshot with this browser.How should I do this because I kind of failing right now with the flash Idea. The page I am trying to screenshot is a live camera that uses a .wvx object. But I can't even do that with a .swf object
View 1 Replies
Nov 1, 2010
Is it possible to save a screenshot (bitmapData) to the iphones photo album? Kind of like fileReference can in a browser?
View 7 Replies
Sep 20, 2009
I made this dress-up type game, and have been trying to figure out how to let the user save an image of their creation. I've been researching and figured out I need to use bitmapData.draw and fileReference.save in the actionscript somewhere. The only problem is I want this to be a standalone .swf if possible. The 'game' is here. This is part of my code:
[Code]....
View 8 Replies
Oct 20, 2010
basically what i want to do is this:
I have a flash game on a page (pacman for example)
I want to be able to take a print screen of that game using javascript
Is it possible? I know i can include the game swf in a nother swf and capture the screenshot using flash but i need it to be done in javascript.
View 3 Replies
Aug 10, 2011
What's the most resources efficient way to take a screenshot of display object in as3? This is the code I am currently using:
[Code]...
But it takes too much CPU power. I am okay if it will be processed more slowly, but without CPU utilization up to 60%.
View 1 Replies
Oct 4, 2011
When I take a screenshot using Selenium Firefox Webdriver (yes, Firefox has flash plugin) it doesn't show the flash object. It shows merely a white box instead. Is there something I must do / install?
I'm using this code:
from selenium import webdriver
def webshot(url, filename):
browser = webdriver.Firefox()
browser.get(url)
browser.save_screenshot(filename)
browser.quit()
View 2 Replies
Jan 31, 2012
I would like to know if there's a way you can take a screenshot of a flash object embedded in a page, and then email the PNG or JPG using the mailto: form submission to a specific address. So far I have investigated various javascript methods, but none of them have worked.
View 3 Replies
Feb 1, 2012
How do I make a flash document that records numbers on a server, so that whenever any user uses it, it updates so that when another user accesses it, they will see the current value and can update it. I'm thinking of just starting off simple and making a button that when you click it, the total count for the number of clicks increases by one, but I want to make it so two users using it at the same time will see each others' click and have it updated on their screen (with refreshing).
View 3 Replies
Aug 24, 2009
Lets say that a user has a profile on my webpage and is logged in. Hes using a flash draw app on that site and now he wants to save what his drawn. He wants to save it to his profil in an archive, so he can access it again later on. is this possible? and how would you go about it? the drawing is all within one movieclip (with tons of other movieclips inside it) it has to be saved in such a away so its possible to access the individual movieclip inside main movieclip.
View 9 Replies
Jun 5, 2011
I am developing (well, trying to anyway) a service where a member can record themselves on our website using their webcam. We need to be able to record that entire webcam session they had on our website for judges to determine whether they've cheated or not (it's a competition-based service). But, I can find no documentation, articles or even a sign that this is possible (other than knowing I've seen it in use many times). And I'm not sure what kind of hosting would be most appropriate for this type of service, and what steps would be required for me to get started on this.
View 1 Replies
Jan 22, 2011
I'm using a loader for people to use to upload their own images for a background, and I want it to remember the image the next time they come to the page, so is there any way to save the loader data in a shared object? I haven't tried just using something like
Code:
sharedObject.data.dataName=loader
because I assume it doesn't work that way.
View 9 Replies
Oct 20, 2011
Is it possible to create a display object in AS and take a screenshot of it as ByteArray or whatever without adding it to stage?
View 1 Replies
Feb 5, 2012
i am just curious if this kind of technology for flash is available.Can a website flash player able to cut specific part of the video and save it as a new video through php and flash.
View 1 Replies
Dec 11, 2009
I'm creating an air application that allows the user to create, edit and save Objects in files. I'm trying to implement a "Save on Close" prompt if the user hasn't saved her changes to the object before closing.Let's say I have a Class called MyClass marked as Bindable that is composed of fields, each exposing a getter and setter. Some of these fields are ArrayCollections of custom Classes. I want to consider a change a change to any of the fields, or any of the fields in any of the objects in any of the array collections the parent object is made up of.
I could manually dispatch an event anytime a setter is called on the MyClass object and manage this all manually, but I'd also have to do it in a bunch of places in the application logic, for instance when the user changes one of the custom objects in one of the array collections that comprises it. This is a fine solution, but a little dirty and hard to maintain. I could also check the current object against a copy I made at the time of start up or last save, but I don't like the idea of doubling my memory footprint just for this.
there was some event, perhaps an event that the binding broadcasts, that I could listen for in one place and manage my "Saved" variable. Does such a thing exist? I tried listening for the dataChange event that binding apparently dispatches, but I either did it wrong, or it doesn't do what I think it should.
View 2 Replies
Apr 10, 2010
Is there a way in which xml can be saved as shared object?
View 1 Replies
Apr 27, 2011
Here is what I want to do: Take an object that has a bunch of properties set and possibly holds other objects in it, and serialize it or somehow save it to a file using the File class. Reversing the process is also necessary. I know about SharedObject, but I do not get the ability to dynamically change the save/load location as in the File class. Is this possible with FMS, and if so, what is the procedure? If it is not possible, then what options do I have to achieve the same goals? I have read the SSLR and searched for a solution but do not seem to see any means to do this.
View 2 Replies
Oct 6, 2009
i can able to create StyleSheet object , i need to save that StyleSheet object to css file(in the css format).
how can i do in flex3 Air application , is there any build in library ? Or links available to save as *.css file
View 1 Replies
Jun 6, 2011
i`m going to attach movie from library i need when i click save button and close swf and run again the movieClip are loaded
View 3 Replies
Sep 2, 2005
I was trying to do an animation where people can move object around and save. then other people, with different computers, can see the last modifications.I was thinking using the sharingObject remote, but does it work with all servers?I read I need a special one, flash development server or something.So, I had the idea to make a script that save the position of the objects to a file and realoading the animation it loads the variables from that file
View 1 Replies
Mar 4, 2004
I am trying to use the shared object to save the _x and _y positions of several attached MC's. The attached MC's have all been given a variable name and attached to a dynamically created MC called "world".I need to loop through all of the MC's in _root.world to save their postions to the shared object. Here is what I have tried,.... when I trace so.flush.. it traces to true but the object postions are not saved.......
Code:
_global.initSo = function() {
_global.so = SharedObject.getLocal("marinaSave");
// if the SharedObject object created a new shared object
[code]....
Am I using the for... in method correctly to loop through the MC's in _root.world and save their values?
View 4 Replies
May 3, 2011
I'm planning to program a small piano in flash that have an x number of notes to play through a SoundChannel.
What I have not found is a way to record what is playing through SoundChannel and send it as byteArray to a server side script that will save it as WAV (or mp3).
I know Flash Player 10.1 allows you to record sound, but everything I have found is about recording sound using the microphone class. It seems the way to go is to send the sound data to the microphone. That doesn't seem very right or possible though..
View 2 Replies
Sep 14, 2010
I'd like to get the input text in the SWF to save on exiting the SWF without pushing a button. Here's what I have so far that incorporates pushing a button
Code:
var savedstuff:SharedObject = SharedObject.getLocal("Cookie");
btnSave.addEventListener(MouseEvent.CLICK, SaveData);
function SaveData(MouseEvent) {
[Code]....
View 1 Replies
Feb 9, 2011
I wanna to make some flash for save and load color...
Click button to change button color and click again return to old color and
Save lase color
When run project to show last save color
View 7 Replies
Feb 11, 2011
i want to create some 1 button for save and 1 button for load all shared object in my projectthis is my code for save and load and i want to create 1 button for save and 1 button for load last check point
ActionScript Code:
import com.dVyper.utils.Alert;
import flash.events.MouseEvent;
[code].....
View 0 Replies
Dec 3, 2011
I am new to ActionScript. I am designing a calendar with schedule just like outlook calendar. I have 30 or 31 small text boxes for each month. I would like to save data in the text boxes so that data remains in that even when the file is closed. I used the following code and it works fine.
[Code]....
My question is, I have totally more than 360 text boxes for 12 months. How can I save all data using shared object? I tried loop, Array and function with the above code. But it did not work. You can also tell me if there is any other way to save data using PHP MySQL or ASP? If so how to do that?
View 9 Replies
Dec 29, 2011
im creating a side scrolling game project in flash as3..
and one of the requirements is saving and loading the game.
this is what i wanted to do.
the game can save the name, score, and the specific location of the character,
or maybe im thinking of a checkpoint or a savepoint.
ive read some articles about shared object, and im thinking on using it, but i really cant get it.
View 5 Replies