Comments (8)
Hum. Have you installed it locally? Which flash you are using?
from camcanvas-api-.
I have the same problem. I just tried to open taboca-CamCanvas-API--300da2f/samples/basic/camcanvas.html
. The flash works, but when I click the Capture to Canvas
button, the below error is thrown.
Error:
Uncaught TypeError: Object #<an HTMLEmbedElement> has no method 'ccCapture'
captureToCanvascamcanvas.html:58
(anonymous function)camcanvas.html:69
onclick
I'm using:
- Ubuntu 10.04
- Google Chrome 9.0.597.45 beta
- Shockwave Flash 10.1 r102
Weird, because the example on your site (http://www.taboca.com/p/camcanvas/) works fine. I don't know what to do, any tips?
from camcanvas-api-.
Maybe you need to host this in HTTP-based. It could be related to that. Can you give a try? hosting in a local web server? Maybe security related.
from camcanvas-api-.
Maybe you are trying to open the file from the file explorer not from an url (localhost/path/to/example) for example
from camcanvas-api-.
If you are running the flash locally (file://) the swf file has to be in the local-trusted sandbox. See http://livedocs.adobe.com/flex/3/html/help.html?content=05B_Security_04.html and http://www.javascriptkit.com/javatutors/trycatch.shtml
from camcanvas-api-.
Thanks Cheluis.. it worked :)
from camcanvas-api-.
I get the same issue. I have my files on my server and when I press the button on chrome, safari, and mozilla the image is captured. When I use internet explorer 9 the image isn't captured and I get an error on the console "SCRIPT438: Object doesn't support property or method 'ccCapture' "
my javascript is
function captureToCanvas() {
flash = document.getElementById("embedflash");
flash.ccCapture();
}
the error is in flash.ccCapture();
from camcanvas-api-.
hi,
I had the same issue, but when i put my code base in local host then it start working.
i put my code in /var/www
from camcanvas-api-.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from camcanvas-api-.