Groups | Blog | Home
all groups > flash (macromedia) > january 2006 >

flash (macromedia) : How to control the placement of a movie


Motion Maker
1/13/2006 6:30:36 PM
I personally like using blank movie clips and then the loadMovie method.

However when there are timing issues such as knowing the dimension of the
external movie or using code in the external movie, then I like to use
MovieClipLoader and the onLoadInit and onLoadComplete methods.

Alternative to MovieClipLoader is setInterval and calling a function that
test for the presence of a value inside the external movieclip. You can use
that technique with loadMovieNum or loadMovie.

--
Lon Hosford
www.lonhosford.com
May many happy bits flow your way!
[quoted text, click to view]
Greetings flash Gods! I have one "base" movie ("index.swf") that i am
calling
other movies from using

loadMovieNum("a.swf", 10);
loadMovieNum("b.swf", 20);
etc....

The question is ....the index.swf movie has only a small window to play
these
other movies inside of. When i call in, let's say, "c.swf" to play in the
main movie frame, i am having trouble figuring out how to move the movie
into
the right location on the page. The unfortunate thing is ....the movie
being
called ("c.swf") has some pretty agressive code in it and i'm unable to put
all
of that code into a movie object of its own and move that object to other
locations on the screen for alignment. Are there any other cool ways of
calling a clip to a specific point on the stage?

Thanks in advance!

David

david_here
1/13/2006 10:17:48 PM
Greetings flash Gods! I have one "base" movie ("index.swf") that i am calling
other movies from using

loadMovieNum("a.swf", 10);
loadMovieNum("b.swf", 20);
etc....

The question is ....the index.swf movie has only a small window to play these
other movies inside of. When i call in, let's say, "c.swf" to play in the
main movie frame, i am having trouble figuring out how to move the movie into
the right location on the page. The unfortunate thing is ....the movie being
called ("c.swf") has some pretty agressive code in it and i'm unable to put all
of that code into a movie object of its own and move that object to other
locations on the screen for alignment. Are there any other cool ways of
calling a clip to a specific point on the stage?

Thanks in advance!

David
AddThis Social Bookmark Button