ActionScript 2.0 :: XML Video Playlist - Array Not Getting Recognized

Jan 20, 2009

I am trying create a video playlist driven by XML. My problem is Flash doesn't seem to be recognising the array. It comes out perfectly in the trace.

Heres the AS:
PHP Code:
var xm:XML = new XML();//creating XML object
var title_array:Array=new Array()//array objects to hold title data from xml
var creator_array:Array=new Array()//array objects to hold creator data from xml
var location_array:Array=new Array()//array objects to hold location data from xml
var image_array:Array=new Array()//array objects to hold image data from xml
var info_array:Array=new Array()//array objects to hold info data from xml
[Code] .....

View 4 Replies


Similar Posts:


ActionScript 3.0 :: Array Element Conversion - Get Recognized By A Variable

Jul 27, 2010

I have a particular element from an array that I'm trying to get recognized by a variable. I am getting a #1010 error on this line:

[CODE]...

My guess is that the url variable is reading this as null and thus I get a #2007 error whenever I click the button in question.

View 1 Replies

Video Playlist With Description For Each Video?

May 27, 2009

I'm trying to create a page for one of my clients where I will store a bunch of videos. I came up with something like this.[URL]..You click on each button and you watch different videos. Pretty simple! Now my challenge is this: I would like to display different descriptions for each video whenever the viewer clicks on one of the buttons with the video names.

View 2 Replies

ActionScript 3.0 :: Linking IN To An XML Video Playlist

Dec 13, 2010

I have created a flash video player using a customised flvplayback component and an XML playlist.The playlist in flash consists of a tumbnail with a name, which is within a scrolling MC, and 2 text areas under the video player itself.one for the title and the other for a description. All text and images are loaded from the XML.The default player starts with an auto play video and then the user can select a video from the playlist on the right.I'm trying to make it so I can create a URL link on another page within our website (home page)i.e "see this video of us doing this". I want the URL link to take the user to the video player page, but load in a specific flv and text from the XML instead of the default.

Is this possible?I have looked into flashvars but im not sure how to implement this with an XML player, and preferably not having to create a duplicate html page.(I would like the URL link to tell the flash player which video to load)

View 1 Replies

ActionScript 3.0 :: Video Gallery With Playlist?

Apr 25, 2011

i need a tutorial of video player which must be like  youtube video player. preview of a site like this i want it to be.[URL]

View 1 Replies

ActionScript 2.0 :: Draggable Xml Video Playlist

Feb 2, 2010

I am working on a video player with a selectable xml video playlist. I have successfully made the playlist draggable but can't seem to figure out how to allow the list (previously accessible outside the draggable movie clip) to be selectable. drag_mc is the movie clip which I have made draggable. Here is the part of code I am dealing with:

[CODE]...

View 0 Replies

Actionscript 3.0 :: Convert Lee's XML Video Playlist

Jan 5, 2008

I'm trying to convert it the program to AS3.0 and am having the hardest of time. I managed to convert some pieces of it. But still getting this error.

[Code]...

View 5 Replies

Actionscript 2.0 :: Xml Video Playlist Rtmp

Jan 19, 2009

I am using Lee's xml video playlist and it works great with http video links. I now need this flv player to stream rtmp link. Streaming one video from the rtmp server works fine but when using the xml list the video doesn't load.

View 2 Replies

Actionscript 2.0 :: XML Video Playlist - Thumbnails?

Jan 19, 2009

I am using Lee's video playlist.It all functions great.Instead of alphaNumber text for the list, I would like to create thumbnails. I prefer small movie clips for thumb nails.Is it possible to modify this xml code to accomplish this? I have 3 movie clips for thumbs names mc_1 mc2 and mc3. Or, do I need to modify the AS also?

Code: Select all  <?xml version="1.0" encoding="ISO-8859-1" ?>
<videos>
<video url="http://marcdebiase.info/meVideos/Video4.flv" desc="Video 1" />[code].........

View 2 Replies

Actionscript 2.0 :: LEE's XML Video Playlist Loading FLV's From FMS

Feb 12, 2009

how to i load a flv file/stream from a prerecorded user into LEE's XML Video Playlist ready to display at the client side. on my fms server after a user recorded a video message its been created in the rtmp:/camera_apps/cameratest/streams folder and has the name record1.flv record2.flv etcetc this should load into the vlist component. how can i achieve this funtionality..

here is the code for the player and component:
Code: Select all
var nc:NetConnection = new NetConnection();
nc.connect(null);

[Code].....

View 4 Replies

Actionscript 2.0 :: Change Video (Without Using Playlist)?

Mar 28, 2009

I have made my own video player with some help from the gotoandlearn tutorials. I now want to be able to quickly switch between different videos without using the list component, just a button on the stage. I have it half working, the new video loads and plays but the old video freezes and stays on top. How do I stop this from happening.The video Player code

