TIP 151: Customizing ImageReady SWF Variables


Using Adobe ImageReady CS2, you can include a text variable in a SWF animation (Flash animation) and edit that text after you place it in your GoLive page. This comes in very handy when, for example, you have an ad banner whose design remains constant, but whose text must change. Using a text variable, you can change "This week's special, 4 days in Florida, only $399!" to "This week's special, 5 days in New York, only $699!" and use the same SWF both times.

To accomplish this, create the animation complete with text variables in ImageReady and then choose File > Export > Macromedia Flash SWF. When the Export dialog box appears, select Enable Dynamic Text and choose which fonts to embed (Figure 151a).

Figure 151a. Choose Enable Dynamic Text when importing to SWF to make the text variables accessible in GoLive.


When placed in a GoLive page, edit the text by following these simple steps:

1.

Select the SWF on the page.

2.

Click the right-facing arrow at the far right end of the File field in the Inspector.

3.

Choose Edit from the list.

4.

In the Edit URL dialog box, select a Query Parameter from the list.

5.

Edit the text value (Figure 151b).

Figure 151b. Change the dynamic SWF text variable from within GoLive using the Edit URL dialog.


6.

Click the Update button.

7.

Click OK.

Now, go back to your page and preview the animation. The original text will be replaced by the new text you just entered.



    Adobe GoLive CS2 Tips and Tricks The 250 Best
    Adobe GoLive CS2 Tips and Tricks The 250 Best
    ISBN: B008CMGJS0
    EAN: N/A
    Year: 2005
    Pages: 301

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net