Solved

Flash Generator and passing variables via a Url

Posted on 1998-12-20
1
160 Views
Last Modified: 2013-12-25
eg: URL = path/template_file.swt?var1=string1

Is there anything I have to do with flash, to get the variables passed via the url and appearing in the generated template dynamically?

I am not using a datasource. No template commands are set.

I have a text field sitting on it's own layer wrapped in curly brackets. {textfield}

I can't get it to work!

If I set the "Control > Settings" parameters to
"-param Variable Value"
it works fine whilst testing.

Can you submit variables via the URL?

If so what do I need to add to the <OBJECT> and <EMBED> tags?

thanks
0
Comment
Question by:hamishd
1 Comment
 

Accepted Solution

by:
niklasj earned 400 total points
ID: 1857417
The variable names in the URL and the Flash template need to be identical, eg: template.swt?myvariable=Hello and {myvariable}

You may also need to take precautions when sending strings in urls. They may need to be escaped.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Read about why website design really matters in today's demanding market.
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
The viewer will learn how to dynamically set the form action using jQuery.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

809 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