Resources/Advanced concepts/General

Flash Library

Ionso Sheinberg
posted this on July 26, 2010 09:07

Any image in a page may optionally include Flash.

LiveBall’s Flash implementation makes it easy for non-technical LiveBall publishers to change the text and links within a Flash .swf file. You can easily change a headline or call to action. And just as easily affect where your Flash links.

Flash Library

You now have a new centralized library for Flash (.swf) files. Using your familiar library interface, you simply add .swf Flash files to your library. LiveBall automatically senses the width, height, file size and Flash version of your .swf file. You may use any version of Flash file in LiveBall, although some of the more advanced LiveBall features are best accessed using Flash 9 (or higher) with ActionScript 3.

After you add a Flash file to your library, you’ll notice a new ‘Set Flash Variables’ pane just below the library preview window. Properly developed Flash files can include variables/instances for dynamic text, images and links. LiveBall can easily substitute text, images and links for these variables. You must know the exact names of any text or link (URL) variables in your Flash. In the set variables pane of the Flash library enter the exact (case sensitive) name of each variable or instance in your Flash.

IMPORTANT NOTES:

  • Both your instance names and variable names in LiveBall must match each other exactly. And since Flash is case sensitive and LiveBall transforms these names to all lower case, you must use all lower case characters when naming your instances and variables.
  • You can then give it a friendly ‘Label’ that LiveBall will use later to help you assign text or links to these variables.
  • And last, choose from the ‘Type’ drop-down menu to indicate if the variable is text, image or URL (link). You may add as many variables as are in your Flash file.

For example, if your Flash file includes an instance of dynamic text named ‘headline537’, you would set a variable in LiveBall named ‘headline537’, perhaps give it a more friendly label like ‘Main Headline’, and set the type drop-down menu to ‘Text’.

Another example: if your Flash file includes a clickable region or button named ‘btnltop’, you would set a variable in LiveBall named ‘btnltop’, perhaps give it a more friendly label like ‘Top Left Button’, and set its type drop-down to ‘URL’.

Later, when you add your Flash to a page, you associate dynamic text, images or links to the Flash you just added to your library.