Problem porting educ app to Mac - paths etc?

I am trying to make one of my educational applications also work on a Mac.  I generally work on a PC, but have borrowed a Mac to test my projectors. I seem to have been able to create a Mac projector that launches but I ran into a problem becuase I don't know how to hard code a Mac path.  My projector launches from a folder I created in the Applications folder called My App.  The opening screen comes up and then I need to click a continue button to go to the next movie which is on my web site.  In windows, my continue button script says something like:
gotoNetMovie "http://mywebsite.com/login.dcr
Then after acessing that .dcr, the program has find the next file back in the application folder on the hard drive. For windows I have an install path field that students can change with a default of  c:\Program Files\My App\
The program then combines the contents of this field with the next program file name:
gotoNetMovie field "path" & (nextMovie & ".dcr")
For the Mac, I tried editing the default path to  /Applications/My App/   but the .dcr on the web site can't find the next movie on the hard drive.  I really do not understand Mac paths, so I need some help please!  If you can tell me what to type in the path field that would be great.
I also tried downloading the Lingo manual for the Mac version of Director hoping it would show some paths and provide some insight into Mac programming but the slightly older version of the Mac Book I am using (its not a new Intel architecture) would not open the compressed file and I am totally unfamilar with these file types so I couldn't open them.
I know I will also run into a problem with plugins and will have to test for platform and change the plugin code respectively right?
Is there a guide somewhere for Windows developers called "Mac for Dummies?" or will I have to ask all of my dumb questions here?
Your help is greatly appreciated!
Professor S

Since you are running a projector, and you can't guarantee where a user will place your Mac application, you would be much better served by creating paths based on _player.applicationPath (which at run time points to the folder on the HDD where your projector is). Either that, or set a global variable at startup that contains this path and refer to this variable when you need to navigate between movies.
Also, although your login file resides on the internet, I don't think you need to use gotoNetMovie() as you aren't running in Shockwave. You could use
_movie.go(1,  "http://mywebsite.com/login.dcr")
to go to your login movie, and
_movie.go(1, _player.applicationPath & "nextMovie") -- no extension necessary
to go to your next movie, thus removing any need to know where anything is installed.

