ActiveDen

Black & White Deeplinking Template

How can I make the background images resize?

This is how you can do it for intro.fla, then just do the same to the other fla’s you want to change. Go to the actions layer, find the function loadPhoto and add the following code:
photoMC._width = Stage.width;
photoMC._height = Stage.height;
then go to the stageResize.onResize = function() { and add:
Tweener.addTween(photoMC,{_height:Stage.height, time:1.5, transition:'easeInOutExpo'});
Tweener.addTween(photoMC,{_width:Stage.width, time:1.5, transition:'easeInOutExpo'});
Finally go to the “image” layer, click inside the movieclip “photoMC” you’ll notice its empty, create a graphic inside here 1000×500

How can I make the background images resize proportionally?

This is how you can do it for intro.fla, then just do the same to the other fla’s you want to change. Go to the actions layer, find the function loadPhoto and add the following code:
photoMC._width = Stage.width;
photoMC._height = Stage.height;
photoMC._xscale > photoMC._yscale?
photoMC._yscale = photoMC._xscale: 
photoMC._xscale = photoMC._yscale;
then go to the stageResize.onResize = function() { and add:
photoMC._width = Stage.width;
photoMC._height = Stage.height;
photoMC._xscale > photoMC._yscale?
photoMC._yscale = photoMC._xscale: 
photoMC._xscale = photoMC._yscale;
Finally go to the “image” layer, click inside the movieclip “photoMC” you’ll notice its empty, create a graphic inside here 1000×500

How do I edit the navigation buttons?

In “template.fla” open the library, click inside the folders “Btn” and “btn2” click inside movieclips “button” and “subButton” then make your edits. For the portfolio section open “portfolio.fla”, open your library and click inside the movieclip “button”.

How do I add certain special characters to the text fields?

Make sure the xml reads the following at the top:
<?xml version=”1.0” encoding=”utf-8”?>

Then what you need to do is embed your extra characters for each dynamic text field, to do that just click on the text field, go to the properties palette, click on embed, then copy and paste your characters inside the field “include these characters”, then press ok. Some fonts don’t display all characters, so you might have to change the font your using. Standard fonts like Arial usually will display most characters.

What does this mean “error: include mc_tween2.as not found”?

Just means you need to install a class inside Flash. Go to “_source/tween class” folder and install “mc_tween_2_28_29.mxp” into Flash. To do this go to help/manage extensions in the main menu, then follow the prompts. Then restart Flash.

If you are using Flash CS4 you might have to install the Extension Manager 2.1 patch. To do this go here:
http://www.adobe.com/exchange/em_download/em20_download.html

How do I center the Navigation, Breadcrumbs and Social network icons?

Open “template.fla”, Click inside the “mainSite” movieclip, go to the Actions layer and open your actions panel (F9).
Go to line 148.
Tweener.addTween(logoMC,{_y:27, _alpha:100, time:1.5, delay:0, transition:'easeInOutExpo'});
and change it to:
Tweener.addTween(logoMC,{_y:27, _alpha:100, time:1.5, delay:0, onComplete:centerElements, transition:'easeInOutExpo'});
Now add the following function to the code at the very bottom:

function centerElements(){
    subNav._x = Stage.width / 2 - subNav._width /2;
    socialBar._x = Stage.width / 2 - socialBar._width /2;
    mainNav._x = Stage.width / 2 - mainNav._width /2;
}

Lastly add the following code within the onResize function, below line 692:
mainNav._x = Stage.width / 2 - mainNav._width /2;

How do I change the height of the scrollable text box’s?

1.Open text_module.fla or aboutus.fla. Click inside the movieclip “bgd” in the library and increase the height of the box.
2.Click inside the movieclip “lscrollBox” in the library and increase the height of the dynamic text field.
3.Click inside the movieclip “lscrollmask1” in the library and increase the height of the box.
4.Click inside the movieclip “lscrolltrack” in the library and increase the height of the track.

I’m still having problems with the form and I’ve checked that PHP is working on my server, what should I do?

1. Open sendmail.php, at the top of the page change the tag: <? to <?php

2. Secondly open sendmail.php and change all references of:
$HTTP_POST_VARS
to
$_POST
by
by
by
by
by