ActionScript 3.0 :: Play Multiple Videos (all On Xml File) To Play On Button Action?

Jul 14, 2011

I am trying to make a swf with one FLV playback player and 6 buttons. I've got 6 different videofiles that I want to have linked to this swf. Some of the videos are quit large.When starting the Swf, the first video has to start, after playing it, it has to stop. Then you must be able to choose which video to play by clicking one of the buttons. I don't want to have small thumbnails of the video, just plain and simple buttons.I have to have all my files, both fla, swf and xml files in the same directory (I cannot have them stored in different folders, since I have to upload this to a cms system which has limited upload properties).
 
I've tried to find the right script on the internet, I'm not very good at scripting myselve, actually rather poor educated there.It seems to me that I have to make an xml file with a list of all my videos, I have my default swf ready, with a FLVplayback and buttons.Now there's just the coding part....

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Multiple Videos To Play With Multiple Buttons?

Feb 4, 2010

I am creating a stand alone DVD to be used with Flash player. I am wanting to add different videos that play with different buttons. The following is the code I have for the video to play when the corresponding button is clicked..... My problem is how do I get that video to "leave" and stop playing when another button is pushed to play a different video.
 
Educators_btn.addEventListener(MouseEvent.CLICK,clickEducators);
function clickEducators(evtObj:MouseEvent)
{
gotoAndStop("OE")

[code]....

View 2 Replies

C++ :: Play Hd Videos In Multiple Monitors?

Nov 5, 2011

I'm looking for a solution to play HD videos on a multimonitor OSX environment for a projector/desktop application. It could be one huge video, or a video split in parts.So far I've been using Flash StageVideo successfully to play 1080p and 720p on single monitors. This works great with flash projectors. The problem with flash projectors is you can't span multiple monitors, or multiple windows. I still haven't tried opening multiple projectors, because I wouldn't know how to position each projector in a different monitor consistently.

In Adobe AIR you can have multiple windows and control their position, but AFAIK you can't use StageVideo to decode videos with the GPU... and using the classic Video class is really out of the question.

With C++ there are multiple frameworks (cinder/openFrameworks) but AFAIK opening multiple windows, or spaning multiple monitors is not such a good idea because of bad performance. I stil haven't figured out if it's possible or even a good idea to open one app per monitor and control it's position.

View 1 Replies

ActionScript 3.0 :: Play Multiple MovieClips Videos In Sequence?

Nov 3, 2009

I've multiple videos stored as MovieClip objects and would like to merge them into a single MovieClip video object in order to play all of them in sequence (so that a user thinks it's a single longer video).

View 7 Replies

Media Server :: Play Multiple Videos In Sync?

Jul 20, 2011

I need to build a website which shows multiple instruments in a band, being played in sync.  Each camera/video block is a different instrument, and played together, they constitute an entire band.  I have been searching high and low for ways to do this, and it definitely appears that HTML5 is out.  It looks like standard FLV progressive download is out, too, because it's impossible to get 4-8 videos to sync perfectly.
 
I see on the FMS page that it has some abilities in synching.  How would one (conceptually) go about making a webpage where say 4-8 videos begin to buffer, then when ready, play in sync?  And they would also need to, when the location is changed, all sync to that location and rebuffer. 
 
The objective is so that the user can mute/solo each video's audio, to remove an instrument(s) from the "mix" at any time.An alternative way of doing this, I think, would be to just put the 4-8 videos together in video editing, and encode this into one video, but have each video's audio track be a separate audio channel.  If FMS can do multichannel audio on one video, this might work, if it could mix them in/out individually, as the user requires.

View 13 Replies

.net :: Choosing Right Way To Support Multiple Players To Play Videos

Aug 26, 2010

