FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » PHP and Flash
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
PHP and Flash [message #174949] Mon, 25 July 2011 23:40 Go to next message
PP is currently offline  PP
Messages: 4
Registered: July 2011
Karma: 0
Junior Member
Can I write data (words fetched from a form ) over a flash file swf
with php ?

Flash file is produced by a video maker who doesn't know flash and
actionscript.

The xml/text read from swf file is non good for me.

I should write over swf file. Is it possible ?
Re: PHP and Flash [message #174950 is a reply to message #174949] Tue, 26 July 2011 00:16 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 7/25/2011 7:40 PM, PP wrote:
> Can I write data (words fetched from a form ) over a flash file swf
> with php ?
>
> Flash file is produced by a video maker who doesn't know flash and
> actionscript.
>
> The xml/text read from swf file is non good for me.
>
> I should write over swf file. Is it possible ?

Immaterial whether you're using PHP, Perl, Python or any other
server-side language. You need a Flash-related newsgroup.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: PHP and Flash [message #174951 is a reply to message #174949] Tue, 26 July 2011 01:07 Go to previous messageGo to next message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma: 0
Senior Member
PP wrote:
> Can I write data (words fetched from a form ) over a flash file swf
> with php ?
>
> Flash file is produced by a video maker who doesn't know flash and
> actionscript.
>
> The xml/text read from swf file is non good for me.
>
> I should write over swf file. Is it possible ?

Do you mean you want to modify the SWF file, or simply embed the SWF
file and put text on top of the displayed image, by e.g. using a layer
above it?

The latter is IIRC simple HTML, and well within the scope of anything
including PHP.

The former is a deep and dirty process
Re: PHP and Flash [message #174952 is a reply to message #174949] Tue, 26 July 2011 05:47 Go to previous messageGo to next message
Michael Vilain is currently offline  Michael Vilain
Messages: 88
Registered: September 2010
Karma: 0
Member
In article
<92ccbb33-53a9-4d97-a543-4ab3fcfd9fcf(at)en1g2000vbb(dot)googlegroups(dot)com>,
PP <ilpaese(dot)delpressappoco(at)gmail(dot)com> wrote:

> Can I write data (words fetched from a form ) over a flash file swf
> with php ?
>
> Flash file is produced by a video maker who doesn't know flash and
> actionscript.
>
> The xml/text read from swf file is non good for me.
>
> I should write over swf file. Is it possible ?

Flash is a proprietary file format owned by Adobe. They haven't
licensed or released the format to Open source, so unless you reverse
engineer how to write the file, you are most likely out of luck.
Rethink your approach. This one won't work without a lot of work that
will most likely have Adobe's lawyers on your ass regardless of what
country you live in.

--
DeeDee, don't press that button! DeeDee! NO! Dee...
[I filter all Goggle Groups posts, so any reply may be automatically ignored]
Re: PHP and Flash [message #174953 is a reply to message #174951] Tue, 26 July 2011 08:16 Go to previous messageGo to next message
PP is currently offline  PP
Messages: 4
Registered: July 2011
Karma: 0
Junior Member
> The latter is IIRC simple HTML, and well within the scope of anything
> including PHP.

Can you give me more information about this approach?

Thank you all.
Re: PHP and Flash [message #174954 is a reply to message #174949] Tue, 26 July 2011 10:44 Go to previous messageGo to next message
Denis McMahon is currently offline  Denis McMahon
Messages: 634
Registered: September 2010
Karma: 0
Senior Member
On Mon, 25 Jul 2011 16:40:53 -0700, PP wrote:

> Can I write data (words fetched from a form ) over a flash file swf with
> php ?
>
> Flash file is produced by a video maker who doesn't know flash and
> actionscript.
>
> The xml/text read from swf file is non good for me.
>
> I should write over swf file. Is it possible ?

It almost sounds to me as if you're asking how to clickjack the play
button on a flash video.

Nah, I must be wrong.

Rgds

Denis McMahon
Re: PHP and Flash [message #174955 is a reply to message #174951] Tue, 26 July 2011 11:43 Go to previous messageGo to next message
Michael Fesser is currently offline  Michael Fesser
Messages: 215
Registered: September 2010
Karma: 0
Senior Member
.oO(The Natural Philosopher)

> Do you mean you want to modify the SWF file, or simply embed the SWF
> file and put text on top of the displayed image, by e.g. using a layer
> above it?
>
> The latter is IIRC simple HTML, and well within the scope of anything
> including PHP.
>
> The former is a deep and dirty process

So is the latter. Usually you _cannot_ put anything on top of active
content like a Flash. The possible solutions are just hacks.

http://stackoverflow.com/questions/123529/how-do-i-place-html-content-above -a-flash-movie

Micha

--
http://mfesser.de/blickwinkel
Re: PHP and Flash [message #174956 is a reply to message #174955] Tue, 26 July 2011 14:12 Go to previous messageGo to next message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma: 0
Senior Member
Michael Fesser wrote:
> .oO(The Natural Philosopher)
>
>> Do you mean you want to modify the SWF file, or simply embed the SWF
>> file and put text on top of the displayed image, by e.g. using a layer
>> above it?
>>
>> The latter is IIRC simple HTML, and well within the scope of anything
>> including PHP.
>>
>> The former is a deep and dirty process
>
> So is the latter. Usually you _cannot_ put anything on top of active
> content like a Flash. The possible solutions are just hacks.
>
> http://stackoverflow.com/questions/123529/how-do-i-place-html-content-above -a-flash-movie
>
> Micha
>
Well I do not consider that setting the SWF into a z-plane with
transparent mode and overlayering text is a 'hack'. It is simple HTML.

In my book.
Re: PHP and Flash [message #174965 is a reply to message #174956] Wed, 27 July 2011 11:12 Go to previous messageGo to next message
PP is currently offline  PP
Messages: 4
Registered: July 2011
Karma: 0
Junior Member
Thank you all.

I'd like to explain my requirements
My friend (content video maker) asked me for a simple an inexpensive
digital signage system for small shops.

He can produce video in different format.

I don't want to reinvent the wheel.

I just see yesterday that there are web player (jw player, flow
player, Open Source Media Framework di Adobe)

My friend create video templates and I just only add an overlay with
text fetched from a form or Database, so I think that this players
could be a interesting track for my purpuse.

TIA.
Re: PHP and Flash [message #174967 is a reply to message #174965] Wed, 27 July 2011 15:20 Go to previous messageGo to next message
Denis McMahon is currently offline  Denis McMahon
Messages: 634
Registered: September 2010
Karma: 0
Senior Member
On Wed, 27 Jul 2011 04:12:46 -0700, PP wrote:

> I don't want to reinvent the wheel.

OK, but you need to understand the way things work.

Anything you want to present on a web page, or techniques you want to use
on the web page, be they flash, javascript, css, html or bouncing funky
gibbons are outside the scope of php programming.

To generate a web page with php, first of all you need to understand what
you want to deliver to the browser. Then you use php to generate that
content. But a php programming group or forum is not the place to ask
what content you want to generate, rather it is a place to ask how you
generate that content.

We won't tell you how to use an img element to embed an image in an web
page, but we can tell you what functions might help you create the image,
the html you want, or both.

Rgds

Denis McMahon
Re: PHP and Flash [message #174976 is a reply to message #174965] Thu, 28 July 2011 13:37 Go to previous message
bgulian(at)gmail(dot)com is currently offline  bgulian(at)gmail(dot)com
Messages: 2
Registered: July 2011
Karma: 0
Junior Member
On Jul 27, 7:12 am, PP <ilpaese.delpressapp...@gmail.com> wrote:
> I just see yesterday that there are web player (jw player, flow
> player, Open Source Media Framework di Adobe)
>

Most of the replies in this thread are anecdotal.

1. Setting the flashvar mode=transparent in embedding the video will
let you put anything you want over the movie.
2. However, JW Player has quite a few parameters and APIs and
customiztion possibilities that will probably let you do what you
want. Read up on it.
3. Though the replies to your post are pretty lame, the posters are
correct that this is not the forum for your question. Try the forum on
the Longtail site or just google.

Bob
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Avoiding Proxy Caching
Next Topic: *WHAT IS ISLAM ?*
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Jul 08 11:52:12 GMT 2024

Total time taken to generate the page: 0.02331 seconds