Question
AS question: So simple - I'm embarrased
I am really new to AS. I've created a navigational menu movie
clip (looks like a ferris wheel with 12 "boxes" that rotate. Each
"box is a button and each has an incidence name within that movie.
The flash consists of one frame with all action script within one Action Script layer.
The movie clip is called: "nav_mc"
One of the button's incidence name is "contact_btn"
The action script written as:
nav_mc.contact_btn.onRelease = function() {
getURL(" http://www.anyurl.com", "_self");
};
simplebutton_btn.onRelease = function() {
getURL (" http://www.anyurl.com", "_self");
};
...and it won't work when I publish it to http. The simple getURL button that exists on that frame does work. What am I doing wrong? what do I need to check?
The flash consists of one frame with all action script within one Action Script layer.
The movie clip is called: "nav_mc"
One of the button's incidence name is "contact_btn"
The action script written as:
nav_mc.contact_btn.onRelease = function() {
getURL(" http://www.anyurl.com", "_self");
};
simplebutton_btn.onRelease = function() {
getURL (" http://www.anyurl.com", "_self");
};
...and it won't work when I publish it to http. The simple getURL button that exists on that frame does work. What am I doing wrong? what do I need to check?