Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8967429
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T17:14:28+00:00 2026-06-15T17:14:28+00:00

I am passing parameters to flex application as below but it shows empty always

  • 0

I am passing parameters to flex application as below but it shows empty always .

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%" id="metaplayer">
                <param name="movie" value="multicastplayer.swf" />
                <param name="quality" value="high" />
                <param name="bgcolor" value="#ffffff" />
                <param name="allowScriptAccess" value="sameDomain" />
                <param name="allowFullScreen" value="true" />
                    <param name="group" value="8155" />
                    <param name="password" value="8155" />
                    <param name="type" value="2" />

                    <param name="streamname" value="8155" />
</object>

Accessing it from flex shows empty either of this ways. WriteText is just my function that shows variables in a textbox.

writeText(mx.core.Application.application.parameters.group);
                for (var i:String in FlexGlobals.topLevelApplication.parameters) {
                    writeText( i + ":" + FlexGlobals.topLevelApplication.parameters[i] + "\n");
                }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T17:14:29+00:00Added an answer on June 15, 2026 at 5:14 pm

    For me it works fine with this syntax (passing the arguments through the flasVars” param name):

    <param name="flashVars" value="locale=${language}&localeFallback=en_US" />
    

    And then in my flex:

     var parameters:Object = Application(FlexGlobals.topLevelApplication).parameters;
    
     if (parameters.locale) {
         locale = parameters.locale;
     }
    

    You can find the official documentation about that on the official web site: http://helpx.adobe.com/flash/kb/pass-variables-swfs-flashvars.html

    BTW, you can/should use swfObject to generate this piece of HTML code. It handles properly passing the parameters to the SWF.

    HIH

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What is the preferred way of passing parameters to a Flex application deployed as
I'm passing parameters to a .NET ClickOnce-deployed application via the URL from a Flex
Passing parameters is common in daily programming, but should we pass parameters as object
This procedure has three parameters. But when I try to execute by passing parameters
I'm passing parameters to a server from a Flash Builder application. I want to
I am passing a string param into flex application as FlashVars The param sometime
I am passing some parameters as POST to a Servlet from my Flex WebApplication.
Passing parameters works with 2 normal activities, but when I try to pass this
I am passing parameters from start-run to my windows application. What I came to
I am calling a 3rd party object and passing parameters to the call e.g.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.