ActionScript 3.0 :: Swf Loading And Playing With Player?

Oct 31, 2011

function setPlayer(playerSwf:MovieClip,pathFile:String) {
playerSwf.sliderMc.width=0;
var swfLoader:Loader = new Loader();

[code].....

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Music Player - Create Four Different Sound Objects Since Later Songs Are Loading While The First Are Playing?

Apr 21, 2004

I've been messing with this for almost six hours now and am at the end of my wits. I need a flash mp3 player that follows the following guidelines:

*all encased within its own movie clip
*loads four different songs, one after the other (event)
*each song displays its own loader
*user scrolls through song selection and plays available (loaded) ones
*first song plays when loaded and continues to the others

any tips on where to go with this? do I create four different sound objects since later songs are loading while the first are playing?

View 5 Replies

Playing SWF Files In FLV Player?

May 14, 2009

I would like to know whether swf files can play in an FLV Player or not. If not possible, is there any option for developing an independent swf player. the technique that can be used to develop swf player.

View 5 Replies

ActionScript 3.0 :: Mp3 Player Not Playing On IE 6?

Jul 28, 2009

I am trying my hand at an MP3 player for a site we are developing.I have got to a stage where everything seems to be working fine except on IE 6 where the stop and pause button does not work.On my laptop I have IE 7 Flash CS3 and everything is fine with no errors. At work I have IE 6 and Flash CS3 but it does not work and Flash throughs an error.TypeError #1009 Cannot access a property or method of a null object reference.if I take out the line of code that says soundControl.stop(); it does not throw the error but then the music does not stop.

The other problem is i use length() to get the length of the song which gives you a length in millseconds which i divide by 1000 but the timer seems to take longer to get there as a result the music finishes before the timer [URL]Here is my code I have used flash reference and this website to get this far.

ActionScript Code:
var geton:Number;
var soundControl:SoundChannel;
var sound:Sound;

[code]....

View 0 Replies

Playing A Flash Movie On A DVD Player

Apr 29, 2009

We're currently creating a Flash presentation (just one movie really) which needs to play and loop on DVD players in retail outlets. It's basically going to be a series of JPEGs which animates between frames. What I need to know is: What is the best size (in pixel dimensions) to go for? How will this be affected by different TV sizes / ratios, such as widescreen vs. normal? We're planning on publishing the Flash movie as a .mov file and then burning this to a DVD. Does that sound a good idea?

View 1 Replies

Playing A Flash Movie On A DVD Player?

Jun 10, 2009

We're currently creating a Flash presentation (just one movie really) which needs to play and loop on DVD players in retail outlets.It's basically going to be a series of JPEGs which animates between frames.What I need to know is: What is the best size (in pixel dimensions) to go for?How will this be affected by different TV sizes / ratios, such as widescreen vs. normal?We're planning on publishing the Flash movie as a .mov file and then burning this to a DVD.

View 1 Replies

Playing FLV File On Webpage Without Player?

May 18, 2009

I need to play a FLV file on a web page, but I don't want it playing in a visible player. That is I don't want there to be the usual Play button and no frame. I want it to work and look much like this link: [URL]. It is similar to those infamous "Mac vs PC" videos which occasionally play on the home page of [URL]. My flash ability in this area is limited. (I'm a Joomla pro but not a flash pro.) Looking at the source code, I see various swf controller file links, and some javascript, I think.

I have no idea what is in the swf files that may or may not be making it all work. First of all I don't even know if it is possible for a FLV file to play above html and then disappear revealing the html when it is finished playing. I assume with the swf and javascript and divs this is possible, but am not sure.Ideally I would love the complete code if possible. Or links to where I can find out how to do it.

View 1 Replies

Playing Videos In Flash Player?

Jun 15, 2010

i am working on a project. my project needs videos tv( Playing videos flash player).my reference site is I need that type of flash player.

View 2 Replies

Fash :: Playing File On DVD Player?

Jun 27, 2010

I want to make my flash file to play on my dvd player. It has some scripted buttons on it, so it is important that this works, is it even possible to make a swf into a DVD format and then play it with scripted buttons?

View 1 Replies

ActionScript 2.0 :: FLV Player - Download Before Playing

Mar 12, 2010

my FLVPlayer's autoplay is set to false by default, until I press to play button. it works fine. only one problem. Even FLVPlayer is stopped, it start to download my movie, as I run my swf. How can I control downloading process? I don't want my FLVPlayer to start downloading my clip until i Press Start button

My flash version is: Flash 8, actionscript 2.0

PS. you can see that swf, entering [URL]

View 3 Replies

IDE :: Video Player Stops Playing Before The End?

Jul 6, 2009

I have a FLV player that stops playing right before the end of the video.

View 1 Replies

ActionScript 3.0 :: Audio From Flv Player Won't Stop Playing?

Nov 17, 2010

I have a swf loading in another swf that has a video player in it. When I remove the swf from the stage, the swf goes away but the audio from the swf keeps playing. Is there a way to tell that swf to stop playing from the parent swf?

View 7 Replies

ActionScript 3.0 :: Stop MP3 Player From Playing Automatically?

May 16, 2011

It is perfect, except that I'm not sure how to keep it from playing automatically. I tried removing the playSong() part under the loadSong function and it just removes the ability to play the song altogether. Here is the code:
 
import fl.controls.ComboBox;import fl.data.DataProvider;
///////////////////////////////////Variables/////////////////////////////////var song:Sound;var channel:SoundChannel;var xform:SoundTransform;var

[Code].....

View 7 Replies

ActionScript 3.0 :: Video Player Playing In Background?

Sep 15, 2011

I have a video player program, there is a list page and a player page, once you click on an item in the list it takes you to the player page and it loads the correct video from a streaming server for you, easy peasy When each item is picked it finds the corresponding item in an XML file and loads my video player source with the XML data url
 
function beginLoad():void {      this.addChild(videoPlayer)          videoPlayer.source = myXML.video[videoIndex].@url; }
 
(it has nothing to do with this function not happening on mouse event, this is only the part that happens when it loads)My issue is that if you are fast enough and click to return to the list page before the video has started playing, the video will play in the background, even though the code actually removes the video player child from the stage the code on the button to return to the list page is
 
function navToList(e:Event):void {      videoPlayer.stop();      videoPlayer.parent.removeChild(videoPlayer); }
 
there is more code in the button but none of it relates to the videoPlayer item why on earth it continues to play is beyond me, surely if there is no videoPlayer componen on the stage (and this is the only one) then the video has no ability to play whatsoever is there a specific command to tell the videoPlayer item to stop everything and just return to a blank state, do I set its 'source' to nothing?

View 1 Replies

ActionScript 2.0 :: Stop Auto-playing In Mp3 Player

Dec 8, 2010

I am using a free flash music player. It will be found here URL...When the player open, it starts music autoplay. But I do not want that. I want stoping auto play and when I will push PLAY button it will play music one after one.Optional: Is it possible to add an dancing Equalizer Bars during play time?[code]

View 5 Replies

ActionScript 2.0 :: MP3 Player - How To Prevent Auto Playing

Feb 19, 2010

So I did the tutorial and it works fantastically. However I don't want it to auto start and obviously it does, I thought if I took out playSong(); it would cease the autoplay but that doesn't work, and I took out playSong();} and that made the whole thing stop working, so what I'm wondering is how do I keep the mp3 player from auto playing, and also the variables in the tutorial were url, artist & track. What would be the proper procedure to add a 4th variable ?

Code:
Select all// Setup sound object
var s:Sound = new Sound();
s.onSoundComplete = playSong;
s.setVolume(75);
// Array of songs
var sa:Array = new Array();
// Currently playing song
var cps:Number = -1;
[Code] .....

View 4 Replies

ActionScript 3.0 :: FLV Player Stop Playing When Move To A Different Frame?

Mar 19, 2010

I'm trying to create a small flash website for a Uni project (I'm a music student but they want me to be able to make websites, go figure?) and I am having trouble getting a video to stop playing when i goto another frame. Im using the FLV player from Window>Componants and i have named it PubPlayer. I've tried setting its source to Null, Using .stop() and even setting its volume to 0 but everytime i goto another frame it keeps playing.Im gettingTypeError: Error #1009: Cannot access a property or method of a null object reference.at AlbumsEps_fla::MainTimeline/GoAlbum()My code is as followsQuote:

