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 6601071
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T18:42:20+00:00 2026-05-25T18:42:20+00:00

I am making a audio flash player which will play a sound passed to

  • 0

I am making a audio flash player which will play a sound passed to it.

How can i pass the values from a browser url?

like i have to write

http://domain/folder1/folder2/player.swf?file=http://domain/folder1/folder3/mymp3file.mp3

in browser and swf will parse it to play the file from the location passed as GET parameter ‘file’. How i can do it in as i am using Adobe Flash CS4 Professional with actionscript 3.0

Any help or idea or link to this will be highly appreciated.

  • 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-05-25T18:42:21+00:00Added an answer on May 25, 2026 at 6:42 pm

    the embed tag that flash generates (which puts the player into your page) has a param called flashvars that you can pass whatever arguments you want to, and then collect them within the movie from root.environment.

    So… it’s a 3 step process

    1) grab the variable from the query string with javascript…

    var myVal = document.location.query.substring(1);//this removes the '?'from the front
    

    then follow the directions in the link below for the last 2 steps.

    2) write it with javascript into the flashvars param of the embed tag in the html

    3) collect and use the variable inside of flash

    This http://kb2.adobe.com/cps/164/tn_16417.html link explains it with details

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

Sidebar

Related Questions

How can I hide HTML5 audio's browser specific controls? I'm making thumbnail images to
I am making simple AS3 application that will record audio from microphone and after
m making an app which requires to play recorded audio files. For that m
I am making an application where audio will play in the background. In the
I am making a game for android which needs to play a small beep
I'm making a java application and I need to play audio. I'm playing mainly
I am making an application in which I am taking some information from user
I am making an app that plays audio... with each sound piece playing I
For the computer game I'm making, I obviously want to play sound. So far,
I am making an audio player app that collects variables based on javascript running

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.