swfchan
“You haven't seen it all.” THE BOARD
[SERV] [?]
CATEGORIES
RANDOM
Archived flashes:
103134
0001 · 0345 · 0689 · 1033 · 1378 · 1722 · 2066REPORT FLASH

Services

Covert SWF to APK | Automatic torrent creation and seeding (file hosting) | Mirroring of 4chan images

Covert SWF to APK

Here you can automatically convert a flash to an Android OS APK file so that you can play the SWF file on your phone just like any other app.

+ Requires Adobe AIR to be installed on your phone (a free download on the Market). Note that you must have Android 2.2 or higher to be able to install AIR.

+ Only ActionScript 3 is supported. SWF files that uses ActionScript 2 can still be used, however its script will not work (so for example this will work alright for a AS2 flash animation that doesn't depend that much on code, while a AS2 flash game will not work at all). I've put some playback controls in the APK though so you can still pause/seek in AS2 SWF files if you want to.

+ Phones are not yet powerful enough to handle SWF even close to as well as a typical cheap computer can. CPU and GPU issues put aside there is often big memory issues, especially in games. But give it a few years and the newest phones can take it.

+ The only permission that the APK will have is WAKE LOCK (to prevent the screen from dimming). The SWF is not even allowed to access the Internet, so no damage can be done to you or your phone. Note that the app may still be able to open external links in you phone's browser.

+ The APK is signed with an Anonymous certificate that expires the year 2021. This means that you can't upload the APK file to the Google Android Market (they require it to expire sometime after 2033). This is because people shouldn't be able to use this to sell other people's work on the market.

+ AS3 flash games should work 100%, given that the game doesn't have some kind of you-can't-play-until-we-show-you-this-ad loader. But don't expect your phone to be able to handle that cool AS3 game with lots of effects and graphics that you've played so much, it isn't optimized for phones and will probably require more RAM than your device has to offer. But by all means feel free to try and see if it works.

+ I made this to be used just-for-fun, not for anybody to make money out of it. Use it to put something short and funny on your phone to lively up the party you're going to. Remember that this is new and experimental, you're doing it at your own risk (though it shouldn't be any risk at all since the application won't have any permissions to do anything bad, either the flash will work somewhat good or you can just uninstall it without any harm done). Keep in mind that Adobe AIR hasn't matured yet and will work better in the future.

SWF to APK converter
Start by giving the ID of the SWF file
that you wish to convert to an APK file:
Remember that ActionScript 2 does not function, only ActionScript 3. If the file uses AS2 it will be limited to animation only.

Click here to see recently created APK files

Where can I find the ID of a SWF file?
The ID is the flash's number on the site, it's in the URL of the flash and written below the flash's screenshot on the listings. Here's flash with ID 1 for example.

I have a SWF that's not on the site, can I convert it to an APK?
You have to add it to swfchan first, go to swfchan.org and upload the SWF on one of the four flash boards. After a while it will appear on the dot com front page and you can then use its ID to convert it into an APK file for your phone. You can use the search field at the top and search on your flash's file name if you think you've missed it on the front page.

Tip: If you can't find the flash by its name on the site you can try doing a byte search. Right-click the flash file on your computer and select properties. Find the size field and select the number of bytes (don't also select the word "bytes"). Copy the number into the search field and press enter (you don't have to remove any spaces in the number).

After the APK is created how do I get it on my phone?
A one-time thing you need to do on your phone is go to Settings > Applications and tick the box that says "Unknown sources - Allow installation of non-Market applications".

Now all you have to do is open your phone's browser and enter the URL that leads to the APK file here on swfchan. After you have downloaded the file, open it and your phone will ask you if you wish to install.

Another way of doing it is downloading the APK file to your computer and use adb.exe (part of Android's Development Toolkit) to install the app, but why make it harder?

How do I put a movie clip on my phone?
If you have downloaded a FLA file from YouTube or wherever you first need to embed it into a SWF file. Then you upload that SWF file to swfchan.org as normal and wait until it has been added to the archive by the swfchan bot. Now you can type its ID into the field above.

How long do the APK file remain up on swfchan?
At the moment the created APK files are not automatically deleted from the server due to the low amount of activity, however they will be proned eventually so do not consider the URL leading to the APK files to be permanent (they might be gone tomorrow).

Can you make a similar service for the iPhone?
If Apple makes its platform a little less restricted in the future this might be possible.

Why does it take so long to open this specific flash?
Most of the time it takes probably comes from putting into memory and your phone is doing as well as it can.

What are the controls?
Use the buttons on your phone to open up the controls. This is what you can do:

+ Seek in the movie
Press BACK once to show/hide the seekbar. When shown you can slide your finger across the screen to seek to different positions on the main time line of the SWF file.

+ Pause the movie
Press BACK twice to pause/unpause. If the seekbar is showing you can just tap anywhere on the screen.

+ Jump forward in the movie
Press BACK three or more times to jump 5 seconds forward for each additional press.

+ Exit the app
Press HOME or press and hold BACK for 1 second.

+ Zoom, rotate or drag the movie
Press MENU. A round symbol appears in the upper left corner. You can now use normal zoom/rotate gestures with your fingers to apply those on the movie. You can reposition the movie using your finger. Tap quickly four times to reset the position to default.

+ Change volume
Just use the volume buttons on your phone, this is a built-in feature in AIR and nothing I have tinkered with (lowers/increases the "media volume" on your phone). Note that if no sounds are playing in the SWF you will likely change your phone's ringer volume instead.

+ Stop all sounds
Press and hold MENU for half a second. Not to be confused with muting all sounds, when you stop all sounds you halt all streams of audio currently playing in the SWF file (use this to silence annoying music overlaps etc). You can probably get back the desired audio again by pausing and unpausing (if it is streaming audio).

+ Remove the mask
By default everything outside the flash's visual bounds are hidden by a mask, you can remove it by pressing MENU four times.

+ Framestepping
Press MENU once so that the round symbol appears in the top corner. Now press BACK to step forward one frame (you might want to pause before doing this). Press BACK several times to leap forward several frames at the same time.

+ Open the phone's soft keyboard
Quickly disable/enable the mask (or vice versa). In other words press MENU a bunch of times until the keyboard appears.

How come there are lots of frames at the end of the seekbar I can't seek to?
If the flash is an embedded FLV movie (I'm guessing it is) those frames aren't real frames, someone has used a program that has set the frame count in the SWF header to more than the actual frames in the flash.

Why do text sometimes look (very) odd?
I'm not sure, I guess AIR has some issues not solved yet. You can try to zoom in/out a little bit, the text problem will come and go at different zoom levels.

Got any tip to reduce lag?
Zoom to make the thing you're viewing smaller. The smaller area that has to be drawn each frame the faster it goes, just like when viewing flash files on the computer.

Can't I just use my browser to play flash on my Android phone?
Yes but then you have to be online and there are some performance lost from having to run the SWF through your browser. By having the SWF as an app you'll always have it easily accessible next to your other apps.

Does this work great?
It works well enough. It's a pity that ActionScript 2 can't be supported though.

This SWF uses AS3 and won't load at all, what gives?
If the word "loading" changes to "failed" it means that the SWF uses features that aren't supported on mobile devices, like for example custom context menus on right-click. SWF files that are using unsupported classes during construction can't be loaded because they crash. Check this table with capabilities of different profiles for more info on what isn't supported on phones, look in the mobileDevice column.

If you are making a SWF yourself that you want working on a phone be sure to always use try-catch Error handling around the incompatible classes and make sure your flash works properly without them (don't depend on the ContextMenu for navigation for example). Then the SWF will work as an APK app on phones.





Automatic torrent creation and seeding (file hosting)

You can upload a WinRAR archive on http://swfchan.org/res.shtml and the system will automatically create a BitTorrent file that people can use to download the RAR.

The resulting torrent file will be seeded by the swfchan server, meaning that you do not yourself have to seed it. It will remain seeded for as long as the file is up on the /res/ board. If you want to you can help seeding but you don't have to.

The uploaded RAR can also be downloaded directly from the thread without the use of a BitTorrent client.

If the RAR archive contains images 16 thumbnails will be created of the images inside the archive. These are merged together into one image (a "thumbnail chart").

A index text file is created from the uploaded RAR archive, describing filenames, paths and sizes.

The magnet link of the torrent file will be available as soon as the torrent is created. This allows you to share the torrent without actually using the generated torrent file.

The created torrent file is trackerless, meaning that it does not depend on a central point and will keep on existing as long as someone is seeding.

Important! The uploaded RAR archive must follow a couple of rules to be accepted by the system, these can be read in the swfchan.org FAQ.





Mirroring of 4chan images

The problem with linking images you find on 4chan to your friends is that they 404 very quickly. But by putting "link" after "4chan" in the URL you can keep the image online much longer, serveral days.

Example URL
Actual image location:http://images.4chan.org/b/src/1305489361877.jpg
Link to give to your friends:  http://images.4chanlink.org/b/src/1305489361877.jpg

For obvious reasons I put this service on a different domain: 4chanlink.org

Visit the 4chanlink URL once yourself before sending it to anyone, or else the server won't know that it should mirror that image. If the domain automatically changes from 4chanlink.org to 4chan.org it means that the image was mirrored successfully. Check the site for more info on how it works.



Inter *Chan Top List

http://eye.swfchan.com/random.asp
Created: 23/2 -2012 07:08:07 Last modified: 23/2 -2012 07:08:07 Server time: 23/2 -2012 07:08:07