On this page, there is a poster containing an umbrella with titles. The client would like to be able to select a title and have text come up in the area labled “text area”. So far, I’ve created invisible buttons that I’ve stragetically placed on the poster and have created seperated movie clips for all the titles. I created something similar at one time but can’t find the link to the tutorial.
Any ideas where I could find a tutorial or script for this?
“copybox” is the instance name you give your dynamic text box…
you put this code in a layer (name it “actions”) on your timeline. it doesn’t really matter where, but make sure you’re declaring the loadvars object before you try to use it!
then AS for your button would look something like this:
on (release) {vipload.load("rulesinfo.txt");
“rulesinfo.txt” is whatever name you give your .txt file…
if you want to initially load something into your text box before the user selects a button you just use:
vipload.load("vipdesc.txt");
and put it in the timeline at the appropriate place… same as the button code but triggered by the frame it’s on being played and not by on release function…
oh, and just in case it’s confusing, you can name your loadvars object anything you want. I call mine “vipload” here because that happens to fit with what i’m working on… you can declare "flyingmonkeys = new LoadVars(); if you want… get it?