Graphics Reference
In-Depth Information
urlVariables.userFirst = firstNameInput.text;
urlVariables.userLast = lastNameInput.text;
urlVariables.userZip = zipCodeInput.text;
Now that we have the variables packed up and organized all
nice and neat, it
s time to send the user and his or her package of
variables on over to his or her destination. The parameters for
the navigateToURL method are expecting the following (in this
order): the URLRequest containing the target URL and the target
window or frame. The parameter for the target window is null by
default, and if no value is given, a new empty window is created.
'
navigateToURL(urlRequest, _self );
The target URL used in this example has been set up to receive
the variables used in this example. If you would like to test this
function, you can either set up your own Flash file that uses it
(leave the variable names and target URL as they are) or go to
http://www.flashadbook.com/urlVariablesForm.php to see my
working version. Remember that if you set up your own Flash file,
youmayneedtorunitinanHTMLwrapperasopposedtothe
external player that
s used when you test movies from within the
Flash IDE (Integrated Development Environment).
'
Conclusion
When you
re working in advertising, your end goal is to get users
to do something. You want them to complete some sort of task,
and exactly what that task is depends completely on the client and
the product or service being advertised. If you work on enough
online advertising projects (and it doesn
'
ll
inevitably be involved with one that is asking users to complete the
task of filling out a form of some kind.
Whether you
'
t take many), you
'
re asking users to fill out a form with information
pertaining to the color, trim level, and engine size of your client
'
'
s
new car or you
re asking them to fill in the dates that they would
like to topic a flight and hotel for their vacation, you
'
ll need to
know where to send that information. On top of that, you
'
ll need
to know what variable names and possible values the processing
page will expect when users are sent to it. There are many ways to
get this information including asking your client for it or even
visiting and viewing the source of their version of the same form
on their Web site.
Something to keep in mind when you
'
re building banners with
forms in them is file size. If your forms contain a TextInput com-
ponent,youcanplanoniteatingupmostofyourpermittedfile
'
Search WWH ::




Custom Search