Pages: [1]
  Print  
Author Topic: Fix for 'Open Project Folder' button not working on OSX  (Read 762 times)
Melvyn
Gaia Novice
*
Posts: 4


« on: January 11, 2010, 02:34:52 PM »

In the Project Panel, I could never make the Open Project Folder button work. (I'm on Mac OSX).
So I checked in GaiaProject.jsfl, and found that the path the script was trying to open was starting with "/Volumes/Users/...." instead of "/Users/....".
It was because in uriToPath() function, getMacHD() wasn't returning a correct HD name for indexOf to find it. (My HD name is "Macintosh HD")
Apparently, unescape() doesn't work well with indexOf() for spaces in strings. (Not sure about that)

After removing unescape from getMacHD() function in GaiaProject.jsfl (last function in script), it now works!

Hope this helps someone else Wink
« Last Edit: January 11, 2010, 02:38:16 PM by Melvyn » Logged
steven
Gaia Author
Administrator
Gaia Evangelist
*****
Posts: 3871


gaiaframework
WWW
« Reply #1 on: January 11, 2010, 06:55:53 PM »

Thanks for figuring this out. I'll test the fix on multiple macs to make sure it works.
Logged

Steven Sacks | Gaia Author
Please support Gaia by donating to the project!  Smiley
Ramiro
Moderator
Gaia Addict
*****
Posts: 861


interactive pragmatism


« Reply #2 on: August 30, 2011, 11:09:58 AM »

This fix worked for me too. I'm on OSX snow leopard, Flash cs5.5
Logged
Pages: [1]
  Print  
 
Jump to:  

TinyPortal v1.0 beta 4 © Bloc