![]() |
Workarounds...
Okay so I was playing around with flash and felt a need to make a workaround to get flash files from the internet, well I got all the way up to the part where I just gotta save the file.. It should save but it doesn't.. Help please :)
PHP Code:
PHP Code:
|
That's nice :D
|
hmm, sounds nice
do levels/flash/ support .swf files in folder config etc..? |
Is it serverside or clientside? It might end up somewhere in scriptfiles/*. On clientside you can only write into scriptfiles/* (exact path depends on your servername if you don't specify a path in scriptfiles/).
|
Ovbiously clientside...
|
Yes, the folder config is working correctly.
No its serverside. Using requesturl() clientside never occured to me before mmm.. Also does the flash gui check the scriptfiles if it can't find the file on the server? |
Files added by script are not appearing when doing /find so it's not sent to clients either, that functionality can be added though if it's needed.
|
Hmm.. so refreshing the file list should show the file? yet it doesnt.. Just wondering has anyone tried my script and had success?
|
you have for example
PHP Code:
edit; isn't obj.savestring suppose to be for one string? tried like obj.savelines? obj.savevars? |
We're not dealing with vars so savevars doesnt work
PHP Code:
|
PHP Code:
|
Congratulations Chompy that made it work :)
Heres some Rep.. PHP Code:
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. http://img53.imageshack.us/img53/7598/jflashew7.jpg |
:blush: I am happy that I could help ya,
and I'll use that script on my server if I'm allowed, because that was interesting, that picture :o All you need to make now is an database that can store swf files for later download/usage like an library? :] Would be cool if someone made, like a library storing files that you have added manually, or by url etc.. I might wanna make that :O EDIT; would be funny, like to add something in server options, like formats=txt,arc,swf,ini,doc etc.. would allow files saved by scripts with that format etc.. but that would easily been abused... ( like add .exe, or for example .dll or .server etc..) but would be better to allow writing some other files then txt and arc (there are maybe more, but I don't know them :p) |
I think it would also work if you do
PHP Code:
|
| All times are GMT +2. The time now is 12:59 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.