Flash Generator and passing variables via a Url

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
hamishdAsked:
Who is Participating?
 
niklasjConnect With a Mentor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.