ActionScript 1/2 :: Getting Custom Dragger To Work On Audio Player

Aug 24, 2009

I am trying to get this dragger to work on the play head of my audio player. I get it to drag but when i let go it jumps back to the place it was before. You may need to change the sound file to get it to work but I have attached all other files needed to get it to work.

var XMLLoaded:XML = new XML();
XMLLoaded.ignoreWhite = true;
var timesLoaded:Number = 0;
this.createEmptyMovieClip("sound_mc", this.getNextHighestDepth);
var sound_mc:Sound = new Sound();
[Code] .....

Attachments: AudioPlayerOnline.zip (14.2 K)

View 3 Replies


Similar Posts:


ActionScript 2.0 :: Custom Text Scrollbar With Dragger

Feb 6, 2007

I am trying to make my own text scrollbar with dragger. I don't want up or down buttons just the dragger. I've done this so far...
Code:
var scrollHeight:Number = scrollTrack._height;
var ms:Number = newsText.maxscroll;
var left = scrollTrack._x;
var right = scrollTrack._x;
var top = scrollTrack._y;
[Code] .....
It scrolls till the end of text but not to the beginning....

View 1 Replies

ActionScript 3.0 :: Custom Dragger With TimerEvent. Drag From Original Position?

Apr 8, 2009

