Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 7th, 2003, 08:36 AM
tarenberg tarenberg is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 6 tarenberg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to tarenberg
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.

Reply With Quote
  #2  
Old September 7th, 2003, 04:16 PM
dkkz dkkz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 50 dkkz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
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.

Reply With Quote
  #3  
Old September 7th, 2003, 04:46 PM
tarenberg tarenberg is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 6 tarenberg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to tarenberg
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > loadSound doesn't work on Pocket PC


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway