I have an embedded sound called test.
In my code i do the following
test=getfolderitem(“sound.wav”).openassound
I get an item does not exist, when it is definitly in the project? , is there a way to load a sound over embedded objects?
I have an embedded sound called test.
In my code i do the following
test=getfolderitem(“sound.wav”).openassound
I get an item does not exist, when it is definitly in the project? , is there a way to load a sound over embedded objects?
it is in the project?
than you can simply use:
dim s as sound = nameOfProjectItem
and put in the name of the project item.
getfolderitem looks in the folder of the app, not inside the app!
[quote=129362:@dave duke]I have an embedded sound called test.
In my code i do the following
test=getfolderitem(“sound.wav”).openassound
I get an item does not exist, when it is definitly in the project? , is there a way to load a sound over embedded objects?[/quote]
No
You can’t do this
Test is a read only item
[quote=129362:@dave duke]I have an embedded sound called test.
In my code i do the following
test=getfolderitem(“sound.wav”).openassound
I get an item does not exist, when it is definitly in the project? , is there a way to load a sound over embedded objects?[/quote]
If you have dragged sound.wav into the project just go
sound.play