Ciao a tutti
Ho un file flash, (sorgente e classi) che riproduce una galleria fotografica per intenet.
Provando a modificare i file con flash mx, vedo che nella sezione "azioni del fotogramma" compare questo.
// MovieClip Prototypes
#include "_as/motionPrototypes.as"
#include "_as/nextDepth.prototype.as"
#include "_as/colorFadePrototypes.as"
#include "_as/createTextBlockPrototypes.as"
// Classes
#include "_as/WPGallery.class.as"
#include "_as/loadManager.class.as"
#include "_as/countdown.class.as"
#include "_as/background.class.as"
#include "_as/title.class.as"
#include "_as/display.class.as"
#include "_as/info.class.as"
#include "_as/nav.class.as"
#include "_as/nav_node.class.as"
#include "_as/nav_triangle.class.as"
#include "_as/controller.class.as"
// Text Formats
#include "_as/textFormat.as"
// core root functions
#include "_as/coreFunctions.as"
Quello che mi interessa é questa chiamata
include "_as/background.class.as
se vado a vedere il file di classe background.class
noto che é questo che da il colore dello sfondo e la dimensione del filmato
dentro c'e scritto questo
// --------------------------------------------------
// BACKGROUND CLASS
// --------------------------------------------------
function Background () {
// center to stage
this._x = centerX
this._y = centerY
// init and set my color obj
this.colorobj = new Color(this.chip_mc);
this.colorobj.setRGB(theGallery.background.toHex() );
this.resize();
}
// give the class movieclip methods
Background.prototype = new MovieClip();
// register the class
Object.registerClass('background.src', Background);
Background.prototype.resize = function () {
var bleed = 10;
this._width = Stage.width + bleed;
this._height = Stage.height + bleed;
}
Qui mi fermo perche eliminando include background da azioni giustamente non vedo piu lo sfondo ma, anche la barra dei menu che é in basso a destra mi viene caricata al centro della presentazione perche perde l'impaginazione.
Qualcuno sa come modificare il file qui sopra per impostare a trasparente lo sfondo??

Rispondi quotando