Actionscript help, please!
December 7, 2007 8:19 AM Subscribe
I'm trying to make a flash file scale to the width of a div. Friends, Romans, Actionscript People, how do I make this happen?
Simple diagram
here. Basically, I want to know what actionscript I need to add to the file, and changes I might need to make to the swfobject info to make this happen.
The swf has a set height (which I want) and currently has a set width, (but I want to change that). Right now it stays the same size as the stage it was built on. I want it to expand to fit the div it's in. My actionscript is for poop, obviously. Thanks for your help.
posted by Mayor Curley to computers & internet (11 answers total) 1 user marked this as a favorite
But can't you just set the width attribute of the object and embed tags to 100%?
posted by bitdamaged at 8:22 AM on December 7, 2007