Thread: Workarounds...
View Single Post
  #12  
Old 10-28-2006, 11:03 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Congratulations Chompy that made it work
Heres some Rep..

PHP Code:
//Working onFlash(obj)

function onFlash(obj) {
 
temp.filename "flashtest.swf";
 
temp.object = {obj.fulldata};
 
temp.object.savelines("levels/flash/" temp.filename,0);
 echo(
temp.filename SPC "should be saved to your flash folder!");

Being able to request the url clientside and open the flash file in the scriptfiles folder would be neat and less strainful on the server

And just when I thought that worked, savelines is only letting me save the file as a txt. Good News though, when renamed the flash file works.

Requests:
- Saving lines in .swf format, ex: temp.object.savelines("test.swf",0);
- Opening flash files from the client scriptfiles folder.

__________________
Quote:

Last edited by fowlplay4; 10-28-2006 at 11:38 PM..
Reply With Quote