hi folks, thanks all in advance for the help (new to the forums!)
I made a 100% flash background stretch, the file main.swf, as sitemap for my site…I used flash cs5 (as3.0)+AC_RunActiveContent.js…so I have these files: main.fla, main.html, main.swf and Main.as.
This is Main.as’s code:
package
{
import flash.display.MovieClip;
import flash.text.TextField;
import flash.events.Event;
public class Main extends MovieClip
{
public function Main()
{
init();
checkResize();
}
private function init():void
{
stage.frameRate=31;
bg_mc.x=0;
bg_mc.y=0;
bg_mc.width=stage.stageWidth;
bg_mc.height=stage.stageHeight;
clip_mc.x=stage.stageWidth/3.5;
clip_mc.y=stage.stageHeight/2.9;
clip_amministra.x=stage.stageWidth/1.6;
clip_amministra.y=stage.stageHeight/2;
}
private function checkResize():void
{
stage.addEventListener(Event.RESIZE, resizeStage);
}
private function resizeStage(event:Event):void
{
init();
}
}
}
what I’m not able to do: I need to turn the instances clip_mc and clip_amministra, in the file main.fla they are MovieClip symbols, into links to my site’s pages.
Hope you can help me!