View Full Version : Supportmyflash Myspace - how do the do it?
Tomoisyourgod
08-22-2007, 07:56 PM
Does anyone know how They do this? (http://www.supportmyflash.com/)
Basically - it's a Flash file that reads the data of yout myspace profile and generates code - looks amazing.
Would love to do my own version...
mattkenefick
08-23-2007, 02:09 AM
I haven't looked into it. But this is what I'm assuming.
Flash on Myspace can pull info but it cannot send info.
You probably set an FlashVar with your Myspace ID and that uses LoadVars on a PHP file on their server that will use Regular Expressions to spider through the source of the myspace page to pull the information.
Asin, it'll use file_get_contents("myspace.com/yourID"); or fopen in PHP.
Then it'll scan for the username, age, or whatever.. then set the variables to output from the PHP like you would anything else you're loading.. or even write up dynamic XML to load.
Then there you go.
Easy as pie.
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.