mark110384 Posted October 1, 2009 Share Posted October 1, 2009 Hello all, is the following possible, I have a flash movie (A jotter that users can scribble on), a user will then select a button which calls to a JS Function that captures the swf as an image or cache to memory so it can be recalled at a later point? Any help will be greatly appreciated. Quote Link to comment Share on other sites More sharing options...
ProXy_ Posted October 4, 2009 Share Posted October 4, 2009 ok, lets try this method: <html> <head> <SCRIPT type="text/javascript"> function CopyFlash() { // We're going to use a textarea that will be hidden on the page // the textarea will contain your embed code. // lets make a variable hold the value of that textarea. var flashit = document.getElementById("flashtxt").value; // This is one method to call your flash Variable. document.getElementById("showflash").value = flashit; // Now you have your Flash Variable, Containing the content of (flashtxt) } </script> </head> <body onload="CopyFlash(), ShowFlash()"> <!-- This copies then shows the flash on body load --> <br> <!-- Here is the hidden textarea containing the source --> <textarea rows="7" style="display: none;" cols="45" id="flashtxt"> <object width="550" height="400"> <param name="movie" value="somefilename.swf"> <embed src="somefilename.swf" width="550" height="400"> </embed> </object> </textarea> <!-- Below will display your Flash code when website loads --> <br><br>Output: <input type="text" ID="showflash"> <!-- Above is just an example on how to collect your flash code. --> </body> </html> Hopefully this helps. Quote Link to comment Share on other sites More sharing options...
CarbonCopy Posted October 4, 2009 Share Posted October 4, 2009 I believe you would need to create a flash function to cache an image, and just have it called by JavaScript Quote Link to comment Share on other sites More sharing options...
nicephotog Posted October 11, 2009 Share Posted October 11, 2009 Don't actually know but you could look up SVG javascript also (w3c.org). Microsoft does theirs with Active-X comparitive to SVG. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.