Creating a Video Player with Dynamic Draggable Playlist. Is it doable in Flash? Help Please

Hello Everyone,
I am scripting a video player and one of its functionalities
is to be able to have a playlist that can be arranged by the user
in any order user like. For Example, if there are lets say 5 videos
within the playlist:
SONG 1
SONG 2
SONG 3
SONG 4
SONG 5
User can then change the order of the videos by clicking on
any video and dragging it up or down just like windows mediaplayer
and the player should play the videos in such order.
So far, I have been able to use the list component but am not
sure if it will allow the dragging.
I would highly appreciate it if you guys can suggest what
should I do to handle this functionality.
Thanks.

Hm, you could define ‘slots’ with rectangles and
each slot would map to a specific slot in some
‘playlist’. Then create your own ‘list
renderer’ that attaches draggable clips based on the playlist
array. During drag and drop, you’d detect which
‘slot’ the movieclip was dropped into, which would
define where in the playlist array it should be inserted.
Then shift the elements around, insert the item in the array,
and rerender the list.
(I’m sure there are probably better/neater ways to do
this as well, this is just quickly off the top of my head).

Similar Messages

  • Creating a FLV video player with full screen option

    > This message is in MIME format. Since your mail reader
    does not understand
    this format, some or all of this message may not be legible.
    --B_3258016930_5977304
    Content-type: text/plain;
    charset="ISO-8859-1"
    Content-transfer-encoding: 8bit
    Hi!
    I am trying to create a video player that will allow full
    screen functions
    like what we can see on youtube. I know how to create the
    window and the pop
    up but the only problem I am having is having the original
    video in the
    small screen to pause or go silent when the full screen mode
    is activated.
    How can get it done?
    Thank you.
    °K.
    --B_3258016930_5977304
    Content-type: text/html;
    charset="ISO-8859-1"
    Content-transfer-encoding: quoted-printable
    <HTML>
    <HEAD>
    <TITLE>Creating a FLV video player with full screen
    option</TITLE>
    </HEAD>
    <BODY>
    <FONT FACE=3D"Arial"><SPAN
    STYLE=3D'font-size:12.0px'>Hi!<BR>
    <BR>
    <BR>
    I am trying to create a video player that will allow full
    screen functions =
    like what we can see on youtube. I know how to create the
    window and the pop=
    up but the only problem I am having is having the original
    video in the sma=
    ll screen to pause or go silent when the full screen mode is
    activated. How =
    can get it done?<BR>
    <BR>
    Thank you.<BR>
    <BR>
    <BR>
    <B>&deg;K.<BR>
    </B> </SPAN></FONT>
    </BODY>
    </HTML>
    --B_3258016930_5977304--

    Hello,
    You should ask in the
    Windows Phone forums on the Microsoft Community forums.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Multicast video player with FMS 4.0

    I am trying to create a video player in Flash Builder using the new Flash Media Server 4.0 capabilities but I am not able to. The only thread I've seen out there is regarding the P2P player which is not what I want as seen here:
    http://www.swfgeek.net/2010/08/10/multicast-streaming-in-flash-player-10-1-revisited/
    I want to create a custom player that can retrieve a multicast broadcast.
    Here is my code:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
             xmlns:s="library://ns.adobe.com/flex/spark"
             xmlns:mx="library://ns.adobe.com/flex/mx" width="650" height="250">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <fx:Script>
        <![CDATA[
        import mx.core.UIComponent;
        import spark.components.Group;
        private const SERVER:String = "rtmfp://172.22.2.150/multicast";
        private const DEVKEY:String = ""; //removed for now
        [Bindable]
        private var connected:Boolean = false;
        private var video:Video;
        private var netConnection:NetConnection;
        private var stream:NetStream;
        public function init():void{
        writeText("Broadcaster:");
        video = new Video(320,240);
        video.x = 10;
        video.y = 10;
        var uic:UIComponent = new UIComponent();
        uic.addChild(video);
        addElement(uic);
        connect();
        private function connect():void{
        netConnection = new NetConnection();
        netConnection.addEventListener(NetStatusEvent.NET_STATUS, netStatus);
        netConnection.connect(SERVER+DEVKEY);
        private function onNetConnectionNetStatus(event:NetStatusEvent):void
        switch(event.info.code){
        case "NetStream.Connect.Success":
        event.info.stream.dispatchEvent(event);
        break;
        private function netStatus(event:NetStatusEvent):void{
        writeText(event.info.code);
        switch(event.info.code){
        case "NetConnection.Connect.Success":
        setupStream();
        break;
        case "NetStream.Connect.Success":
        // not using a camera, using another live video source
        //var cam:Camera = Camera.getCamera();   
        //stream.attachCamera(cam);
        //stream.publish("multicast");
        //video.attachCamera(cam);
        stream.attach(netConnection);
        stream.publish("myStream");
        video.attachNetStream(stream);
        break;
        private function setupStream():void{
        //var groupspec:GroupSpecifier = new GroupSpecifier("myGroup/multicastOne");
            var groupspec:GroupSpecifier = new GroupSpecifier("fms.multicast.example");
        groupspec.serverChannelEnabled = true;
        groupspec.multicastEnabled = true;
        groupspec.groupspecWithoutAuthorizations()
        stream = new NetStream(netConnection,groupspec.groupspecWithAuthorizations());
        stream.addEventListener(NetStatusEvent.NET_STATUS, netStatus);
        private function writeText(txt:String):void{
        txtHistory.text += txt+"\n";
        ]]>
        </fx:Script>
        <s:TextArea top="10" bottom="10" id="txtHistory" width="250" right="10"/>
    </s:Group>

    The QT movie opened promptly for me in Firefox 4.0. The fact that it's intermittent for you with FF indicates that it's a connection issue and not an iWeb issue. For some reason not all of the files are being loaded by FF at those times. (The server is probably being run by an Ohio State graduate )
    OT
    Go Blue!
    Note: using Quicktime for you slide presentation will exclude all those users from the dark side who don't have Quicktime installed on their PCs. You might look into a java based method for the presentation. There are lots of them out there. With the free Jalbum you have over 100 themes/skins to choose from.
    Message was edited by: Old Toad

  • Lack of All format playable Video player with Full Screen STRETCH feature

    I am a big fan of Nokia and i know Windows phone is the world best smart phone.im using Lumia 820. but in my highend Lumia devices lack of a
    All format playable Video player (like mkv etc.)officially from Nokia or Microsoft.pls this is very important thing for all Lumia user for HD movie experience.pls update current video player.now I'm using Moli player but there is 1
    vital feature is missing...this is Full Screen STRETCH...when i play movie using Moli player on my phone screen upper and lower portion appear black bar.It mean Ascept ratio not match.This is very important for full screen movie exp.But  this
    feature is also available on Android  MX player.
             So,I request you please update current video player with
    Full Screen STRETCH feature for windows phone user.Thank you.

    Hello,
    You should ask in the
    Windows Phone forums on the Microsoft Community forums.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Can you embed a video player with a tracklist with in the menu?

    I'm constructing a dvd but I would like to have all the videos playing in a smaller video player with audio on the main menu page. I'd like to have a track list next to the video player within the menu so the person viewing can quickly scroll through all the videos.
    It's a bit hard to explain so I drew a diagram of what I'd like to do:
    http://img90.imageshack.us/img90/1733/test2td.jpg
    Thanks for all your help!

    Welcome to the discussions!
    As you have found out, you won't be able to do this the way I think you are imagining is possible... DVDs just don't work the way that Flash or web pages do. There are significant limitations to prevent this from happening in a smooth manner, and as Eric intimated, you'll need to build a whole shedload of menus to even simulate the effect... and as you go through your track list and jump to each 'sub menu' you'll have to start each video clip from the beginning on each menu.
    If you really wanted to you could have a whole series of duplicated sub menus that each have different clips from the same track and then use a set of scripts to select one at random so that the viewer doesn't repeatedly see the same start of a clip as they land on the same entry in your track list. Instead they'll see a randomly selected alternative from the same track.
    But to even want to do this you've got to be certifiable...
    Let alone the fact that each menu is a separate entity on your disc and there is no way you'll move smoothly between them as if it is one nice slick Flash movie - it'll have pauses and appear to stutter at each change.
    What people tend to do instead is have a button for each of the tracks and put a video clip inside the button so the viewer can see all of the clip footage on one menu screen. A little 'old fashioned' in style, but massively more practical to achieve!

  • Autism...Please Help..Video Player With Constant Controls.., Autism...Please Help..Video Player With Constant Controls..

    Hi All.
    My son has Autism, is 23 and I am trying to teach him to control a video player on ipad 2, I just need a video player with controls ( THAT STAY ON SCREEN CONSTANTLY).
    He is able to press the next > icon but when it disappears from the screen he gets confused.
    Thank You All In Advance
    Rgs
    brendan

    Another thing I do get this error randomly with other apps like Firefox 22 and Skype too which is strange. my S/N : 602-V260-050B1201119526.
    This error is from Skype
    Description
    A problem caused this program to stop interacting with Windows.
    Faulting Application Path:   C:\Windows\SysWOW64\WWAHost.exe
    Problem signature
    Problem Event Name:   MoAppHang
    Package Full Name:   Microsoft.SkypeApp_1.8.0.111_x86__kzf8q xf38zg5c
    Application Name:   praid:App
    Application Version:   6.2.9200.16420
    Application Timestamp:   505a90d6
    Hang Signature:   d908
    Hang Type:   2097152
    OS Version:   6.2.9200.2.0.0.256.48
    Locale ID:   2057
    Additional Hang Signature 1:   d908164defd45e704df38cec71cdb6e9
    Additional Hang Signature 2:   db7a
    Additional Hang Signature 3:   db7a68a61e111f839b8a39fd0e33855c
    Additional Hang Signature 4:   d908
    Additional Hang Signature 5:   d908164defd45e704df38cec71cdb6e9
    Additional Hang Signature 6:   db7a
    Additional Hang Signature 7:   db7a68a61e111f839b8a39fd0e33855c
    Description
    A problem with your video hardware caused Windows to stop working correctly.
    Problem signature
    Problem Event Name:   LiveKernelEvent
    OS Version:   6.2.9200.2.0.0.256.48
    Locale ID:   2057
    Files that help describe the problem
    WD-20130626-0316-01.dmp
    sysdata.xml
    WERInternalMetadata.xml
     View a temporary copy of these files
    Warning: If a virus or other security threat caused the problem, opening a copy of the files could harm your computer.
    Extra information about the problem
    BCCode:   141
    BCP1:   FFFFFA8007997010
    BCP2:   FFFFF880069D42B0
    BCP3:   0000000000000000
    BCP4:   0000000000000150
    OS Version:   6_2_9200
    Service Pack:   0_0
    Product:   256_1

  • Samsung - P2 8GB* MP3 and Video Player with Touch-Screen Display - Black

    I amthinking of purchasing theSamsung - P2 8GB* MP3 and Video Player with Touch-Screen Display. I have gone to Best Buy to ask them where I can download TV and movies for the player and they have no help at all! They told me they had no idea. Can someone PLEASE help me? I like the fact that it is Bluetooth compatible but I want to be able to buy shows and movies. Where can I get them for a non-Ipod MP3 player??????  

    I LOOKED EVERY WHERE FOR THE P2 TOUCH SCREEN MP3 PLAYER BY SAMSUNG AND KNOW THAT I HAVE IT I AM VERY STRESSED BY IT. IT  WANT LET ME LOG-IN TO THE SAMSUNG MEDIA STUDIO. CAN SOMEONE HELP I HAVE NOT PUT  ANY MUSIC OR ANY THING ON IT !!! PLEASE HELP!!!!

  • I have a HD video clip (MPEG 4), able to watch in VLC in my Mac-book-pro, but not in Quicktime player and FCP X - just seen as full green. Help please to view in FCP X by changing the format or what ever thats required.

    I have a HD video clip (MPEG 4), able to watch in VLC in my Mac-book-pro, but not in Quicktime player and FCP X - just seen as full green. Help please to view in FCP X by changing the format or what ever thats required.  Thank you.

    Thanks for your reply. This video was recorded by my own professional camera, Sony PMW EX 3, two years back. But I am neither a professional cameraman nor an editor. I am just like a beginner in both.  I didnt have space in my storage device, so I just copied all my clips, thinking I can edit it latter, without recompressing or editing or whatever I should have done it at that point of time.  Now I need to edit it and use it in my profession. I am very upset.  Please help me in going step by step to get it in FCP X for editing.  Also I would like to know, do I need to buy the Compressor 4 for any reason. I dont mind in buying, if you think it is going to be useful for some reason.  Thank you very much in anticipation for any kind of proper guidance.

  • Just bought a mac air with OS X v.10.7 Lion, for work I need to read and write NTFS drives, I install MacFuse and NTFS-3G, but it can not mount (recognize?) External HDD, in my MBP with Snow Lepard it work just perfectly... help please.

    Just bought a mac air with OS X v.10.7 Lion, for work I need to read and write NTFS drives, I install MacFuse and NTFS-3G, but it can not mount (recognize?) External HDD, in my MBP with Snow lepard it work just perfectly... help please.

    Reinstall MacFuse with the one from http://www.tuxera.com/mac/macfuse-core-10.5-2.1.9.dmg. If that doesn't work, you can use Paragon NTFS for Mac 9.0 which has been designed to work with Lion.

  • HT201263 my ipad 2 3G crashed while playing an HD movie on iOS 7.1, then it enter into rcovery mode, i tried itunes restore and it fails showing unknown error (27), i retried for about 100 times with no benefit.... any ideas or help please

    my ipad 2 3G crashed while playing an HD movie on iOS 7.1, then it enter into recovery mode, i tried itunes restore and it fails showing unknown error (27), i retried for about 100 times with no benefit.... any ideas or help please???

    By the way, i am using Windows 7 x64 and updated itunes

  • Every time an email comes in it's preceded by two telephone rings. I don't know what I did to create the problem so I don't know how to resolve it. HELP PLEASE!!!

    Every time an email comes in it's preceded by two telephone rings. I don't know what I did to create the problem so I don't know how to resolve it. HELP PLEASE!!!

    settings >>>>notifications>>>>Mail >>>>allow notifications >>>off  (your choice )
    settings>>>sounds>>>new mail>>>>none  ( will kill rings )

  • How to create a multi video player with iMovie

    Hey folks, I have a great wee QT player for my daughter's website which was generated for me by iMovie export. Lovely.
    But- folk are wanting to see more videos of her singing.
    Question- how to generate a multi-video player using the same principles (and same simple design)? One like those generated by YouTube's facility to create a list of videos to appear in a single player, or where it is possible to just click a "next" tab? Here is the page I am referring to: http://www.brigidmhairi.com/music.html
    Just to clarify- I am not wanting to use the YouTube player because it is a bit fussy and doesn't look right on the site in mind. The QT one has no borders etc and therefore suits me better. Besides- the 320 format is perfect.
    Hope someone can help me, thank you SO much.

    MacBraveheart wrote:
    .. how to generate a multi-video player using the same principles (and same simple design)? .. Here is the page I am referring to: http://www.brigidmhairi.com/music.html..
    Hope someone can help me, ..
    Hi HighlanderIn ..
    who else than me.. ?
    this is no iMovie related question.. that is
    a) html/CSS-coding or
    b) some flash-app
    read out the code on your linked website ... :
    <embed type="application/x-shockwave-flash" src="http://cache.reverbnation.com/widgets/swf/33/videogallerywidget.swf
    pageobject_id=artistxxx bla bla bla /><br/>
    <a href="http://www.reverbnation.com/main/artist_feature/widgets">
    bla bla bla ..
    </noscript>
    .. going to that website reverbnation.com, it looks like they offer, as YT, a video-hosting service plus that 'special' player as a flash-code you can embed in your website (as the YTplayer) ..
    so, here are your options:
    • use this service.. costs? no idea, research on your own ..
    • use flash, encode yourself.. perhaps, you can find some 'ready made' coding?
    • *what website-maker do you use?* iWeb offers a template for videos.. many on one preview-page, 'click' creates a bigger version for playback ..
    .. as mentioned: less iMovie, more 'website creation' ..

  • Player with external html-playlist

    Hey Everybody!
    I'm quite new with Flash, but dying to now more about it (and being able to make all kinds of wicked things).
    But for now, I'm a noob yet. With a question I really can't figure out myself:
    I made a video player in flash (AS 3.0, Flash CS3), which plays an .flv file. It works great and when I export it, I get an perfectly working .swf file that plays the .flv file.
    But what I want now is to make the .swf file play different .flv's each time. So I want to create a playlist. But the playlist must not be in flash but in HTML (and javascript I guess). So I want that one link in the html can influence the .flv source of the .swf player. (right now the .flv source is included in the .swf file).
    Could anyone please explain to me how I can do that in simple non-professional english...?
    I would be very very thankfull!
    And thanks for your time anyway!

    What you might prefer to do is to have an xml data file rather than editing the html/javascript of the web page.  To have a Flash file work with javascript in the page is more complicated to understand than using an xml file because you have to use ExternalInterface (which can cause your face to wrinkle up trying to reason it out at times).
    Here's a link to a tutorial that will show you how you can use a simple RSS feed (xml data file) to provide data to the Flash movie...
    http://www.gotoandlearn.com/play?id=64

  • Create a video player for embedded FLV

    So I want to embed a FLV in my flash so that I just have ONE SWF that contains everything.
    I know if I say "load external video with playback component" I will end up with a swf, html and the flv- this is NOT what I want so please don't ask me why I'm not using this option.
    "Embed FLV in SWF and play in timeline" is EXACTLY what I want- the result is just a single SWF.
    Here is the question: How do I get a video player if I embed a FLV in flash?
    I know if I load the video external I will get some nice players - exactly what I want. How do I get a player if the video is embedded? Are there any coded player templates on the net? I couldn't find anything on google I could use but I've to admit I'm not too good at AS.
    Thanks A LOT for your help

    Not sure if this will work. Embed the FLV into a movie clip and in the expanded propertied check export for action script. Then you may be able to call the movie clip from the content path in the FLV video component.

  • Creating a video slideshow with audio

    Ladies & Gentledudes,
    I have some recorded lecture notes (basically the lecture on digital
    dictaphone), and also the Powerpoint or .pdf slides that go with the
    lecture. I can seperate these slides out into raster images if needed
    (eg use Grab to get them as .tiffs).
    What software would you consider is the best/most effective to combine
    them to create a video slide show of the Powerpoint slides to match
    with the audio lecture notes that I have recorded? I would ideally
    like to be able to view it through my iPod touch.
    At the moment I can only think of using Garageband to clean up the
    audio (although not 100% on how to do that), and then use iMovie to
    create an audio slideshow.
    If you know of a free solution (or one that comes preloaded on a Mac)
    that would be preferred, but I would also like to hear optimum and most effective
    solutions as well if there is a cost involved.
    Many thanks for your time and help, James

    Welcome to the Apple Discussions.
    iMovie is a very straightforward way to do this.
    Import your sound and your images, stitch them together and then export them in an iPod compatible format.
    Job done.
    Regards
    TD

Maybe you are looking for