Skip to main content
Participant
April 24, 2014
Question

Expandable Flash Banner Advert

  • April 24, 2014
  • 1 reply
  • 561 views

Hi there, I'm very much a novice when it comes to using Flash and am currently self teaching myself. I've decided to try my hand at creating a banner advert that would hypothetically be placed on a website.

What I want the banner to do is:

  1. Loop video.
  2. When the user hovers over it expand downwards.
  3. Once expanded play a different video.
  4. Link to external websites and social media.
  5. Retract back up when the mouse isn't on it anymore.
  6. Return to 1.

Now I've got both videos in FLV format and the artwork ready to be placed, however I'm not sure on how to actually make it all work in Flash. I've tried a couple of tutorials but end up gettting lost or something isn't working the right way, I can be starting a brand new flash file and follow a tutorial to the letter and it still won't work.

I was wondering if anyone knows a way to get this working, or can point me in the right direction that would be much appricated.

I'm using Flash CS5.5 and working with actionscipt 3.0.

This topic has been closed for replies.

1 reply

Inspiring
April 24, 2014

1.use the flvplayer component to show/stream your videos.

I´m afraid if you absolutely no knowledge you will again have to consult a tut about this:

http://www.adobe.com/devnet/flash/articles/flvplayback_programming.html

2.prepare the stage size of your banner so that it fits the size of your exopanded banner.

so if you start the banner with a 200px-height video that later expands and shows a 400px-height video

make the stage-height 400

3.use masking to show an animation of your expanding banner:

http://www.republicofcode.com/tutorials/flash/as3masking/

4.use navigateToURL to switch to another website

  • function myBtnClicked(e:MouseEvent):void {
  •     navigateToURL(new URLRequest("http://www.google.com/",_self));
  • }

good luck