Flasher Archive

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


Subject: FLASH: Get Propery of a MC loaded in a target
From: Laura Mollett
Date: Sun, 7 May 2000 15:40:04 +0100

Hi all,

I seem to be having one of those recurring targeting problems or something.
I've loaded a movie into another MC (loaded into target) and I want to be
able to get the height and width of the loaded movie. The movie clip it's
loaded into is called "screen" and the loaded movie is "test.swf". I read on
MMs site that when you load a movie into a clip, it takes on all the
attributes of the clip, including the instance name, but

GetProperty("window1/screen", _height)
isn't working and neither is
GetProperty("test.swf", _height)
or
GetProperty("window1/test.swf", _height)

nor anything else I can think of :) Any ideas? The only other thing I can
think is that it's not possible to access those attributes of a loaded movie
or that flash is not seeing the movie as completely loaded (that action is
in the same script as the one that loads the movie). It seems like it should
work though... I dunno :)

Thanks in advance,
Laura

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: Get Propery of a MC loaded in, Helen Triolo

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