A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Quick question about refferencing movie clips

  1. #1
    Junior Member
    Join Date
    Apr 2004
    Posts
    15

    Quick question about refferencing movie clips

    Okay, I have a guestbook swf which works fine,
    http://www.rit.edu/~dxs5855/fc/guestbook.swf

    and I am trying to load that page(movie clip) onto my main site, here
    http://www.rit.edu/~dxs5855/fc/website.html

    if you click on the guestbook button (at the bottom, near the c:\...) the guestbook.swf loads up fine but the text from the guestbook does not load up.

    I have traced it down to a problem when I am printing it out in php,
    Code:
    print "&_root.guestbook.GuestBook=";
    okay I know I am not supposed to be doing this, instead I am supposed to be using loadvariables (instead of loadvariablesnum, but that is not working )

    ... so what is the refferencing I use. I put down 'guestbook' since I thought that would be the movie clips instance name which gets loaded onto the given frame, but that obviously is not working. Any suggestions?
    reality is for people with lousy imagination

  2. #2
    Junior Member
    Join Date
    Apr 2004
    Posts
    15
    bump

    okay i tried this out, so that guestbook swf file loads into an empty container named m1.

    Now I know that it is _root.m1.GuestBook as the refference, but Now the guestbook.swf is not loading into the empty movie clip...

    help

    Code:
    on (rollOver) {
        tellTarget ("../button_info_movie") {
            gotoAndPlay (41);
        }
    }
    on (release) {
        unloadMovieNum (14);
        m1.loadMovie("guestbook.swf", "0");
    }
    I created a new empty movie clip called guestentries

    Put an instance of guestentries name m1 onto the main flash page... still is not loading the swf up...
    reality is for people with lousy imagination

  3. #3
    Junior Member
    Join Date
    Apr 2004
    Posts
    15
    BOO YEAH!!!

    Got the sucker working....
    reality is for people with lousy imagination

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