Flash Media Player
Description: Media player plays flv, mp3, jpg, gif, png, and swf files using either an XML playlist or a GET parameter.
Author: John Bezanis
Added: March 10th 2009
Version: Flash CS3
This media player plays flv, mp3, jpg, gif, png, and swf files using either an XML playlist or by directly inputting the file using a GET parameter. It is written in Actionscript 3 using Flash CS3. The full player is under 20K bytes.
The control panel can either fade away after 2 seconds of no mouse movement or can be docked and have the content adjusted for its size. There is a play/pause button with alternating graphics. A volume slider adjusts the volume on mouse click or drag. A fullscreen button alternates the video between normal size and fullscreen mode. The previous and next track buttons change the current track. When the user mouse overs the PL button, the playlist is shown at half opacity. When the PL button is pressed, the opacity is set to full. A timer shows the current progress of the current file, as well as its length. The progress bar can be pressed at any position, or the slider can be clicked and dragged to a desired position.
The playlist slider shows a graphic, title, and artist for each file in the playlist. If no graphic is selected, a default graphic will be used for each type of file. The slider moves according to the mouse x position. Each block is highlighted when the user mouse overs it.
When an mp3 file is selected, the image is displayed in the top left corner, the artist and title are displayed in the top right quadrant (left aligned), and a visualizer is displayed in the bottom half. When an flv, jpg, gif, png, or swf file is selected, the file is scaled to fit the media player without distorting its aspect ratio.
Example code for the player:
<object data="52-mediaplayercs3.swf?playmedia=52-playlist.xml&autoplay=false&dockcontrols=false&panelcolor=000000"
type="application/x-shockwave-flash" width="480" height="360" >
<param name="movie" value="52-mediaplayercs3.swf?playmedia=52-playlist.xml&autoplay=false&dockcontrols=false&panelcolor=000000" />
<param name="allowFullScreen" value="true"/>
</object>The xml playlist format follows the XSPF standard. Example:
<?xml version="1.0" encoding="UTF-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
<trackList>
<track>
<creator>The Beatles</creator>
<title>Strawberry Fields</title>
<location>http://www.beatles.com/strawberryfields.mp3</location>
</track>
<track>
<creator>Leonardo DaVinci</creator>
<title>Mona Lisa</title>
<location>http://www.fancymuseum.com/monalisa.jpg</location>
<duration>10000</duration>
</track>
<track>
<creator>John Bezanis</creator>
<title>Growing Tree</title>
<location>http://www.bezzmedia.com/growingtree.swf</location>
<duration>2000000</duration>
</track>
</trackList>
</playlist>
When adding an image or swf file to the playlist, duration can be specified. Duration is measured in milliseconds (1000 milliseconds=1 second). If no duration is specified, the duration defaults to 5 seconds.
There are five variables that can be changed. Each variable has to be changed in both locations in the code. The blue one is the location of the media player on your server. playmedia refers to the file that will be played (xml playlist, mp3, flv, jpg, png, or gif). autoplay refers to whether or not the player will automatically start playback. dockcontrols specifies whether the control panel fades away after 2 seconds of no movement, or if it remains visible and content is scaled so it does not reach below the control panel y position. panelcolor changes the tint of the control panel. It is an RGB hex number. The height and width of the player can be changed as well. In this example, the width is set to 480 and the height is set to 360.
Example XML playlist:
Download Example XML Playlist
The media player is available as a built SWF or the source FLA:
Download Source File
Download Built Media Player
Comments
March 12th 2009 02:03PM - keith
I updated FF and now the error is gone.
March 12th 2009 11:03PM - keith
This is a noobish question, but how do I download the built player? I click the link, and it takes me to it. I don't know what top do
March 14th 2009 01:03PM - Sora
Sora, right click the link that says Download Built Media Player and select save link as...
March 15th 2009 05:03AM - John
lmao, I figured that out right after I asked. Thanks though
March 15th 2009 02:03PM - Sora
Note on mp3s and certain browsers:
It seems there is a bug in the flash player when playing lower bitrate mp3s. Try using 128k and over mp3 files sampled at 44.1khz.
It seems there is a bug in the flash player when playing lower bitrate mp3s. Try using 128k and over mp3 files sampled at 44.1khz.
March 16th 2009 02:03PM - John
John,
This is fantastic!
Is there a way to have the first item on the playlist play, but then when it is done it just brings up the playlist but doesn't play the next item? Maybe create a new value for autoplay: true = everything plays in a row, false = nothing plays, first = first one plays then stops ?
This is fantastic!
Is there a way to have the first item on the playlist play, but then when it is done it just brings up the playlist but doesn't play the next item? Maybe create a new value for autoplay: true = everything plays in a row, false = nothing plays, first = first one plays then stops ?
March 18th 2009 06:03PM - Vern
Great suggestion Vern. I'll post a reply when it has been added.
March 19th 2009 08:03AM - John
Wonderful, thanks.
2 other suggestions - 1 easy, I think, the other probably not.
First suggestion - the people I've shown this to don't understand that they have to click the PL to have the playlist be truely active. They hover over it, see the transparent version and try to mouse to another item and it disappears and they get frustrated. From a User Interface standard - I think it should behave like the other buttons on the player - change it's state when moused over, but not do anything til clicked. A tooltip "Click to toggle playlist" or something like that might be good too. Maybe a value for playlist button - hover = current version you have, click = won't show at all unless clicked.
Second suggestion - maybe have the ability to have the playlist appear vertically along the right side. (I suppose other people might ask for top or left as well).
I have just gotten Flash CS4 and will be working on a few things - thank you for providing the code and I think this player is elegant and slick. Thank you!
2 other suggestions - 1 easy, I think, the other probably not.
First suggestion - the people I've shown this to don't understand that they have to click the PL to have the playlist be truely active. They hover over it, see the transparent version and try to mouse to another item and it disappears and they get frustrated. From a User Interface standard - I think it should behave like the other buttons on the player - change it's state when moused over, but not do anything til clicked. A tooltip "Click to toggle playlist" or something like that might be good too. Maybe a value for playlist button - hover = current version you have, click = won't show at all unless clicked.
Second suggestion - maybe have the ability to have the playlist appear vertically along the right side. (I suppose other people might ask for top or left as well).
I have just gotten Flash CS4 and will be working on a few things - thank you for providing the code and I think this player is elegant and slick. Thank you!
March 19th 2009 01:03PM - Vern
Great suggestions. I'll get the first one done soon. The second one is also good, but might take a bit more time to create.
March 19th 2009 05:03PM - John
hey can any one tell me if this player could be installed in a website and play video content
March 29th 2009 04:03PM - Moe
i did as said but it played my files but did not have an control panel
April 1st 2009 02:04PM - supreeth
The fla source don
April 6th 2009 11:04AM - tome
sorry - where do you put the xml file name? I'm receiving errors that it could not connect with file. I'm also getting the following error which is probably related:
TypeError: Error #1010: A term is undefined and has no properties.
at 52_fla::MainTimeline/playPausePress()
TypeError: Error #1010: A term is undefined and has no properties.
at 52_fla::MainTimeline/playPausePress()
April 21st 2009 05:04PM - sckwooral
I downloaded the files. But where in the fla do I need to import the xml url?
April 24th 2009 10:04AM - Maarten
Thanks for a great flashplace!
I
I
May 4th 2009 02:05AM - Anders
not working something to do with the XML path overall this App is nice but is very far from working on the Fla ,and the code is not clean ,you need to organize you code .
nice try anyway ......
nice try anyway ......
May 10th 2009 07:05AM - coder
great, it's a rreal media player, maybe someone can add a transition effect between playlist items, so it can also be a slideshow player.
May 15th 2009 04:05AM - sarge
is there a way to make the location local im guessing the code is
<location>albums/500 Degreez/500 Degreez.mp3</location> or something like that?
<location>albums/500 Degreez/500 Degreez.mp3</location> or something like that?
May 23rd 2009 02:05PM - jordan
i get a error when i open it it says "error opening file" im not sure what i need to do to fix it im kinda new to flash and was hopping for some help
May 23rd 2009 02:05PM - jack
I downloaded 52-mediaplayercs3.fla & 52-playlist.xml to try "Test Scene" in Flash CS4, but got "error opening file" scene and this error message. Can you help me out what I need to change something?
"TypeError: Error #1010: A term is undefined and has no properties. at 52_fla::MainTimeline/resizeMedia()
at 52_fla::MainTimeline/stageResizeHandler()"
"TypeError: Error #1010: A term is undefined and has no properties. at 52_fla::MainTimeline/resizeMedia()
at 52_fla::MainTimeline/stageResizeHandler()"
May 26th 2009 01:05PM - marianna
Hi John,
Great job there,
Noobie question I guess but how best (and is it OK) to embed on my webpage?
P
Great job there,
Noobie question I guess but how best (and is it OK) to embed on my webpage?
P
June 1st 2009 08:06PM - Pete D
Is there anyway to do volume control just like the previous version ?
June 10th 2009 12:06AM - Louis
Hello John,
It's real great .... it's play for me a video content (flv) and image slide show (jpg).
When I use playlist.xml and flv file's.
... but I have a trouble:
1. How and where I can disable autoplay ?
2. How and where I change a volume one or all items on my
playlist.xml ?
3. Only 1 suggestions
If I have a player box is small - for ex. in dimension:
width="180" height="150"
I can't see all button because whey are is too big.
Mayby it's to be better when a buttons are scallable together
with player box ?
It's real great .... it's play for me a video content (flv) and image slide show (jpg).
When I use playlist.xml and flv file's.
... but I have a trouble:
1. How and where I can disable autoplay ?
2. How and where I change a volume one or all items on my
playlist.xml ?
3. Only 1 suggestions
If I have a player box is small - for ex. in dimension:
width="180" height="150"
I can't see all button because whey are is too big.
Mayby it's to be better when a buttons are scallable together
with player box ?
July 6th 2009 04:07PM - Tom
i want orginial source file from flash bescause i am also do try this method
July 31st 2009 08:07AM - sarulatha
Thats what I'm talking about this is great man perfect job even more than I was looking for with the PL click button.
August 11th 2009 08:08AM - Jay
is there a way to redirect to an html after 1 flv is done playin?
September 8th 2009 11:09PM - John V
Hi, John V. To redirect to a web page after flv is finished playing, you can check this tutorial - http://flash-video-player.blogspot.com/2009/02/redirect-to-url-after-flash-video-flv.html
September 9th 2009 12:09AM - FLV player
Thank You
September 10th 2009 08:09PM - John V
thanks for sharing this! really preciate it
September 14th 2009 06:09PM - kevin v
Great mediaplayer, still get the SecurityError: Error #2121: in firefox
Security sandbox violation: SoundMixer.computeSpectrum: http://www.bezzmedia.com/swfspot/resources/52-mediaplayercs3.swf?playmedia=http://www.bezzmedia.com/swfspot/resources/52-playlist.xml&autoplay=true&dockcontrols=false&panelcolor=000000 cannot access http://googleads.g.doubleclick.net/pagead/imgad?id=CIvTvabduZzf3AEQ2AUYWjIInGQUVjHCcKw. This may be worked around by calling Security.allowDomain.
at flash.media::SoundMixer$/computeSpectrum()
at 52_fla::MainTimeline/updateVisual()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at SetIntervalTimer/onTimer()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
Security sandbox violation: SoundMixer.computeSpectrum: http://www.bezzmedia.com/swfspot/resources/52-mediaplayercs3.swf?playmedia=http://www.bezzmedia.com/swfspot/resources/52-playlist.xml&autoplay=true&dockcontrols=false&panelcolor=000000 cannot access http://googleads.g.doubleclick.net/pagead/imgad?id=CIvTvabduZzf3AEQ2AUYWjIInGQUVjHCcKw. This may be worked around by calling Security.allowDomain.
at flash.media::SoundMixer$/computeSpectrum()
at 52_fla::MainTimeline/updateVisual()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at SetIntervalTimer/onTimer()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
September 15th 2009 05:09PM - Frank
This looks like a awesome player. Thanks for sharing. I have a quick question. I need to use xml encoding instead of a xml file because everything is being dynamically generated. What do I need to change in the action script to allow for this.
September 16th 2009 03:09PM - Tim Maler
To make it play a normal flv just put this on the first line of actions where the main actions are on frame 3. video = '13.FLV'; where 13.FLV is the path and filename of the FLV. To return to the start I created some code in the main area loads in a movieclip at the end of the movie and on that clip I put a button to replay the video. The code in the main actions is
// code for end of video
ns.onStatus = function(object)
{
if (object.code == "NetStream.Play.Stop")
{
trace("net stream has finished playing");
_root.openMovieClip('expconfirmClicked','newconfirmClicked','1501',100,100);
}
};
// End Dans custom code start code for player
The code on the button is
on (release)
{
_root.ns.seek(0);
_root.newconfirmClicked.removeMovieClip();
}
// Where _root.ns.seek(0); returns the video to the start and the second line removes my end movieclip from the stage. This is all actionscript 2 because that is what the video is written in.
// code for end of video
ns.onStatus = function(object)
{
if (object.code == "NetStream.Play.Stop")
{
trace("net stream has finished playing");
_root.openMovieClip('expconfirmClicked','newconfirmClicked','1501',100,100);
}
};
// End Dans custom code start code for player
The code on the button is
on (release)
{
_root.ns.seek(0);
_root.newconfirmClicked.removeMovieClip();
}
// Where _root.ns.seek(0); returns the video to the start and the second line removes my end movieclip from the stage. This is all actionscript 2 because that is what the video is written in.
September 17th 2009 04:09AM - awebsitedesigner
This is a great player, but how do you stop the playlist from looping?
September 27th 2009 12:09PM - TomS
Can this be used as a player for single swf files from a folder on the site's server? I have 400 swf files and I want an individual file to autoplay when an image of the object is clicked on. My swfs are encoded with a built in player now but they are not set to autoplay. I also want to change the background color of the player or have it automatically resize to the size of the file selected so no border shows.
September 28th 2009 05:09PM - TVKing
Thanks John,I love this player.
May I check with you or anyone here, where or which lines of action script that I need to change if I shorten the slider and control panel's height. I got problem with click and drag after changing it.
Apprecte if there is any info and help. THANKS!
May I check with you or anyone here, where or which lines of action script that I need to change if I shorten the slider and control panel's height. I got problem with click and drag after changing it.
Apprecte if there is any info and help. THANKS!
October 5th 2009 09:10PM - Kim
Please ignore my above question, I just noticed that I was my mistake to move the seektotime mc above the slider. No wonder it's unable to click and drag.
By the way, the clicking on the playtime is not very accurate somewhere nearly to the end of the clip. Any idea about this?
cheers,
By the way, the clicking on the playtime is not very accurate somewhere nearly to the end of the clip. Any idea about this?
cheers,
October 6th 2009 04:10AM - KIM
wonderful player john, I have selected it as one of the best for my fashion portal (in the aforementioned website, the video channels will be ready in few days).
but it is really urgent to change the PL behaviour: nobody understands that it has to be clicked. when do you believe you can release this fix?
but it is really urgent to change the PL behaviour: nobody understands that it has to be clicked. when do you believe you can release this fix?
October 6th 2009 06:10PM - massimo
HELP ! I've got a problem with the 16:9 format. I cannot find the command to change the video size: it reshape the video to 4:3 instead of playing it in it original shape.
Of course changing the player size does not modify the video shape.
can you give me a suggestion, John?
Of course changing the player size does not modify the video shape.
can you give me a suggestion, John?
October 7th 2009 06:10AM - massimo
HELP!!!
in the code where do i have to put '52-playlist.xml' ???
in the code where do i have to put '52-playlist.xml' ???
October 24th 2009 06:10PM - Sasha
geed
November 6th 2009 10:11AM - vigrx
I just noticed the buffering not working. Traced the "bytesLoaded" and "bytesTotal". The result for both are bytesTotal.
November 20th 2009 05:11AM - KIM
thanks for the info.
November 23rd 2009 01:11PM - oes tsetnoc
nice
November 25th 2009 01:11AM - x
can we use playlist with extension other than xml or no extension at all?
sample:
imvivo.com/playlist/niceone
imvivo.com/playlist/niceone.aspx
sample:
imvivo.com/playlist/niceone
imvivo.com/playlist/niceone.aspx
November 25th 2009 01:11AM - v
hello john, no where in the comments i saw u answered for the error..... n its not working for many dude... please reply.. how to get rid of error while testing the movie....(cs4)
November 25th 2009 08:11AM - Anup
Wonderful, thanks.
December 6th 2009 01:12AM - seo
I need to add a flash video player to my Airsoft site, I got some great footage of us guys playing a skirmish!
December 6th 2009 07:12PM - Top Airsoft Sniper Rifles
I have bookmarked your site. Thanks for sharing
December 13th 2009 08:12AM - dental
this is a great player to use. This really works well.
December 17th 2009 12:12PM - orlando criminal defense
Great suggestion Vern. I'll post a reply when it has been added
December 18th 2009 08:12AM - music mp3
Great Post. Thanks for sharing this informative stuff.
December 22nd 2009 06:12AM - Software Development
i thank google to bring me here and very thanks to you for the great article
its very helpful to me
happy new year
its very helpful to me
happy new year
December 24th 2009 02:12PM - 3arabsoft
this really is a very nice flash media player. what i like the most about it is its fast page loading feature. its good. its not heavy on the net.
December 29th 2009 01:12AM - resume writing
Thanks. Nice work
December 29th 2009 10:12PM - Dave Wills
i like
January 4th 2010 02:01AM - wedding dresses
So sad, I couldn't implement this flash media player there is error message "Error opening file". What should I do to solve this problem?
January 4th 2010 02:01AM - jobs
This is great. I want to have php produce my xml file, but the player doesn't want to work with php. I have been successful using _root.xmlpush = "example.php"; (example being a php script that writes valid .xml). Do you know what I would have to tweek in the code to get this to work?
Thanks. Great player.
Thanks. Great player.
January 4th 2010 07:01PM - chris
Nevermind, I found the line:
if (playmedia.substr(playmedia.length-3,3)!='php') {
changed xml to php.
if (playmedia.substr(playmedia.length-3,3)!='php') {
changed xml to php.
January 4th 2010 07:01PM - chris
Took me time to read all the comments, but I enjoyed the article.
<a href="http://www.custom-essays-lab.co.uk/essays/buy_an_essay.htm">buy an essay</a>
<a href="http://www.custom-essays-lab.co.uk/essays/buy_an_essay.htm">buy an essay</a>
January 6th 2010 02:01AM - buy essay
Great info on {the topic of the blog}. It will guide many of the readers.
http://www.educationalwriting.net/course_work.htm"
http://www.educationalwriting.net/course_work.htm"
January 6th 2010 06:01AM - coursework writing
Great info on {the topic of the blog}. It will guide many of the readers.
http://www.educationalwriting.net/course_work.htm
http://www.educationalwriting.net/course_work.htm
January 6th 2010 06:01AM - coursework writing
Excellent. Would be great is someone can add a transition effect between playlist items, so it can also be a slideshow player.
January 6th 2010 11:01AM - toyota rav4
Just one question: how to add your blog into my rrs reader, thanks so much.
January 7th 2010 09:01PM - christian louboutin
Just one question: how to add your blog into my rrs reader, thanks so much.
January 7th 2010 09:01PM - christian louboutin
This is a great player, but how do you stop the playlist from looping?
January 11th 2010 12:01PM - Cialis
Buy wellbutrin online now! No prescription needed!
January 14th 2010 05:01PM - Buy Wellbutrin Online
Thanks for sharing,it's really good and need some update.
January 17th 2010 09:01PM - UGG Boots
Great information.. Waiting for updates :)
January 18th 2010 08:01AM - Acai Berry
I have thought this is the good media player which support many file formats.
January 18th 2010 09:01PM - film
Can this player play ogg file format?
January 18th 2010 09:01PM - book
perfect work , still guyz i want some one to help me , how to insert the player in flash 8 project so it can be called by clickable button , i,ll pay , thanks
January 19th 2010 02:01AM - sevensea
This is really a very very nice player!! Great work!
Thanks for sharing this.
Thanks for sharing this.
January 19th 2010 07:01AM - Web Development Services
I like that the player fades in and out as needed.
January 20th 2010 08:01PM - Model Auditions
The tutorial is very nice.
January 21st 2010 05:01AM - mma pound for pound
I download this media player. It's good work
January 21st 2010 01:01PM - Hot Girls media
very very nice !!!
January 22nd 2010 04:01PM - buy valtrex online
thanx for this post i really loved it
January 23rd 2010 03:01PM - buy augmentin
cool.
January 23rd 2010 04:01PM - Vitamin D
great infos here i will come back more often
January 23rd 2010 06:01PM - augmentin canada
great post i will read this more often
January 23rd 2010 10:01PM - augmentin online
love this info i will read this more often
January 23rd 2010 11:01PM - augmentin no prescription
Good post
January 24th 2010 02:01AM - livescore
I download this media player. It's good work
January 24th 2010 02:01AM - 7m
perfect work , still guyz i want some one to help me , how to insert the player in flash 8 project so it can be called by clickable button , i,ll pay , thanks
January 24th 2010 02:01AM - polball
ERSAT
January 24th 2010 06:01AM - evening dresses
John,
This is fantastic!
Is there a way to have the first item on the playlist play, but doesn't play the next item? Maybe create a new value for autoplay: true = everything plays in a row, false = nothing plays, first = first one plays then stops ?
This is fantastic!
Is there a way to have the first item on the playlist play, but doesn't play the next item? Maybe create a new value for autoplay: true = everything plays in a row, false = nothing plays, first = first one plays then stops ?
January 25th 2010 08:01PM - song thai
Special thank for good post.
February 5th 2010 09:02PM - โหลดเพลงà
Wow with this code I could open up my own YouTube!
February 7th 2010 11:02AM - Laura
wow.. goodies
February 9th 2010 04:02AM - Acai Berry 12
Special thank for good post.
February 10th 2010 03:02AM - โหลดเพลงà
Special thank for good post.
February 10th 2010 08:02AM - โหลดเพลงà
Thanks for sharing. i really appreciate it that you shared with us such a informative post..
February 15th 2010 11:02PM - high school diploma
berkunjung sobat ..a nice article. From me <a href="http://kangawal.blogspot.com/search/label/Cerita%20Lucu">Cerita lucu</a>,<a href="http://kangawal.blogspot.com/">kata-kata lucu</a>,<a href="http://kangawal.blogspot.com/2010/02/tebak-tebakan-lucu-terbaru-2010.html">tebak-tebakan lucu</a>,<a href="http://kangawal.blogspot.com/2010/02/tebak-tebakan-gokil-dan-jawabannya.html">tebak-tebakan gokil</a>,<a href="http://kangawal.blogspot.com/2010/02/sms-gokil-banget.html">sms gokil</a>,<a href="http://mari-syukur.blogspot.com/">blog keluarga</a>,<a href="http://toptutorialweb.blogspot.com/">tutorial php</a>,<a href="http://warung-qta.blogspot.com/">Belajar SEO</a>,<a href="http://komplitnews.blogspot.com/">berita terkini</a>,<a href="http://komplitsoftware.blogspot.com/">download free software</a>
<a href="http://mari-syukur.blogspot.com/2010/01/nowgooglecom-adalah-multiple-search_29.html">nowGoogle.com adalah Multiple Search Engine Popular</a>
<a href="http://mari-syukur.blogspot.com/2010/01/nowgooglecom-adalah-multiple-search_29.html">nowGoogle.com adalah Multiple Search Engine Popular</a>
February 15th 2010 11:02PM - thanks
Hey John, Thanks for sharing.
Is there possible play mp3 + jpg together (simultaneous) ??
Thanks.
Is there possible play mp3 + jpg together (simultaneous) ??
Thanks.
February 16th 2010 06:02AM - Dykan
Hi. Sorry, I have understand nothing. Help me! I find sites on the topic: Medical hair loss. I found only this - <a href="http://www.moebel-rau.de/Members/HairLoss">hair loss treatment for black man</a>. Near the iron of some heavy pigs, house healing has immediately used, using them weak to hair, hair loss. Inflammation of deal rabbit daily says out easily as thickening of evidence, and is also completely shown, hair loss. Thank you very much :eek:. Chilton from Vanuatu.
February 23rd 2010 12:02AM - Chilton
Add a Comment






ERROR:
SecurityError: Error #2122: Security sandbox violation: LoaderInfo.content: http://mysitehere/52-mediaplayercs3.swf?playmedia=52-playlist.xml&autoplay=false&dockcontrols=true&panelcolor=000000 cannot access http://mysitehere/thumbs/02.jpg. A policy file is required, but the checkPolicyFile flag was not set when this media was loaded.
at flash.display::LoaderInfo/get content()
at 52_fla::MainTimeline/itemLoadComplete()