/*
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
Javier Quevedo Fernández 05-2009.
*/
package net.ximpel.classes
{
public class lib_flex_ximpel_editor_net_ximpel_classes_DefaultOverlay implements IHasXMLRepresentation
{
public var time:int;
public var x:int;
public var y : int;
public var width : int;
public var height : int;
public var leadsTo : String;
public var label:Array;
public function lib_flex_ximpel_editor_net_ximpel_classes_DefaultOverlay()
{
time = 0;
x = 0;
y = 0;
width = 0;
height = 0;
leadsTo = new String();
}
public function toXML():XML
{
var attributes:String = "";
/*for (var i:int; i < position.length; i++) {
if(position[i])
attributes += " position" + String(i+1) + "=\"" + position[i] + "\"" +
" size" + String(i+1) + "=\"" + size[i] + "\"" +
" label" + String(i+1) + "=\"" + label[i] + "\"";
}*/
var defaultOverlay:XML =
;
return defaultOverlay;
}
}
}