Answered
Document.getElementById() ??
HTML5 canvas
I have a movie clip
var img = container.document.getElementById("img").getElementsByClassName("text_input_css");
container.style.width = newWidth;
container.style.height = newHeight;


HTML5 canvas
I have a movie clip
var img = container.document.getElementById("img").getElementsByClassName("text_input_css");
container.style.width = newWidth;
container.style.height = newHeight;


use
document.getElementById("img");
if you have an element with id = img
the css is irrelevant.
and use
document.getElementsByClassName("text_input_css);
if you have elements from that class in your html
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.