• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 168
  • Last Modified:

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?

1 Solution
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.
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.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now