embedded-resource

Unload embedded video in flash AS3 (skip intro style)

Here's the scenario: i've created an external.swf that contains an embedded video (FLV) in the timeline. i've created another swf file (player.swf) that loads the external.swf using this: var request:URLRequest = new URLRequest("external.swf"); var loader:Loader = new Loader(); loader.load(request); videoContainer_mc.addChild(loader);...

Can Someone explain the Purpose of the different Build Actions in VS 2008?

At first I was just looking for the difference between Resource and Embedded Resource; then I noticed all these other Build Action types: Compile, Content, Embedded Resource, ApplicationDefinition, Page, Resource, SplashScreen, and EntityDeploy. I understand some of these but some are more vague and a clearcut definition would be helpfu...

Including resource file in a project by .RC file rather than .RES file

I remember reading an article or post somewhere years ago that suggested including a resource file in a project by referencing the .rc file instead of an already compiled .res file so that the resource is built as part of the project's build process. I have a glyphs.rc file that I currently compile using the command brcc32 glyphs.rc. In...

C#: Loading an embeded swf into an flash activex without a temporary file.

My project requires that my final application be completely self contained in a single exe. I am already combining the executable and dlls using ILMerge (assmebly merge utility). I am hosting an flash active x control in a C# application and I have embedded the one swf i need to load into the flash control into the c# application as an e...

Is there a browser embedded player that can play 3gp, amr, mid, mp3 & wav

Hi, I want to play in my web site 3gp, amr, mid, mp3 & wav files My web site should support Internet explorer 6 & 7, It don't have to support mobile devices at all - only standard desktop IE 6&7. Is anyone knows a player that I can embed in my web site? ...

Problem in using php function imagecreatefromjpeg for image having Adobe1998 color profile

Hi, I have used the following code to create jpeg image using existing images. These images have used embedded color profile, Adobe1998 color profile. header("Content-type: image/jpeg"); $src = imagecreatefromjpeg($upfile); $dst = imagecreatetruecolor($tn_width, $tn_height); imagecopyresampled($dst, $src, 0, 0, 0, 0, $tn_width, $tn_he...

Flash CS 4 / AS 2 + Dynamic Text + Html + Embedded fonts...

I have this scenario: 1) I have a dynamic text that receives its data from a XML. 2) The texts showed get theirs style from a CSS file. 3) My dynamic text has a html 'span' tag and it's formatted according to the CSS class that it's passed via the XML file. Ok... so far so good. It's something like: _root.txt.txtDica = "<span class='"...

Reusing The .NET Application Icon

How can I reuse the application icon from within my application so I don't have to embedded it twice (once for the application icon and once for internal usage)? ...

Using #defined values in Visual Studio dialog resource scripts?

I'm trying to create an About box for my Windows C++ application. In Visual Studio 2008, I'm using the dialog editor to design the dialog. I want the About box to display the application's version in a static label. I can hardcode the version into the dialog, stored in a .rc file, but then I'll have to remember to update the version in ...

Loading Html page and modifying a section

I need to load an external web (not local) page into my site (some link), but only a part of it. What are the options for doing so? ...

How to use NVelocity without embedding the templates as resources?

I've been playing around with NVelocity to create a library that loads mail templates. And I haven't been able to load a template without embedding it into the application assembly. Is there a special way of doing this? Properties to be specified? I've tried several string formatting tweaks to get the path of the template and keep getti...

What is the proper way to reference Embedded Resources in .net xmldoc comments?

I have a C# project that uses xml comments. I make chm files from them with Sandcastle via the Sandcastle Help File Builder. One of the member functions in this project makes use of an embedded resource. I want to reference it in the help file. It seems that sandcastle does not support this, but the xml documentation files it parses does...

Resource from assembly as a stream

I have an image in a C# WPF app whose build action is set to 'Resource'. It's just a file in the source directory, it hasn't been added to the app's resource collection through the drag/drop properties dialog. I'm trying to write it as a stream, but I can't open it despite trying quite a few variations of dots, slashes, namespaces and se...

How to fix @font-face glitches in Firefox 3.5

In existing code I had CSS @font-face declarations for .EOT embedded fonts that worked flawlessly actually, in internet explorer. So now I read that Firefox does embedded now too, in 3.5, except it embeds .ttf fonts directly. So I altered the @font-face declaration for firefox and gave it a shot: @font-face { font-family: FontX; sr...

Embedded Resources and ASPX pages

Hi, Is it possible to embed an aspx page (self contained, no seperate codebehind file) into an assembly, in this case a SharePoint web part, and have it still act as an aspx file when called via the resource url? Regards Moo ...

Adobe Dreamweaver Extensions

Does anyone know if its possible to turn off dreamweavers "custom icons" that it shows in the file browser so you can see the standard system-cache ones instead? Something I'm trying to do via an extension but I cant find where its coming from in the large pile of XML files that is dreamweaver. As the guy below pointed out this isn't a...

Embedded images in HTML email not displaying on mobile phones

I have an application that sends an HTML formatted email with embedded images. The email looks perfect on many different desktop/web clients. When the email is viewed on a mobile phone that supports HTML email (tested on iPhone, WinMo 6.1) the images are displayed as red 'X's. All other HTML is being displayed correctly. To be clear,...

Why doesn't the debugger hit this breakpoint consistently? Am I neglecting a file handle?

Consider the following code: static void Main(string[] args) { using (MemoryStream memoryStream = new MemoryStream(Resources.SampleXMLFile)) // Breakpoint set here { using (XmlTextReader xmlTextReader = new XmlTextReader(memoryStream)) { var z = XElement.Load(xmlTextReader); } } Console.ReadLine(); }...

How to share resource files between .NET CF 1.0 and 2.0/3.5?

Hi, I've created NAnt scripts to compile our codebase for .NET CF 1.0, 2.0 and 3.5. This worked pretty well in the past. Now we started localizing our UI. So our scripts need to compile the resource files (resx) too. And that's where the trouble starts. The resx format changed from VS .NET 2003 to VS 2008. My idea is to continue mainta...

How to deploy SWF file?

I have a SWF file I created using Adobe Flex and I cannot seem to properly embed it inside an HTML page. If I take another SWF file and use it instead, it works all the time. My SWF file is pretty big (1 MB) while the other one is tiny (25 KB). However, I can wait 5-10 minutes and the server connection is super fast and it still will ...