Foros del Web » Creando para Internet » Flash y Actionscript »

Localizar directorio en action script

Estas en el tema de Localizar directorio en action script en el foro de Flash y Actionscript en Foros del Web. Hola chicos. Espero que alguien me pueda ayudar. Estoy intentando descifrar un código: getURL("FSCommand:allowscale", false); Database = function () { var _l1 = this; _l1.title ...
  #1 (permalink)  
Antiguo 22/06/2006, 10:06
 
Fecha de Ingreso: junio-2006
Mensajes: 1
Antigüedad: 17 años, 10 meses
Puntos: 0
Localizar directorio en action script

Hola chicos. Espero que alguien me pueda ayudar. Estoy intentando descifrar un código:

getURL("FSCommand:allowscale", false);
Database = function ()
{
var _l1 = this;
_l1.title = "null";
_l1.location = "null";
_l1.myDate = new Date();
_l1.dateOfCreation = _l1.myDate.getMonth() + 1 + "/" + _l1.myDate.getDate() + "/" + _l1.myDate.getFullYear() + " " + _l1.myDate.getHours() + ":" + _l1.myDate.getMinutes() + ":" + _l1.myDate.getSeconds();
_l1.author = "Firstborn";
_l1.modifiedBy = "null";
};
Photo = function ()
{
var _l1 = this;
_l1.title = "null";
_l1.location = "null";
_l1.exist = 1;
_l1.poi = new Object();
};
Section = function ()
{
var _l1 = this;
tmp = _l1.sColor = new Object();
tmp.ra = 0;
tmp.ga = 0;
tmp.ba = 0;
tmp.rb = 0;
tmp.gb = 0;
tmp.bb = 0;
tmp.ab = 0;
tmp.aa = 100;
_l1.photoClicked = new Array();
_l1.title = "null";
_l1.location = "null";
_l1.exist = 1;
_l1.music = new Object();
};
Crossfade = function (cIn, cOut, startNext)
{
var _l1 = this;
_l1.speedIn = cIn;
_l1.speedOut = cOut;
_l1.startThisAt = startNext == undefined ? (60) : (startNext);
};
temp = allData = new Database();
temp.title = "eccentris Photo Database";
temp.modifiedBy = "josh";

tmp = allData.section1 = new Section();
tmp.title = "ELEMENTS";
tmp.directory = "photos/";
tmp.sColor.rb = 220;
tmp.sColor.gb = 220;
tmp.sColor.bb = 220;

tmp = allData.section2 = new Section();
tmp.title = "LUCID";
tmp.directory = "photos/3_lucid/";
tmp.sColor.rb = 91;
tmp.sColor.gb = 108;
tmp.sColor.bb = 133;

temp = tmp.photo1 = new Photo();
temp.title = "SHINE";
temp.location = tmp.directory + "shine.jpg";
temp.locationP = temp.location.substr(0, temp.location.length - 4) + "_p.jpg";
temp.poi.x = 0;
temp.poi.y = 0;
temp.sColor = new Object();
temp.sColor.ra = temp.ga = temp.ba = 100;
temp.sColor.rb = -19;
temp.sColor.gb = 14;
temp.sColor.bb = 42;
temp.sColor.ab = 0;
temp.sColor.aa = 100;
temp.offset = 100;
temp.MstartVol = 100;
temp.MoffSet = 1500;



El directorio tmp.directory = "photos/3_lucid/";
está claro, pero no encuentro el directorio en donde está la foto:
temp.location = tmp.directory + "shine.jpg";

¿Alguien me puede echar una mano???

muchas gracias.
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 13:28.