Setting properties of loadMovieNum

  • tarafenton
  • Novice
  • Novice
  • tarafenton
  • Posts: 19
  • Loc: Fort Lauderdale, FL USA

Post 3+ Months Ago

How can I set the properties of a loadMovieNum?

Code: [ Select ]
for(var w=0; w<sortedInput.length; w++){
            loadMovieNum("printImages/"+sortedInput[w]+".swf", 3+w);
  1. for(var w=0; w<sortedInput.length; w++){
  2.             loadMovieNum("printImages/"+sortedInput[w]+".swf", 3+w);
  4.     }

I need to either set the _x and _y off stage or set the _alpha to 0.

  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Posts: 1825
  • Loc: In the Great White North

Post 3+ Months Ago

well you need to give the movie you loaded an instance name. I'm not sure how that works with the loadMovieNum.

Do you need to load the clip into a level? If not you could simply use the loadMovieClip(InstanceNameToReplace,parms) in which case you could then target the new clip with the same instance name as the one you replaced.

for example:

Code: [ Select ]
instanceName._visible = false;

or _x, _y, _alpha etc

on a side note if your using MX04 the movieClipLoader class would make this job much easier since it supports things like complete, bytes loaded, etc

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 3 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.