FORUMS: list search recent posts

Resizing an embedded flash movie using javascript?

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Resizing an embedded flash movie using javascript?
on Feb 15, 2006 at 4:48:04 am

Is there anyway I can change the dimensions of a flash movie using Javascript? As a quick example, say we have 1 input field in the html page along with the embedded swf file. If a user enters 500 in the box, can I make this value the width of the embeded movie? I tried doing something simle like document.flashID.height = "500" but it doesn't work. It would be nice if I could change the value in the box, click a button and then the size of the embedded flash file will change accordingly. I have a feeling this works in IE but in nothing else. Any insight is greatly appreciated.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved