Dynamic Video Playlist with login page - Help!
- July 10, 2009
- 1 reply
- 722 views
Hi
I have got a dynamic video playlist using xml that was built using http://www.adobe.com/devnet/flash/ar..._playlist.html and it works great.
I want to add a simple login page to frame 1 using simple text variables and have used http://tranquilx7-flashmade-ez.blogs...your-site.html as guide.
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, any ideas??
I have attached the AS files as txt for reference, for some reason it wont allow me to upload .fla and. as files. You can get the orginal source .fla from http://download.macromedia.com/pub/developer/video_playlist_as3.zip
Any help greatly appreciated.
Thanks
