PDA

View Full Version : Need simple help


avelives
03-18-2003, 11:51 AM
I am doing a project designing a site with mostly actionscript.
I know how to load movies into clips. I have one movie on the main stage called "loaded1" a simple little graphics movie loads into it and i thought i knew how to get it working however! it doesnt seem to work and i cant figure out why??
The 'loaded1' clip apperas on the main timeline on frame 2, where it has this command:

onClipEvent (load) {
loadMovie("newbuttonthing.swf", "_root.loaded1");
}

Now correct me if im wrong but surely that should work???
Oh by the way i have the registration point of "loaded1" set to
the upper left corner, as i believe (again correct me if wrong) that falsh automatically aligns it to there anyway!?

simontheak
03-18-2003, 02:02 PM
Is that code on the movie clip?

If it is try replacing the instance name with the word this. So your code would look like this:
on ClipEvent(load){
loadMovie("products.swf", this);
}

What happens then??

P.S. Have you got the path to products.swf right?

avelives
03-18-2003, 02:18 PM
thanks for the help but i have sorted it out now.
As with most of my problems i just had to engage my brain and stop trying to complicate things.
I simply stuck the load feature on a frame instead and now its fine!!