I am a new user of the Zend Framework. I have used some tutorials and have a
working application that has login ability with a mysql database. I am
looking at coding the View using Flash Builder 4 and made a login swf file
to be invoked from the login.phtml file. I am using htmlFlash() to invoke
the login.swf. I have installed the swf file in the /public/flash directory
as well as the swfobject.js and the history stuff for flash. I have found
some articles about excluding the swf files from a redirect in the
mod_rewrite rules. The rewrite rules are as follows:

 

RewriteEngine on

RewriteRule !\.(js|ico|gif|jpg|png|css|swf|flv)$ index.php

 

For total disclosure, I am running PHP 5.3, ZF 1.10, Flash 10.

 

When I am redirected to the login page, The SWF does not load properly, I
get an error 2032 from Flash. When researching the 2032 return code in
flash, it seems as though it is an issue with cross site scripting or
permissions on the SWF file. I am able to use the login.swf file in an html
file outside of the Zend Framewrok with no issues.

 

Can anyone please provide some direction?

Also, are there any sample applications/tutorials out there that show how to
use Flash for the views?

 

Any help is appreciated.

 

Jack

 

Reply via email to