The problem was the .DS_store was removed...

However, I still couldn't get the path worked out to access the ISO data from the Mac projector on a Hybrid disc. I just put a copy of the shared data on both the ISO and Mac volumes...

-b



On Dec 7, 2006, at 4:53 AM, Derek Stottlemyer wrote:

Hello Bill,
//Mac
var path="slides:"

On Mac, folders are separated by a ":" not a "/". I usually have a folderSep
variable which I set depending on the platform.
i.e.

var folderSep="/";
if (isMac){ // However you want to tell if it is a Mac.
        folderSep=":";
}
var path="slides"+folderSep;

HTH,
Derek

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bill Abel
Sent: Thursday, December 07, 2006 12:27 AM
To: Flashcoders mailing list
Subject: [Flashcoders] loading external files with a mac projector on
cd-rom


I'm loading some JPEGs into a movieclip using a projector.

When I burn the files to disc, it works fine in Windows, but my Mac
projector can't find the JPEGs.

myClip.loadMovie(path+slide+".jpg");

I tried adding in _url to the path, but that didn't solve the
problem. I don't think I need colons for OS X.

Here's my code:

// Launch in fullscreen mode
fscommand("fullscreen", "true");

// initialize variables
var path = "slides/";
var totalSlides = 28;
var slide = 1;

//initialize - load first slide
holder.loadMovie(path+slide+".jpg");

// define navigation
// next slide button
forward_btn.onRelease = function() {
        switch (slide) {
        case 1 :
                slide++;
                holder.loadMovie(path+slide+".jpg");
                break;
        case totalSlides :
                break;
        default :
                slide++;
                holder.loadMovie(path+slide+".jpg");
                break;
        }
        trace(slide);
};
// previous slide button
back_btn.onRelease = function() {
        switch (slide) {
        case 1 :
                break;
        case totalSlides :
                slide--;
                holder.loadMovie(path+slide+".jpg");
                break;
        default :
                slide--;
                holder.loadMovie(path+slide+".jpg");
                break;
        }
        trace(slide);
};
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


__________ NOD32 1906 (20061206) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com



_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to