Showing posts with label program. Show all posts
Showing posts with label program. Show all posts

Monday, March 03, 2008

Ha Ha Ha So Much better for who

FLASH ACTION SCRIPT VERSION 2
loadmovie ("httf://www.site.com/some.swf",1);


FLASH ACTION SCRIPT VERSION 3
import flash.display.*;
import flash.net.URLRequest;
var rect:Shape = new Shape();
rect.graphics.beginFill(0xFFFFFF);
rect.graphics.drawRect(0, 0, 100, 100);
rect.graphics.endFill();
addChild(rect);
var ldr:Loader = new Loader();
ldr.mask = rect;
var url:String = "httf://www.unknown.example.com/content.swf";
var urlReq:URLRequest = new URLRequest(url);
ldr.load(urlReq);
addChild(ldr);


LOL and they wonder why beginners give up

As someone that breathes oop easy access to inherited local properties is great. But it increases the learning curve big time.

Sphere: Related Content