A Flash Developer Resource Site

Results 1 to 1 of 1

Thread: PHP Cookies Variables Flash MX

Threaded View

  1. #1
    Junior Member
    Join Date
    Mar 2001
    Posts
    14

    PHP Cookies Variables Flash MX

    I have got a problem with using a variable from a cookie created with a php script. The cookie creates ok and i can view the page number variable in a text box. When i try and use the variable it doesn't work, i am trying to gotoAndStop(curr) curr being the variable with the page number enclosed - nothing happens.

    The php script is below and i have attached the fla. the bookmark feature is the part giving me a headache.


    Can anyone help?

    <?
    $expire = time() + 12700800;

    switch ($action) {

    case 'create':
    setcookie($cookiename, $currFrame, $expire);
    break;

    case 'goto':
    echo "&curr=$currFrame";
    break;

    }

    ?>
    Attached Files Attached Files

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