Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
mike2020 #1
how to detect loaded SWF width?
Using MX 2004 I have loaded an external SWF like this:
_root.createEmptyMovieClip("screenSaver", _root.getNextHighestDepth() );
_root.screenSaver.loadMovie("screensaver.swf");
which works fine, but why does "_root.screenSaver._width;" return 0?
How can I detect the width of the loaded SWF?
Thanks!
mike2020 Guest
-
I know we can set max image width, but I need to set itby region. Region A has one max width; Region B another.
We can already set a maximum image width for use globally, throughout every page. Can we do it by region? This way one region can have a max... -
DG Column Width vs Table Column Width
Hi, I am wanting to display data in a datagrid with additional header rows above it that categorise some of the main headers of the datagrid. I... -
Detect frame number from loaded movie...
Hello... I have my main movie that loads another small movie into it. IŽll call it (movie2)...How can i detect using my main movie that the... -
#26240 [Opn->Bgs]: Functions of XSL-extension didn't loaded, however itself extension was loaded.
ID: 26240 Updated by: chregu@php.net Reported By: igor_udintsev at mail dot ru -Status: Open +Status: ... -
#26240 [NEW]: Functions of XSL-extension didn't loaded, however itself extension was loaded.
From: igor_udintsev at mail dot ru Operating system: Linux Red Hat 9 PHP version: 5.0.0b2 (beta2) PHP Bug Type: XSLT related... -
CesareRocchi #2
Re: how to detect loaded SWF width?
The script is fine but you have to wait until 'screensaver.swf' has been
loaded. Then you can refer to it.
It returns 'cause it has not been loaded yet and the _width of the mc you
create ("screeSaver") is 0.
HTH,
-c.
CesareRocchi Guest
-



Reply With Quote