I am working on a project where i need to support multiple players and platforms to play videos. Major Platforms will be: Windows PC,Mac PC,Apple Devices and Android. This is the precedence i will be following. First it will check browser support for Silverlight 3 or later then Flash then HTML5. If not any one of them is supported user will be asked to installed Silverlight. I wanted to know which pattern and strategy i should use in order to support this functionality. Currently i have investigated about some javascript api that can do this detection on client side easily and load the player appropriately.. but as many of browser could be without javascript support so this method will fails to play videos. Is there any way I can do this detection on server side and inject proper Player HTML on client end?

View 2 Replies

Professional :: Play Multiple Videos Simultaneously With A Single Control Bar?

Aug 17, 2010

I have 4 live f4vs that I'm using with interactive server 3.5.  Thus they are running in dvr.  I'm trying to find a way to control all 4 videos so that when you go back on one video all 4 videos go back to the same time.  This is very important with camera 4 as it is the only one with sound.I have tried putting all 4 videos in one swf file and I have tried putting each video as its own swf. 

View 11 Replies

Open Source Flash PLayer That Will Play Multiple Videos?

Jan 6, 2011

I'm completely new to Flash and actionscript, so please bare with me. But I'm in a bind, so I thought I'd give this a shot.I'm needing to play a commercial before playing an actual video on my company's website. Once the commercials ends, I'd like for the video to start automatically. Is there an open souce (free) flash player that will let me do this?I've watched a tutorial on how to do so, but when I try to make it work with a player, it never works.

View 1 Replies

ActionScript 3.0 :: Play / Stop Button - Current Audio File To Play The Next One

Feb 27, 2012

I have created two buttons for separate audio files. Essentially if you click on the button it will play and stop. This works great! I have also injected a SoundMixer.stopAll(); to ensure if you click between both buttons that it will stop the current audio file to play the next one. My problem is when I select the 2nd button for the first time everything seems to be working...it's when I attempt to click on the first button again, that it will require 2 clicks and then it stops and plays accordingly...anyone know how I could eliminate this annoying two click process?

[Code]...

View 1 Replies

Play Videos In Flash File After Moving SWF File To Website?

Oct 8, 2009

I am having some problems showing my videos in flash after moving it anywhere besides my computer.
 
I published my flash file once as a exe. file and sent it to another computer, where it all worked but my videos, which didn't show up at all.
 
