Results 1 to 3 of 3

Thread: A Skinnable Flash File

  1. #1
    Join Date
    Apr 2006
    Thanked 0 Times in 0 Posts

    Default A Skinnable Flash File

    Hi All,

    Can Flash files be amde to be Skinnable? If so how... I want to be able to make a swf give it to a client for example and if they need to change colour, backgrounds etc they can... Possible??

  2. #2
    Join Date
    Mar 2006
    Illinois, USA
    Thanked 690 Times in 678 Posts



    1. Redo the flash file. Like... save again with different colors. They could do this or you could. But it would need to be with the .fla, not .swf (or they could decompile it, but that's a big pain).
    2. Use buttons and such in the file to change things, like colors. Click a thing, and the background turns red. Whatever. This would be availbable to all users, though. (unless some strange security thing were used, I guess.)
    3. Use an external file, like a .txt with colors, or an image. When that image is changed, the .swf would use the new image and it would be changed. It's hard to do this, though, but possible. Lots of coding.
    4. The most complex way would be to add an "import skin" function to the .swf itself in which you could make a new format of file that stores "skin data"... give it a file extension of .skindata or whatever.... or just .txt perhaps. Then the .swf would take this and apply it. But... that's complex.

    Perhaps using the load function (not sure if that's the full name) you could use a .txt fairly easily and import some colors or something. that's probably the best option.
    Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Aug 2005
    Other Side of My Monitor
    Thanked 105 Times in 104 Posts
    Blog Entries


    Agreed. And depending on the mode of customization you want it really isn't a whole lot of coding.

    just to have buttons for the user to click on would make it easy. If you wanted to disable the buttons that would be a bit more complex, but you could substitute the buttons for a "fill in the blank" type form before the swf loads, and the user can make thier choices.

    The problem with this method though is they would be stuck with their choices once made, or would have to reload and start all over.

    You can also use the SO (sharedObject) and store individual users choices, do they would only have to do it once. SO's are much like cookies, only they are .sol files (mostly) and stored in the Flash folders on their harddrive. So they don't get removed when user clears cache, which is nice, they have to manually do it, or use crapcleaner to empty that folder.
    {CWoT - Riddle } {OSTU - Psycho} {Invasion - Team}
    Follow Me on Twitter: @Negative_Chaos
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts