FLV interferes with sound object
hey anybody out there know why my FLV component gets messed
up when the stop button for my backround sound is clicked? The
background sound is attached and has a stop and play button.(works
fine on it's own) The FLV is a completely diffrent entity that has
no connection to the background sound yet gets stopped everytime i
click the stop button for the background sound. It's weird...could
some mister smart in his pants please tell me whats going
on?
blurrymurry wrote:
> your right !
> thanks flashtard your the tardiest!
> I thought the variable name was good enough, but forgot
to include the linkage
> id in the stop button. so that it would only stop the
specified sound.
> So much to learn
> Hey how does one go about becoming a news group member
so that other forum
> users think I'm cool. Is there a point in this or do
they just get mad at all
> the newbie questions?
In regards to News Group users.
The news server was the very first thing set up almost decade
ago by macromedia
for all their products as user-to-user support. Web based
forum is a very new
addition and it's not properly synchronized. Many of use
remain using news server
because it's much faster to load the messages, there are no
pages to flip through,
all the topic and replies follow by the order they appear and
generally, it's much
faster to search the forum than using the web based interface
and lots and
lots more pros in using that. Not all users however have the
access to news servers
so the web based forum is to allow anyone to get help when
comes to Adobe/Macromedia
tools.
If you run programs like Outlook or Thunderbird (like myself
here) for you emails, you
can easily add/access the news server by setting up new
Newsgroup Account.
The server is forums.macromedia.com , once you there you can
get list of all the other
servers and subscribe to any one you need.
Best Regards
Urami
!!!!!!! Merry Christmas !!!!!!!
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami>
Similar Messages
-
How can I play a flv file, stored on my file system
(C:\Program Files\Macromedia\Flash Media Server
2\applications\my_app\streams\_definst_\File1.flv) play with the
Sound object?
Any help greatly appreciated.blurrymurry wrote:
> your right !
> thanks flashtard your the tardiest!
> I thought the variable name was good enough, but forgot
to include the linkage
> id in the stop button. so that it would only stop the
specified sound.
> So much to learn
> Hey how does one go about becoming a news group member
so that other forum
> users think I'm cool. Is there a point in this or do
they just get mad at all
> the newbie questions?
In regards to News Group users.
The news server was the very first thing set up almost decade
ago by macromedia
for all their products as user-to-user support. Web based
forum is a very new
addition and it's not properly synchronized. Many of use
remain using news server
because it's much faster to load the messages, there are no
pages to flip through,
all the topic and replies follow by the order they appear and
generally, it's much
faster to search the forum than using the web based interface
and lots and
lots more pros in using that. Not all users however have the
access to news servers
so the web based forum is to allow anyone to get help when
comes to Adobe/Macromedia
tools.
If you run programs like Outlook or Thunderbird (like myself
here) for you emails, you
can easily add/access the news server by setting up new
Newsgroup Account.
The server is forums.macromedia.com , once you there you can
get list of all the other
servers and subscribe to any one you need.
Best Regards
Urami
!!!!!!! Merry Christmas !!!!!!!
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami> -
(MX04) Pausing a loaded swf with sound objects within it
Hi,
I'm working on a PowerPoint-esque presentation where a user
watches and listens to a loaded swf in the main movie, clicks the
next button (which unloads the swf, advances to the next frame and
loads the next swf), and watches the next one. Lather, rinse,
repeat. Some of the sections are rather long, and I'd like to give
the user the ability to pause and play by button click.
I know how to stop and start the container MC, but that
doesn't stop the sound object (and the embedded MCs). I also know
how to pause and start a sound object using the object's instance
name. Is there a way to pause everything from the main timeline,
and keep the AS general enough so that any sound object pauses when
clicked?
Any help is most appreciated! MX04 and AS2.0.
Thanks!Kglad,
I tried your code and ran into some problems with stopping
the mc's, as the embedded mc's within the loaded swf need to stop
as well. I found the attached code to stop the mc's, but now am
having trouble with the sound objects.
Here's the issue, I used this:
this.soundPosition = currentMovie.loop1.position/1000;
this.currentMovie.loop1.stop();
... for the sound object stop commands and listed a new one
for each loop I was using. On the play button I started them back
up again. This all works, but when I start them up again they all
play, not just the one that is currently paused. Do you mind giving
me some guidance with the for (obj in mc) loop? My loop experience
is nil. What I want to do is have the code cycle through all of the
loops to see which one is playing, then store that information in a
variable, then pause and play the variable. Does that sound right?
Thanks again for the help!
-Sandy -
Out of memmory with Sound object
Hello,
I have 2k+ of mp3 files and i need form playlist based on id3 tags. When i create air.Sound object in JS I run load() method and get ID3 tags in COMPLETE event handler. After that i create new Sound object for next file and all looks fine but near 900 file I get Out of memmory error. Whats wrong?
Before create new object I set old variable value to NULL.Below is my basic code. I can convert it into something even more bare if needed. Basically I scan the hard drive for mp3 and AAC's, then pass the file object to this class to get the id3 tags. I've tried deleting sound, setting it to null, but no matter what I seem to have the song sticking in memory. It seems to be about 8MB of RAM for each sound object opened.
NX.Sound = Class.create(,
getId3Object: function(file, onComplete){
var urlRequest = new air.URLRequest(file.url);
var soundLoaderContext = new air.SoundLoaderContext(0, false);
var sound = new air.Sound();
sound.addEventListener(air.Event.ID3, function(e){
var id3 = air.Sound(e.currentTarget).id3;
id3.path = file.url;
id3.title = id3.TIT2;
id3.artist = id3.TPE1;
sound.close();
onComplete(id3);
sound.load(urlRequest, soundLoaderContext); -
Trackpad interfereing with sound in windows 7 beta
when im playing music in itunes, it starts playing but when i go to use my trackpad to go on the web or something the music stops and i cant move the cursor easily. if i connect my wireless logitech mouse and do the same thing with that it works fine
I have found a solution that is working for me in Windows Vista Ultimate.
1st: Uninstall the trackpad's drivers in Device Manager. It will be under HUMAN INTERFACE DEVICES. Uninstall both the Apple Multitouch and Apple Multitouch Mouse deleting the drivers as well.
2nd: Get your Macbook Install DVD and browse the DVD. Go to Boot Camp\Drivers\Apple and install both "AppleMultiTouchTrackPadInstaller.exe" and "AppleTrackpadInstaller.exe".
3rd: Restart your computer after installation
4th: Upon restart go to Device Manager again and enable both the Apple Multitouch and Apple Multitouch Mouse devices and you have a working trackpad again but this time, it will not interfere with any media playing applications.
I hope this helps. -
Sound objects in loaded swfs not playing
I'm working in ActionScript 2. I have a series of swfs with Sound objects. Works just fine when I play the swf. However, when I load them into a loader, no sound. HELP!!!
when you instantiate your sound, instead of using something like:
var s:Sound=new Sound()
use
var s:Sound=new Sount(this); -
Hi All,
I'm working with sound object. I want to pause the sound. By
clicking on pause btn, I'm storing the sound position in a variable
e.g:
_root.soundPos = _root.mySound.position;
but when I click the play btn, sound is not playing, I have
written following code on play btn :-
_root.mySound.start(_root.soundPos,99999);
If I write following code, sound starts to play but not from
the given position, it starts from 0 .
_root.mySound.start(eval(_root.soundPos),99999);
Plz. help me and let me know where I'm doing wrong.
Thanks
Harmeetyou moved your embedding html's location or you move your
mp3's location. -
Cache refresh of single object interferes with normal message processing
Hi
When we do an update of an object in Integration Directory and activate change list AND a message (from a different scenario) is processed through Integration Engine at the same time, the message fails with "No RFC authorization for user <USER>" + "Error while refreshing the XI runtime cache".
I know that a full cache refresh could cause these issues (and is not recommended) as the cache is cleared and "fresh" objects are entered, but is this also the case when updating the cache with single objects? I have never seen this before...
We are on PI 7.3
regards OleFound note 1337797 + http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/18180...just [original link is broken] [original link is broken] [original link is broken] [original link is broken] haven't noticed before.
-
How do I know when a file loaded into a Sound object is invalid?
I'm writing an app that allows the user to play various sound files.
Some of these files are mp3, but some may also be ogg, wma, etc. The selection is out of my control, so I need the sound API to tell me if it can't play something.
To test, I loaded some test files into a sound object like so:
var urlRequest:URLRequest = new URLRequest("http://support.microsoft.com/support/MediaPlayer/wmptest/samples/new/mediaexample.wma");
var sound:Sound = new Sound();
var soundChannel:SoundChannel = sound.play();
Even though Flex doesn't play wma's there is no error information or null objects anywhere. Everthings seems to be fine to flex, I can even register for progress events and see the wma being loaded.
Just to see how far this goes, I loaded a gif instead of an audio file and the same thing happened. Progress went fine with no errors of any kind even though I registered for every listed event. As expected though, no sound played from the gif file.
What is the recommended way for checking if a file is not playable?I'm looking more for an "is it playable" value (since it might be an FLA or FLV as well).
Even a meaningful length value would work (for some reason duration is set to a value even when loading a gif file - not sure what it means for a GIF to have a length of 96 milliseconds).
For now I'll have to filter on extension as you mentioned. -
I'm using Flash CS3, running code in ActionScript 3.
I use the Loader class to load a child SWF file, which then
takes over the entire area on my website that is reserved for
Flash. If the user decides to stop watching the SWF file before it
is completed, he hits the "close" button within the child SWF,
ultimately causing the Loader.unload() method to be executed. So
far, so good, only the sound from the remaining portion of the SWF
file keeps playing. According to the Flash Docs for the
Loader.unload() method:
"As a best practice, before you unload a child SWF file, you
should explicitly close any streams in the child SWF file's
objects, such as LocalConnection, NetConnection, NetStream, and
Sound objects. Otherwise, audio in the child SWF file might
continue to play, even though the child SWF file was unloaded."
It then gives an example that assumes you already have access
to the Sound object, so closing the Sound object is done by:
mySound.close();
The only problem is that I have no idea how to access the
Sound object when I use the Loader.load() method. Where is this
beast? I can't seem to find anything in the documentation that
tells me how to find the Sound object after calling Loader.load().
As a temporary fix, I modified the target SWF file so that when the
"close" button is hit, it calls the "stop()" function; however,
this only stops the sound, it does not close the associated Sound
object, and I presume it continues to lurk around in memory with
nothing useful to do. (When the user hits the "close" button in the
child SWF file, it creates a "bubbling" event so that the Loader
class can call the Loader.unload() method on it.)
I've attached code for your reference.
Any help is deeply appreciated!
-DanAck! Looks like I hijacked this thread, sorry.
I'm doing almost exactly the same thing the OP is doing...
Loader class to load an external SWF (which is a video file FLV).
If the user hits the "close" button on the video, the video goes
away as it should but the audio continues.
I understand that I need to close any NetConnection and
NetStream objects in addition to unloading the movie. What I don't
understand is how to do that. I'm sure that it's a syntax thing I'm
just not getting right. I would just really like a more detailed
explanation of stopping NetConnections and NetStreams (but an
explanation for the not-so-actionscript-experienced LOL).
Thanks. -
Hi,
I have the below snippet
stream = new NetStream(netConnection);
stream.client = this;
stream.play("FILE_NAME");
which basically plays a stream located on my Flash Media
Server.
Instead of playing the flv file with the stream object, I
want to make use of the Sound object , sth. like
var request:URLRequest = new URLRequest(url);
var s:Sound = new Sound();
s.load(request);
How can I achieve this, any snippetsYou'd have to use an RTMP address, which the Sound object
can't get to. I'm not sure if this is because of encoding problems
or simple because rtmp can't be accessed that way. Also, a lot of
the functionality of the SoundChannel object is lost (like any
attempt at visualization) when streaming through FMS.
I like how the LiveDocs list explicitly "stream through FMS"
as one of the options for the Sound object, but offer no
explanation of how to do so. -
How to flush the loaded bytes of a Sound object
Hi all,
I've now been looking for a solution to my problem for quite
a while now, but so far without any success, so I thought I'll give
this forum a try.. maybe someone in here can help ;-)
Ok here's the deal: I'm trying to create a simple audio
player in flex that is able to play mp3 audio streams. I'm not
looking for a solution that works with an FMS (Flash Mediaserver)
and I do also not need code that shows me how to play a remote mp3
file (which of course is also some sort of streaming streaming). I
have an icecast internet radio server which is streaming a constant
flow of mp3 encoded data. I can connect to that stream with
standard media players like winamp or mplayer.
I've been playing around with the
URLRequest-SoundLoaderContext-Sound-SoundChannel-combo and tried
many different combinations, but somehow the Sound object won't let
go of the bytes it already played. The Sound.bytesLoaded will just
keep increasing and my memory will just keep being eaten by the
Flashplayer. Is there any way to free that memory again without
having to destroy the Sound object? Or if I have to destroy it, how
do I make sure that the user doesn't realize that I just switched
the old Sound object with a fresh and empty one?
I was also trying to get a NetConnection-NetStream-combo to
play my stream, but here I failed even sooner: Even though the
NetStream seems to be receiving the data from my server (Firefox
states that it is receiving data after I invoke
NetStream.play(url_to_stream)) I'm not able to get that data to
come out of my speakers. I just can't hear anything :-(
I'm pretty new to flex, as and flash, so please forgive me my
ignorance ;) I really tried to figure this one out for about 3 days
now..
I'd be very grateful for any hints or advice :-)
cheers,
Lorenz
Edit: oh yeah right: I don't know if this is too obvious, but
I'm using flex3 :-)kurusaki wrote:
i need to get the serial number of a X509Certificate
the getSerialNumber() methode of X509Certificat return an BigInteger then can see in (windows application) or in the debuger of eclipse that the serial number is coded in HEXA
how i can getting it in HEXA.
If you look at the Javadoc for BigInteger you will see a toString() method that allows one to specify the radix. Hex is just radix 16. -
Adobe Media Encoder CS4 converted FLV files have sound but no picture
Hi,
It would be great if anyone can help - I am using the latest trial version of Flash CS4. I have used the Media Encoder to convert mpg4 files to FLV however the resultant files play with sound but no picture - just a black screen. Is there a solution to this issue?mostly this problem is caused by lacking of
some nessery codec. Which means when reencoding your video to flv, it can not generate the video.
Does Riva FLV encoder needs any extra codec? I am using Moyea Flash Video MX 6. It do not need any extra code. It needs in the former versions but in version 6 it can convert nearly any video format now. -
Importing flash files (with sound!) can it be done?
Hi!
I sucessfully importing a flash file but im not sure if the sound has imported with it, does anyone know if I can import a flash file with sounds or do I have to import the sound seperatly?
HelenHelen,
After Effects can import .SWF files but unfortunately it does not recognize the audio in a .SWF file.
If it helps, AE can import .FLV files and it WILL recognize the audio in them.
Relevant Help page:
"Supported import formats"
-Troy -
Flash Player for FLV files with alpha channel encoded
My goal is to play the the transparent background flash video on the bottom right hand corner similar to the video on this website : http://www.dropshipblueprint.com/
I already have the FLV file with alpha channel encoded. I was made to understand I will need a special flash player that can read alpha channel in the flv file to make the background transparent? Is this correct? If yes, then how to accomplish this or where do I get that player, maybe opensourece player? If the player is not a solution then how do I accomplish my end objective taking into consideration I have the FLV file with the alpha channel encoded. Thanks for your help. SamSam,
Welcome to the forum.
Where do you need to play this "sprite" (the name for such a Flash video)?
If you need to add that to a Video, then there could be a few challenges in PrE.
If you need to add it to a Web site, then Flash Player (free from Adobe) should be able to display that.
Can you please give us just a bit more info, on how you wish to use the sprite?
Good luck,
Hunt
Maybe you are looking for
-
Hi, Scenario: FTP - XI - FTP File is retrieved using FTP and does not have extension. Example "abc" File is to be stored by appending ".txt" to the filename. So filename on receiver FTP channel should be abc.txt Source file name is dynamic. How do I
-
Different behaviour air apps running in flex builder or standalone
Hello, <mx:HTML location=" http://www.google.com" id="myBrowser"> I try to get the mouse selected text in my browser with the following javascript bridge : myBrowser.htmlLoader.window.getSelection().toString() That work fine when my apps is running t
-
Windows 8.1 serup error "We can't connect right now"?
Please help me! As you can see by the title that I am having issues with Windows 8.1 setup, my product key was bought from Microsoft Store (Windows 8.1 Pro Student). The error I am getting is "We can't connect right now, check your Internet connectio
-
Using HP product CM 750 A OfficeJet Pro 8600 Plus with ethernet cable connected to Mac 21.5", OSX 10.9.5 Maverick. Running HP version 9.4 (447.2), tried to up date to version 12.34 because of two problems: 1. Amost every time I put the Mac t
-
Best Possible SD DVD of HD material.
So I have a show that PBS is interested in and they want DVDs for CEO to watch. I wanted to provide HD QT files, but they want him to be able to watch on TV this weekend. OK I get it. So i have 56 mins that I need to look as bad *** as possible. I ha