ActionScript 3.0 :: Interactive Video Player - Button Linking

Feb 18, 2011

I'm trying to make an interactive video player where you have a choice of 3 buttons and each button links to a different frame that has a video player embedded in it. Once on of the frames are brought up, I have a button to take you back to the main screen. However, after clicking back to the main screen, I'm running into the following output error:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at memorialsample_fla::MainTimeline/frame1()[memorialsample_fla.MainTime line::frame1:4]
at flash.display::MovieClip/gotoAndPlay()
at memorialsample_fla::MainTimeline/gotoMain2()[memorialsample_fla.MainT imeline::frame2:11]

Once the above output error occurs, the buttons are no longer active and no longer work. Here's a look at my code that I have going on:
Frame 1:
stop()//Link to Frame 2btn_MJ_Main.addEventListener(MouseEvent.CLICK, gotoMJ) function gotoMJ (e:MouseEvent){
//btn_Beach_Main.removeEventListener(MouseEvent.CLICK, gotoBeach)
//btn_MJ_Main.removeEventListener(MouseEvent.CLICK, gotoMJ)
btn_Cloud_Main.removeEventListener(MouseEvent.CLICK, gotoCloud)gotoAndPlay(2)
[Code] .....

If you want to see the actual SWF for a better visual at what I'm doing, you can see it here: [URL]. Scroll down to the Flash object, it says "Memorial Tribute Samples". I have the videos streaming, and am not sure how I could get the FLV videos to stop playing when I click the flash's "Return to Samples" button. Right now, the users would have to pause the video if they don't want it to play in the background as they go back to the first frame.

View 2 Replies


Similar Posts:


Flash :: Add Button-like Behavior To A Video Player Button Component?

Feb 23, 2011

I'm trying to create a simple "universal" media player which presents the same user interface (or as similar as possible) for video and audio playback. Unfortunately, FLVPlayback seems not to be able to handle audio files as far as I can tell, so I'm using a Sound and SoundChannel.

My video playback is handled using an FLVPlayback component which is "wired" to standard controls on-the-fly when needed. What I want to do is wire them to the Sound / SoundChannel when I'm playing a sound so that the same UI widgets work in both cases. I'd like to avoid building all my components from scratch because the FLVPlayback component does a lot of nice stuff "for free" but it's starting to look tricky.

The standard PlayPauseButton is a MovieClip with two layers, one containing the Play button (and with the instance name play_mc) and the containing the Pause button (pause_mc). Inside one of these is a movie with some code like this:

stop();
this.upLinkageID = "PauseButtonNormal";
this.overLinkageID = "PauseButtonOver";
this.downLinkageID = "PauseButtonDown";

[Code]....

View 1 Replies

Professional :: Interactive Video Presentation Starts With A Video In A Loop

Aug 11, 2010

I have created animated presentations (since now, I have just videos) for my seminars at the university with cinema 4D and I added some effects with After Effects (CS5). Now, I want to build an interactive presentation. That means:

- The (video projector) presentation starts with a video in a loop.

- When I click a button on the mouse/keyboard, the video finishes the loop until the end and

- show a transition video and

- start the next loop and so on...

[Code]...

View 4 Replies

Professional :: Seamless Interactive Video-game-video Project?

Aug 13, 2010

we are doing a seamless interactive video-game-video project, but are having optimization problems. Because the client wants a full-screen option for both the video and game segments, our file size is too big. Any advice on how to minimize load time yet retain a relatively high-quality image standard? The h.264 codec would help with image quality, but there are licensing issues, and we need the  transperent alpha channel for the video segments.

View 1 Replies

ActionScript 3.0 :: Interactive Video With Hotspots, But Video Can Scale?

Feb 1, 2009

basically i got this video i need to make interactive, where the user will be able to click on hotspots in a video as it scales -- any possible ideas or directions?

The idea i got is if i know my hotspot is initially at x:700 y:300, and the video scales, i just move it over by that much of a factor -- from what my current resolution was to my new resolution?

View 3 Replies

ActionScript 3.0 :: Video Player - How To Get Rewind Or Start Again Button

