Welcome, Guest
  • Author Topic: flash-db's "ugly" guestbook question  (Read 2202 times)

    B-L-A-D-E

    • Seasoned Programmer
    • ***
    • Posts: 221
    • Intermediate Flash Designer/Novice-Programmer
      • MSN Messenger - millerstephen@hotmail.com
      • AOL Instant Messenger - WICKIDxCLOWNxBOY
      • View Profile
      • SWJuggalos
      • Email
    flash-db's "ugly" guestbook question
    « on: 03/14/07, 21:44 »
    ok i d/led the Custom_Text_GuestBook and ive edited it to be a news pro well im having trouble loading a picture into a blank MC called loadMC along with the other information... and the way im tring to do it. ive added another field called pic and in the text file i have &pic0=Pic.jpg when Pic.jpg gets loaded into the pic field i use
    loadMovie("http://www.BlahBlah.com/Pictures/"+pic, "this.loadMC");

    I Cant Get It..
    [shadow=Blue,left,300]Stephen Miller[/shadow]
    Aim:WICKIDxCLOWNxBOY
    E-Mail: MillerStephen@Hotmail.com

    Jorge Solis

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 14616
      • View Profile
    Re: flash-db's "ugly" guestbook question
    « Reply #1 on: 03/15/07, 02:10 »
    Use loadMC.loadMovie(blabla)

    Jorge

    B-L-A-D-E

    • Seasoned Programmer
    • ***
    • Posts: 221
    • Intermediate Flash Designer/Novice-Programmer
      • MSN Messenger - millerstephen@hotmail.com
      • AOL Instant Messenger - WICKIDxCLOWNxBOY
      • View Profile
      • SWJuggalos
      • Email
    Re: flash-db's "ugly" guestbook question
    « Reply #2 on: 03/15/07, 07:59 »
    where should i place that ..ive tried everywhere and i used
    Code: [Select]
    loadMC.loadMovie("http://www.BlahBlah.net/Pictures/"+pic);
    [shadow=Blue,left,300]Stephen Miller[/shadow]
    Aim:WICKIDxCLOWNxBOY
    E-Mail: MillerStephen@Hotmail.com

    Jorge Solis

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 14616
      • View Profile
    Re: flash-db's "ugly" guestbook question
    « Reply #3 on: 03/15/07, 08:14 »
    You change it, I imagine should be when data arrives  ;)

    Jorge

    Ronald Wernecke

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 6203
      • View Profile
      • Professional Support
      • Email
    Re: flash-db's "ugly" guestbook question
    « Reply #4 on: 03/17/07, 08:57 »
    whenever you do data load, be aware that it is working asynchronous.
    This is why we need al these eventhandler stuff ;)
    But on the other hand - we dont need to wait for anything - it will happen, or not - and most important: we will be informed about it, if we want to know.
    happy flashing
    8)
    Ronald

    B-L-A-D-E

    • Seasoned Programmer
    • ***
    • Posts: 221
    • Intermediate Flash Designer/Novice-Programmer
      • MSN Messenger - millerstephen@hotmail.com
      • AOL Instant Messenger - WICKIDxCLOWNxBOY
      • View Profile
      • SWJuggalos
      • Email
    Re: flash-db's "ugly" guestbook question
    « Reply #5 on: 03/19/07, 01:25 »
    right on.. thank again i got it working.. now im gonna make the php to make news posts.
    [shadow=Blue,left,300]Stephen Miller[/shadow]
    Aim:WICKIDxCLOWNxBOY
    E-Mail: MillerStephen@Hotmail.com

    B-L-A-D-E

    • Seasoned Programmer
    • ***
    • Posts: 221
    • Intermediate Flash Designer/Novice-Programmer
      • MSN Messenger - millerstephen@hotmail.com
      • AOL Instant Messenger - WICKIDxCLOWNxBOY
      • View Profile
      • SWJuggalos
      • Email
    Re: flash-db's "ugly" guestbook question
    « Reply #6 on: 03/21/07, 00:42 »
    ive got the php working where it saves the news posts into the text file like this:

    &name0=Blah
    &title0=Blah
    &email0=Blah
    &comments0=Blah&
    &link0=Blah
    &pic0=Blah

    &numNews=1&

    But I Cant Figure The Part Where, When You Submit The New Post Is Added It Puts

    &name1=Blah
    &title1=Blah
    &email1=Blah
    &comments1=Blah&
    &link1=Blah
    &pic1=Blah

    &numNews=2&

    and etc...

    any help would be great.. ive looked over the saving and loading data tut already and cant get it.. and this is all i need for the news pro the work...

    Oh And The News Pro Loads Into Another MC On Another SWF Called "Main" and the Data Wont Load When I Load The NewsPro Into Another MC. I Would Usually Use

    _root.Main.BlahBlah But Theres So Many MCs To Go Through That I Cant Get The Whole Location you Know...

    This Is The Code One First Frame Of NewsPro

    // Extended Component by Jeff Hill.  Questions: http://www.flash-db.com/Board/
    // Create a New LoadVars Object
    myNewsPro = new LoadVars();
    // This Tells the Flash movie What function to invoke when the Load Vars Is complete.
    // Check the Functions layer to find the addNewsPro Function.
    myNewsPro.onLoad = addNewsPro;
    // Find the Text File - Load it
    myNewsPro.load("http://www.BlahBlah.com/News Pro/News_Entrys.txt");
    stop();

    and Since I Cant Get The Whole Location I Cant Get It To Load Through The MC "Main".
    What Should I Do?
    « Last Edit: 03/21/07, 01:15 by B-L-A-D-E »
    [shadow=Blue,left,300]Stephen Miller[/shadow]
    Aim:WICKIDxCLOWNxBOY
    E-Mail: MillerStephen@Hotmail.com