Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 09-12-2008, 04:23 PM   #1
barbwarturat
Registered User
 
Join Date: Aug 2008
Location: Johannesburg, South Africa
Posts: 11
Send a message via MSN to barbwarturat
Question Importing sound into flash

Hi

I've got a problem importing mp3 files into flash. I'm using flash MX professional and CS3. when I import mp3 into library, some songs manage to import fine while with others I get an error "One or more files were not imported because there were problems reading them". Now, I thought that the problem was the bit rate of the mp3 because songs that were 192kbps wouldn't import while songs with 217kbps imported fine. However I noticed that some songs have a totally different bit rates and some import ok while others don't. Currently I'm trying to import 257kbps mp3 but I'm getting the error. As I never really worked with sound in flash I'm not sure what could be the reason for the error and I don't think bit rate should really affect anything as I couldn't find anything about it in books. I'm also not sure if this has anything to do with protection, but where would I check it? If somebody had a same problem as me, please do share as I would really appreciate it.

Thank you in advance
barbwarturat is offline   Reply With Quote
Old 09-12-2008, 08:31 PM   #2
atomic
Banned by AS.org Staff
 
Join Date: Jan 2007
Location: Montréal, Québec
Posts: 14,073
Default

Rather a problem with the Khz at which those .mp3's are encoded at...

Flash can only handle ones that are encoded at/or at a multiple of 11.025, thus 11.025, 22.050 or 44.100 not 32Khz or 48Khz, as most likely those than don't import are encoded at...
atomic is offline   Reply With Quote
Old 09-13-2008, 07:30 AM   #3
barbwarturat
Registered User
 
Join Date: Aug 2008
Location: Johannesburg, South Africa
Posts: 11
Send a message via MSN to barbwarturat
Default

All the mp3's that I tried to import are at 44Khz. The ones that did import are also at 44Khz, so I don't think Khz is the case here
barbwarturat is offline   Reply With Quote
Old 09-13-2008, 12:27 PM   #4
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 26,666
Default

Howdy and Welcome...

Use any type of a converter and convert the problematic MP3 files into WAV and import that WAV file into Flash to see if it makes any difference...
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer
http://CyanBlue.FlashVacuum.com
http://www.FlashVacuum.com
http://tutorials.FlashVacuum.com

Do NOT PM, Email or Call me... Your question belongs right in this forum...
CyanBlue is offline   Reply With Quote
Old 09-13-2008, 03:20 PM   #5
barbwarturat
Registered User
 
Join Date: Aug 2008
Location: Johannesburg, South Africa
Posts: 11
Send a message via MSN to barbwarturat
Default

cool I'll try that I'm just worried that the wav files are going be bigger in size. I made this movie that's going to have 10 songs listed for people to listen to so I have to have all those 10 songs in 1 movie. Isn't the playlist movie going to take too long to load unlike the movie with mp3 in it?
barbwarturat is offline   Reply With Quote
Old 09-13-2008, 03:24 PM   #6
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 26,666
Default

Well... I suggested using the WAV file to see where the problem is...
No matter what type of sound file you use, 10 big sound files in one SWF is going to give bad user experience, if you ask me... I'd rather make them external if possible...
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer
http://CyanBlue.FlashVacuum.com
http://www.FlashVacuum.com
http://tutorials.FlashVacuum.com

Do NOT PM, Email or Call me... Your question belongs right in this forum...
CyanBlue is offline   Reply With Quote
Old 09-13-2008, 07:04 PM   #7
barbwarturat
Registered User
 
Join Date: Aug 2008
Location: Johannesburg, South Africa
Posts: 11
Send a message via MSN to barbwarturat
Default

cool I'll try what you suggest thank you very much for your help
barbwarturat is offline   Reply With Quote
Old 11-09-2008, 09:21 PM   #8
bigmartizzle
as2 disaster
 
Join Date: Feb 2008
Location: Mill Street
Posts: 26
Default having the same problem

I'm having the same problem. I did find that some wav. files imported but the problem was still present with wav files. I am making games for my kindergarten class, and let's just say that when I have to import 5o+ mp3 clips ("1" "2" "3" or "A" "b" "C" for example) and 23 of them don't come through, it's frustrating! Is there a reliable way to convert sounds to Mp3's that will import?
bigmartizzle is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How To Record Sound Through Flash Chiranjeevi Flash Media Server 3 11-18-2007 09:36 PM
Kenny Bellew Sound Object Tutorial Updated Kennyb ActionScript 2.0 23 05-09-2007 08:38 PM
Developing a flash site, Part1: Some thoughts Bloom22 Other Flash General Questions 6 09-29-2006 02:10 AM
CyanBlue's 5000th Post - Useful Threads List CyanBlue Projectors and CDs 104 02-25-2005 01:13 PM
Importing assets from Fireworks to Flash Mathieu_BSL Other Flash General Questions 2 04-18-2004 10:41 AM


All times are GMT. The time now is 01:43 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.