Join Todd Perkins for an in-depth discussion in this video Testing sharing features, part of Flash CS4 Professional Audio Techniques.
In this movie we are going to test our sharing application.…Before you go forward it all, make sure that you have your testing server…installed and running.…I am going to go to my testing server folder, on my Mac its in my Sites folder,…and in there you should find your ldcaudio folder.…Remember from the PC you can access it through your C drive in the wamp folder,…in there you will have to find the www folder, and in that folder you should see…ldcaudio and your files.…
The first thing that you need to do is go to your Player.as file, find the line…of code where you load data.xml.…Here instead of loading the local file, you want to give the absolute URL.…So, instead of data.xml, it's going to be http://localhost/ldcaudio/data.xml.…
Of course when you upload this to your web server you are going to want to put…the full path to the file, so you should be able to put this URL in your web…browser to find your XML file.…Then I am going to select everything up until the forward slash after…ldcaudio and copy it.…
- Playing and pausing audio in a created player class
- Controlling audio progress and showing it in a text field
- Loading XML playlist data into the final player
- Animating a volume slider and using effects to add depth
- Making Flash applications sharable
- Viewing the finished player and taking it for a spin
Skill Level Intermediate
Q: I am having trouble getting the exercise files to work for this title. For example, when I drag the progress bar of a song to another location on the slider, the movieclip always jumps back to the beginning and the song starts over. What could be causing this error?
A: An update to Flash since the time of recording broke this functionality. The problem appears to happen when Flash compiles the SWF in Flash Player 10. If you change your publish settings to Flash Player 9 instead, you won't see any problems.