Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Properties of a "LoadMovie" swf

Status
Not open for further replies.

dhere38

Programmer
Sep 12, 2000
20
US
Hi,
I am trying to control the Size and placement of a loaded shockwave inside another FLA. I loaded the movie via the "loadmovie" function and tried to set properties. However I am having no luck. My button in a previous scene is working fine, it loads the movie into the correct scene however I don't seem to be able to control it's properties. Can anyone tell me what I might be doing wrong.
Thank you dhere38
 
Did you convert it into a symbol? Or haven't I understood what you're trying to do here?

;-)
 
hi

you want to load you're movie into a movie-clip.

Draw a rectangle in your main movie which has the dimensions you want your loaded movie to assume. Select the rectangle and convert it into a movie-clip. Give the instance of this clip the name "holder" (for example).

In your actions:

(Flash 4):

Load Movie ("movie1.swf", "/holder")
Set Property ("/into", X Position) = "100"
Set Property ("/into", Y Position) = "100"

(Flash 5):

loadMovie ("movie1.swf", "/holder");
setProperty ("/holder", _x, "100");
setProperty ("/holder", _y, "100");


Set your position/alpha/etc properties to suit. The scale of your 'holder' clip determines the scale of your loaded movie.

hope it helps
dD
davdesign@hotmail.com

^^^^^^^^^^^^^^^^
 
oops

Flash 4 actions should read:

Load Movie ("movie1.swf", "/holder")
Set Property ("/holder", X Position) = "100"
Set Property ("/holder", Y Position) = "100"
davdesign@hotmail.com

^^^^^^^^^^^^^^^^
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top