Jul 21, 2011

I am creating a video player with my own buttons, play stop are easy, but I can't for the life of me get it to rewind or start again (not loop). It may be worth noting that the flash video is store within a movie clip! The flv instance is flv_close and the movie instance is mv_close.

View 4 Replies

ActionScript 3.0 :: Capturing Video Player FullScreen Button?

Jul 30, 2010

How do you capture the event on the Video Control Skin when the Full Screen button is clicked.

View 3 Replies

ActionScript 1/2 :: How To Get Fullscreen Button Into Video Player Skin

Jul 18, 2011

Any way of building in a fullscreen button right into the skin of a video player using actionscript 2? Or perhaps have access to a source file? I've seen the skins with fullscreen with AS3 with CS3, but I need tut on skins with fullscreen using AS2.

View 1 Replies

ActionScript 2.0 :: Button Switch IF Statement For Video Player?

Oct 2, 2008

I am working on a video player that will have different Languages. The problem that i am have is that i can get the video to switch but i cant get the video to switch back. I have uploaded the file and here is the code that i have have a problem with.

lang.onRelease = function() {
if  play = English)
{

[Code].....

View 1 Replies

ActionScript 3.0 :: Flash Linking An Interactive Flash Tutorial To A Database?

Mar 24, 2011

I'm creating an interactive flash tutorial for kids teaching them about healthy eating. Part of the tutorial involves them learning about different food groups, then playing different 'games' to test their knowledge.

I would like to incorporate a user login system, so the user logs in on the main menu, and then the system records which activities have been completed, and a score for each activity. This will update whenever they finish a game or achieve a score better than their previous attempts.

I found a gotoAndLearn.com tutorial but that was just retrieving stuff from a database and plugging it into an SWF. any suggestions / tutorials available on how I can achieve this 2 way interaction?

View 1 Replies

Javascript :: Disable 'Download This Video' Real Player Button In Browser?

Oct 29, 2010

Is there any way to disable the "Download This Video" button from RealPlayer. It seems that when users have RealPlayer installed on their machines, it automatically adds a "Download This Video" button to any SWF that loads an FLV.

Edit: My intention isn't to prevent someone from downloading the SWF or FLV, I would just like to remove the ugly button that RealPlayer adds on top of my Flash content.

View 1 Replies

Php :: Mute A Flash Video Player When User Click On A Social Button?

Sep 19, 2011

How can I mute the video on the a page to do the following: Once user clicks on any of the social buttons, the flash video should mute automatically.

View 1 Replies

ActionScript 3.0 :: Video Player - Play Button And If Drag & Drop The Scrubber Of Progress - Bar

Jun 30, 2009

I'm building a flv_video AS3 player. I'm using steaming-video.The player is working fine, but there is something that I want to improve. Currently when I push play button and if I drag&drop the scrubber of progress-bar somewhere in the area that is still not buffered, the player doesn't start to play from that position. So I want to do it.

View 2 Replies

ActionScript 3.0 :: Multiple Flv Player - Load A Different Video When A Button Is Clicked In The Exact Same Place As The Old One

Jun 26, 2009

im creating a portfolio website that primarily uses flv videos for graphics. For example, if you click to go to another section of the website a video plays that actually walks you to that area. What I want to do is be able to load a different video when a button is clicked in the exact same place as the old one. I currently have a working class that plays a video

[Code]...

I want to some how be able to change the variable flvName on the click of a button on my stage and recall the class to change the video. If you can think of an alternate way of doing what i need to do id love to hear it.

View 0 Replies

ActionScript 3.0 :: Interactive Position Bar For Media Player

Feb 18, 2010

i have an mp3 media player set up, with a position bar to show the progress of the song that's currently playing. i'd like to make this bar interactive, so that the user can scroll through or jump to any part of the song. i haven't been able to find any useful tutorials or forum posts which teach this element. if you could show me how this is done, or point me in the right direction that would be great

View 1 Replies

Flash - Video Format That Can Contain An Interactive TOC?

Jan 4, 2010

Would it be possible to have a video (MP4, FLV, F4V, or some other popular format) contain a table of contents that the user can click to seek to different sections of the movie?

View 2 Replies

Flash Interactive With Live Video?

Feb 28, 2011

Any way to make a video as a transition for a flash movie? What I mean is, say you have an image of a city, and you have a bunch of clickable areas in that image. When you click on one of those areas, a video plays that would transition you from the original image to the new location, almost like a fly through. [URL]

View 3 Replies

ActionScript 3.0 :: Interactive Video Manipulation?

Apr 24, 2012

I have a project which is about creating interactive videos for users..The main idea is that user will open the app and a predefined video will show-up.Video will show couple of billboards, signs etc. while moving through a highway.. Like from a perspective of a driver..I need to insert users photos to these billboards and some text to signs..

The problem is, these objects which I'll be filling are changing their shapes constantly because of the car movement. I can get all the x,y coordinates and timings of the video from my partners. But I don't know how to use them in this situation.I think about continious tweens with these x,y values but I'm not sure..

View 5 Replies

ActionScript 2.0 :: Create Interactive Video In Flash?

Apr 28, 2010

I do have an assignemnt, deadline os tommorow 4pm. In this assignment i should create interactive video in flash. I have choosen to create game like Mortal Kombat. I have one video with 28 cue points. I made buttons that take us to the right place in the video which are hidden at the beggining but are visable when video reaches first cue point. I have created life bar which in fact is made of 5 small MC`s and I thought that if user will press kick button then one small life bar will become hidden - I have no idea how to do this.

Second thing is that I want to put mp3 file but I want it to start at the same cue point as buttons.

third - I do want to dispaly random cue point of 2, so if user will press punch button he will be taken to piece where my character hits opponent or to the piece where opponent block the punch. And I want from time to time randomly display piece of the vide where my opponent hits the character[code]...

View 0 Replies

ActionScript 3.0 :: Make An Interactive Video In Flash

Mar 12, 2011

I want to make an Interactive Video in flash (or another method if known). basically to sum this up. I want to make a video which then some options will appear in the video (They could be buttons by the side of the video), which you then need to choose for another video to play. (Exactly like how you tube uses annotation) Is this possible with flash? or would I need to use another program?

View 2 Replies

ActionScript 2.0 :: Linking Music Player To Website - No Sound Heard Or Played

Jul 24, 2008

i am having some problems linking my mp3 player swf file to my website. It looks like it loads fine, and the buttons work and change the track of the song, but there is no sound heard or played. Here is the code i used to do this:

[CODE].....

As i said before, the player loads up and shows up on the website with no errorsand the buttons work (going to next or previous song as well as the pause and play buttons pausing and playing the music properly), but no sound can be heard. (this is being test on the latest version of firefox).

View 6 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

Asp.net :: Play MP4 Video On Window Webserver In Quick Time And Flash Player(flv Player)?

Aug 3, 2010

I have two mp4 video files on webserver, i wanted to play them in flash player(flv player) on my asp.net page, but i couldn't be able to play them, i also tried to play them in quick time player the same prob occured. but i waz giving the accurate path, there were no spaces in mp4 file names etc. Does it need to have mp4 player(or codec etc) installed on webserver?

I have also some wmv files on that server , and i am playing perfectly using silver light player, and media player object on my website.

View 1 Replies

Flash :: Does HTML 5 Video Ogg And Mpg Allow Linking To Websites

Jan 24, 2011

I know when I create a Flash file I can utilize ActionScript to link buttons created in the .swf video file. Can I do the same with HTML 5? I would like to change one of my swf files over to HTML 5 to experiment with the new code. I heard Flash was going to offer this feature in CS5.

View 1 Replies

ActionScript 3.0 :: Calling MovieClips Function For Interactive Video Game?

Mar 13, 2010

i'm Currently creating an interactive video game. There are 66 movies. I'm new to AS3, and have little experience in AS2.

The game in short:
You choose from 5 ingredients, each has this product provides a number of calories:Rice R = <- for all standard!

[code].....

View 6 Replies

ActionScript 3.0 :: Create An Interactive Music Video In After Effects And Flash?

Jul 10, 2010

I am trying to create an interactive music video in After Effects and Flash. The concept is that while the music video is taking place the user can  decorate the hair of the woman with any of the objects they select. There will be predetermined animations and destination spots but the  user can choose whatever objects they select to be delivered to the  predetermined spot.  I need to figure out how to let the user to select  an object that will become part of the animation.  I created a PDF  Roughly explaining what I am trying to do.  If anyone can help me I'd be  very grateful as I am more versed in After Effects, I don't know  ActionScript well enough to execute what I am trying to do.

Below is a rough example of what I am trying to do.  There will be a music video of an animated woman singing.  As she is singing the user will be able to click any of the objects , below the numbers 1-10.  Below it is illustrated that the user wants to press the blue number 2.  If the user presses the 2 the 2 will animate in the mouth of a bird to a predetermined pre-animated spot.  I assume I need to send a movieclip to a blank  holder on the timeline and use a gotoAndPlay() action ??? 

[Code]...

View 4 Replies

ActionScript 3.0 :: Interactive Video/ Auto Pause/ User Play?

Oct 18, 2009

I have an animation that's heavy and needs to go into the flvPlayback component. It needs to pause automatically and call a sound effect that repeats until the user clicks the play button which is a movie clip that appears via addChild(). It's being loaded by an external swf currently. It works now, just takes a while to load.\

View 0 Replies

ActionScript 2.0 :: Create An Interactive Music Video In After Effects And Flash?

Jun 25, 2009

I am trying to create an interactive music video in After Effects and Flash.The concept is that while the music video is taking place the user can decorate the hair of the woman with any of the objects they select. There will be predetermined animations and destination spots but the user can choose whatever objects they select to be delivered to the predetermined spot. I need to figure out how to let the user to select an object that will become part of the animation.

View 1 Replies

ActionScript 3.0 :: Calling MovieClips Function For Interactive Video Game

Mar 13, 2010

I'm Currently creating an interactive video game. There are 66 movies. I'm new to AS3 and have a little experience with AS2. I will try to explain the game! You choose from 5 ingredients, each has this product provides a number of calories:

Rice R = <- standard value!
Mais =-C
Roots =-W
Tofu =-T
Onions =-U
Champions =-M
Each ingredient can be added only 1 once.

Good combinations:
R-U-T-CR-U-C-TR-T-U-CR-T-U-CR-C-U-TR-C-T-U
Each movie is in a movie clip. And the frame where the movieclip is on, is labeled with the combination. For this I wrote the following script:

ActionScript 3 Code:
stop ();
var caloriesVar: Number = 10, / / default Rice
var inpanVar: String = "R", / / R = Rice
iLabel.info_txt.text = (caloriesVar);
iLabel.info_txt2.text = (inpanVar) / / idem
[Code] .....

But this does not work. When you click a button, the script doesn't do anything. Do not know where it goes wrong because he does not update the text fields.

View 2 Replies

Media Server :: FMS Interactive With Data Events - Camera Streaming Video

Sep 15, 2011

I'm completely new to FMS but a seasoned Flex developer. We're building a Flash Builder 4.5 application which will be deployed to iPads. The basic functional requirements are as follows:

1. Presenter in a room has a camera streaming video of themselves2. Participants in the same room have an iPad - there are 30 participants and the stream is sent to all 30 iPads simultaneously.3. There must be lowest delay possible with good quality video - we understand this can be achieved with RTMP and that VP6 has to be used (as there is no H.264 support at present in AIR on iOS)4. The presenter will trigger certain things from their iPad which will then display certain alerts, content on the partcipants iPad (from server connection the participant iPads are listening to)

Firstly, I'm interested to know your thoughts on this current spec. This was put together from zero initial experience with FMS and having read a lot online and creating a proof-of-concept. Secondly, with regards to the two-way interaction: Is this something FMS handles? Previously I have used LCDS or BlazeDS for the data events & streaming aspects of our applications. Initially I was planning on using BlazeDS again, in addition to FMS. But from what I have read FMS possible handles data push too? Does FMS have LCDS/Blaze built in in some way?

View 4 Replies







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