A Flash Developer Resource Site

Results 1 to 12 of 12

Thread: Create swf with asp/php/C#

  1. #1
    Junior Member
    Join Date
    Mar 2012
    Posts
    7

    Create swf with asp/php/C#

    Hello all

    From what I read I can create a swf file on the fly by scripting.
    This include a lot of option incloding linking to an image.

    What I need is to create a swf with an Image by desktop programming (c#/ VB or by any other language) but the swf need to include the image in side it.

    What is the best why to do it?

  2. #2
    Junior Member
    Join Date
    Mar 2012
    Posts
    7
    No help with this one??

  3. #3
    Prid - Outing Nig 13's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    1,864
    Do you have any idea how difficult it would be to make your own SWF file using a programming language? Just imagine how much work Adobe has put into making all the Flash programs, and they include a compiler to create SWF files. Either use (or get) Flash, or try to develop your own Flash program (which I don't recommend, because I have no idea how to do that)
    I am back, guys ... and finally 18 :P

    BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS

  4. #4
    Junior Member
    Join Date
    Jun 2011
    Posts
    26
    It is very difficult to create swf file but there is simplest solution for you. You can read already created swf and replace existing image to other one.
    Esquimo - Flash 3D

  5. #5
    Junior Member
    Join Date
    Mar 2012
    Posts
    7

    to replace an image

    Thank you for your input.

    From what I understood it is possible to create a swf file using ming but if I can replace the image embedded in my swf file it will be even better.

    I know how to replace the image if it is only like to an image in the directory but how do i do so with an embedded image?

    Thank you again

  6. #6
    Junior Member
    Join Date
    Jun 2011
    Posts
    26
    This is much more difficult. You must parse swf file (check swf file format specification document from Adobe) and replace part of the file. It is something like reading bmp file...
    Esquimo - Flash 3D

  7. #7
    Dignitary rynoe's Avatar
    Join Date
    Jan 2003
    Location
    Earth
    Posts
    760
    This is why Steve Jobs hated flash. It is NOT an open source product. Maybe someday, but not today.
    [SIGPIC][/SIGPIC]

  8. #8
    Junior Member
    Join Date
    Jun 2011
    Posts
    26
    You are talking about two different things. Flash is commercial project - I do not know why it should be open source ? But still SWF file format is well documented by Adobe and it can be parsed without problems but this is difficult. PNG file format is open source but try to parse and decode it...
    By the way which Apple project is open source?
    Esquimo - Flash 3D

  9. #9
    Dignitary rynoe's Avatar
    Join Date
    Jan 2003
    Location
    Earth
    Posts
    760
    [SIGPIC][/SIGPIC]

  10. #10
    Junior Member
    Join Date
    Jun 2011
    Posts
    26
    And which of those project is created by Apple ?
    Esquimo - Flash 3D

  11. #11
    Junior Member
    Join Date
    Mar 2012
    Posts
    7

    So what can I use?

    So lets say this can not be done this way.

    I need to take 10 pairs of Images, change one of them to 40% transparent and put it on top of his pair.

    click on a button will show the next pair.
    The output need to be an Executable file that will hold the images inside it (or outside but without the capability to change the image to update presentation).

    So what is the best way to go?

    Please advice

  12. #12
    Junior Member
    Join Date
    Jun 2011
    Posts
    26
    You can create flash file presentation which reads xml where information about images are stored but xml and all images must be somehow encrypted to disallow possibility of replacing them.
    Esquimo - Flash 3D

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center