does anybody know how to make a flash banner ad expand over content?
example: http://cdn.eyewonder.com/100125/adWd...2726_Demo.html
if i have two different fla files - one unexpanded fla and an expanded fla - how would i make this work on a webpage?
Printable View
does anybody know how to make a flash banner ad expand over content?
example: http://cdn.eyewonder.com/100125/adWd...2726_Demo.html
if i have two different fla files - one unexpanded fla and an expanded fla - how would i make this work on a webpage?
try adjusting your html source code where the image rosco jenkins is. Direct it to size of your site to expand it. Where it says width and height define a different dimension
i dont get what you mean.
i was told in order to make an expandable banner ad you either need a backend script or specific lines of As code in order for it to show its unexpanded state without just creating one large movie size that animates down whenever its rolled over to expand.
i basically need to make an expandable banner ad that will be placed on multiple sites for advertisement so i won't be able to adjust the html code in each indvidual website.
J-Luv,
How'd you make out on this? I am about to dive in to an expandable banner. Got any tips?
thx,
is your expandable banner going to be placed on various websites?
i made my expandable banner with two fla files, one was the expanded state, the other was the unexpanded state...i then delivered it to the site it was being placed on and they made it work together by using custom js code
I think the easiest way is to just make a FLASH file that is the width of the expanded banner. Then, make the first frame have nothing on it but the collapsed state and the rollover function transitions it to the expanded state... but you can't have anything else on the stage for the first frame except the collapsed state.
Then, when you're loading it onto an HTML page, you'll have to use absolute positioning with CSS to put it in a spot (if you know CSS, that means you'll have to have it INSIDE a div or tag that, itself, has either relative or absolute positioning, and then you'll have to set the relative or absolute positioning of the flash object also). With absolute positioning, it will stay where it is.... you can even position it ON TOP of other things that are on the page and that's the key here... it's actually very convenient. However, this still won't work as you'd see a big white area (the stage) to the left of the collapsed state of the banner (this is assuming you're putting it on the side of the page). So that is fixed below:
The LAST thing you'll need to do is, in the HTML, set the flash object's 'WMODE' parameter to 'transparent'. That will make the stage transparent and the only thing visible will be the objects inside the movie.
What does that do? That now means you can see through the empty part of the stage to the stuff underneath, but the stage is still there so that when you rollover the collapsed banner, it will extend out onto the stage.
I haven't tried this myself, but I know all the techniques I just mentioned and it should all work fairly easily. I had just never thought about putting them all together until just now.
not sure about mech72, but again, my situation i was building out banner ads for a client who was paying for advertising space on over 60 different websites (such as gamespot.com, espn.com, etc). those websites just ask for the flash banner, they wont give you control over their website html or css.
mec72 if this is just for your personal website you should be able to use the above method, it'd be worth a try.
Yeah, I figured that's why you did it they way you did. I was just offering advice to mech72.
By the way, sweet gig!! I need to find some work like that.
I was doing the same thing J-Luv, in my case What I did was have them put a javascript include for my flash content, And I left the actual swfs on the company server. The include just pulled a js file that did all my work for me. Unfortunately, I no longer have my js files, would've made it easier. But, I've got some links for anyone who wants them that helped me get to what I wanted.
http://www.mustardlab.com/developer/flash/objectresize/ This one was okay
http://www.actionscript.org/forums/s...nge+stage+size
The second one helped me more. Both of these require that you have some control over the html that you're putting the swf into. I didn't have any, hence my hacky js code to make it work.
Edit:
Oh, and only 1 swf, made the size of the expanded banner, with 2 states inside the swf, and you collapse the encasing div, and expand it as needed.
Edit again:
Also, this is annoying. Mostly clients like the ad, consumer don't.
lol, not really, this client is a pain in the $#@.Quote:
Originally Posted by Taidaishar
unrealistic expectations for every project.....they wanted me to make a website EXACTLY like http://www.fullsail.com/ except with no content, photos, video, etc.....just make an award winning website out of nothing in 4 weeks. :)
I love that!
Client: I want you to make a website.
You: Okay, about what?
Client: Well, I want it to be about dentistry, but like this site here.
You: Alright, what's the name and any information you have for me?
Client: Let me get back to you. Oh, and I need it by Friday.
lol.....exactly....
then you open up photoshop or flash and create a new document to get started and they call or send an email "Hey! How's it coming with the website?"
Yep, then you bust your ass to get it done and go to turn it in and they look at you puzzled. "What's this?"
J-Luv: Looks like the banners will have their own sites. 2 expandables (1 with video) on 1 site and another expandable (diff size) on another site. So would Taidaishar's suggestion be the easiest?
Thanks Taidaishar!
Would I just deliver the .sfw?
thanks for your help
One problem with his suggestion is that if there are any buttons on the html page below the swf they won't work in firefox because the swf will cover them even if you can't see it. If that's the case you need to set the divs height to the collapsed height of the swf, then when you rollover use js to make the height of the div larger, then smaller when you rollout.
not sure about the details on your project, but if all you were paid to do was make the flash expendables then really that's all you should have to worry about.Quote:
Originally Posted by mech72
if you're having to administer the sites they go on also then it's just gonna take some trial and error. ask the sites to setup a test page or demo page for you to experiment with before going live. you'll need that anyway if the video is going to be streming from an ad server or something.
Very good point.Quote:
Originally Posted by mneil
Would any of you know how to keep banner at its native file size but still allow the expansion? Basically, my clients ad server only can except the 180x150 banners but the SWF size is 400x150. Anyhow i know its possible because there are a few other banners placed on the site that are expanding outside the standard size.
Any insight would be awesome. Thanks
Try this kit, the files are already optimized for compatibility with every browser and
can manage direct url or cllicktag parameter. But it's AS2 with demo html :
Flash Expandable Banner Kit
Try this kit, the files are already optimized for compatibility with every browser and
can manage direct url or cllicktag parameter. But it's AS2 with demo html :
Flash Expandable Banner Kit
If you want a complete solution that will work with all future web browsers.
Check out.
http://www.expandablebanners.com
They are so quick and easy to use.