Thread: Flash as a resource

  1. #1
    Registered User
    Join Date
    Nov 2004

    Question Flash as a resource

    Just wondering if there's a way Shockwave Flash files (.swf) can be used as a resource in a Windows program? I intend to create animations in Flash and then place them into an invisible window on the desktop, creating a free-roaming character.

    Can anyone help me out with this?


  2. #2
    UT2004 Addict Kleid-0's Avatar
    Join Date
    Dec 2004
    In C# it is a lot easier for sure for Windows applications / flash.
    Trying googling:
    Flash C#
    Or Click Here
    If you're doing this in C++, I don't know if any of these articles are as good as the Flash C# ones, but I hope these work out:
    Flash C++
    Or Click Here
    Because I've never tried the C++ Flash articles, so I couldn't tell ya.

  3. #3
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Effectively, it's this:
    1) Macromedia's Flash Player is pretty much the only program that can reliably playback Flash animations.
    2) The Flash Player can be integrated into your application as an ActiveX control.
    3) Using ActiveX controls is a lot easier in C# than in C++.
    4) The problem is feeding the data to the Flash Player if you embed it in your exe. I think you'll have to see if the Flash Player ActiveX supports a memory stream as input.
    All the buzzt!

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  4. #4
    Registered User
    Join Date
    Nov 2004
    Just when I think I've got a handle on this thing, I realise I'm using the wrong language again! Oh well, thanks for the advice guys.

  5. #5
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Visalia, CA, USA
    To answer your very first question, a resource can be anything.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Sorting out a resource manager
    By psychopath in forum Game Programming
    Replies: 1
    Last Post: 11-10-2008, 07:12 PM
  2. unmanaged resource
    By George2 in forum C++ Programming
    Replies: 2
    Last Post: 01-03-2008, 04:23 AM
  3. CreateProcess with Resource of executable, not the Filename
    By Ktulu in forum Windows Programming
    Replies: 4
    Last Post: 11-04-2006, 01:07 AM
  4. resource problem/question
    By stallion in forum Windows Programming
    Replies: 4
    Last Post: 01-29-2003, 02:08 PM
  5. Serial Communications in C
    By ExDigit in forum Windows Programming
    Replies: 7
    Last Post: 01-09-2002, 10:52 AM