PDA

View Full Version : drowning...


NetScamp
06-06-2003, 08:23 PM
I have a scroll pane. it loads different movies, depending on which button is pressed.

Movie1, a simple movie with just an image and a listbox works fine.

Then there is another movie (movie2 ) which doesn't load, or won't display.

Movie2 loads ANOTHER movie that sequentially loads 25 other clips. On its own, it works fine, that is, if I edit movie2, and try "test scene", it works good, it knows where to find it's little clips, etc. bada-bing.

But back in the main movie, if I load movie2 into the scrollpane, I get no errors, but nothing happens.

I use this code for both movies,

mainframe1.setScrollContent("movie2");

movie2, in properties, IS checked for export to actionscript.

Sidebar...

I tried simply loading the movie, not into a scroll pane, but into level 1, but couldn't figure out how to position it on the stage.



thanks,
RjW

farafiro
06-08-2003, 10:49 AM
is _root.loadMovie(.....) what u r after??

NetScamp
06-08-2003, 05:51 PM
Sir,

I eliminated the external swf, that was loading the 25 other clips, and made a movie inside the main FLA that did the same work it was doing.

Then I was able to use the setscroll content.

so it's a clip(movie 2) that contains [a clip (movie3) that loadmovie's 25 other tiny clips in sequence], and that movie (movie 2) also has other elements, [a combo-box, and a text box], all of which are pulled into the scroll pane on a button press.

I don't know why this works, and the other way doesn't, but I feel like a little knowledge is trickling in to my brain. I will post this pile of spaghetti in the "post your site" forum when it's complete.

Thanks for your response.


RjW

farafiro
06-09-2003, 06:31 AM
anytime

but if u wanna know why, I think I must see the code :)