-
Problem in playing .mp3 file
Hi All,
I m beginner to Flash Mobile. I m creating mp3 player with Flash Lite 2.1. The problem I am facing that after all the operations when I m starting sound.start(), its displays error
PHP Code:
A Call to GetURL(BasRehan.mp3) found, limitations might apply.
FLERR: Network Memory Error!
Connected to file://C:\Documents and Settings\msingh\Desktop\Flash Lite Practice\mp3_Player\bin\BasRehan.mp3.
Error for file://C:\Documents and Settings\msingh\Desktop\Flash Lite Practice\mp3_Player\bin\BasRehan.mp3.
Please help......
MannPohir
<span style="font-family: Verdana">m...ail.com</span>
-
I've not seen this type of error before.
Are you using GetUrl to load the mp3 or are you using the loadSound() method of the sound object?
Also how large is your sound file and what profile are you testing in device central?
-
Hi I am using loadSound() function and file is of 8 Mb.
MannPohir
<span style="font-family: Verdana">m...ail.com</span>
-
I suspect that 8mp file size is too large for the memory allocated to Flash Lite. Most phones on the market have around 2mb or less and when it comes to sound, memory management is not 1:1, so you have even less memory for sound files. You can use device central to see how much memory is allocated for a given device.
Have you tried testing with a much smaller sound, such as one less than 500kb?
-
HI,
I have tried that. Now I am receiving Error
PHP Code:
FLERR: Bad Sound Data Error!
I have picked the song from the example that is working proper. Example is on the following path:
http://www.adobe.com/devnet/devices/...ample_fl2.html
MannPohir
<span style="font-family: Verdana">m...ail.com</span>
-
do you get this error when you run the swf example from adobe, or only in your application using the sound from adobe?
also what phone profile are you testing in device central?
-
if you r testing in Device Central CS3, then test it in 5310,5320,6210,6220 classic,6290,6310,E51,N95 etc.....etc...
I have tested in a nokia E51 and it works.
marlopax
-
MannPohir, for making a player did you brows the .mp3 files?
If so how?
FileReference class is not there in flash lite 2.1 so which class to use to brows through files?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|