ActionScript 1/2 :: Opening A Form And Stopping A Video

Mar 1, 2011

I have a button on a page with a video running.  i want the button to open an html form I have already set up and i want the video to stop playing.  i tried this code and it achieves  neither objective.

my code on the button:

on (press) {
}
stopAllSounds();
getURL(become_member.html);

View 3 Replies


Similar Posts:


IDE :: Flash Form - Sending Data Without Opening Browser

Dec 14, 2009

I have a flash form with input text fields. I am sending the data to a 3rd party server. I can send the information via getURL but I want to send the data without opening a browser window so I am utilizing sendAndLoad. It works great locally but not through a browser (tested in IE and Firefox). I have verified that all the variables and urls are in the correct case, I have tried both Post and Get, I have tried network and local..

Here is the file - click on the second image...[URL]
Here is the code...
on (release) {
if (first_name.text.length == 0) {
error.text = "** First Name Required **";
} else if (last_name.text.length == 0) {
error.text = "** Last Name Required **";
[Code] .....

View 1 Replies

Swf In Flv Not Stopping, Video Keeps Playing?

Jun 4, 2010

I'm making a basic flash website, and have already created the site structure, but I'm having trouble adding FLV and SWF, as they aren't responding as I would like.

1) I have built a basic flash photo gallery, and it works great. I have exported the SWF, but when I add that to my main sites keyframe, it plays non stop, and the buttons on that embedded SWF don't work.

2) After adding a FLV video to a keyframe, it works as I would like. Except that when I click to another keyframe after starting the video, it keeps playing. How would I be able to pause/stop the video if a navigation button to other keyframes are clicked.

View 1 Replies

Starting And Stopping Video And MP3

Aug 5, 2009

I can't seem to get around my video and audio files starting when I arrive at the page. I'm even using some example code with start and stop buttons. This is in CS4 Flash. I expect it's because the ActionScript is in the wrong place because when I run the movie it flashes through all of the pages on the site without stopping at the home page. Is there some generic code that will allow me to simply swap out the name of the video or audio file I want to start. If there is, do I need to locate it on its own layer at the top of the timeline?

View 6 Replies

Professional :: Video.swf Not Stopping?

Mar 22, 2011

In my website design. I have a swf video that doesn't stop when i go to another page in my website. How can I fix this?

View 13 Replies

Stopping Video Component Playback?

May 20, 2009

I have a frame where I have added an flv playback component to play a flv file. Everything plays fine, but when I test the file and navagate away from the frame that the playback component is on, the video continues playing.
 
Is there any way to get the video to stop when the user navigates away from the frame? I'm sure this could be done if I add the video using AS 3.0 (that is what the navigation of the site is coded with).

View 2 Replies

ActionScript 3.0 :: Stopping Video From External SWF?

Jul 2, 2009

I'm building a flash web site and I'm loading external SWF files to a main SWF. One of these external SWF loads videos using a FLVPlayback Component. The problem I have is when a video is playing and you press another link in the main SWF the other section loads but the video keeps playing in the background, eventhough every time a load a new external SWF I use the unload() method to unload the previous SWF.

View 3 Replies

ActionScript 3.0 :: Stopping Sound From Video?

Sep 22, 2009

In my website i have some videos. When i import the video.swf to my main swf. everything works fine. But if i navigate away from the video part the video goes away but the sound keeps playing.

I dont want to use the flash.media.SoundMixer.stopAll() function becasue i have a jukebox player that i want to work inbetween. and dotn want it to stop when you navigate the menu. It only stops when you go to Videos.

Here is the code i use:

var image:Loader = new Loader();
addChild(image);
image.x = 95;

[Code]......

What can i put in the news button to make the sound from the video stop.

View 7 Replies

ActionScript 3.0 :: Stopping Video On Frame Exit?

Mar 8, 2009

I'm using Flash CS4, and all the actionscript so far has been Actionscript 3. I have some videos in my project -- this is being exported as an exe for cd distribution, rather than a website thing. So each video is wrapped inside a movie clip, which is wrapped inside another movie clip that deals with playing/pausing it, which is wrapped inside another movie clip that gives scrollbox functionality, which is placed on the stage. On the main timeline is a keyframe every frame, each of which has a stop() action, so that each frame is essentially a different "page" and you can navigate between these with menu buttons which call gotoAndStop().

The problem is, if the video is playing when you click a button to navigate to another frame, it continues playing even though it's no longer on the screen. You can hear the audio in the background. In addition to this, if you navigate to a frame four frames ahead, and each of the frames in between has a video, all those videos will start playing in the background as well.

I want to make sure that when you are on a particular frame the only video which will play is the video on that frame. If there is no video on that frame, no video should play. I was hoping that I could just catch the moment when you move away from the frame and call stop() on the video there, but I can't seem to catch that point. The FRAME_EXIT event seems to catch the end of the render loop or something so that it happens every time it draws the frame, rather than when you actually leave the frame and move to another one. In addition, I'm not sure catching the point where you move past a frame would help the problem with videos from in-between frames being started, as those frames are never entered so presumably never exited either.

