ty_is_i
06-15-2007, 03:22 AM
So I’m wanting to put my Portfolio site on a CD Rom base with an autorun file on there to handout to employers.
I have a main navigation menu for my site made out of a SWF file that has 5 buttons with this script:
on (release) {
//Goto Webpage Behavior
getURL("/2007/tyler/graphics/graphics_work.html","_self");
//End Behavior
}
This works perfectly online of course, but now I want the buttons to find the html files for each page on the cd locally, not online. So I changed the script to this:
on (release) {
// Trigger Data Source Behavior
// Macromedia 2003
none.trigger("../graphics/graphics_work.html");
//End Behavior
}
Now its just giving me trouble. At one point it worked in IE but not in any Mozilla browsers. I’ve messed around with the /’s and my folder arrangement and a number of different things…
sometimes it stops working in IE, and sometimes it doesn’t… but I just can’t get it to work in everything.
If ANYONE has any suggestions or can put together a script I can replace with mine that they know will work. And also could you explain how to write a proper local path in Action Scripting?
This would all be very much appreciated!!!!!
I have a main navigation menu for my site made out of a SWF file that has 5 buttons with this script:
on (release) {
//Goto Webpage Behavior
getURL("/2007/tyler/graphics/graphics_work.html","_self");
//End Behavior
}
This works perfectly online of course, but now I want the buttons to find the html files for each page on the cd locally, not online. So I changed the script to this:
on (release) {
// Trigger Data Source Behavior
// Macromedia 2003
none.trigger("../graphics/graphics_work.html");
//End Behavior
}
Now its just giving me trouble. At one point it worked in IE but not in any Mozilla browsers. I’ve messed around with the /’s and my folder arrangement and a number of different things…
sometimes it stops working in IE, and sometimes it doesn’t… but I just can’t get it to work in everything.
If ANYONE has any suggestions or can put together a script I can replace with mine that they know will work. And also could you explain how to write a proper local path in Action Scripting?
This would all be very much appreciated!!!!!