Load Movie Nightmare

Hi Guys :slight_smile:

I’ve just joined, as I really need some help from some of your pro flash users. Ok I’m new to flash, only used it a few times…
The problem I’m having… I made a site in flash a while ago, v.basic (tell target etc etc) I’m making one now using the loadmovie command… Moving on
Today I started making it all up…I followed the tut on this site, and made external swf’s etc…OK the real problem

I have one movie…In this movie I have buttons, which open up a movie in the lower half of the site. The movie that opens up in the lower half, has buttons inside too, which I want to load movies into the loaded movie within the main movie phew
To give you a better idea…

Main movie
"
Movie loaded in lower half of above movie
"
Movie loaded into the above loaded movie

The first movie loads in the main without any problem, but when I try to load the 3rd movie,into the second(loaded into main)movie, nothing happens… I’m using the code given with the tut on this site…The one that creates an empty clip (container)…

I guess if you looked it at it, you might get a better idea…shrugs
HELP ME Note this is rough as a dog so far, but i’m sure you’ll get the idea…I want the movie to load within the gallery movie that I loaded…if this is all confusing sorry…I’m a real newbie at this action scripting :hangover:

Thanks for any help you can give me, or even a work around…before I end up cutting the flash in half and working with two movies ;(

Here’s the code I’m using it might make things easier…

Ok main movie…The Gallery Button has this code attached to it…

gallery.onPress = function () {
_root.createEmptyMovieClip(“container”, 1);
loadMovie(“Gallery.swf”, “container”);
container._x = 20 ;
container._y = 220 ;
}

Then the poser gallery button within the Loaded movie has this code…

poser.onPress = function () {
_root.createEmptyMovieClip(“container”, 1);
loadMovie(“PoserGalleryPage1.swf”, “container”);
container._x = 0 ;
container._y = 0 ;
}

Nothing happens though…? When I run a test movie with just the gallery clip, everything works fine, but when I run through from the Main Movie clip, only the first loaded movie works…

Hope that helps…

gallery.onPress = function () {
_root.createEmptyMovieClip(“container1”, 1);
loadMovie(“Gallery.swf”, “container1”);
container1._x = 20 ;
container1._y = 220 ;
}

Then the poser gallery button within the Loaded movie has this code…

poser.onPress = function () {
_root.createEmptyMovieClip(“container2”, 2);
loadMovie(“PoserGalleryPage1.swf”, “container2”);
container2._x = 0 ;
container2._y = 0 ;
}

try this, i adjusted the MC names and levels

if you give 2 MC’s the same level, the first one will dissapear… and you get errors and flash starts to cry etc… :slight_smile:

try it, maybe it works

Cheers I’ll give that ago now

No I can’t get that to work either :frowning: raaaaaaaah
It still won’t load the movie into the loaded movie

Well _root targets the main movie.

So try…

gallery.onPress = function () {
this.createEmptyMovieClip("container1", 1);
this.container1.loadMovie("Gallery.swf");
container1._x = 20 ;
container1._y = 220 ;
}

_parent also works…

_root = the main movie
_parent = the _root of the movie were the action is located,

lemme xplain more…

if i have index.swf as the main movie,
INSIDE the index.swf, i load news.swf

*when _parent is located inside index.swf, it will do the same as _root…

*when _parent is located inside news.swf, it will go to the _root of news.swf…

understand? great! :stuck_out_tongue:

edit:
deleted all _current… sorry :smiley:

Maybe I am crazy, but I don’t believe _current is an actual locator option in Flash. It sounds like if it was for anything it would be for a hyperlink aka a getURL location such as _self, _top, _blank, etc.

But I am pretty sure _current doesn’t exist :-\

I could be wrong :-\

you are wrong, i used _current in this creation:

LAB

i needed to use _current or else the orange ball 1 loaded movie would crash becoz the drag targets were the same as the main movie…when i used _current, everything went smooth…

Sorry, im looking all over the web for this _current thing and I can’t find anything on it. Can you please show me where you learned it?

i asked on another forum located here:

Web-con

searching to thread i posted now…

Wow, I definitely can’t read that at all…lol.

Its not in the AS Reference, Its not in the AS Dictionary, its not in the undocumented features list, its nowhere to be found through google or any other search engine.

I am still skeptical.

i remember, i looked up the lab i made, and i was using _parent there, not _current… :smiley:

sorry for the inconvenience…ill edit posts

Well I am glad to hear I am not completely insane RvGaTe…lol. I was scrambling everywhere to find information on this because I was wondering how I could have never learned that if it existed since it is a locator and thats one of the most important things to know in Flash.

anyways, lets go help this guy again instead of goin completely offtopic :slight_smile: