|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
loadSound doesn't work on Pocket PC
I'm trying to dynamically load an MP3 file into my flash movie on an iPAQ 3800 pocket PC. Everything seems to work fine. I don't get any error messages but the file doesn't play. If I use a getURL statement the Windows Media Player will open and the file will play. ie:
getURL("file:///My%20Documents/song.mp3"); This works but I want it to play in my flash movie. ie: var mySong = new sound(); mySong .loadSound("file:///My%20Documents/song.mp3"); mySong .start(0,999); Can anyone tell me how to make this work? Thanks in advance. |
|
#2
|
|||
|
|||
|
i'm not sure if it's just a syntax problem... but when i typed the 2nd line this way, the mp3 does load.
mySong.loadSound("C:/Documents and Settings/Administrator/My Documents/song.mp3"); i didn't even need to use the "file:///", though it didn't seem to hurt. eta: i did the testing on a regular bulky pc, as i didn't have a pocket pc. so, i wouldn't know if that same code will work on them. Last edited by dkkz : September 7th, 2003 at 04:24 PM. |
|
#3
|
|||
|
|||
|
Thanks for the reply DKKZ. I guess I should have said right up front that I didn't have a problem running this on the PC. The problem seems to only be on the Pocket PC.
|
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > loadSound doesn't work on Pocket PC |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|