blog.x-e.ro / page 11 of 157
this year's halloween was a bit different. our friends opie and jessie had a pirate themed wedding! so deciding was to be this time around was pretty obvious. they had the ceremony and the reception at the same hall in pittsburgh, but since we were late as usual, we missed the first part. but they didn't seem to mind, since the actual wedding part took about 10 minutes! LOL!
the reception was crazy! all the guests were dressed as pirates...
as3 :: setting them with php
the key to creating dynamic systems on the web is the ability to send and receive data from one component to the next. flash and flex are no different. there are a lot of cases where you need to send these variables while the application is running, but there are an equal amount of times where the application needs data at run time. passing variables to flash historically has been rather easy, you just query-string data right into the src tag of your flash movie:
src="test.swf?passed=hello"
by doing this flash would create a new variable (in this case named passed) when the flash movie is loaded. but with the advent of OOP coding in AS3, this technique has become depreciated.
in actionscript 3 you need to use the flashvars parameter to send data to your flash movie. the technique is the same for both flash and flex, but once the variable is passed flash and flex has a different syntax to access these vars.
here is my asp.net randomizer class based on the c R250/512 shift-register sequence random number generator, by kirkpatrick and stoll and published (j. computational physics, vol 40, pp. 517-526) with an added a pseudo-random class redefinition and buffer overflow protection.
example usage:
randomizer x = new randomizer();
int num = x.random();
so for anyone who dousnt know, the demoscene is a community of programmers, artists, and musicians, who come together and create amazing graphic visualizations for or coupled by music. (mr.doob explains) at this years assemby07 the evoflash team of bombsquad went crazy! their demo, entitled ADHDTV is amazing. They combine realtime fluid dynamics, with 3D computational physics, enviorment mapping, raycasting, phong shading, dynamic lighting, and shadowing... now that's some sexy math!
watch the demo online or download it from Read: evoFlash/bombsquad blowup the demoscene »
dethalbum : dethklok metaloclypse
audio :: dethklok metaloclypse
OMFG! the dethklok metaloclypse DETHALBUM and dvd just arrived and are amazing! if you haven't seen the show, you need to. and if you have, then you know what im talking about! the deluxe cd has a bonus disk with a bunch of funny songs on it, but good luck finding it, because it's been sold out since 0-day. more info on [adult-swim]'s metal page.
sending email is a snap with asp.net 2.0, this simple function sends an email to the specified name and email you pass to the function. with a little database integration this can be recalled in almost infinite recursion, and will not be tagged as spam because it sends individual emails, not a bulk message to many users. for fastest delivery times specify the direct path to your mail server (see line #18), and setup your mail server to not scan outgoing webserver mail for spam. *edit* i now recant that statement. true, pure execution times will be faster but at the sake of ignorance. i would rather have the slightly increased send time and the knowledge that my code has not be hijacked and sending spam.
example usage:
sendmsg("xero", "x@xero.owns.us");
visual studio 2005 has a tool for connecting to a database called a "sqlDataSource". while this tool works, i find myself wanting to create the connection and build or execute stored procedures within my own C# code. this tutorial will show you how to connect to a sql database 3 different ways in asp.net
the first thing is creating a connection with your database. if you understand how connection strings are built, write your own other wise will can use the visual studio database tool to do that for us.