Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
LLSTexas

Re-sizing Banner Ads

Recommended Posts

I received a 300x250 banner ad designed in Flash Cs6 from our digital agency. I need to create several other banner sizes (180x150, 728x90, 160x600) based on this design. They used TweenNano.

 

My question is do I need to change the actionscript 3 code depending on the size of the file? This may seem like a silly question, but I haven't used Greensock before and have very little actionscript 3 knowledge. 

 

The script is included, do I need to upload the Flash file too?

 

Thanks so much for any assistance!

 

actionscript.txt

Link to post
Share on other sites

It appears TweenNano is only tweening alpha and scale. This is good news for you.

 

Usually in a banner resize you have to change a lot of code that dictates how the position (x/y) of elements gets animated

 

I think you can get away with resizing your elements and placing them where they should be in Flash without touching any of the code. If something goes funky it should be fairly easy to find out where.

 

Best thing to do is save a copy of your 300x500, start changing the layout of your assets and test often.

Link to post
Share on other sites

Hi Carl, thanks for your answer. I didn't think I needed to do anything with the code. I have created 2 of the new sized banners and both are having issues. I just wanted to make sure it wasn't the actionscript.

 

Thanks again!

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×