stop();
PubPlayer.source = "Machines.f4v";
function GoHome(event:MouseEvent):void {

[code].....

View 4 Replies

Flash :: Player Keeps Playing Audio After Leave Page?

May 31, 2009

I deployed a website a couple of days ago which is written entirely in Flash.  On one of the pages there is a video which plays in the Flash Player.  I have noticed that when I leave the video playing and select a button to take me to another page, the other page comes up but the audio keeps playing from the prior page. Worse yet, if I go back to the page with the Flash Player, it now relaods again and there are two audio tracks.  Can someone tell me how this code is solved?  There must be some Actionscript 3.0, which I'm using, which kills the player whenever you enter a different page? 

View 1 Replies

Professional :: Flash Player Stuck Playing Only 1 Video?

Mar 17, 2010

A few months ago I viewed an SWF file (original.swf). Ever since, if I double click to launch a different SWF, it always and only plays original.swf. I've tried restarting, reinstalling... but with no luck. Why did it "stick" on this video

View 2 Replies

Flex :: Animation Player ( Playing Movies That Are Swf Files )?

Jun 9, 2010

i am looking for a flash/flex component that plays movies that are not .flv but .swf with controllers such as fast forward, stop, play and a timeline.I have a flv player which does the same but some movies I don't want to play bitmap movies but vector for quality reasons ( as movieclips )

View 2 Replies

Flash :: Stop Playing Mp3 From Another Player Instance Of Flash_mp3_player?

Mar 14, 2011

I need to put multiple mp3 players on my webpage so I downloaded the player at [URL]. I am using both the mini and the multi version...so when the mini starts playing, I want multi to shutup.

I thought the best way would be to modify the flash file to use localConnection and fire the stop function but I can't access the stop function at all...my code is like this

IN THE MINI templateA class:

public function playRelease()
{
trace("playing clicked....test");
var talkingLC:LocalConnection = new LocalConnection();

[Code]....

View 1 Replies

JavaScript :: Playing MP3 In Flash Player With Full Controls?

May 20, 2011

I want to play song on my website, any flash mp3 player which allows me to control play, pause, change song position (means backward/forward by certain limit), change volume options using javascript code.

View 1 Replies

Flash Player Not Playing External Flv File In IE And Chrome?

Aug 27, 2011

I am trying to play an FLV file in a flash player but it is not working in IE9 and Chrome. Works in firefox though.url...Theres 2 videos in the above linked page. One uses a simple flash player while the other uses JW player.Both give a "video not found" error in IE9 and Chrome. Both work in Firefox 5 though.(the link to the flv file is given as text on the page)

View 1 Replies

Javascript :: Playing WAV / MP3 / MP4 And SWF Formats Using Flash Player In Web Browser?

Dec 15, 2011

I need to play WAV, MP3, MP4 and SWF files using Flash Player plug-in in Internet Explorer, FireFox, Chrome and Safari. Please give some suggestions on this.Is there any way to play this formats using JavaScript and HTML??I tried with and tag also but, Chrome, Firefox and Safari is required Quick Time Player to play this formats. I need to use only Flash Player.

View 1 Replies

ActionScript 2.0 :: MP3 Player - Start Playing Music On Click

Sep 16, 2009

I followed the tutorial about making your own mp3player but I don't want the music to start directly I want it to start after I clicked on play ...
Code:
// Setup sound object
var s:Sound = new Sound();
s.onSoundComplete = playSong;
s.setVolume(75);
[Code] .....

View 0 Replies

ActionScript 3.0 :: Audio Player Not Playing In Symfony Framework?

May 25, 2010

i've used my audio player before and it's working perfectly fine.

we shift to symfony framework and i just put the player on in but it won't work?

Code:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="430" height="21" id="musicplayer"

[Code]....

View 3 Replies

ActionScript 3.0 :: Show Thumbnail When Video Player Is Not Playing?

Aug 3, 2010

I have a video player which using netStream, works well but i want to show video thumbnail when video player is not playing and stop from playing?

View 9 Replies

ActionScript 3.0 :: MP3 Player - Trigger Event When Track Finish Playing

Feb 2, 2010

I'm working on an mp3 player. I want to trigger an event when the track finishes playing. I've created a function that will just trace a statement so that I know the event listener is working, but I can't seem to get it to trigger. Here is the playSong function in which the code is used:

Code:
function playSong(mySong:Number):void {
var myURL = my_songs[mySong].@URL;
playingTra = mySong;
current_song = mySong;
my_sound = new Sound();
[Code] .....

I tried to add in the following lines, but that instead institutes some playback issues:
Code:
if (my_channel){
my_channel.stop();
my_channel.removeEventListener(Event.SOUND_COMPLETE, stuff);
}

View 3 Replies

ActionScript 2.0 :: Stop Music Playing In Audio Player Automatically?

Jun 20, 2010

I'm by no means up on my AS at all and this MP3 player I've had for a while and just readjusted to suit my needs.

One thing i really want to change is the fact the music starts automatically. I changed line 38 from True to False which does indeed stop the music playing on load but instead i get "Loading" and it doesn't do anything after that. Hitting play won't work.[code]...

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







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