If you are using FlashBuilder to compile Flex application, then adding
parameter in template file will automatically add the parameter in your
actual file. example below
<script type="text/javascript">
// For version detection, set to min. required Flash Player
version, or 0 (or 0.0.0), for no version detection.
var swfVersionStr =
"${version_major}.${version_minor}.${version_revision}";
// To use express install, set to playerProductInstall.swf,
otherwise the empty string.
var xiSwfUrlStr = "${expressInstallSwf}";
* var flashvars = {companyid:501};*
var params = {};
params.quality = "high";
If you only want to send parameters to swf which is pre compiled then you
can pass parameters via two ways:
one that you already mentioned as "BMSAccounts.swf?companyid=501"
second you can directly add in your or tag
If you need any clarification, let me know.
-----
Regards,
Prashant
--
View this message in context:
http://apache-flex-users.2333346.n4.nabble.com/FlexGlobals-Parameters-passed-in-the-URL-tp13008p13014.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.