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
Similar Posts:
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
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
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
Aug 17, 2009
I have a need to build a flash login page. No big deal, but I need to have six seperate login accounts. For example:
Username: user1 Password: pass = link to [URL]
Username: user2 Password: pass = link to [URL]
Username: user3 Password: pass = link to [URL]
and so on for up to six users.
Again the usernames and passwords would not change, but need to redirect the particular user to a certain page.
stop();
var user_input = "";
var pass_input = "";
login_button.onRelease = function(){
if(user_input == "user1"
&& pass_input == "pass"){
getURL([URL], "GET");
}else{
gotoAndStop (3);
}}
View 7 Replies
Feb 19, 2008
I'm trying to login to a password protected php page through a form in flash.When the user provides correct information the flashmovie opens a php-page, but how do I protect the php page from unautorized accesses?Can I send a variable containing the user/pass given?but then everyone who checks history can access the page without even having to access the flash page..
View 2 Replies
Aug 31, 2011
In the cosmicpanda update for youtube, you can go from a video page to the video creators profile page while your video is still playing in flash. Does anyone how Youtube accomplishes this? I would like to know if it's possible to keep the flash state of a site constant while moving from page to page on a site.It doesn't seem as if the flash is reloading, so I don't think that they are just saving cookies for the current video time and starting the video at that point when they refresh.I would assume that they're using ajax, but the application of this feature is really clean. The URL gets correctly changed to the users' profile page's URL. The back button still works as it should. (I can press back and forward between video page and user profile page and the video continues going clean and never drops.)
View 2 Replies
Jan 25, 2009
I want to have a login page in flash,which takes two inputs and passes it to the php. Then php checks the data base to see whether the username or password in valid or not and then replies back to the flash.
Is there any existing code for this
View 1 Replies
Feb 21, 2012
Does anyone have tutorial to do the pop up window for login page? I want to include the insert login and password as well.
View 1 Replies
Sep 10, 2009
I am trying to create a simple login page, once the user has logged in successfully they will be taken to another site which contains their photos. I have created the login page already, it has a Username and password plus the Submit button. I guess 2 things need to happen here:
1. I would like to be able to access an xml document which contains the Username and Password in order to validate the details.
2. Upon successful validation, the user is directed to another page which contains their gallery, I guess I need to add a navigateToURL here in actionscript where the URL is passed from the XML file to the code (the URL needs to come from an the same XML file, if possible).
I am trying to design this site so I don't need to keep accessing the actionscript in flash to add user details and URL links.
View 3 Replies
Mar 1, 2010
I have a website which I created for my classmates, there they can log in to see their notes (some sort of electronic diary).There is obviously login script php based.However I wanted to implement something cool like Matrix like login page ^^It should work like that:Black screen shows up, some green elements start to appear over the screen, some sonar, radar, neuron activity and in the middle of it login box.Thos moving objects aren't a problem however this box would be.I wanted there to have blinking green square (like in DOS) and after someone put a letter, the box should move one place to right and still blinking same with password filed.
View 1 Replies
Dec 2, 2003
I need a simple login for an interactive cd I'm doing I don't need it to be password protected or anything I just need to set it up so when a user types in text in two fields it allows then to proceed to the interface and when they don't a pop up box says "please sign in" or whatever.
View 4 Replies
Mar 16, 2004
There's been a long time since i dont ask questions here... not that i dont need to, coz i know nothing , is just that im not using flash that much lately.
ok then, heres the question, I have a simple username/password form in a swf file, and i want to launch, in a new window, a login php page when i hit the submit button, with the variables passing from the swf form to this page. the problem is: i have no idea how the script of the submit button should look like
View 3 Replies
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
Oct 13, 2009
when the user go to my app page and the swf is downloaded I'm using session = new FacebookSessionUtil( this.API_KEY, this.SECRET_KEY, this.scope.loaderInfo );session.login();... then the system open a new window showing the login form.My question is How can I prevent it? There are some way to log users from my swf?possible solution I can think of: login via PHP, and pass via FlashVars the session ID obteined by PHP, then start a session inside my SWF movie.
View 3 Replies
Jul 25, 2011
I am creating a login page in HTML with Javascript Elements.
Basically I have a login form. and if credentials are wrong I want it to show an alert in HTML which another Javascript manages. Anyway I have setup a test page here As you can see when you input the wrong credentials it will display an alert. But I want it to perform an action in HTML? (This is so hard to describe)
<div class="notification error"> That is the code in HTML which will show that red box you see up the top & I will add text later.
Here's the Login form:
else {
$('.notification-detials')
}
return true;
[Code].....
View 1 Replies
Dec 2, 2003
I need a simple login for an interactive cd I'm doing I don't need it to be password protected or anything I just need to set it up so when a user types in text in two fields it allows then to proceed to the interface and when they don't a pop up box says "please sign in" or whatever.
View 4 Replies
Aug 27, 2004
I need to know how to create a login page for a website, allowing the user with a correct name and password to view a movieclip with saved inforation.
View 2 Replies
Feb 24, 2005
I need a simple login for an interactive cd I'm doing I don't need it to be password protected or anything I just need to set it up so when a user types in text in two fields it allows then to proceed to the interface and when they don't a pop up box says "please sign in" or whatever.
View 4 Replies
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
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
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
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
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
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
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
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
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
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
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