Banner ad strategy

By stefanmumaw | Jul 1, 2009

actionscript3

Hoping the AS3 brainstorming gurus can help me work through a strategy here. I have a banner ad built in AS3 that pulls in a video file of a guy walking out on screen, saying his piece, then walking back off screen. This banner ad will appear over the top of a page’s content. What I need is some strategy help with is the "close" button.

I can include a "close" button that will unload the video that is getting pulled in no problem, but the problem is the Flash wrapper is still there. Is there any way from within Flash to click a button and have the Flash wrapper completely disappear? Basically, close the entire Flash movie so it is no longer on the page without closing the page? And if so, how?

Any strategy help would be appreciated. Thanks, all.

actionscript3

Please reply at our Forum

1 Comment so far
  1. xaio July 1, 2009 8:27 pm

    from flash call

    ExternalInterface.call(”removeFlashContainer”);

    where “removeFlashContainer” is javascript function that removes the container

Leave a Comment

If you would like to make a comment, please fill out the form below.

Name (required)

Email (required)

Website

Comments

© 2007 ActionScript 3.0