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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

control swf size when loadmovie

Status
Not open for further replies.

veevee

Programmer
Dec 12, 2000
15
CA
The title says it. I just want to be able to control the size of my swf when loaded.
Here's what I have but it's not working. Any suggestions?

on (release) {
loadMovie ("ref_walk.swf", target);
_level1._target._width = 100;
_level1._target._height= 95;
}
 
Take out the underscores before "target":

_level1.target._width=100;//etc.
 
Try...

on (release) {
loadMovie ("ref_walk.swf", _level1.target);
_level1._target._width = 100;
_level1._target._height= 95;
}

Regards,
new.gif
 
And...

As Wang suggested... (Didn't spot that one!)

Remove the underscore before target in the 2 other lines.

Regards,
new.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top