expanding banner
  • Does anybody know how to make a flash-banner so that when You put the cursor over it it expands over the page and when you move Your cursor out it folds back to the original size?

    I know I must use dhtml and layers, but I haven't quite figured out how to do it...




  • It should work


  • Post a link to what you have created I am interested to see how this is done....;)


  • Decompiler (http://sothink.com/flashdecompiler/)

    here is the link.........tried it on the "expanding banner example". file it does show all the info you need to make your own expanding banner...you do need a version of Macromedia Flash
    to create the .swf file......


  • Over 90% of people have the flash plugin. I don't know one person who doesn't have it.

    You should use a flash decompiler for that stuff instead of a binary/hex editor.


    That link has a paghe with some text on it. It has no banner.

    Its not java or vbscript its javascript/livescript.

    Talking about javascript there are xss holes in these forums that need to be fixed. But they won't be because Admin abandoned this site.


  • Thank You for Your replies. They were not QUITE what I meant. Here is an example I managed to steal to show You what I mean.

    Expanding banner example (http://www.coronaria.fi/www/mainostesti/expanding_banner_test.html)

    The html / java /vbscript part I understand (or can hack). What I don't know is what I need to do with the flash-banner.

    This only works with IE now and needs the flash-plug (I guess I could use azlatin2000's thing with non-flash users). It would always be better if it worked with other browsers too.

    I opened the swf-file with a binary editor and found these from there:

    FSCommand:openwindow
    javascript:setFlashHeight('prius',300);
    javascript:setFlashHeight('prius',90);
    javascript:open_popup()

    But I can't quite put the pieces together.


  • Livescript is the old name for javascript.


  • Originally posted by azlatin2000
    [B]Over 90% of people have the flash plugin. I don't know one person who doesn't have it.
    I still try to make banners so that they work also without flash.

    You should use a flash decompiler for that stuff instead of a binary/hex editor.
    Where can I find a "flash decompiler"?


    That link has a paghe with some text on it. It has no banner.
    That's strange. It works with all my browsers (but only IE shows the expanding feature)

    Its not java or vbscript its javascript/livescript.

    I meant java- / vbscript (didn't know livescript though, thanks for the info). I knew it is not java.

    I figured out how it works. I have to put inside the banner the following:

    on(rollOver){
    getURL('javascript:setFlashHeight('prius',300);');
    }

    on(rollOut){
    getURL('javascript:setFlashHeight('prius',90);');
    }

    I managed to create my own expanding banner (to annoy anyone who sees it).
    :D


  • Not sure if this is what you need or do you want the banner to expand to cover the entire page? without distortion of the page ?

    Sample (http://www3.sympatico.ca/terry.mckee/banner-2.swf)

    Can be done in the flash file.......Just make the banner a button







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about expanding banner , Please add it free.
    | More »