Similar Messages

  • I am facing the problem on downloading apps from Mac App Store, when I try to install the application from App store, I am getting an error message "Status_Code_Error" while click on "Login"

    I am facing the problem on downloading apps from Mac App Store, when I try to install the application from App store, I am getting an error message "Status_Code_Error" while click on "Login"

    Same problem here in Brazil.
    It seems to be a problem with logging in App Store in the Mac (Yosemite 10.10.2).
    When I tried the very same userid and password I was able to login in to use my iCloud account from the same computer and also from my iPhone.

  • Any education apps for Mac

    I need link or where to find educational apps for Learning English that runs on mac?

    This is the iPad forum. You might get better results posting in the appropriate area.
    Check the Mac app store.
    Try a Google search.

  • Problem with Java app on Mac OS X... works fine in PPC, not on Intel

    Hi all,
    I'm at a loss... I've always been under the impression that java is the same no matter where it's running, but I've come across something that surely counters that line of thought. At work, we use a java application from DTI to publish our newspaper. This app works just fine on Mac OS X 10.4.x on PPC Macs, but the same application doesn't work on Intel Macs, also 10.4.x.
    The app launches and appears to be working fine, but there's a point where it must download some support files from the server. This is where it breaks with the error:
    java.io.IOException: null, com.dtint.macutils.AppFile.decode
    The corresponding entries in the console log show this:
    java.io.IOException: null,com.dtint.macutils.AppFile.decode
         at com.dtint.macutils.Codec.invoke(Codec.java:96)
         at com.dtint.macutils.Codec.decode(Codec.java:112)
         at com.dtint.install.InstallFile.decode(InstallFile.java:218)
         at com.dtint.install.Download.db2File(Download.java:277)
         at com.dtint.install.Download.run(Download.java:143)
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.dtint.macutils.Codec.invoke(Codec.java:91)
         ... 4 more
    Caused by: java.io.IOException
         at com.dtint.macutils.AppFile.decode(AppFile.java:130)
         ... 9 more
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.dtint.macutils.AppFile.decode(AppFile.java:125)
         ... 9 more
    Caused by: java.io.FileNotFoundException: /Volumes/ChopAdSizeMove.scpt.encoded (No such file or directory)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at java.io.FileInputStream.<init>(FileInputStream.java:66)
         at glguerin.macbinary.MBFileDecoder.decodeFile(MBFileDecoder.java)
         at com.dtint.macutils.MacFileIO.decode(MacFileIO.java:163)
         at com.dtint.macutils.AppFile_60.decode(AppFile_60.java:94)
         ... 14 more
    File Download Time (ms) = 12428
    If there are any other logs I can provide, let me know what would be helpful and I'll get them.
    I've got no clue why this wouldn't work across platforms unless it was compiled for the PPC processor or something, but then wouldn't it either launch in Rosetta or not at all on the Intel? I'm a systems admin, not a programmer, so I've really no idea where to start looking.
    What I have done to this point is made sure I'm on the latest Apple-released Java, as well as copied the Java files from the PPC to the Intel to see if there was something there. Nothing makes any difference.
    This would be a major coup if I could get this working... does anyone have any thoughts or ideas about getting this to work?
    Many thanks in advance!
    Jason

    Hi all,
    I'm at a loss... I've always been under the impression that java is the same no matter where it's running, but I've come across something that surely counters that line of thought. At work, we use a java application from DTI to publish our newspaper. This app works just fine on Mac OS X 10.4.x on PPC Macs, but the same application doesn't work on Intel Macs, also 10.4.x.
    The app launches and appears to be working fine, but there's a point where it must download some support files from the server. This is where it breaks with the error:
    java.io.IOException: null, com.dtint.macutils.AppFile.decode
    The corresponding entries in the console log show this:
    java.io.IOException: null,com.dtint.macutils.AppFile.decode
         at com.dtint.macutils.Codec.invoke(Codec.java:96)
         at com.dtint.macutils.Codec.decode(Codec.java:112)
         at com.dtint.install.InstallFile.decode(InstallFile.java:218)
         at com.dtint.install.Download.db2File(Download.java:277)
         at com.dtint.install.Download.run(Download.java:143)
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.dtint.macutils.Codec.invoke(Codec.java:91)
         ... 4 more
    Caused by: java.io.IOException
         at com.dtint.macutils.AppFile.decode(AppFile.java:130)
         ... 9 more
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.dtint.macutils.AppFile.decode(AppFile.java:125)
         ... 9 more
    Caused by: java.io.FileNotFoundException: /Volumes/ChopAdSizeMove.scpt.encoded (No such file or directory)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at java.io.FileInputStream.<init>(FileInputStream.java:66)
         at glguerin.macbinary.MBFileDecoder.decodeFile(MBFileDecoder.java)
         at com.dtint.macutils.MacFileIO.decode(MacFileIO.java:163)
         at com.dtint.macutils.AppFile_60.decode(AppFile_60.java:94)
         ... 14 more
    File Download Time (ms) = 12428
    If there are any other logs I can provide, let me know what would be helpful and I'll get them.
    I've got no clue why this wouldn't work across platforms unless it was compiled for the PPC processor or something, but then wouldn't it either launch in Rosetta or not at all on the Intel? I'm a systems admin, not a programmer, so I've really no idea where to start looking.
    What I have done to this point is made sure I'm on the latest Apple-released Java, as well as copied the Java files from the PPC to the Intel to see if there was something there. Nothing makes any difference.
    This would be a major coup if I could get this working... does anyone have any thoughts or ideas about getting this to work?
    Many thanks in advance!
    Jason

  • I am facing a strange problem on new iphone 5 that I bought last week. The maps app and the places in photo gallery shows the pin and my location, however there is no information of locations. Tried to close the apps, phone restart, reset etc. Please help

    I am facing a strange problem on new iphone 5 that I bought last week. The maps app and the places in photo gallery shows the pin and my location, however there is no information of locations. Tried to close the apps, phone restart, reset etc. I am accessing it via strong wireless connection and it works fine on other devices. Please help.

    zapgrap wrote:
    there is no information of locations.
    Then no information exists.  Use the Report a Problem button within the app to report it.

  • I am experiencing problem (the installation does not start) when I try to install ArchiCAD 17 Educational on my mac. I am using Yosemite. How can I fix it?

    I am experiencing problem (the installation does not start) when I try to install ArchiCAD 17 Educational on my mac. I am using Yosemite. How can I fix it?

    You need to contact the developer/manufacturer directly to determine if their product is compatible w/Yosemite.  It is not listed on their system requirement website:
    Mac OS X 10.9 Mavericks
    Mac OS X 10.8 Mountain Lion
    Mac OS X 10.7 Lion
    Mac OS X 10.6 Snow Leopard*
    Note: ArchiCAD 17 is the last version of ArchiCAD to support Mac OS X 10.6
    Only case insensitive file-system volumes are supported.
    http://www.graphisoft.com/support/system_requirements/archicad17.html

  • Hi, Can anyone encounter the problem that you couldn't update your apps from Mac book pro??

    Hi, Can anyone encounter the problem that you couldn't update your apps from Mac book pro??
    Currently, my mac can't update any of the software from App store as well as bulit in software like garageband.

    yeah...
    i did that but it didn't work.
    Every times, i click on the software updates, software updates dialog box is popping up and
    checking for new updates.
    After that, acknowledged me whether i want to update or not.
    once, i click on "install".
    it appears following message.
    "A network error has occurred. Check your Internet connection, and then try again."
    i totally can access to Internet as i can browser all the websites.
    Please help me, is it a "virus" or "malware" causing my mac?.
    i just changed a new mac recently and having this problem

  • Tengo un problema con un app que compre para mi mac

    Tengo un problema con una app que compre en mi mac. y necesito aclararlo en un chat en español pero no lo encuentro.

    Si no he entendido mal, ha actualizado a una nueva versión de SketchBook Pro pero quiere la antigua. ¿Es esto cierto?
    En ese caso, debe saber que en el App Store solamente está disponible la versión más reciente, por lo que no puede instalar una versión más antigua a no ser que la tenga guardada en iTunes en su ordenador (esto sólo se aplica a compras de aplicaciones para el iPhone, iPad o iPod touch).
    Además, lo que ha hecho el desarrollador ha sido eliminar a propósito la antigua versión para forzar a una actualización a una nueva versión que es de pago. Esto es válido y es decisión del desarrollador, por lo que aquí ni Apple ni nosotros podemos hacer nada.
    Si la aplicación es para Mac y la versión antigua fue reemplazada por la nueva, existe una posibilidad de instalarla de nuevo si tiene una copia de seguridad

  • HT1277 I am having problems syncing my email account (gmail) to my mail app on Mac book pro

    I am having problems syncing my email account (gmail) to my mail app on Mac book pro

    Routing gmail through Mail.app:
    imap-http://mail.google.com/support/bin/answer.py?answer=81379&topic=12814
    pop-http://mail.google.com/support/bin/answer.py?answer=13275&topic=12810
    More up-to-date advice here:
    http://www.macworld.com/article/2033842/make-mail-and-gmail-play-nice.html#tk.nl _mwhelp

  • I'm restoring a new iPad 2 (shattered the original).  Backed it up on the iCloud and have restored all apps, music, photo albums, etc.  However, the photo stream has not activated, so no photos have downloaded.  Photo Stream is fine on my Iphone and Mac.

    I'm restoring a new iPad 2 (shattered the original).  Backed it up on the iCloud and have restored all apps, music, photo albums, etc.  However, the photo stream has not activated, so no photos have downloaded.  Photo Stream is fine on my Iphone and Mac.

    Hello there, Tamghosh.
    The following Knowledge Base article provides some good steps to use for troubleshooting the issue you're describing:
    iCloud: Photo Stream troubleshooting
    http://support.apple.com/kb/TS3989
    Particularly:
    I don't see photos in Photo Stream on my iOS device.
    Check the following:
    From your Home screen, tap Settings > iCloud > Photo Stream, and make sure the slider is set to the ON position.
    From the Home screen, tap Settings > Wi-Fi, make sure the slider is set to ON, and that your device is connected to a wireless network.
    Ensure that Camera app is closed on the device where you took the photo. Photo Stream will not upload photos from an iOS device until the Camera app is closed.
    Ensure your iOS device has not fallen below 20% battery power. To preserve battery life, Photo Stream downloading and uploading are disabled when the battery reaches this threshold. Downloading and uploading will resume once you charge your device, and the battery charge is greater than 20%.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro D.

  • Text-to-speech no longer working in any PDF apps in Mac 10.8.5.

    Text-to-speech is no longer working in any PDF apps in Mac 10.8.4/5.  Does anyone know the software component that passes highlight text over to the speech synthesiser?   How is this process different in PDF's compared to any other text format?
    So far I have tried Preview, Skim, PDFView, Safari, Evernote and Adobe Reader with the result: silence.  The only defference being Adobe Reader which speaks the name of the document and not the highlighted text.  I've re-applied the Mac OS10.8.5 como-update, fixed prefs, ran FSCheck and changed user.  I've tried every method of triggering the text-to-speech function (including custom scripts). Text-to-speech works perfectly in every other respect exept when working with PDF's. When Maveriks arrives I will do a clean install and rebuild my data manually which I'm pretty certain will fix the problem but it would be extremely rewarding to find an actual solution and learn something in the process. 

    Rawr! I got it to work, sort of. I think I tried so hard because I hated the thought of using alsa-oss. And I discovered a couple bugs in spd-conf! Does anyone care? lol
    Basically, I redid my TTS-related configs & put them under ~/ instead of /usr/share, and ran "festival --server" & "speech-dispatcher -s" as a normal user. I also added myself to the "audio" group somewhere along the line, but I don't think that was the issue.
    I'm almost afraid to reboot, because, although speech-dispatcher can be started at boot-time through rc.conf's DAEMONS array, I don't think festival can---at least, not in the same way as it can on distros that have the script /etc/default/festival. I'm about to see if I can track down that file, and hope I don't break everything somehow.
    KTTSMgr still doesn't see any synthesizers, but I got past the "dummy module" message. Now I'm hoping I'll get some help from someone who actually knows what to do (as opposed to me).
    Take care, all
    H
    P.S One small complaint: Although my speechd.conf specified port 6561, speech-dispatcher's tests showed that it was looking for a connection on port 6560 first, before scanning to find the real port. I had to change to port 6560 to stop the behaviour, even though I never customized the port number in the first place.
    Last edited by cautha (2010-05-10 10:53:55)

  • Porting application to a Mac (from Win98)

    I'm trying to port a Win98 project I'm working on to a Mac and I know nothing about Macs.
    The application uses a jar files to hold large colllection of HTML pages with internal links. These pages were downloaded from a web site. The java code also in the jar, starts a server on a port(8090) and launches the default browser with first address of: http://127.0.0.1:8090. I have this working fine on Win98. I found code for launching a browser on the Mac and need the following package: import com.apple.mrj.MRJFileUtils; and then how to debug it? I use System.out.println() on Win98 for debug output, where would the output from the println() go on a Mac?
    In current testing on a Mac the server started ok, opened its window, but the browser wasn't started. The user started his browser and manually entered the above address and the server delivered the starting page. Links with the pages mostly worked but there was some problems getting some of the gifs which I'm not sure about yet. The Search routine fails immediately.
    The search feature that is called from the HTML via a <form using POST. The search routine then loads all the files from the jar file into a pseudo file hierarchy and and uses a search class I'd written long ago to search thru folders. I created a InJarFile extension of the File class and made about 4 lines of changes to my search program to allow it to search the files in the jar as well as in the Win98 file system.
    On Win98 I use:
    URL ourLoc = obj.getClass().getResource(className);
    to get the path to the jar file and then use ZipFile and ZipEntries to get the contents of the jar file so it can be searched.
    How do I read the contents of a jar file on a Mac? From a class loaded from that jar file.
    I guess I need to understand paths on a Mac??

    Once again, you will HAVE to find out what OS he is using... I will assume that it is OS X (because if it isn't you might as well forget about it)
    He's run the jar as mentioned above. But it fails in
    a routine I'm sure is Windows dependant. Before I go
    see him, I need to know how to debug on his system.IE
    where will System.out.println() appear?There is a console available in Apps/Utilites where that kind of stuff will be dumped. However if you are running it from the command line you will see it as you would on a windows machine.
    The other bit is about how to decode the URL I get
    back from getResource().
    What does a Mac path look like and how do you use
    it?You don't need to know what an OS X path is like (for completeness it uses : as a file separator), because the underlying system is unix, you can deal with it in the same way as you would if it was a unix file syste (with the rather large cavaet of the system not being case sensitive)
    I have code for launching a browser on a Mac, but it
    uses a package: com.apple.mrj.MRJFileUtils.As far as I am aware support was dropped for this when they released java1.4
    There is a link to it here, but as far as I am aware it is no longer supported software:
    http://homepage.mac.com/pcbeard/MRJPlugin/
    Where can I get the code for that? I tried Google
    but so far everything I look at is documentation on
    the class itself. I went to the developer.apple.com
    site, found dozens of downloads and don't know which
    I need. A search on that site returned 0 results for
    the package.
    So where do I get a jar file with that package?
    I'll look at the sourceforge site.BTW, if it is OS 9 (or earlier!) take a look here: http://java.sun.com/docs/books/tutorial/getStarted/cupojava/mac.html

  • Problems with n97 apps connecting to network (Voda...

    Problems with n97 apps connecting to network (Vodafone UK – 3G)
    Recently a number of my apps which used to connect automatically to the internet (which ever was available – known wi-fi or 3g) have stopped doing this.  They now only connect to one known wi-fi.
    I’ve tried uninstalling and reinstalling each app, but this hasn’t solved the problem.  I’ve checked for software updates and do not believe any have been applied or are available.  All apps have been downloaded via Ovi on the phone.  I still am able to access the internet by the web browser which was installed on the phone and via google maps (which also still manages GPS position, search, etc).
    The apps which I notice causing a problem are:
    Sainsbury’s/nectar
    Tesco
    Map my tracks
    Snaptu
    Opera Mini
    Any one got any ideas???

    I have the same problem since i updated my mac to 10.5.6.
    Each time I have to do a diagnostic and retype the WEP password to have the internet connection.

  • Sleep problem on new 1.5GHz Mac mini

    Anyone else having problems with their Intel-based Mac mini not waking up after it's been in sleep mode for a while (1-2 hours)?
    The mini's light stops pulsating when trying to wake it up from sleep, but only stays dim. It never actually wakes up. A hard boot doesn't even fix the problem. Only after it's been unplugged and plugged back in does it start back up.
    It also has had problems using a Samsung LCD monitor (VGA). Display preferences showed multiple refresh rates. When one of these refresh rates was chosen, the screen went black. Did everything to fix the problem (zapped PRAM, deleted preferences, etc) but ended up erasing the hard drive and reinstalling everything over again. The sleep issue persists but the display issue seems to be fixed.
    Thought this may be related to the Intel integrated graphics. Thanks for any help!

    OK - best to collect some data.
    Do you have another computer in your home network. It would be good to see if the unresponsive mini will respond to network pings. Use the Network Utility - go to the ping tab, and enter the name of your mini. (The name is shown in the sharing preference pane) add .local to the end if you don't have a name server set up.
    Second - you may want to turn on Remote Login and Apple Remote Desktop so you can log into the mini through the network and shut things down cleanly (as well as look at what really is happening)
    Third - open the Console App - and look over the system.log and the console.log.
    If I had to guess (and I don't have near enough info to make a real call) - I would guess it's not sleeping, but hung. I was able to get FrontRow in a tizzy switching resolutions all over the place and without remote log in - I never would have known and probably given up and pulled the plug.
    Sorry I can't solve it out of the gate - but if it happens again - we can show you some tricks to narrow down the causes...

  • Problems with Remote App on iOS 4?

    I have a new iPhone 4 and tried to use the Remote App in Connection with Apple TV. While I'am able to pair the remote app with Apple TV, I cannot use it properly. It works for a while, then it get's disconnected with a message that maybe a Firewall might be activated in the Router.
    I have no problems with Remote App connected to my iTunes Library. I also tried it with a iPod Touch which is still on iOS 3.1.3, no problems to connect to the Apple TV from there as well.
    Are there any known problems with iOS 4 and Apple TV?

    Chenks wrote:
    maybe for you, but isn't for me.
    i have the remote app on my iphone4 and it's connected to 2 appletv's.
    i don't experience any dropping of connection etc.
    May I ask what wifi hardware you use? It might be an wifi issue, but one which is only related with the "Bonjour" protocol which seems to be used for the Remote App. I found this thread which is older (iOS 3) but describing exactly the same problems:
    http://discussions.apple.com/thread.jspa?threadID=2048555&start=0&tstart=0
    bear in mind that the iphone4 is now "n" wifi compatible (2.4Ghz), so could it be that the "n" part of your network is poor and thus why you only see the problem on the iphone4 ?
    At least it is not poor when using it from other devices or moving a lot of data in other Apps. It is all Apple Hardware (nothing older than 2 years), and maybe that's the problem. I never had network hardware which made so much trouble, as Apples Airport series. I wouldn't wonder if it is an incompatibility between a new wifi chip in the iPhone 4 and a older Revision of an Airport device. But I don't know how to check - is there a system.log on the iPhone which I can access somehow?

Maybe you are looking for

  • Extending JComponent  and creating new derived class

    <!--[if gte mso 9]><xml> Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 </xml><![endif]--><!--[if gte mso 9]><xml> </xml><![endif]--> <!--[if gte mso 10]> <style> /* Style Definitions */ table.MsoNormalTable {mso-style-name

  • How to add a custom shortcut in Oracle apps Tool bar

    Hie all, I have a requirement from our end users that all of them requires a shortcut button in toolbar for submitting a request instead of going the normal way in order to submit a single request. please can any one help me out in solving this query

  • Disable the Finally Close option in 10.7

    Hello All If anybody working on 10.7,please sugesst me, how to disable the PO Finally Close option for a responsibility.Because it is 10.7, we can use personalization here. Solution required ASAP. Thanks in Advance.

  • Capturing with premiere pro cs6

    Hallo, I use permiere pro cs6. My problem is capturing from DV, Because my camera JVC GY-HD101 work with miniDV en I use for capturing Panasinic NV-GS500 Wich capturing programs work without problem with premiere pro? Thanks

  • No sound from iTunes after installing Yahoo IM

    iTunes has worked fine for me until yesterday. After I installed Yahoo IM I now have no sound in iTunes. I've checked all of the PC and iTunes volume settings a dozen times, everything looks good on the sound card setup. I uninstalled Yahoo IM and it