all groups > flash (macromedia) > december 2006 >
You're in the

flash (macromedia)

group:

new to flash, swf loaded while changing size



new to flash, swf loaded while changing size b3autiful_dizaster
12/21/2006 10:06:27 PM
flash (macromedia): i'm trying to create a button that will replace the current swf with another
and i want the size to change between the various sizes of each page. i'm
currently using the following code in the action inspector:

on(release){loadMovieNum("myfilename.swf",0);
}

i know there has to be a simple way to do this! a very grateful thanks to
anyone who tries to help!
Re: new to flash, swf loaded while changing size urami_
12/22/2006 12:00:00 AM


[quoted text, click to view]

You can't change size dynamically as it is defined by the object embed tags.
You could use WMODE transparency which could help you fake it tho not always best
solution to go with WMODE. It's a very buggy parameter.

WMODE will remove the background color so the flash movie appear over the html and you
can see the HTML content trough the movie.

You could define some solid shape for the background on bottom layer to make it look
like SWF background, than change it with the other loaded movie making it appear as it
changed size while the over all flash size stats the same. As said above - faking it.

--
Best Regards

Urami


--

!!!!!!! Merry Christmas !!!!!!!


<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
AddThis Social Bookmark Button