simpleaddict
Technical User
I have created a project for a class assignment, and am pretty much done with it, although there are some problems that I can not seem to get rid of.
Just FYI I am fairly new to director, so I am not sure if what I am trying to do is difficult or not.
First problem, I created a "thumbnail" type page, where you click on a small picture, and it opens a MIAW to display a bigger picture, the MIAW has a close button, and the thumbnailed pictures are Flash buttons. This is the code that I am using:
(This could could be very incorrect)
on mouseUp me
sprite(me.spritenum) .member = "Boat_Center_Button"
global newWindow
newWindow = window "New Window"
window ("New Window"
.filename = "Boat_Center.dir"
window ("New Window"
.windowType = 2
window ("New Window"
.modal = True
window ("New Window"
.rect = rect(100, 100, 720, 500)
open newWindow
end
The problem is that it works when I play it in Director, but it does not work when I publish it. It also works when I create a projector, but since it is an assignment, I have not found out yet if we are allowed to present a projector file. All my *.dir files are in the same folder as my director movie, along with the *.htm, and *.dcr. Any help would be appreciated.
Ok second problem, the last requirement was to add music, with user controls. I created play, stop, and volume buttons, and they work fine, they all do what they are supposed to do, but, when I get to the point in the movie, whether playing in director, or in the projector, and I click on one of the "thumbnailed" MIAW the music stops playing. I can hit the play button and the music will start again, but I would like to not have to do that if it is at all possible.
Any help would be greatly apreciated.
~Simple
Just FYI I am fairly new to director, so I am not sure if what I am trying to do is difficult or not.
First problem, I created a "thumbnail" type page, where you click on a small picture, and it opens a MIAW to display a bigger picture, the MIAW has a close button, and the thumbnailed pictures are Flash buttons. This is the code that I am using:
(This could could be very incorrect)
on mouseUp me
sprite(me.spritenum) .member = "Boat_Center_Button"
global newWindow
newWindow = window "New Window"
window ("New Window"
window ("New Window"
window ("New Window"
window ("New Window"
open newWindow
end
The problem is that it works when I play it in Director, but it does not work when I publish it. It also works when I create a projector, but since it is an assignment, I have not found out yet if we are allowed to present a projector file. All my *.dir files are in the same folder as my director movie, along with the *.htm, and *.dcr. Any help would be appreciated.
Ok second problem, the last requirement was to add music, with user controls. I created play, stop, and volume buttons, and they work fine, they all do what they are supposed to do, but, when I get to the point in the movie, whether playing in director, or in the projector, and I click on one of the "thumbnailed" MIAW the music stops playing. I can hit the play button and the music will start again, but I would like to not have to do that if it is at all possible.
Any help would be greatly apreciated.
~Simple