A Flash Developer Resource Site

Results 1 to 1 of 1

Thread: FlashVars and Htaccess

  1. #1
    Cheese Lover
    Join Date
    Sep 2005
    Posts
    46

    Question FlashVars and Htaccess

    I cannot pass variables to the flash when I htaccess it. The flash has 2 php files (for some functions) and 1 html file (needed for flashvars to work) in it's directory.

    The htaccess file:
    Code:
     Options +FollowSymlinks
     RewriteEngine on
     RewriteRule (.+)/(.+)/(.+).swf tjk.swf?theme=$1&url=$2&user=$3 [nc]
    The htaccessed link:
    Code:
    http://mysite.com/plaintext/google.com/admin.swf
    However, if I access it directly it works:
    Code:
    http://mysite.com/tjk.swf?theme=plaintext&url=google.com&user=admin
    Last edited by mmPHreak; 03-11-2006 at 04:28 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center