Best practices for desktop/mobile multimedia development?
Posted: Sat Jan 15, 2011 1:02 pm
Hello, everyone.
I have been working on a project for several weeks that could only have been possible with the help of this forum. For that I thank everyone who responded to a previous post on my behalf.
I am now at a point where the mobile version is almost complete and my client wants a desktop version. My dilemma now is this:
The project is scripted entirely for mobile. While most of the scripts will translate to the desktop, the project has MANY sound files that are triggered by elements on several cards. It took a lot to figure out mobile sound, but now the project has to be coded for the desktop.
Is there a best practice process for converting the scripts I currently use for mobile sound to the desktop?
A typical script looks like this:
All sound files are contained in categorized folders which changes the pathname to the resource.
If there is a way to take my existing code and easily script a change to this for desktop compatibility?
I think I have to include a player control on each card for the desktop, and supply it the path to the file to play.
Not sure if this is the right forum, but since I'm starting from a mobile code base, I thought I would start here.
If I need to provide any more information, please let me know.
Thanks!
I have been working on a project for several weeks that could only have been possible with the help of this forum. For that I thank everyone who responded to a previous post on my behalf.
I am now at a point where the mobile version is almost complete and my client wants a desktop version. My dilemma now is this:
The project is scripted entirely for mobile. While most of the scripts will translate to the desktop, the project has MANY sound files that are triggered by elements on several cards. It took a lot to figure out mobile sound, but now the project has to be coded for the desktop.
Is there a best practice process for converting the scripts I currently use for mobile sound to the desktop?
A typical script looks like this:
Code: Select all
on mouseUp
play specialFolderPath("engine") & "/english/01.mp3"
end mouseUp
If there is a way to take my existing code and easily script a change to this for desktop compatibility?
I think I have to include a player control on each card for the desktop, and supply it the path to the file to play.
Not sure if this is the right forum, but since I'm starting from a mobile code base, I thought I would start here.
If I need to provide any more information, please let me know.
Thanks!