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

  • Home
  • SEARCH
  • 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 6170277
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:00:18+00:00 2026-05-23T23:00:18+00:00

As some Internet tutorial suggested I’ve built a simple server-client application for FLV Video

  • 0

As some Internet tutorial suggested I’ve built a simple server-client application for FLV Video Player using PHP and Flex. The problem I encountered is that I can’t change the source of the video in the mxml file using Notepad++. The source could be changed if I run Flex but It’s not a good idea because I want to run different videos through this player. Please suggest how to run different videos with this Flex Video Player component because my application works only for this given in the source of FlexPlayer.mxml-maybe I shouldn’t use this mxml file for the different Video Sources?

<s:VideoPlayer id="Player" left="0" top="0" width="493" height="382" chromeColor="#2875DE"
    color="#000000" skinClass="MySkin" source="Video Source/Coldplay - Clocks.flv"/>    
</s:Application>
  • 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-23T23:00:20+00:00Added an answer on May 23, 2026 at 11:00 pm

    Correct, since your flex app is compiled, you won’t be able to use it to define which movies to watch.

    You can however use other alternative methods of fetching data into your app at runtime.

    For example, you can specify the video file in a parameter in the html because you CAN edit this in notepad or another text editor before you run it each time :

    <?xml version="1.0"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.adobe.com/flex/spark" 
               xmlns:mx="library://ns.adobe.com/flex/mx" >
    
    <s:VideoPlayer id="Player" left="0" top="0" width="493" height="382" chromeColor="#2875DE"
                   color="#000000" skinClass="MySkin" source="{this.parameters.videoFile}"/>    
    
    </s:Application>
    

    In this case, you would specify it in the html that calls your flex app as a flashvar param. Look for this in the html page :

        <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 = "10.2.0";
            // To use express install, set to playerProductInstall.swf, otherwise the empty string. 
            var xiSwfUrlStr = "playerProductInstall.swf";
            var flashvars = {};
            flashvars.videoFile = 'Video Source/Coldplay - Clocks.flv';  // specifying video here
            var params = {};
            params.quality = "high";
            params.bgcolor = "#ffffff";
            params.allowscriptaccess = "sameDomain";
            params.allowfullscreen = "true";
            var attributes = {};
            attributes.id = "scratch";
            attributes.name = "scratch";
            attributes.align = "middle";
            swfobject.embedSWF(
                "scratch.swf", "flashContent", 
                "100%", "100%", 
                swfVersionStr, xiSwfUrlStr, 
                flashvars, params, attributes);
            // JavaScript enabled so display the flashContent div in case it is not replaced with a swf object.
            swfobject.createCSS("#flashContent", "display:block;text-align:left;");
        </script>
    

    Make sense?

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

Sidebar

Related Questions

I am starting doing some directX programming. I am using this tutorial that I
I've run into some interesting code in our legacy application running under Internet Explorer.
I have some slow internet task to save and load file, I'd like to
There is some documentation on the internet that shows that Windows changes the behavior
I know that Internet Explorer has some proprietary extensions so that you can do
I'm running into some little glitch on Internet Explorer. The site looks like it
I've been playing with some algorithms on the internet for a while and I
We have some raw voice audio that we need to distribute over the internet.
In some applications (notably Visual Studio 2008, Windows Explorer, Internet Explorer) all of the
I have a requirement to send some 100 bytes data over internet .My machine

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.