A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Writing to files directly from Flash

  1. #1
    if you go first
    Join Date
    Oct 2005
    Location
    Herts, UK
    Posts
    62

    Writing to files directly from Flash

    Hey

    My flash movie has an admin version - which is identical to the original, except that the text boxes are editable (ie input boxes.) A submit button sends all the variables to a php pop-up which has an "ok" button which, upon clicking, writes the data to a file.

    I was wondering if I could get Flash to do this directly (without using php?) - it would be nice for the admin guy not to leave the Flash movie.

    I'd really apreciate clarification on this...

    The two versoins are:
    http://emma.dar.cam.ac.uk/~cdj21/smr...x.php?swf=main
    http://emma.dar.cam.ac.uk/~cdj21/smr....php?swf=input

    Cheers,
    Chris

  2. #2
    Flashmatics silentweed's Avatar
    Join Date
    Mar 2005
    Location
    London, UK
    Posts
    4,875
    Well you dont have to leave flash..when he clicks submit have a flash movieclip pop-up with a button to confirm. When he clicks Ok on this flash movieclip, THEN send the variables to the php file which will then do whatever it needs to. The admin need not see any php file
    Flashmatics | Flashmatics Library (free downloads)
    -----------------------------------------------------
    Latest Projects:
    The Dead Room | Are You Smarter | Prison Break (Frame A Friend) | Beck's Fusions | The 24 Experience

    -----------------------------------------------------
    Flash Certified Developer

  3. #3
    imagination through stupidity
    Join Date
    Apr 2001
    Location
    P3X-3113
    Posts
    1,238
    no, flash cannot write directly to files. this is on purpose for security.
    Nothing to see here, move along.

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