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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T07:25:24+00:00 2026-06-03T07:25:24+00:00

I have a flash app that is going to be run in full screen

  • 0

I have a flash app that is going to be run in full screen from an swf. I need to play a video over the content when user does click in a button. I hear audio from the net stream, but I do not see the video. I’ve tried with flv and mp4 files, all in the same folder than the swf.

Here’s my code:

var my_video:Video; 
my_video = new Video();
my_video._height=600;
my_video._width=800;
my_video._x = 0;
my_video._y = 0;
addChild(my_video);

var my_nc:NetConnection = new NetConnection();
my_nc.connect(null);
var my_ns:NetStream = new NetStream(my_nc);
my_video.attachVideo(my_ns);
my_ns.play("video.mp4");

Thank you very much.

  • 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-03T07:25:26+00:00Added an answer on June 3, 2026 at 7:25 am

    You need a component in your library, it depends on your version of the IDE. Either Video, MediaDisplay or the more recent FLVPlayback all work in AS2. Then you will see video.

    Ok if you create a new AS2 file in CS5.5 then open the components panel you can double click the FLVPlayback component and it will put it on the stage and in your library, just delete the one off the stage as you can attach it with code, you just need it in the library to use it.

    enter image description here

    The following code will demonstrate this working:

    import mx.video.FLVPlayback;
    
    var video:FLVPlayback = this.attachMovie("FLVPlayback", "my_video", 10);
    video.contentPath = "http://www.helpexamples.com/flash/video/water.flv";
    video.setSize(640, 480);
    

    Have a look at the documentation to help you understand what properties are available to help you understand how this component works:

    FLVPlayback Adobe docs

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

Sidebar

Related Questions

I've seen a few sites that have a flash app which takes video from
I have a Flash app that uses an implementation of SWF Address for deep
I have a Flash app that loads a list of youtube video ids. It
I have a flash app that plays movies. It loads subtitles and subtitle times
I have a Flash app that I'm looking to port into HTML5. The app
I have a flash 8 app that's reading an XML file. In the file
I have a client who has video content for the web in Flash format.
We have a Flash app (AS3). This is a desktop application that runs in
I have a C# winform app that is collecting some data from console-based commands.
Heyas. I have an flash app that I'm working on that can be embedded

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.