embedding

FlashDevelop + haxe -- use an embedded font

I've added my TTF file to my HaXe project, and it appears to be embedded into the swf, but i have no clue how to get any of my TextFields to use it. How can i do that? Update: I have a project set up as the same (for the purposes of this question) as this tutorial, and my font is not showing up (while theirs is). It seems to have to do ...

How make work import of python26.zip on windows

I need to deploy a embeded version of python26. I have it working under windows folowing the setup of http://www.portablepython.com/. However after read this I try to pack everything into a zip file, and left out python.exe, python26.dll. However, that not work if python is not pre-installed. Also, I try pre-compilling everything with...

Why my embedded video resizes automatically?

Hellogain, this time I have a page which will load different kinds of file formats, well... i use a switch with php to load the correct player according to the filetype. But when I try to load a wmv file, the video automatically grows and exceeds the allowed size that i gave the player... i don't know how to prevent that. Here is my cod...

Embed a local PDF in HTML page

Situation: Web application running on a remote server is displaying PDFs. PDF document is stored on client's PC (location is known). Is there any way to embed that PDF into HTML page with local path? p.s.: So far i tried "object", "embed" and "iframe" and with no success. I tried with file://, file:///, and without, URL with slashes a...

Adobe Reader plugin forbids embedding PDFs from ouside domains

One part of web application is local digital signing using activex component. But I want to display a PDF that gets signed beforehand and after. Since documents can be quite large I would'n really want uploading them and then again downloading for displaying. Therefore I wanted to embed a PDF using local path (eg. file:///) but Adobe th...

Integrating a script language into a C++ application

Hi, I'm really new to C++ and I've come across a problem I've not been able to solve by reading documentations. I want to embed a script language into my c++ application. That language could be javascript, lua or preferably python. I'm not looking for something like Boost.Python / swig, something that is able to wrap my c++ functions ...

Flex: Embedding fonts at runtime only works locally?

I'm trying to change the text format in a TextField I get from a .swf. I'm embedding my font in a myFont.swf: public class TemplateFont extends Sprite { [Embed(source='../fontFiles/geogrotesque/Geogrotesque-Regular.ttf', fontName='theFontName')] public static var FONT_TEXT:Class; } Then I'm loading it where I ne...

Jquery: Trigger Embedded Object click by clicking a Div?

Hi there! I am trying to trigger an embedded object click by clicking on another div, this is the code ive tried: $('.action-upload').livequery(function() { $(this).click(function() { $('#button').trigger('click'); }); }); this is the code that comes up for the embedded object in firebug: <object width="114" height="29"...

Inline videos from Link for Facebook

I have a site with a webpage containing videos. example.com/foo.html -> Has swf video embedded via flashembed. When users share this link on Facebook, I want the video to be playable inline on Facebook. (WHich is what happens if it were a Youtube link.) There is some related discussion, but it seems to target FB app developers. http...

Lua or Python binding with C++

I have used Lua.NET on .NET platform and I could call the .NET class/object from Lua and I could call the Lua from .NET Lua API interface. I did the same with the IronPython. I knew the how the .NET binding works. Now I have a C++ project and I want to use the dynamic capabilities. I want to call C++ object which may not be possible fr...

Understanding Flash CS5 embed code

When I publish out of Flash CS5 it produces html <object> tags but no <embed> tags. I thought tags were required for certain non-IE browsers? Example: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> ...

Formatting E-Zine correctly for Outlook embedding

Hi, my client wants an E-Zine that can be embedded in an email along with edited and managed in an email. A solution to this is creating a basic HTML file which is embedded into an email, upon clicking "forward" the HTML file can be edited. This is what my client wants, however I'm having trouble formatting it correctly. Has anybody els...

Editor for firebug or 'how to embed a custom editor' in a firefox tab?

Firebug is great for javascript development, but doesn't allow to edit the code (the 'edit html' in the firebug is not usable, doesn't save the file and even if it did, it is just an plain text editor without any coloring). I usually have my editor opened next to Firefox, but the constant switching feels aarrgh! To have the editor insid...

Can You Embed an TCL Script in Bash Script or Python Script That's Callable by External Programs?

I'm writing a script to extract some useful data about a series of chemical simulations I've been running. To get this data I need (1) a C-program that calculates the density from a file type called *.pdb. I already have (1). And (2) I need to use a program called vmd to get that pdb. In order to accomplish (2) from the command line,...

NaN giving an error depending on Python startup?

Hi, I am using Python4Delphi to embed Python in a Delphi program. Versions: Python 2.6.4, Delphi 2009, Windows XP. The Delphi program crashes with EInvalidOp when importing json. I tracked it to the line NaN, PosInf, NegInf = float('nan'), float('inf'), float('-inf') in json.decoder. Sure enough, the command float('nan') raises an ...

Embedded JW flv media player into swf : problem controlbar

Hello, I'm trying to embed JW flv media player into another swf (version 3.15). It works but not totally. With some variables, I could set up the displaying, volume, autostart... But I have some problems : The variable "showdigits" doesn't work at all. The controlbar width takes the width of my scene and not my flv width, in my case 9...

Embedding Python thread safe

Hi everyone, I'm trying to use Python in a module for an analysis software of vehicle bus systems. For this I have to embed Python in a thread safe manner, since there can be multiple instances of the module witch work independently. I could use a mutex to guard all access to Python and create an unique (python) module for every thread...

WinForm lock other application inside form

Sorry if this was asked before or if this is stupid. I am making an application for security staff (night guards) to make his nights more interesting, Ill love to try embed TV Player inside WinForm. Problem is that TV tuner which I have has their own application and I can only reproduce TV Signal using that application. I think If I em...

audio player for websites

Hi Can anyone suggest me a good audio player for embedding in the websites? I need a simple auio player for the website with play and pause option and with the option to download the music thats playing. Thanks ...

Embedding Python in C for configuration files

I'm trying to embed python into c to use it for configuration: If I do it like this: /****************************************************************************** * * Embeding Python Example * * To run: * gcc -c test.c -o test.o -I"C:/Python25/include" * gcc -o test.exe test.o -L"C:/Python25/libs" -lpython25 * test.exe * ****...