View Full Version : Creating embeddable flash plus surrounding php

11-17-2007, 07:29 AM
Hey mates,

I have a simple PHP page that I want to make into an embeddable....

It contains an input box for people to type some text (this saves into a DB). Then, on the right side, there is a flash SWF that pulls the text from the DB and makes the text look fancy.

These are two elements that need to be enclosed into 1 embeddable for a few of my friends to place on their blogs for fun.

I know most embeddable are just one clean swf file, but how would I integrate a SWF and it's surrounding PHP into one embeddable without having to do either of these last-resorts:

a) iframe the whole thing ... technically feasible, but not ideal.
b) remake the entire thing into one SWF (which takes a lot of work and re-design)

Any JS methods to make the embeddable code clean? (just a guess)

Thanks so much to anyone who may know....

Even if you don't, a good starting point on customizing embeddables would be wonderfully helpful!

11-17-2007, 12:49 PM
You could use php to include it or shtml includes.

11-17-2007, 07:05 PM
But is there a way to make it all into a clean piece of code to give to other people to embed?

Instead of a block of HTML as if it were an iframe