Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: RE: FLASH: loading movie
From: Phillip Kerman
Date: Sun, 26 Nov 2000 14:35:04 GMT

When you load movie into a level the top left corner of the loaded move
aligns with the top left corner of the host movie. When you load into a
target (that is, into a clip instance) the top left corner of the loaded
movie aligns with the center point of the clip.

Additionally, you can move a loaded movie with:
clipInstanceName._x=200;
clipInstanceName._y=250;
(assuming the clip you're targeting's instance name is "clipInstanceName")

Alternatively, if you're loading into levels use:
_level1._x=200;
_level1._y=250;
(assuming the level you're loading into is 1)

This is covered in detail in chapter 18 of my book "Sams Teach Yourself
Macromedia Flash 5 in 24 Hours". Four sample chapters (possibly including
this chapter) will be available as a free download from my site shortly:
www.teleport.com/~phillip

Phillip

>
> I have a question about loading a new flashmovie over another flashmovie.
>
> Is it possible to give a possition to second flash movie (maybe with
> coordinates).
>
> For example.
> -I have create movie1 400x400 pixels
> -Now I have movie2 100x100 pixels
> -So I use Level 1, so that you still see the other movie, but is
> it possible
> to give an exact location for that movie, let say's x-coordinate=200
> y-coordinate=250?


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save 200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: loading movie, Samiech Alloush

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]