ActionScript 2.0 :: Can't Hear Sound Of MP3 File In Head Phone

Apr 22, 2009

var mySound:Sound = new Sound();
mySound.loadSound("http://192.168.0.121/work/vivek_php/fatima/myFavSong.mp3");
mySound.setVolume(20);
trace(mySound.id3);
mySound.start();
trace(mySound.position);

View 1 Replies


Similar Posts:


Professional :: Simple Sound Player - Visitor To Hear The Sound And Be Able To Apply Simple Controls?

Aug 1, 2011

Flash is not in my toolset, but I am an old Director jock and have spent some hours dipping my head into the Flash manual.  I suppose that makes me a promising beginner-level poster. I'm working in CS5.
 
I need to make a simple Flash-based sound player for a website for a newly-released novel (http://www.bearriverbooks.com/index.html).  I want the user to click on what appears to be an icon (or image), which kicks open a simple controller and starts playing a sound file (a radio interview, which I will probably export using Flash's voice compression).  Nothing fancy.  Just want the visitor to hear the sound and be able to apply simple controls (stop/start/rewind/volume).
 
I can learn ActionScript, I suppose, since I used to dream in Lingo, but my life would be a lot simpler if I could just publish a controller without having to roll my own.  I'd like to think there's a magic button somewhere that can do this, but I haven't found it yet.

View 4 Replies

Flash 10 :: Hear Sound While Scrubbing CS5?

Feb 16, 2012

having a really hard question I need answered. How do you hear sound while scrubbing in Flash CS5?

View 0 Replies

Professional :: Can't Hear Sound When Dragging On Timeline

Nov 8, 2010

I am trying to animate a character talking in CS3. What should I do to be able to hear the dialogue when I drag on the timeline? Currently I can't hear anything, but if I test the movie it plays fine.

View 9 Replies

User Cannot Hear Sound Effects When Window Is Not In Focus?

May 28, 2009

I have made a javascript/flash system to play sound effects on an AJAX-based game I have made. For some reason, on some systems (it appears to be just Firefox 3 on Windows XP), users can only hear the sound effects play while the window is in focus. If they minimize the window or are looking at a different window the sound effects don't play.

View 8 Replies

Media Server :: Unable To Hear Sound Which Is Published Along With The Video

Aug 11, 2010

I am developing video chat application. I am able to play published video stream. But I am unable to hear sound which is published along with the video. The video is visible but sound is not comming.What is going wrong.

View 7 Replies

ActionScript 1/2 :: Launch A Phone Call From A Flash SWF File?

Mar 16, 2009

if it is possible to launch a phone call from a Flash SWF File? If yes, is JavaScript involved ?

View 5 Replies

Professional :: Play The Local Flash File In Nexus One Smart Phone?

Aug 9, 2010

In Nexus one smart phone(android 2.2), the flash file in the web site is played by browser, But local flash file is not played. How to play the local flash file? Does not support local swf playing yet?

View 2 Replies

ActionScript 3.0 :: Play A Sound File And Show The Progress Of The Sound File Being Played

Mar 16, 2009

I have to play a sound file and show the progress of the sound file being played. I am using import flash.media.Sound; import flash.media.SoundChannel; But the PROGRESS event gives theprogress of loading of file. I want to know of much of the song has been played and how much more is left.

View 3 Replies

ActionScript 2.0 :: PHP File Is Not Picking The "phone" Variable Up?

Jul 20, 2004

i got this email form from flashkit and it works fine - i just need to add an extra field called phone number. Unfortunately the PHP file is not picking the "phone" variable up?

View 2 Replies

ActionScript 3.0 :: WAV File - New Sound.extract() Function To Get Two Seconds Of A Sound Into A ByteArray

Nov 11, 2009

I'm having some trouble getting the following code to work - trying to use the new Sound.extract() function to get two seconds of a Sound into a ByteArray, and then create a new bytearray with a WAV header, and then output the file. The resulting 'test.wav' file sounds very wrong although slightly recognisable? I think I may have some of the WAV header settings may be wrong but I'm not quite sure what's the matter and after a long time scratching

[Code]...

View 5 Replies

Actionscript 3 :: HTML: Start Sound Playback From URL Mid-file Without Buffering All Sound Data To That Point?

Nov 21, 2010

I have a long mp3 file hosted on a standard apache server (30 minutes long so far, but I would like it to work with longer sounds too).I'd like to start playback of this audio within at a specified point. When attempting to use Flash Actionscript 3, my basic tests show that ALL the audio from the start to the position I choose is buffered before playback (Sound.bytesLoaded was my friend here). If I start one second in, it takes about 3 seconds to start playback, 30 seconds in, takes about 25 secondsObviously with a really long mp3, like skipping playback to the middle of a 3-hour audiobook, this isn't going to be practical.Here's the ActionScript 3.0 code I'm using:

button.addEventListener(MouseEvent.MOUSE_DOWN, function():void {
var s:Sound = new Sound();
var req:URLRequest = new URLRequest("http://example.com/audio.mp3");

[code].....

View 1 Replies

ActionScript 3.0 :: Create Dynamic Sound To Play Sound-file?

Oct 14, 2009

It's possible to play a sound file through AS, either by loading it from a folder or import it to flash. It's also possible to play a dynamic tone with flash.media.Sound + writeFloat.

But... is it possible to play a sound file with flash.media.Sound + writeFloat in some way? I want to play a sound file without having to deal with any files except the .swf!

View 9 Replies

Professional :: Can Hear But Not See Linked Video

Jul 17, 2011

I can see and hear normally on youtube or some direct site. But if I try to veiw a youtube vid linked at some forum I can only hear the video and am unable to see it. I just upgraded to Windows 7 64 bit. The same thing happened on my laptop when I upgraded to Windows 7.

View 3 Replies

ActionScript 3.0 :: No Errrors But Cant Hear Keyboard?

Nov 29, 2010

My enterFrame works but onKeyDown gets nothin'can anyOne see it??

Code:
package
{

[code].....

View 8 Replies

ActionScript 3.0 :: Why Can't The Stage Hear The Mouse Up

Oct 22, 2011

import flash.events.MouseEvent;

stage.addEventListener(MouseEvent.MOUSE_DOWN, slider_over);
function slider_over(evtObj:MouseEvent){
//slider.startDrag();

[code]....

View 1 Replies

ActionScript 2.0 :: Exported Sounds, Can't Hear Them When Loaded?

Feb 17, 2005

I exported sounds into subMain.swf and when I publish the movie, and I tell them to start,they do. But, when I load subMain.swf into my main.swf and I tell them to start from there, they don't.

View 3 Replies

ActionScript 2.0 :: Exported Sounds Can't Hear Them When Loaded?

Feb 17, 2005

I exported sounds into subMain.swf and when I publish the movie, and I tell them to start, they do. But, when I load subMain.swf into my main.swf and I tell them to start from there, they don't.

View 3 Replies

ActionScript 2.0 :: Flash Audio Chat - Allow Other People To Hear What You Say?

Jun 25, 2005

I was searching around the internet for a way to talk to others without installing software like Skype. I found a site called DED Messenger which allows you, using flash, to talk with each other. Could someone here at Kirupa write a tutorial, following on from the earlier Microphone one to allow other people to hear what you say?

View 2 Replies

Android :: WebView - SWF Plays Can Hear Audio But Screen Blank

Jul 8, 2011

I am trying to display local flash swfs in the WebView. I have WebView set up and it will happily display local HTML files, but when I try to display Flash, the screen is blank. The flash file is running as I can hear the audio. I have noticed that most swf players from the android market suffer the same issue.

View 2 Replies

ActionScript 2.0 :: Cant Get Head Around One?

Jan 24, 2008

a standard view and a "full screen" view...by default the standard view loads and there is a button to switch to full screen...when the standard view loads to begin with...the exhibitor list on the left works fine with the booths in the floorplan....meaning when you click an exhibitor, the corresponding booth lights up...however, when you load the second swf...which loads to _level0 using the following cose loadMovie("standard-0.48.xml", _level0); the exhibitor list does not work quite the same...when I click on an exhibitor now, the color for the whole floorplan changes, and does not change back...and if you click the standard view button, it goes back to the standard view, but again when you click an exhibitor, the color of the whole plan changes...any idea how to fix this?

View 3 Replies

Media Server :: General Hardware Guidelines For Customers To Hear Permission-based Audio Stream

Oct 19, 2009

We're running a permission-based audio stream to be amplified through in-store sound systems, but are unsure about basic hardware requirements. What basic features must all hardware have to log into our server via username/password and receive audio signal?

View 4 Replies

ActionScript 3.0 :: Can't Get Head To Transition From AS2

Jun 9, 2010

I have movC_mc inside movB_mc inside movA_mc AS2 to access movC_mc from the my Actions layer in frame 1 in the root would be movA_mc.movB_mc.movC_ mc.My question is how can I target the movA_mc from the root of my .fla.[code]just can't get my head to transition from AS2 to AS3.

View 2 Replies

Attach A Sound To A .fla File That Starts To Play When The File Is Opened?

Sep 8, 2009

I would like to attach a sound to a .fla file that starts to play when the file is opened. I have created a button and would like to be able to use this button for a visitor to the site to mute the sound. So, I'm trying to accomplish two things, first attach a .wav file, then get the mute button to work.

View 1 Replies

ActionScript 3.0 :: Playing A Sound File And Graphic Positioning In The Same File

Dec 15, 2009

I have a problem that I have not found a syntax error or logic error to explain. It appears to be an obscure problem related to playing a sound file and graphic positioning in the same file. My next step is to look for any known bugs. I have posted the file at. URL] When the page loads you will see a list of selections. Do not click any of the html Play buttons In the graphic arrow pointing to the right is the play button click it and a default file will start. Click the pause button (which will be green while the selection plays) Then click the play button again. The knob that moves while the song plays, will begin moving from the position it was at the time pause was clicked.

Click the stop button (arrow facing left with vertical line at tip) Choose a selection from the html list by clicking the Play button next to it. Then click the play button in the player display. The title of selection will appear in the title area. repeat the original steps (play, pause, play) This time the knob that moves while song plays, snaps back to the start and moves from start, rather than from the pausedposition.

[Code]...

View 7 Replies

Actionscript 3 :: Use An Audio-file - Preload A Sound-file

Jan 21, 2011

I have AS3 project, made with FlashBuilder. I'm using MovieClips from an external .SWC-file. In a MovieClip from the .SWF-file, I want to use an audio-file. Is it possible to preload a sound-file (e.g. .MP3) in my FlashBuilder project, and access it in a MovieClip inside the .SWC?

View 1 Replies

ActionScript 3.0 :: Simple But Head Twisting 2d Array ?

Dec 8, 2008

Im having a small problem with a 2d array Ive been coding for sometime now previous to actionscript Ive programmed in Java and Ive always accessed 2d array elements in the following way

Myarray[column][row]
Column before Row
X before Y
Width before Height

Im working on a project where I want to pre declare array elements something I haven't had the need to do before and Im using the following syntax to achieve this

var myarray:Array = [[0,1,0],
[1,1,1],
[0,0,0]];

Im writing it this way so that its clear how the information will be seen on screen as the 1's in the array will be converted to images the 0' denote a absence of an image.The problem Ive got is in order to access these elements I have to write Myarray[row][column] And I would much prefer to access it column first Myarray[column][row] as its what im used to and its too head banging to change over.Is there anyway to declare the array how i am doing now ie

c c c
var myarray:Array = [ r [0,1,0],
r [1,1,1],
r [0,0,0]];

And then twist the array something like this (note! not code syntax just a visual representation)
c c c
[0 [1 [0 r
1 1 1 r
0] 0] 0] r

Is there a method in as3 to achieve this or does anybody know of any short simple code to do it with

View 2 Replies

Professional :: Playback Head Won't Move - No Error?

Feb 17, 2010

I don't really know how to describe this problem but I'm going to give it a try. I am working in Flash cs3 using as3. I have a project with 5 scenes and button nav to jump between them. When I test the project scene 1-4 play fine however when I get to scene 5 the playback head doesn't move, it just stays parked on frame 1 (button nav works, animation does not). When I re-arrange the stacking order of my scenes the same problem will occur in a different scene that had previously played fine. This issue only occurs when i test the whole movie - if I test any scene by itself it plays fine. I am not getting any AS errors which adds to the frustration

View 7 Replies

ActionScript 1/2 :: Tell Another Button To Send The Head Backwards?

Mar 5, 2011

As I use play(); in a button-script to send the timeline head forward in my mc animation, which is the simplest way to tell another button to send the head backwards?

View 5 Replies

ActionScript 3.0 :: Event Flow For Head-scratchers?

Mar 21, 2009

There's a lot of talk of how the new Event Flow makes for easier communication between classes.This sounds swell,but nowhere is it properly explained. Every example I find concerns dispatching events within the same class or looped through a customEvent, but I need a way to tap into this Event Flow for backward communication.I have a mainGUI document class that distributes my application subclasses.How do I set up a listener within mainGUI that gathers certain events from any of its children or grand-children? And how can I use this line to post object properties?

View 1 Replies







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