Welcome to Dream.In.Code
Getting Help is Easy!

Join 86,250 Programmers. There are 2,172 online right now! Ask your question and get quick answers from Dream.In.Code experts. Join the #1 programming help community on the internet! Registration is fast and FREE... Join Now!

Chat LIVE With a Expert
Powered by LivePerson.com

Register to Make This Box Go Away!

PlaySong Function acting up

 
Closed TopicStart new topic

PlaySong Function acting up, Getting Error and can't see the problem

bmcc81
post 28 Apr, 2008 - 07:04 AM
Post #1


D.I.C Head

**
Joined: 10 Jul, 2007
Posts: 70



Hi,

I've got this code that I'm using for xml driven player.

I keep getting an error


function playSong():Void
{
if (cps ==sa.length -1)
{
cps=0;
s.loadSound(sa[cps], true);
}else{
s.loadSound(sa[++cps], true);
}
}

It says that { is not there. Is there a way to correct this.

Thanks,

This post has been edited by bmcc81: 28 Apr, 2008 - 07:05 AM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


bmcc81
post 28 Apr, 2008 - 08:29 AM
Post #2


D.I.C Head

**
Joined: 10 Jul, 2007
Posts: 70

IT WAS A DUMB MISTAKE!!!


Inside Publish settings, I had publish settings on ACTIONSCRIPT 1.0

BAD MISTAKE.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Closed TopicStart new topic
Time is now: 5/16/08 08:53AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month