embed

Pass variables between C++ and Lua via Swig

I'm working on a C++ project with a large number of classes (150+), each of which has anywhere from 10 to 300 fields or so. I would really like to be able to provide a scripting interface for testing purposes so that I can code callbacks that don't require any re-compilation. I'd like to do this in Lua since I'm more familiar with its C ...

Using AssemblyBuilder, how can I make all or any of the referenced assemblies embedded instead of linked in the saved assembly?

I have an executing assembly, which generates another assembly dynamically using AssemblyBuilder. The generated assembly consists of functions which simply test the construction of certain classes in the executing assembly. Since the functions in the generated assembly reference classes in the executing assembly, I want to have the exe...

differences between using wmode="transparent", "opaque", "window" for an embedded object on webpage

when embedding a Flash object with the <object> and <embed> tag, there is an attribute called "wmode". It seems that most of the time, wmode="transparent" is the same as wmode="opaque" as the Flash doesn't actually have any transparent color so that the bottom HTML element is to be shown. As a result, "opaque" should be faster than "tr...

Is there any API to add ads to my desktop app

I am looking for a way to embed ads to my desktop APIs. There are planty solutions out there for web sites which stream ads from Ad Networks. However, I didn't find one which will allow to get a similar ad content to the app. Does any one have any experience with this? Thanks!! ...

regex for changing height and width value in an embed code

HI I have an application where users can paste their embed code.While displaying I want to change the height and width of the embed code to a fixed value of my choice. Can you tell me the regular expression to find the width and height in the embed code. width="300" height="500". I want to be able to get these two values completely so t...

Playing dynamically embedded sound object via Javascript

I need to background load some WAV files for an HTML page using AJAX. I use AJAX to get the details of the WAV files, then use the embed tag, and I can confirm that the files have loaded successfully because when I set autostart to true, the files play. However, I need the files to play only when the user clicks on a button (or an event ...

Embed Sketchup model in website?

How would you embed a google sketchup model inside a website as seen HERE? Click 3d view in the top right corner of the image. ...

What is the best approach to embed mp4 for the iPhone without using JavaScript?

I am trying to troubleshoot this code and am running into a dead-end, so I thought I would ask my first question here. I have three questions: 1) What is the best approach to embed an mp4 for an iPhone specific view, preferably without using Javascript? 2) Are there any preferred practices to debug code on an iPhone? 3) Can anyone tel...

How to prevent others to embed my flash?

I have a flash file developed with Flex/ActionScript and put it on www.domainA.com How can I prevent others to download my flash (*.swf) and to embed it in other web site (e.g. www.domainX.com) ? I can hard code it by checking if "loaderinfo.url" is the same as www.domainA.com, but it seems not a clever solution. can policy file be us...

Embed section of HTML from another site?

Is there a way to embed only a section of a website in another HTML page? Example: I see an answer I want to blog about, so I grab the HTML content, and splat it in somewhere, and show only that, styled like it is on stackoverflow. Basically, I want to blockquote the section of the page with original styling, if that makes sense. Is tha...

AS3 Embed or Import all Classes in an external swf without referencing each Class seperatly.

**I have an ArtLibrary.swf file which has hundreds of MovieClips exported with class names. I want to be able to use these movies in multiple different flash files i'm working on but I don't know how to properly reference them after using and embed command. The following works** [Embed(source="ArtLibrary.swf", symbol="BirdBodyColor_...

How can I use Perl libraries from PHP?

I want to use Perl libraries from a PHP application. I have heard that it is possible. I have considered the possibility of re-writing the libraries in PHP, but I do not think that is a good idea because it is difficult. ...

Embedding bold font in AS3 Flash dynamic field

Hi all, I have already googled and read a lot of different topics relating to this problem, but still cant solve mine. I have this dynamic text field in a movieclip, and I embeded upper case, lower case and numbers. I exported that movieclip, then used it in my class and it's loading data from xml. However, after I embedded the bold fo...

video streaming loading time

I have made a kind of Video Slider, where thumbnail of videos are displaying in horizontal view , and when clicking on that video image, that video stats need to play. I am making an AJAX call to retrieve the URL and data related to selected video, and putting the URL inside the <object> </object> code. It's actually working, but th...

Why does Firefox fire two requests for embedded swfs?

When a swf is embedded in a page and is not cached locally in the browser, two requests for the swf are fired by the browser. Here is a simple example. The first request returns an expected 200 OK, and the second request triggers a 304 Not Modified after the first request has completed, indicating the file is now cached locally. Why is...

How can I embed a Perl interpreter in my C# program using Mono on Linux?

Does anyone know if it's possible to call a Perl sub from Mono in C#? This is on a Linux machine. Maybe DllImport? We want to avoid loading perl every time if possible, as well. ...

Problem with JDICplus embedding IE in Java

I am building a Java Swing application that needs to support both an embedded browser and ActiveX. The easy way to do this seemed to be to use JDICplus, which just embeds IE in your application. That would have covered both requirements. I also need to overlay some buttons on top of this browser view so the user can navigate between vie...

HTML Embedded PDF's & onload

Hi I'm embedding a PDF in a web page with the following html :- <object id="pdf" classid="clsid:CA8A9780-280D-11CF-A24D-444553540000" width="1024" height="600"> <param name="SRC" value="/GetDoc.ashx?SOID=<%=Html.Encode(Model.OrderID)%>" /> <embed src="/GetDoc.ashx?SOID=<%=Html.Encode(Model.OrderID)%>...

tinymce embed problem

Hi all, currently i am working on few tinymce plugins. in one of my plugin insert to embed flash swf. but it didn't work perfectly. its change the embed tag. here is the code: function insertMp3() { var v = document.getElementById('codebase').value+document.getElementById('file').value var html ="<object classid='clsid:d27cdb6...

java equivalent of swfobject

looking for a javascript class like swfobject to embed java and have a simple fallback if the user doesn't have java or refuses the security prompt. thanks, Josh ...