I have purchased a template for a client I have from MonsterTemplates and I
have a question on how to incorporate an event handler into an existing Action
Script.
Here is what I want to do.
OnClick load a page into an invisable frame page. I need to pass in
approximately 2 or 3 variables using the get method. The name of the iFRAME is
webContent and the page to load is webcontent.asp.
How can I do this acording to the action scripts which have already been
created for the navigational button "About Us"
What more can I include to make this work??? You will see that I did attempt
this begining at the point on the script where I begin creating variables.
on (rollOver) {
if (_root.link<>page) {
gotoAndPlay("s1");
_root.button = page;
_root.width1 = 100;
_root.position = _root["b" + _root.button]._x;
}
}
on (releaseOutside, rollOut) {
if (_root.link<>page) {
_root.position = _root.prev_pos;
gotoAndPlay("s2");
_root.width1= _root.prev_width;
}
}
on (release) {
if (_root.link<>page && _root.G<>1) {
_root.scroller.gotoAndStop("s0");
_parent["item"+_root.link].gotoAndPlay("s2");
_root["bot"+_root.link].gotoAndPlay("s2");
_root.link = page;
_root["bot"+_root.link].gotoAndPlay("s1");
_root.prev_pos = _root["b"+_root.link]._x;
_root.prev_width = 100;
_root.all_pages1.gotoAndPlay("s1");
_root.all_pages2.gotoAndPlay("s1");
var firstName:String = "Gus";
var lastName:String = "Richardson";
var age:Number = 92;
function() {
getURL("http://www.adobe.com", "_blank", "GET");
};
}
}
>> Stay informed about: Total Newbie