View 2 Replies

ActionScript 2.0 :: Stopping Video When Clicking Away From Page?

Dec 23, 2009

Ok so i have a video on my page which plays automatically when the user goes on the pageWhat i want to happen is when the user clicks a button away from the page, the video and the sound all stop so it can't be heard in the background.Other pages have videos on, therefore can't use stopallsounds.

View 2 Replies

ActionScript 3.0 :: Stopping Streaming Video With Cue Points?

May 20, 2009

All i want to do is make a video streaming in a video object to stop on a cue point, and play from abother when a button is pushed. It's relatively simple, right? Wrong. Over a hundred $s in how-to books and several hours wasted searching online later and I have nothing. I have checked and re-checked the cuepoints are correct (i made them in flash video encoder CS3) and tried just about everything as far as AS is concerned. Here is my latest attempt: (obmintro is the player instance name, i have the rtmp info in source under player parameters and it plays fine)
 
import fl.video.MetadataEvent;obmintro.addEventListener(MetadataEvent.CUE_POINT, cp_listener);function cp_listener(eventObject:Object):void{if (eventObject.object.name == "site_end");{  obmintro.pause();
//i have also used stop, stop("obmintro"); and i don't even know what else.}}

View 3 Replies

ActionScript 3.0 :: Stopping Video From Taking Over Fullscreen?

Jun 30, 2009

I have a main flash file that loads in a second swf. In the second swf I have two movieclips that have been exported as "vidplayer" and "vidplayer2" in the linkage.Each of these movieclips contain an FLVplayback component which automatically plays when the movieclips load. The movieclips are triggered by a .as file which is linked to the document class of the second swf.Anyway, the problem I am having is that I would like to put in a fullscreen button into my main flash file. When I click the fullscreen button, the video that is playing takes over the whole screen and all of the other graphics disappear. I would like the whole flash file to become fullscreen and not just the video.

After searching for a while I found that you can put in: FLVplayback.fullScreenTakeOver = false; (where " FLVplayback" would be the instance name of the FLVplayback component that is playing the video), to stop the video from taking over.My problem is that since my FLVplayback component is part of another SWF that is loaded in, and it's also part of two different linked movieClips that are controlled by a .as file. I don't know what instance name to give my FLVplayback components.

View 0 Replies

ActionScript 2.0 :: Stopping Embedded Video In Flash

Jan 28, 2010

I have three (youtube) videos embedded in Flash. Every time a new video is a loaded, the sound video from the old video continues to play. I have tried using removeMovieClip(); and I have tried stopAllSounds(); I have tried 'delete video_mc'. Nothing seems to work!

Here is my script:
ActionScript Code:
// Video Script
// Default - We'd Drink
// show this video on load
showDefault();
videoBtn1.onRelease = showDefault;
function showDefault(){
[Code] .....

View 2 Replies

ActionScript 3.0 :: Stopping Sound From An Intro Video

Jan 18, 2011

I'm new to actionscript, and don't understand the basics of the code's structure, but I've looked around a bit on here, and unless I'm missing it, I can't find how to stop a sound on the timeline. I'm using CS5, and the flash file is version 10 with AS 3.0.My website has an intro video that lasts for 16 sec with sound for all 16 seconds. I have a link to skip the intro, but when i click the link, and the time line advances to the frame that i've specified after the intro, the sound continues to play until all 16 seconds are finished.I've seen how to stop all sounds with the SoundMixer, but after the intro, I have another 2 second sound that plays as the buttons for my main links come flying into the stage. So I dont want to turn that sound off as well.here is to target the intro sound file (which i've placed in a movie clip) in the SoundMixer volume variable, but I don't know how to code that.

View 1 Replies

Actionscript 3.0 :: Stopping Video That Is Played In External SWF

Jul 27, 2009

I'm having a major problem stopping video that is played in an external SWF. I've added the external SWF file via the addChild method. However, when I remove it the video's audio keeps playing. The only other solution if I can't figure it out is rebuilding the site in AS2.

View 7 Replies

ActionScript 3.0 :: Stop(); Is Stopping Background Video

Mar 18, 2012

[URL]

The picture explains my dilemma. I really want my BGvideo layer (which is an animated looping footage for the background) to be independent from the actions that I have put in to stop my button animations.

View 2 Replies

ActionScript 3.0 :: Stopping UILoader Loaded Audio Of A .swf Video?

Jan 21, 2010

I have 3 buttons (and 3 .swf videos).Each button makes the main timeline go to a specific frame and stop.Each Frame tells the UILoader to load a different assigned .swf video (source parameter).

Problem: when playing the project's .swf in the Flash Player, "VISUALLY" the videos properly switch,but the Audio continues, so the Audio for all 3 videos are playing simultaneously.How do I get the current video's Audio to stop when the new video is loaded ?I experimented with enabled = false;"(and other methods) between the changing videos .

switch(eventMLR.target.name) ...
case "myVideo1MLR_btn":
for (k= 0; k < sndArrayMLR.length; k++){[code]..........

View 1 Replies

Professional :: Stopping Embedded Video With MouseEvent Click?

Aug 25, 2011

I have a website in Flash CS4. When testing the movie, my swf file plays. When I access another menu button, the movie still plays and you still hear the sound. I have the skin where the user can stop the movie before going to other pages in the site but my Question is: How can I get the movie to stop playing if another menu button is clicked? I ask because when I go to another page and come back, the video is not showing but I still hear the audio.

View 7 Replies

ActionScript 3.0 :: Stopping Video Player (sound) Before Unloading Swf?

Jan 21, 2009

The situation is I have a swf loading another swf. The loaded contains a custom video player. When I unload the loaded swf the audio continues to play though the player is now gone.

View 3 Replies

Actionscript 2.0 :: Stopping Auto-play For Non XML Video Player?

Dec 3, 2007

i made a player based on the 'Video Basics' series and would like to disable the auto play. I've only found posts dealing with stopping auto play in the XML version and I can't figure it out.

I assume that I must modify the early part of the script?

Code: Select allvar nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
ns.setBufferTime(10);

[Code].....

View 9 Replies

ActionScript 2.0 :: Unloading The Video Player And Stopping It Playing In The Background

Jan 23, 2011

I'm using for my video player, it loads and plays fine and it stop playing music on the main template when loaded. I have actually two requests: First: How do I pause the video when the player is loaded ?

Second: When the player is unloaded from the main template using root.main_mc.close_btn the video still playing in the background and the close button (close_btn) pause and play the music player each time it is pressed and from the same position it was left last time.

View 1 Replies

ActionScript 3.0 :: Back Button Stopping Audio On A Video Component

May 16, 2010

I am putting together a basic video portfolio and have everything working except when I click the back button to get back to the thumbnail page (contained on frame 1) the audio from the video continues to play.[code]

View 4 Replies

ActionScript 3.0 :: Stopping Sounds From Playing In Embedded Video Clip?

Jun 10, 2011

I have three embedded video clips that are inside of movieClips. They I have buttons that take you to a framelabel where those movieClips are located. Each movieClip containing each movie are on separate frames. (See attached image)

When I click on any of the buttons that take me to any videoClips other than the first one, make the audio from the previous embedded Video on the timeline in front of the one I went to , start to play.

I have SoundMixer.stopAll();

on everybutton before I tell it to go anywhere. what to do to only get audio from the video clip in that section of the timeline to play.

View 0 Replies

ActionScript 2.0 :: Opening A New Window With The Flash Video Player?

Aug 2, 2009

I'm building a CDROM using Flash CS3 but with Actionscript 2.0. There are videos that need to open in a new window with a Flash video component (on click ) within Flash and not in the browser. Also with the option of opening full screen

View 6 Replies

ActionScript 1/2 :: Opening Video In Separate Flash File

Apr 20, 2010

I am currently designing a site for a client and I need to be able to have 2 separate flash files one with a video playlist in it and the other as a video player in a separate file. Is there a way to link the 2 files and make them interact with each other?

View 3 Replies

ActionScript 3.0 :: Starting And Stopping Video File That Is Attached To Augmented Reality?

Apr 17, 2009

I'm trying to do a little augmented reality. I'm using an action script to call a video and play it. The problem that I'm having is that the sound is starting the moment the window is open and the video plays with the marker is shown. I want the sound and video to only play when the marker is seen. I would like it to pause when the marker is removed and then resume where it left off when the marker is seen again. Here is a copy of my code if someone could look it over and tell me what I'm doing wrong. PLEASE PLEASE PLEASE just correct my mistake. I don't understand enough about coding for you to just say Netstream.pause() and netstream.resume. I don't know where to put that information in.

package { import flash.display.Sprite; import flash.events.Event; import flash.display.BitmapData; import flash.display.Loader; import flash.net.URLRequest; import flash.media.Video; import flash.net.NetConnection; import flash.net.NetStream;

[code]........

View 1 Replies

Professional :: Add A Contact Form To The End Of A Video?

Sep 15, 2010

I'm trying to add a contact form to the end of a video. I'm assuming this would be fairly simple with flash/AS, but I'm not incredibly accustomed to itI have some flash and AS experience, so I should be able to handle it.  But I would love a quick tutorial to point me in the right direction.

View 12 Replies

Media Server :: Send A Video That Receiving Form Fms B To Another Fms A In A Flash App?

Aug 1, 2010

will i be able to send a video what i'am receiving form fms B to another fms A in a flash app?And how?

View 4 Replies

Html :: Take Picture From Local Video Source And Submit Via PHP Form

Aug 9, 2010

How would I go about taking a picture from a video capture card or webcam? Should I use flash to do this? I want to submit the picture via a php form and upload it to my webserver and place a link to it in my MySQL database.Is there a flash app already built that I can use to perform this?

View 1 Replies

ActionScript 3.0 :: ScreenCasting - Capture Desktop In The Form Of Video With Voice?

Apr 29, 2010

how can we create a application that can capture screen in the form of video with voice or sound.how can it possible in flex their is no problem if we take help from java,red5 or fms or any other tool of adobe.

View 1 Replies







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