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);
};
_______________________________________________
Flashcoders@chattyfig.figleaf.com
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