I need someone who knows AS2 to modify and write a short class for my navigation.
I purchased a 100% XML driven Nav bar from FlashDen that I need to tie into my site.
I need you to modify the onPress function from [login to view URL] that came with the Nav. Currently it is a getURL function that retrieves a URL from the xml and loads it.
It looks like this: getURL([login to view URL], String([login to view URL]));
I NEED:
You replace that function with one that will load my individual section .swfs as defined in the XML into my main content area. Pretty simple for you, but not for me.
So here are the mandatories:
The XML Nav bar must load/'alpha in' my prebuilt swfs into the main content area. You may need to write or modify my .as file to do this; here is an example of what it 'might' look like:
//BUTTON SETUP
function initButtons() {
for (i in [login to view URL]) {
[login to view URL][i].onPress = function() {
var thisIndex = [login to view URL](6);
if(thisIndex == "1") {
loadContent("content/swfs/[login to view URL]");
}
if(thisIndex == "2") {
loadContent("content/swfs/[login to view URL]");
}
if(thisIndex == "3") {
loadContent("content/swfs/[login to view URL]");
}
if(thisIndex == "4") {
loadContent("content/swfs/[login to view URL]");
}
if(thisIndex == "5") {
loadContent("content/swfs/[login to view URL]");
}
if(thisIndex == "6") {
loadContent("content/swfs/[login to view URL]");
}
if(thisIndex == "7") {
loadContent("content/swfs/[login to view URL]");
}
if(thisIndex == "8") {
loadContent("content/swfs/[login to view URL]");
}
if(thisIndex == "9") {
loadContent("content/swfs/[login to view URL]");
}
if(thisIndex == "10") {
loadContent("content/swfs/[login to view URL]");
}
if(thisIndex == "11") {
loadContent("content/swfs/[login to view URL]");
}
if(thisIndex == "12") {
loadContent("content/swfs/[login to view URL]");
}
if(thisIndex == "13") {
loadContent("content/swfs/[login to view URL]");
}
if(thisIndex == "6") {
loadContent("content/swfs/[login to view URL]");
}
}
}
}
//BUTTON SETUP
You will NOT need to generate content or develop out sections, just get my placeholder swfs to alpha into the content area.
You can see what I mean here: [login to view URL]
I will pay 100% escrow
Step 1. I send you a link to my zipped source files
Step 2. You upload a working nav to my dev server within 48 hours
Step 3. I Test your work and review you well commented source files
Step 4. You get paid
Step 5. Everyone is happy