A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: How to load swf from exe resources

  1. #1
    Senior Member
    Join Date
    Jun 2001
    Posts
    136

    How to load swf from exe resources

    Hello,

    I wonder if someone can help, as I can't seem to find any information on this. I have a swf embedded in a C# application. What I would like to do is my internal swf from the resources into my ActiveX component.

    The problem is the ActiveX component only seems to accept a url, where as I have a stream to the swf. Is MovieData the right direction for this, or am I missing something obvious? Some example code would be great.

    Thanks,

    Mike
    Last edited by beelineuk; 04-15-2004 at 05:58 PM.
    Accept No Limitations

  2. #2
    Lifetime Friend of Site Staff Northcode's Avatar
    Join Date
    Dec 2000
    Location
    Whitehorse YT
    Posts
    3,764
    The Movie property will accept a URL with a file reference as well ( like "file://...") but the file has to exist on the HD. If you extract the SWF file from the resource to the temp dir then you will be able to load it.

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