PDA

View Full Version : resize stage dynamically


mneil
08-06-2007, 09:34 PM
Okay, I work for a car dealership and I'm doing some ads for them. The people we're advertising with said that we can do ads that expand outward if we want. I'm thinking, that's great and sounds fun, but how do we do that. So I build a test thinking they are going to handle the resize with some javascript or css; and guess what, they don't. So I call them and ask them how I need to send it to them to do it and they say they have no control over it. I've asked this question on another site and was told by a mod that it is most likely done with CSS. I found a way to actually change the movie size in html with a javascript file but I have to put it in the html and cannot do that. What methods might the other advertisers be using to perform this task?

flysi
08-25-2008, 02:11 PM
Sounds like you need a rich-media ad vendor, like Eyeblaster or Pointroll. Those expanding ads that you see on web sites are usually served by one of those companies, using their proprietary back-end code to resize the ads when the user rolls over or clicks on them.

dialectric
09-12-2008, 06:35 PM
Doesnotcompute has a flash-based (no external files needed) solution using AS3 at http://www.dncompute.com/blog/2008/06/23/browsercanvas-the-worlds-easiest-way-to-dynamically-resize-flash.html, which might give you a start towards figuring out dynamic resizing.

- dialectric

( there's also this AS2 thread, http://www.actionscript.org/forums/showthread.php3?t=157306&highlight=dynamically+resize+movie )