How can multi-flash banners be integrated into a flash animation?

Posted on 2006-05-15
Medium Priority
Last Modified: 2012-05-05
I have a general question and need a general answer. If I have a simple flash animation and have two side panels, can a couple of columns (say 2 columns of 10 ..or whatever) of clickable banners be created on each side of the animation?

I believe the answer to this is yes.

 So my 2nd question is: If this is done, and the owner wanted to go in and add a banner here and delete one there, how can this be accomplished. Can an admin area be built to allow this to be managed more easily, or does the user have to open the .fla file and modify the banners there?

Take into consideration that this entire flash file will be at a large resolution, consuming most of one screen.

Thanks very much.

Steve J.
Question by:safetygearhq
  • 2
LVL 19

Expert Comment

ID: 16684115
The answer is yes.

Question 2:

If you want the user to be able to add banners, etc.., then the best thing to do is to create an interface that works with XML.

Your basic setup would be an xml file that includes a banner file name, and a URL at a minimum. This way your user could drop a file in folder "banners" and then go to the xml file and edit its contents to point to the file inside the "banners" directory, and when the user clicks to send the click to getURL(bannerdestination).

That is the general answer, my friend.




Expert Comment

ID: 16686600

of course and,

"Can an admin area be built to allow this to be managed more easily, or does the user have to open the .fla file and modify the banners there?"

of course too =)
You can make an administration  background that use to configure or change the banners.
OR :
- load an html text file to change your banner
- load another swf that the user can create
- better solution : make (or use) a CMS but it seems very huge to admin 2 banners =)



Expert Comment

ID: 16690045
I would agree with Guic, this sounds like too much work for a couple of banners. That said, my approach would be to have a standard banner movie clip created on the _root that has dynamic text boxes for some text and hyperlink perhaps, and maybe a movie that would hold dynamically loaded jpg, and use duplicateMovieClip() to duplicate it as many times as there are banners in the database. Then you could do a simple admin that allows the owner to put in some basic text, a hyperlink and maybe upload a jpg.. then pull these into your swf thru xml to make all the banners. Still alot of work, but in the long run it's less work than working with the FLA.
LVL 19

Accepted Solution

Montoya earned 2000 total points
ID: 16690658
Yeah, the admin section is really not needed if you to XML. Just provide your "admin" access through your FTP account. That should resolve that issue. Clear instructions and a backup of the actual directories is the key if you're trying to implement a user driven interface. In my mind the best bang for you buck is definitely the Flash/XML. I don't its that much work, especially if it is a fixed number of banners on each column.


Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question