public virtual void load(AsURLRequest request) { mRequest = request; String url = request.getUrl(); if (url.StartsWith("http")) { throw new NotImplementedException("Http loading not implemented"); } data = BcResFactory.GetInstance().LoadResource(url); AsDebug.assert(data != null, url); dispatchEvent(new AsEvent(AsEvent.COMPLETE)); }
public static Object createLiteralObject(params Object[] values) { if (values.Length % 2 != 0) { throw new ArgumentException("Literal object arguments' length should be even: " + values); } AsObject obj = new AsObject(); for (int i = 0; i < values.Length; i += 2) { String key = (String) values[i]; Object value = values[i + 1]; obj.setOwnProperty(key, value); } return obj; }
public static Object createLiteralObject(params Object[] values) { if (values.Length % 2 != 0) { throw new ArgumentException("Literal object arguments' length should be even: " + values); } AsObject obj = new AsObject(); for (int i = 0; i < values.Length; i += 2) { String key = (String)values[i]; Object value = values[i + 1]; obj.setOwnProperty(key, value); } return(obj); }
public AsNumber(AsObject _value) { throw new AsNotImplementedError(); }
public static String getQualifiedClassName(AsObject obj) { return(obj.GetType().Name); }
public virtual void writeObject(AsObject _object) { throw new AsNotImplementedError(); }
public void setData(AsObject _value) { mData = (AsObject)(_value); }
public static String getQualifiedClassName(AsObject obj) { return obj.GetType().Name; }
public virtual void gotoAndStop(AsObject frame) { gotoAndStop((AsObject)(frame), null); }
public virtual void gotoAndStop(AsObject frame, String scene) { throw new AsNotImplementedError(); }
public virtual void gotoAndPlay(AsObject frame) { gotoAndPlay((AsObject)(frame), null); }