Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Sularias

#1
My apologies for knowing well... nothing. I tried exactly that code... No sound started... I have not set up a fade in or anything at this point. But it didn't crash this time and I felt if not like a big man.. at least like a medium size man.


Quote from: monkey_05_06 on Fri 08/06/2012 21:41:23

Code: ags
// room script

function room_AfterFadeIn()
{
  aHang1.Play();
}


#2
Let me start by saying I read not only the tutorial/Help file I also looked this up on the net as well.

I have never really programmed before (I'm a graphics guy by trade)

I have been trying to add audio to my first project and I keep getting a parse error.

I imported an MP3 Hang1.mp3 into the music folder under audio.

The Script name of said file is aHang1

according to the documentation I should type

aHang1.Play();   in the room1asc Script.

When I do this and hit build I get error    Parse error: unexpected 'aHang1'

Whiskey Tango Foxtrot!?

There is no other text in the script.
SMF spam blocked by CleanTalk