My Recent Pastes (91 and counting)
Recent Pasties by celeretaudax (91 and counting)
Below are summaries of the 15 most recent pasties by celeretaudax.
June 26, 2009
9:32AM EDT
by celeretaudax
View more (54 lines)
1 2 3 4 5 |
//=============================================================================================
public function openForm():void {
//=============================================================================================
var sendForm:URLLoader = new URLLoader();
var newFile:FileReference = new FileReference();
|
June 24, 2009
7:24PM EDT
by celeretaudax
1 2 3 4 |
part :content_type => "multipart/alternative" do |p| p.part :content_type => "text/html", :body => render_message("proposal_message") end |
June 22, 2009
7:44PM EDT
by celeretaudax
View more (14 lines)
1 2 3 4 5 |
def contact_message(contact) @email = "#{contact.email_address}" @recipients = 'zkwentz@gmail.com' @from = @email @subject = 'Contact Form Request' |
June 21, 2009
1:24AM EDT
by celeretaudax
View more (18 lines)
1 2 3 4 5 |
##controller action def destroy @email = Email.find(params[:id]) if @email.destroy |
May 25, 2009
2:49PM EDT
by celeretaudax
View more (9 lines)
1 2 3 4 5 |
stop();
var xmlData:XML = new XML();
xmlData.ignoreWhite = true;
xmlData.load('var.xml');
xmlData.onLoad = function(success) {
|
May 25, 2009
2:42PM EDT
by celeretaudax
View more (18 lines)
1 2 3 4 5 |
var xmlData = new XML();
xmlData.ignoreWhite = true;
|
May 25, 2009
11:22AM EDT
by celeretaudax
View more (37 lines)
1 2 3 4 5 |
var geocoder; function initialize() { geocoder = new GClientGeocoder(); |
May 25, 2009
11:05AM EDT
by celeretaudax
View more (15 lines)
1 2 3 4 5 |
//create a new loader
this.loader = new Loader();
//tell the loader where to find the picture
this.loader.load("http://somewebsite.com/image.png");
//when the loader finishes loading, call the function 'onLoadComplete'
|
May 24, 2009
11:25PM EDT
by celeretaudax
View more (33 lines)
1 2 3 4 5 |
var geocoder; var location1; function initialize() { |
May 24, 2009
10:33PM EDT
by celeretaudax
View more (54 lines)
1 2 3 4 5 |
##actionscript
//==========================================================
function decide_proposal(e:Event):void {
//==========================================================
|
May 24, 2009
7:21PM EDT
by celeretaudax
View more (51 lines)
1 2 3 4 5 |
##actionscript
//==========================================================
function decide_proposal(e:Event):void {
//==========================================================
var address1:String = form1.project_address.text + ", " + form1.project_city.text + ", " + form1.project_state.text + ", " + form1.project_zip.text;
|
May 24, 2009
6:05PM EDT
by celeretaudax
View more (39 lines)
1 2 3 4 5 |
var geocoder, location1, location2; function initialize() { geocoder = new GClientGeocoder(); } |
May 19, 2009
1:53PM EDT
by celeretaudax
View more (15 lines)
1 2 3 4 5 |
//===============================================================
function scrolling(e:Event):void {
//===============================================================
//TODO: fix this bullshit
thumbGallery.x += Math.cos(((-thumbGallery.mouseX) / thumbMask.width) * Math.PI) * 15;
|
May 18, 2009
10:39AM EDT
by celeretaudax
View more (34 lines)
1 2 3 4 5 |
//=============================================================================================
public function openXML(name:String):void { //decides what XML data feed and opens it
//=============================================================================================
var xmlLoader:URLLoader = new URLLoader();
|
May 18, 2009
10:02AM EDT
by celeretaudax
View more (23 lines)
1 2 3 4 5 |
//=============================================================================================
public function openXML(name:String):void { //decides what XML data feed and opens it
//=============================================================================================
|
Pastie