[Flashcoders] embed SWF with PHP

2006-01-16 Thread Mark Radose
Hey does anyone know how to embed a swf into a page using php. I'm basically
trying to find a way to hide the swfs url  from the user so that it can't be
saved (I'll have to stop it from caching also.)

I've seen it done before on thi site. www.mx3d.com. Theres basically a php
script that writes the name of the swf and when you load php page directly
you are presented with the swf but when you view the source it gives you
some bytecode.

It looks like a pretty safe way from preventing anyone getting to your swf
in the first place
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] (no subject)

2006-01-15 Thread Mark Radose
Does anyone know any good tutorials on The DisplacementMapFilter? I've
looked through the Help files to try and get my head around it but i dont
quite understand it yet. I'm hoping that if I can understand how it works I
might be able to use more effectivley.

I was wondering if its possible to do a perspective skew using the filter. i
know you can't do this with the transformation Matrix but Im sure theres a
way to do it with the Displacment Map
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] (no subject)

2006-01-15 Thread Mark Radose
yeah i had a look at that and it didnt help too much.

I've been looking at the following formula given in the Help files, I kinda
understand it in principle the only think i dont understand is why when an
offset is found does it scale it down by 256? and also what happens if the
resulting value is not a integer, does it round it to the nearest pixel?

dstPixel[x, y] = srcPixel[x + ((componentX(x, y) - 128) * scaleX) /
256, y + ((componentY(x, y) - 128) * scaleY) / 256]




On 1/16/06, Chris Velevitch [EMAIL PROTECTED] wrote:

 Try:-

 http://blog.andre-michelle.com/index.php?s=displacementmapfilter
 http://www.quasimondo.com/archives/000568.php#568

 On 1/16/06, Mark Radose [EMAIL PROTECTED] wrote:
  Does anyone know any good tutorials on The DisplacementMapFilter? I've
  looked through the Help files to try and get my head around it but i
 dont
  quite understand it yet. I'm hoping that if I can understand how it
 works I
  might be able to use more effectivley.
 
  I was wondering if its possible to do a perspective skew using the
 filter. i
  know you can't do this with the transformation Matrix but Im sure theres
 a
  way to do it with the Displacment Map
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 


 --
 Chris Velevitch
 Manager - Sydney Flash Platform Developers Group
 www.flashdev.org.au
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders