Right check this:
/////////////////////////////////////
/////////////////////////////////////
///////////////FUSE//////////////////
/////////////////////////////////////
import com.mosesSupposes.fuse.*;
ZigoEngine.register(Fuse,PennerEasing, FuseFMP);
/////FMP FILTERS///////
FuseFMP.writeFilter(t, “Blur”, {blurY:0, blurX:0, quality:1});
///////////////////////
/////FUSE FUNCTIONS////
function scaleButtOver():Void{
var f:Fuse = new Fuse();
f.push({target:this , scale:120, Blur_blurX:5, alpha:40, time:2, ease:“easeOutExpo”});
f.start();
}
function scaleButtOut():Void{
var f:Fuse = new Fuse();
f.push({target:this , scale:100, Blur_blurX:0, alpha:100, time:2, ease:“easeOutExpo”});
f.start();
}
///////////////////////
/////////////////////////////////////
///////////////FUSE//////////////////
////////////////END//////////////////
/////////////////////////////////////
/////////////////////////////////////
/////////////////XML/////////////////
/////////////////////////////////////
/////////////////////////////////////
/////SETUP VARIABLES
var workXml:XML = new XML();
workXml.ignoreWhite = true;
/////SETUP VARIABLES ARRAYS
var imgInfo:Array = new Array();
/////THUMB SPACING VAR
var thumbSpacing = 40;
//load variables object to handle loading of text
var description_lv = new LoadVars();
description_lv.onData = function(raw_text){
description_txt.text = raw_text;
}
/////////////////////////////////////
/////////////////////////////////////
////////////XML FUNCTION
function GenFolio(workXml){
var folioContent:Array = workXml.firstChild.childNodes;
/////////////////////////////////////
/////////////////////////////////////
///FOR LOOP
for(i=0; i<folioContent.length;i++){
var cp = folioContent*;
imgInfo.push(new Folio(cp.attributes.titles, cp.attributes.thumb, cp.attributes.descriptions, cp.attributes.image));
/////////////////////////////////////
/////////////////////////////////////
/////////////////////////////////////
/////////////////////////////////////
var thumbMov:MovieClip = menu_mc.attachMovie("thumbMov", "thumbMov"+i, i);
thumbMov._x = i * thumbSpacing;
/////////////////////////////////////
/////////////////////////////////////
thumbMov.createEmptyMovieClip("thumbContainer",0);
thumbMov.thumbContainer.loadMovie(imgInfo*.thumb);
/////////////////////////////////////
/////////////////////////////////////
thumbMov.titles = imgInfo*.titles;
thumbMov.image = imgInfo*.image;
thumbMov.descriptions = imgInfo*.des;
/////////////////////////////////////
/////////////////////////////////////
/////////////////////////////////////
/////////////////////////////////////
thumbMov.onRollOver = thumbMov.onDragOver = function(){
info_txt.text = this.titles;
scaleButtOver(thumbMov);
//cbutt.text = this._name;
}
thumbMov.onRollOut = thumbMov.onDragOut = function(){
info_txt.text = "";
scaleButtOut(thumbMov);
//cbutt.text = "";
}
thumbMov.onRelease = function(){
image_mc.loadMovie(this.image);
description_lv.load(this.descriptions);
}
/////////////////////////////////////
/////////////////////////////////////
/////////////////////////////////////
/////////////////////////////////////
}
}
Now… the problem im having is targeting the generated "thumbMov"s movieClips with FUSE.
function scaleButtOver():Void{
var f:Fuse = new Fuse();
f.push({target:this , scale:120, Blur_blurX:5, alpha:40, time:2, ease:“easeOutExpo”});
f.start();
}
function scaleButtOut():Void{
var f:Fuse = new Fuse();
f.push({target:this , scale:100, Blur_blurX:0, alpha:100, time:2, ease:“easeOutExpo”});
f.start();
}
Above i set out my FUSE functions that i want to trigger on rollOver and rollOut of the thumbMovs
thumbMov.onRollOver = thumbMov.onDragOver = function(){
info_txt.text = this.titles;
scaleButtOver();
}
thumbMov.onRollOut = thumbMov.onDragOut = function(){
info_txt.text = “”;
scaleButtOut();
}
But the problem is the thumbMov movies will obviously have a uniquely generated instance name i cant target directly due to the “for” loop…
How can i modify what ive done to target any of the thumbMovs with the FUSE functions?
Its a toughy to explain but hopefully someone will know what i mean??
if not let me know…
Cheers