Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 06-20-2003, 03:36 PM   #1
arun67
Registered User
 
Join Date: Aug 2001
Posts: 53
Default How to decode this URL value?

Hello Everybody,


I was trying to make a small Flash file which will do fllowing:-


1. A ASP will call this flash and pass this to the flash against the parameter product.

2. In the flash first frame it will have a Input box which has a name product and it will capture the product value which is passed from the above asp.

3. In the second frame I am trying to call a asp and passing this product value as follows:

loadVariablesNum("http://192.168.100.78/mp3/mp3result.asp?product="+product, 0, "POST");


4. This called asp will output a path like "path=http://192.168.100.78/mp3/poly1234.mp3".

5. In the next frame I am trying to play this mp3 song with the following code:

mpsound = new Sound();
mpsound.loadSound(""+path,true);
mpsound.start();
stop();

Now the problemis it is not able to play this mp3. My suspision is that the script at point 3 is not able to load the path value. as when I am trying a trace it is giving a blank value.

Perhaps this is because I need to wait for some time till tis variable gets loaded, but don't know how?

could somebody spare a moment and help me out?

With best regards,
arun
arun67 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 Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:42 AM.

///
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.