Code: Select allfunction newMovie()
{
ns.play(file);[code].......

View 1 Replies

Actionscript 2.0 :: XML Video Playlist Looping

May 18, 2009

i'm using the XML Video Playlist tutorial and have it working like a charm, but my issue is that once a video is done playing, i'd like it to stop. Instead, it starts the video over. i tried adapting the Code: Select allfunction restartIt() {ns.seek(0); by giving a false value, but it didn't change anything. I also added a Code: Select all<param name="loop" value="false" /> to my web page, but that didn't help.

View 1 Replies

Actionscript 2.0 :: Mp3 Player And The Video Playlist?

Jul 12, 2009

I have succesfully added the Flash MP3 Player and the Video Playlist to my flash site.The music in the MP3 player works fine, so does the video playlist but the problem is i have to pause the music before going to the video page or else they play together.I want to be able to automatically pause the music when i hit the button to go to the video page and when i click a button to go to a different page i want the video to stop or pause and the music to resume playing.Heres the code for the mp3 player and the Video code is further down:

Code: Select all// Setup sound object
var s:Sound = new Sound();
s.onSoundComplete = playSong;[code]..........

View 13 Replies

ActionScript 3.0 :: Loop XML Video Playlist?

May 13, 2009

I've pieced together an XML driven playlist for videos. how to play the playlist continuously. When the last video ends, I want it to start with the first video and run through the playlist again and infinite number of times. I can only get the last video to restart when it finishes instead of going back to the first video. [code]...

View 14 Replies

IDE :: How To Generate Video Playlist From XML File

May 14, 2010

I am trying to generate a play list from my XML file. In the function videoList produces a list of url for specified node, the trace(vidSource) shows:
Top level: Our Services [URLs]
How can I loop thru these urls and pass them into my stream_ns.play(vidSource); ?

Code:
function videoList(categoryName:String, loadUrls:XMLList):void {
//trace(categoryName);
if (categoryName=="Our Services") {
trace("Top level:", categoryName);
for (var i:int = 0; i < loadUrls.length(); i++) {
[Code] .....

View 1 Replies

Flash Video And Audio Player With Playlist?

Jun 28, 2009

I'm looking for a flash video player and a flash audio player with playlist that I can customize.

View 2 Replies

ActionScript 2.0 :: Create A Xml Based Video Playlist?

Jul 8, 2009

I'm wanting to create a xml based video playlist like the one on the link below. I've searched Flashkit and the web and found a few things, but nothing really close in operation or that I could use.

View 3 Replies

ActionScript 1/2 :: XML Driven Video Gallery With Playlist?

Dec 23, 2009

I have put together a XML Driven Video Player with auto thumbnail detection but there is a problem.The Video plays but, The thumbs will not show. I think my thumbnail function is not reaching the correct node in my XML.Can someone take a look at my Actionscript Please? The Action Script is below. The XML is at the bottom of this post. The top half of the code is the video playing code the bottom is for the thumbs.

var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
ns.setNufferTime(30);

[code]...

View 4 Replies

ActionScript 3.0 :: Create External Xml Video Playlist?

Dec 9, 2010

I was given an assignment to  create and external video playlist using an xml file.  I have never used  flash before, know nothing about encoding and all that was given to the  class in terms of instuctions was a short tutorial that has no  resources for troubleshooting.  We were given everything; the external  playlist file equipped with the video skin, the video list, actionscript  that loads the xml and the xml file.  We were told that all we need to  do is change the names of the videos in the xml file to match the names  of our videos.  I did that.  We were also told we needed to "name  target", but we were not informed on how to do this.  I have tried  everything, visited every tutorial and I cannot figure out how to get  this damn thing to work.  I cannot even get flash to load the xml file. 
 
Here is the xml file:
 
<?xml version = "1.0" encoding = "i-8859-1"?>
<playlist><ADogWithoutABoneflvurl="ADogWithoutABone.flv"desc="Hyper Wall First Video" />

[Code].....
 
I  tried placing the full address of the xml file in, along with the file  address of the videos, but again it did nothing.  Everything is located  in the same file, and the videos in a sub file in that file. I tried  taking out the sub file and putting all the videos in the same file, but  it did nothing. 

View 1 Replies

ActionScript 3.0 :: XML Video Playlist With Variable Dimensions?

Dec 14, 2010

I built an AS3 based XML controlled playlist as taught by republic of code (I can't post the link apparently).

Now however I have videos that are done in 16:9 as well as 4:3, which means I've got to get the FLV/F4V player to change sizes. Is this possible? As of now it only distorts the images to get them to fit.

View 1 Replies

ActionScript 3.0 :: Automatically Play Next Video In Playlist?

Aug 25, 2011

This is borrowed code from some developer on Adobe's website. This works great, but the user has to click in the tilelist to play the next video in sequence.

For the application I am developing it is imperetive that the next video gets played as soon as the previous video finished.

ActionScript Code:
package {
import flash.display.MovieClip;
import flash.net.URLLoader;

[Code]....

View 5 Replies

ActionScript 2.0 :: Loading XML Video Playlist With Captions

Mar 19, 2009

I am using the XML playlist tutorials to dynamically load my video s and link them through the playlist [URL]. Now, I would like to add captions, I have added the 'caption' attribute to my xml node, but cant seem to get it to work in AS2!!

Here is where I am so far:
var vlist:XML = new XML();
vlist.ignoreWhite= true;
vlist.onLoad = function(){
var videos:Array = this.firstChild.childNodes;
for(i=0;i<videos.length;i++){
[Code] ......

View 1 Replies

ActionScript 3.0 :: Adding Titles To XML Video Playlist

Oct 13, 2009

I made an xml video playlist with thumbs and video description within a scrollbar. Now I want to add 2 titles. one for my work as an editor and one for my work as a director. The first one will be on top of the list, the second one will be after the last video as an editor. There won't be any interactivity with those titles, it's just text.

Here's my code :
var thumb_width:Number;
var thumb_height:Number;
var thumbs_x:Number;
var thumbs_y:Number;
var video_x:Number;
[Code] .....

View 2 Replies

ActionScript 3.0 :: Dynamic Video Playlist With Login Page?

Jul 10, 2009

I have created a dynamic video playlist using XML using [URL]The login page works fine but now I have moved all the video content to frame 2 the playlist and videos dont load and I get the errors;

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at VideoPlaylist()
TypeError: Error #1009: Cannot access a property or method of a null object reference.

[code].....

View 5 Replies

ActionScript 3.0 :: Adding Play And Progress Bar To A Video Playlist?

Jun 13, 2010

Get away from using flashs skin and use my own play and stop buttons progress bar.Be able to use an autoplay within the script and not use the parameters autoplay. using which is working fine. I just want to be able to have more control by being able to write code for the above activities.

package {
import flash.display.Sprite;
import flash.events.Event;

[code].....

View 1 Replies

Media Server :: FMS Video Playlist With Different Aspect Ratios?

Jan 31, 2011

I have an application, what playing server side playlists. The problem is: in the player (FLVPlayback) the videos with different aspect ratios displaying with the aspect ratio of the first video.

View 2 Replies

Media Server :: Create One Video Out Of Many Videos On A Playlist?

Aug 31, 2011

As stated above, I wanted to know if I can take a video playlist, say with 4 clips, and have FMIS create a separate file out of the 4 individual clips. Specifically, a user selects 4 (or any number) of clips to create their playlist, then at the end, a 'full length' file is created. If this isn't clear, let me know and I'll try to elaborate.

View 2 Replies

ActionScript 3.0 :: XML Video Playlist Using Dynamic Text Instead Of UI List?

Jul 10, 2009

I've watched the tutorial on how to build an XML Video Playlist using the UI List Component. I'm wondering if there's a way instead to use a dynamic text box, or some other solution that doesn't require a component. I have a video object and a dynamic text box that successfully loads a videolist.xml file, and displays the contents (title, location, date) for each <video> node, separated by line breaks. Now I'd like to make the contents of each <video> node a link, which loads a new movie into the player. If this can't be done with a dynamic text box, can it be done some other way, not involving the use of a component?

View 5 Replies

ActionScript 3.0 :: Create A Dynamic Xml Driven Video Playlist?

Jun 24, 2010

I am trying to create a dynamic xml driven video playlist, that will display the thumbnail, title and time duration of the video (quite similar to the one on youtube). But I don't know where to begin and I have been googling for some helpful tutorials but cant find anything resourceful.if I shall use the Flash component for scrolling purpose or I shall learn to develop my own scroller with scrollbar.

View 8 Replies

ActionScript 3.0 :: Dynamic Video Playlist With Login Page

Jul 10, 2009

I have got a dynamic video playlist using xml that was built using url...and it works great.I want to add a simple login page to frame 1 using simple text variables and have used url... The login page works ok and takes you to frame 2 instead of a url but the videos and playlist dont load correctly and I get the following errors TypeError: Error #1009: Cannot access a property or method of a null object reference. at VideoPlaylist() TypeError: Error #1009: Cannot access a property or method of a null object reference. at VideoPlaylist/initMediaPlayer() at flash. events: :EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at flash.net::URLLoader/onComplete() I think its because I have moved the video content to frame 2 but cant work out what to update in the actionscript to load this on frame 2 insted of frame 1, I have attached the AS files as txt for reference, for some reason it wont allow me to upload .fla and. as files. url...

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved