Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Flash Generator and passing variables via a Url

Posted on 1998-12-20
1
Medium Priority
?
165 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 800 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

876 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