I also published them as SWF files, then put them up on my free website (where i don't have access to the ftp) and the videos still aren't there.
 
The videos will play fine in an SWF file on my computer, but i am assuming when they are away from the videos, they don't have a source to access them.
 
I also tried sending the videos along with the SWF files when sending to other computers and it still doesn't work.
 
I now have a free hosted website (with wix.com if that makes any difference) with my flash work on, but no videos. I even tried to embed a youtube video into the scenes the videos are meant to appear, and put the videos on youtube, then i discovered you can't put that sort of HTML into flash.
 
how to show the videos on these sort of website, or even better, how to keep them in original file when sending them, so they show on other computers.

View 2 Replies

ActionScript 2.0 :: CS4 Play Check For Key / Play At End Execute Action

Apr 6, 2011

Root timeline: keyframe 1, keyframe 2, etc...

-keyframe 1 has a MC "frist MC"
-keyframe 2 has a MC "second MC", etc.
-the MCs are all duplicates containing different animation, but have the same AS inside them.

The construction of the MC is:Play intro animation -> Stop and wait for key stroke. If key is "space" set variable value to 1, if else set variable value to 0, then continue to play next frame. -> Complete the animation till the last frame.In the last frame check what is the value of the variable to check which key was been hit. If it was a space (var =1) go to root and play current frame +1 (go forward), Else, go to root and play current frame -1 (go back)Its a kind of slideshow.so heres the code in the middle, after the intro animation was played:[code] The problem with var reverse is, it works well in the first frame, its beign filled with value depending on what key is being hit, But in the last frame, when the time comes to check the value, trace says its "undefined".I have tried setting up a _global.variablename = reverse and it works in both frames (the check at the end is succesful, it detects the given value), but still the last frame only plays the currentframe -1 as if always executing the "else" command, no matter what the value of var reverse is.

View 1 Replies

ActionScript 3.0 :: Deactivate The Action Lapalm.play(); On The Button

Jul 12, 2011

I would like to desactivate my buttons bt01 bt02 bt03 I take an example with button bt01. When you roll over bt01 you can see lapalm but when you roll out bt01 and after you directly roll over bt01 again (without rolling over bt02 or bt03 before) I would like to desactivate the action lapalm.play();on the button bt01 (I don t want that la palm play again)

[Code]....

View 4 Replies

IDE :: Play Music File Once Only On Click Of Play Button Until Music Stops

May 1, 2009

Using Macromedia Flash Professional 8.

I have a website banner made in Flash. I have added a music file to it and Play and Stop buttons. I also have a Replay button to replay the banner animation once it stops.

I have put the music on a separate frame so that it will not play automatically when the banner loads. I have made the Play button direct to the frame the music is located at so that when clicked, it will go to that frame and play the music file.

The problem I am currently having is that if I click the Play button more than once, it will play the music file again on top of the current play-through.

So if I click Play, the music will play. Then if I click it again, the music will play again, but on top of the first instance of the music, so two instances of it will now be playing and it sounds horrible.

I would like to make it so that if you click Play when the music is playing, it will not play the music again until the music has stopped.

View 6 Replies

ActionScript 2.0 :: Add A Play Button, So The Gallery Would Play The Pictures OnRelease Of The Button At Interval?

Jun 23, 2006

I'm building a photogallery base on this tutorial http:[url]....I'm trying to add a play button, so the gallery would play the pictures onRelease of the button at interval of 3s.It's not working. my code is:

playBTN.onPress = function() {
this._alpha = 50;
setInterval(this, "nextImage", 3000, 1);[code]....

View 5 Replies

Actionscript 2.0 :: Multiple Mp3 Players - Stop Button , Pause Button When Choose A Song The Previously That Play Will Be Muted

May 8, 2010

i started with a Multiple mp3 players project and i more complicated with that - as you see in the picture i try to do that when click on the play button for every song this switch the song that selected -first preloading + percentage the mp3 file and after play it immediately and of course there is stop button, pause button when choose a song the previously that play will be muted

View 4 Replies

Play Sound File Across Multiple Scenes / Movies?

Jan 18, 2010

Most of my flash movies have been reasonable sizes, but the one I'm working on now is kind of a beast. It's up against the 16000 frame limit, so I'm looking into ways to chop it up. The problem is that I need a way to keep my background music playing across multiple scenes or movies. Is there a way to start a sound file in one movie, and have it continue when another scene is loaded or when a second movie file is loaded with ActionScript?

View 3 Replies

Flash :: Play Multiple Flv File In Single Swf Object?

Dec 2, 2009

I have one swf object in my site.

I have to read data from database and after fetching data of video names,

I need to play those video in single swf object one by one, means after completion of first video second video will start.

View 3 Replies

ActionScript 1/2 :: Button Sounds In Play Scenes But Not In Play Movie

Oct 11, 2009

I have five different scenes all including three different buttons. When I test the buttons in "play scene" - all buttons sounds correctly in all scenes. But when I play movie, there is sound only with one button (the same button in every scene). I have looked for differences, but this button seem to have all the same parameters as the others.

View 10 Replies

.swf Videos Do Not Play?

Sep 21, 2009

If I create a .swf video and then embed it in my webiste the video doesn't play. The placeholder for the flash player is blank on the screen. But if I load a .swf file that is a slideshow or has animation then it plays in the flash player just fine. I am creating in an ASP.net environment using Visual Studio 2008. I have tried everything. I've published using Flash CS4, I've tried using the SWFObject, I ve tried javascript and its all the same. Videos just don't play but any other .swf file will.

View 2 Replies

Can't Play Mp4 Videos After Reinstall?

Nov 24, 2009

I had to reinstall my flash cs3. I have downloaded all the updates. But applications I made prior to my reinstall that were playing mp4 videos will no longer work. I keep getting an error in the output window:VideoError: 1005: Invalid xml: URL: "dave boushey video reel_1mb_768k.mp4" No root node found; if url is for an flv it must have .flv extension and take no parametersat

fl.video::SMILManager/http://www.adobe.com/2007/flash/flvplayback/internal::xmlLoadEventHandler()
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()

[code].....

View 2 Replies

ActionScript 3.0 :: Play An Mp3 File Using NetStream.play?

Mar 23, 2010

I have a "movie player" that plays flv files using the code below (videoToPlay is the name of the file to play and is just a string). I want to use the same setup to play an mp3 file also.I tried using mySound = new Sound(); and then mySound.attachNetStream(ns);, but it gives me this error: 1061: Call to a possibly undefined method attachNetStream through a reference with static type flash.media:Sound.

View 5 Replies

ActionScript 2.0 :: CS3: Play Videos Randomly?

Sep 9, 2009

how to play videos randomly? For example, if I have 5 videos in a flash file, how can I make the player play the 5 videos randomly on every page refresh?

View 3 Replies

ActionScript 3.0 :: Play Videos Using Querystring?

Aug 31, 2010

I have created a loading video that plays on top of the main FLV until it is done buffering and then disappears. This should be straight forward, however, it does not work for me.[code]...

View 17 Replies

Uses Buttons To Play A Series Of Videos

Nov 24, 2009

I have a file that uses buttons to play a series of videos. I want to have the button for the currently playing video to stay in the 'down' state while it plays but I don't know how to do it.

View 4 Replies

Media Server :: Some Videos Won't Play?

Jan 26, 2010

So, I've got my videos set up on the server structure right. I've got them referenced properly in the Flash playback component.But some of the videos on the server stream and some don't.The ones that don't still show up as connections in the Administrator, though

View 5 Replies

ActionScript 3.0 :: Play 2 Or More Swf Videos Consecutively?

May 9, 2010

how I can use ActionScript to play 2 or more swf videos consecutively; specifically in Macromedia Flash.

View 3 Replies

ActionScript 3.0 :: Play Youtube Videos From My Player Using It?

Oct 11, 2009

I have created my FLV player. It plays FLV files by giving it the path of the FLV flile.

I'd like to play youtube videos within it by giving it the the URL of the video.

View 1 Replies

Php :: Upload,play And Store Videos In A Better Way On Website?

Jul 15, 2010

i am trying to making(just for knowledge purpose) a website similar to "you tube" and i am

using LAMP(linux+apache+php+mysql).

so please guide me on these topics(please keep in mind that the website is a high traffic.web site like you tube):

1.i am taking video uploads from user using a simple form like:

[Code]...

View 1 Replies

Html :: Getting Videos To Play Seamlessly On A Webpage?

Oct 30, 2010

I have a mov file that's 157 megabytes. I try running it on my page within a javascript scroller animation and the animation is very choppy and in fact I used css to simulate a mask but the thing doesn't get masked, probably do to the sluggishness of whole page, the page never fully loads, and the movie file makes it nearly impossible to scroll through the page. The file is just too huge. I currently have it embedded as such:

<a href="#">
<object class="im" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="286" width="655">
<param name="src" value="why_eating_dry_fruit_is_unhealthy.MOV">

[code]....

1) Should I convert the mov to swf - that is, is swf a more compatible and appropriate format for seamless integration in html web page?

2) Whichever I choose, how do I reduce the file size - like on youtube where the videos run seamlessly? I plan on using javascript to scroll through a gallery of videos, so I need the videos to not bog down the page.

3) Also, a lot of sites with galleries of videos have an icon that indicates "click to play". Is that part of the video itself or can I just create an image and then when clicked on, the video plays?

I do have Adobe Flash CS4 Professional, if that matters. And if mov file is more suitable, then how can I reduce its file size?

View 1 Replies

Php :: Play Mp4 Videos In E.g. Flowplayer In Real-time

Apr 8, 2011

How to play mp4 videos in e.g. flowplayer in real-time (streaming) - without downloading it fully first?

View 2 Replies







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