I prefer to build custom drag functions using the TimeEvent etc. Below I have some code where as when I click on a MovieClip it fires the imageStartDrag function which then begins the imageDrag function consecutively.Currently when I click and drag it moves the image fine, however it is snapping to the far left of the image.What I would like is to be able to click and drag so that the image drags from it's original point. My brain is a bit confused, what do I edit in 'imageLoader.x = mouseX;' to have it starting from it's original position and moving. (Note, I'm only testing with the X Axis atm, later it will use the Y Axis too.)

Code:
// Image StartDrag Handler.
private function imageStartDrag(e:MouseEvent):void {

[code]......

View 1 Replies

Flash :: Embed A Custom SWF Based Audio Player Into Facebook Wall Posts?

Nov 12, 2010

How to embed a custom SWF based audio player into facebook wall posts? I want to start posting mp3 links on my and other walls and at one point I saw someone do this and a mp3 player was embeded in facebook to play the audio. When I post a link all I get is the link people can click. How do I: 1. make a flash playable on the FB wall via the clickable play thumbnail. 2. Make a mp3 playanle on the FB wall via the mp3 player fb uses.

View 1 Replies

ActionScript 3.0 :: Stage Objects Prevent Scroll Dragger To Work

Jan 14, 2010

I created a custom scroll bar, you can see it here [URL] My scroll dragger is not working. First, I have removed all of my code except my scroll bar code and my scroll dragger still doesn't work. If I remove all of my stage elements and leave my custom scroll bar on the stage, the scroll dragger works. If I try to add an object back onto the stage the scroll dragger stops working. It doesn't seem to matter what object I add back to the stage. There are no compile errors or output errors to fix. I even created a new fla and I am getting the same issue. Adding movie clips from the library to the stage prevents the dragger from working. I am really puzzled by this. I am using Flash CS3. I have added a zip file of my fla.

View 3 Replies

Android :: Flash Player Doesn't Work When Setting A Custom User Agent In WebView

Jun 20, 2011

I am trying to use the Flash + Set the browser to a desktop agent on the Galaxy Tab.

mWebview.getSettings().setUserAgentString("Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.11) Gecko/20101019 Firefox/3.6.11");
mWebview.getSettings().setPluginsEnabled(true);

So the issues is, when the UserAgentString param is enabled, flash player wont load as many websites like Iplayer don't recognise the browser in the WebView.

This may be a bug in the Samsung browser. Anyone have any desktop agents that the WebView will accept whilst enabling flash?

View 1 Replies

Asp.net :: Skinnable Audio Player (or Something Similar To Windows Vista Audio Control In Task Bar) For The Web?

Mar 11, 2010

Anyone know of a skinnable audio player (or something similar to Windows Vista audio control in task bar) that i can embed in my website?

A player that can be customized to use a 'speaker' icon instead of a 'play' icon. When the speaker is clicked, the volume can be adjusted or turned off. The option of being able to autoplay and set the default volume level.

View 1 Replies

ActionScript 1/2 :: Audio To Not Play When Moved To New Position For Audio Player

Aug 25, 2009

I have an audio player that has a custom timeline and playhead. I am using a start and stop drag to move in the time line but the only way i can make it work is to have it play when ever I release the play head. I would like it to stay stopped if the player is paused and play if the player was playing.
 
[Code]...

View 5 Replies

Flash :: Audio Player That Can Play Binary Audio Streams?

Apr 13, 2011

My server is streaming binary audio data (mostly mp3 files) to a client (a browser). This client stores the audio data in memory.

What I'm looking for is a flash audio player that I can input the binary audio data so that it can play the audio file.

Preferably, the flash client is merely a bridge to Javascript so that I can handle everything in Javascript and simply use Flash's audio features, but this is not a requirement.

View 1 Replies

Html :: Flash Audio Player For M4a (AAC) Audio File Embedded?

May 15, 2007

I'm looking for a (free) flash player that I can embed in my site and use to play a .m4a (.mp4 with AAC audio) file that will be obtained using a URL (i.e. it's not local to the server hosting the web page).I've tried searching on google for one, but either I'm searching wrong or no one has made such a thing. Ideally this would be very simple (small user interface with play button and maybe a progress bar) and it would be easy to have multiple instances of on an html page (can create the player with an <object> tag).

View 7 Replies

IDE :: Progress Bar For An Audio Player Streaming Audio From Wowza Server?

Feb 24, 2011

I am new in action script 3.0. i am trying to build an audio player which will stream audio(mp3 etc.) from wowza media server. the player needs to have a play button, stop/pause button, a play progressbar and a volume scroll bar. i am using NetStream object to paly the audio

View 1 Replies

ActionScript 2.0 :: CS3 Flash Player 6 Code To Player 7 Causes Script Not To Work

Apr 29, 2010

I have a slight problem when publishing to Flash Player 7 but works perfectly in Flash Player 6, below is the code:[code]In short this creates a list where the values are kept in SharedObject.I need to use a WebService so I require Flash Player 7, as I said this works as expected in Flash Player 6, so maybe someone may know a pitfall or two when migrating code form 6 to 7?

View 1 Replies

MX My Audio Won't Work

May 14, 2009

Whenever I try to import any .wav, .mp3, or any other kind of file, it always says that there was a problem reading them.

View 2 Replies

ActionScript 3.0 :: Get Audio Into A Player?

Jul 31, 2009

Is there a script available that would allow me to pull audio from a server while still maintaing control of it with my buttons?

View 1 Replies

ActionScript 2.0 :: FLV Player With External Audio

Mar 2, 2009

I have a flv file which is in spanish and I want to show the original video but I need to play the audio file which is in english. The length of the video and the audio file is same but I need to mute the audio of the video file and play the external mp3 file instead of it. Also the files will be hosted on a server and so the Streaming should be done for the video and audio simultaneously.

View 2 Replies

ActionScript 3.0 :: Can't Add Audio Player Progress Bar

Jan 18, 2010

I'd like to add a progress bar to my flash audio player.Right now you press a button, a certain sound loads and then plays.[code]...

Why can't I access the properties of my Sound?

View 3 Replies

Flash Audio Player Fail

Jan 16, 2011

[url]...

Works just fine, but when I embed it into my page, it loads the video, but doesn't load the playlist / audio file as seen at[url]...[code]...

View 1 Replies

Flash Multitrack Audio Player?

Mar 21, 2010

when you are recording or mixing a band in multi track, you have the bass drum in its own track, the snare drum in its own track, the lead vocal in its own track... etc.So my idea is this. I want to make a Flash player that can reproduce 5.1 mp3 files through a regular stereo set and let the user be able to mute specific tracks on the go.

Why this? Becouse I won't use them as a regular 5.1 audio, which its function is to hear audio in surround sound. In this case, I will use each track to put a different instrument, so in one you have the drums, in other the bass, in other the guitar, in other vocals and in other keyboards.

He can for example mute the drums, or hear only the voice... etc.It would be even better if the flash interface can look as a mixer and that each track has its own mute and solo button, and a fader to controll the volume of that particular track.

View 4 Replies

Flex :: Swf Streaming Audio Player

Oct 23, 2010

i am New to flex.Can any one point me to a small piece of mxml code which plays audio files(mp3,wav.....) also which has the capabilities to pause, play, stop.... the audio file. Also this file would be embedded in a html file later on..

View 1 Replies

Actionscript 3 :: Flash Mp3 Audio Player?

Jul 6, 2011

I did an audio player using as3 and its working fine if run as using standalone player...If I embed in HTML..

View 1 Replies

ActionScript 3.0 :: Timer For Audio Player?

Aug 10, 2009

I've got an audio skin that's playing one .mp3 song, and I'd like there to be a total running timer so that the user knows how long they've got to go to the end. Everything is working but the timer--it just stays at "0:00". It's at the bottom of this script.I'm new to this, so nothing seems logical to me. I think it's in the last two lines. I'm just not hooking things up right.[code]...

View 2 Replies

ActionScript 2.0 :: Add Functionality To Audio Player?

Oct 18, 2010

So right now I have a pretty simple audio player, it loads up and plays using this [code]...

So my issue now is I need to add fast forward and rewind capabilities, my thought was to have it actuate a movie clip which say sets it back 5 seconds then has a few open frames to play a section of the song then loop back if still pressed and do another 5 seconds etc.

View 0 Replies

ActionScript 2.0 :: Convert Audio Player To Xml?

Aug 23, 2011

I'd really like to convert this audio player to load its info from an XML file.[url]...

View 4 Replies

ActionScript 2.0 :: XML MP3 Player, Fade Audio?

Apr 8, 2008

I have an XML MP3 player on my stage with a Play and Stop button. I was wondering how i'm able to add a fade to the audio once the Stop button is pressed instead of an immediate stop.

View 1 Replies

IDE :: Mute And Dragger Not Working Together?

Oct 11, 2009

My sound object (below) is working with my volume dragger, but not with the mute button as well. The mute button works without the dragger, but they don't work together.

Code:
t1 = new Sound();
t1.attachSound("mysound");
t1.start();

[Code]....

why does the sound not play when this SWF is externally loaded.

View 1 Replies

Flash Video And Audio Player With Playlist?

Jun 28, 2009

I'm looking for a flash video player and a flash audio player with playlist that I can customize.

View 2 Replies

ActionScript 3.0 :: Audio Player Song Duration

Jun 18, 2010

Im looking for a why to display the current time position of a song playing in an audio player in a dynamic text box. I know the soundChannel. position references the current point of the songs, but I need some conceptual help translating that to a string and 00:00 time format dynamic text box

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

Flash AS3 Audio Player Seems To Just Stop Working

Nov 16, 2011

So far my code stops the sound but once it has stopped the sound no longer works. I don't see any errors reported. It is as if the event listener no longer listens...
stop();
var soundClip:Sound = new Sound();
var sndChannel:SoundChannel = new SoundChannel();
var soundClipCompleted = false;
var isPlaying = false;
soundClip.load(new URLRequest("tune.mp3"));
[Code] .....

View 2 Replies

ActionScript 2.0 :: Make An Audio Player With A Track Bar?

Oct 15, 2009

I was curious as to how I can make an audio player with a track bar, play, pause, stop, and volume slider. Most of the tutorials or free download files I find don't have all of these features.

View 0 Replies







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