Welcome, Guest
  • Author Topic: flash forum AS3  (Read 1893 times)

    biancia

    • Server what's that
    • *
    • Posts: 3
      • View Profile
      • Email
    flash forum AS3
    « on: 11/12/09, 05:40 »
    I downloaded the flash forum as3, nice app!
    But i can't make it work...   >:(

    i get this error:

    Error #2044: securityError non gestito:. text=Error #2048: Violazione della sicurezza sandbox: http://www.casapontormo.com/forum/ForumAS3.swf non puņ caricare dati da http://localhost/public/forum/Forum.php.
       at com.flashdb.forum::main$iinit()
       at flash.display::Sprite/flash.display:Sprite::constructChildren()
       at flash.display::Sprite$iinit()
       at flash.display::MovieClip$iinit()
       at ForumAS3_fla::MainTimeline$iinit()

    It say that the forum can't get data from forum php, security error... the folder has write and read permission....
    need help! thanks!

    Jorge Solis

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 14616
      • View Profile
    Re: flash forum AS3
    « Reply #1 on: 11/12/09, 08:54 »
    Bongiorno Bianca! (my italian sucks :)

    In point 1 of readme files says this:

    1) Create a directory called Forum on your server.
    IMPORTANT: path to Forum.php and category folders are in PathToPHP and PathToDir private variables of main.as class

    So open com\flashdb\forum\main.as and change line 34

    private var PathToPHP = "http://localhost/Tutorials/forum/Forum.php";

    You can use a relative path, like

    private var PathToPHP = "forum/Forum.php";

    Or an absolute path (if swf and PHP are in the same domain)

    private var PathToPHP = "http://www.casapontormo.com/forum/$Forum.php";

    Jorge

    biancia

    • Server what's that
    • *
    • Posts: 3
      • View Profile
      • Email
    Re: flash forum AS3
    « Reply #2 on: 11/13/09, 09:48 »
    hi jorge!
    i do everything you say!!
    i get this error only in firefox, it's say that is a security violation.

    In internet explorer there is no errors, but if i post a topic, it's says processing..loading news, but it doesn' t show messages....

    http://www.casapontormo.com/forum/forumAS3.html

    thanks a lot, and sorry for my bad english! :D

    biancia

    • Server what's that
    • *
    • Posts: 3
      • View Profile
      • Email
    Re: flash forum AS3
    « Reply #3 on: 11/13/09, 10:02 »
    ok!! it  works!!!!
    I think it was a protection on the server! thanks a lot! ;D ;D ;D