Setting properties of loadMovieNum

  • tarafenton
  • Novice
  • Novice
  • No Avatar
  • Joined: Jul 12, 2005
  • Posts: 19
  • Loc: Fort Lauderdale, FL USA
  • Status: Offline

Post July 13th, 2005, 9:27 am

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);
  3.             
  4.     }


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

TIA,
Tara
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post July 13th, 2005, 9:27 am

  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Joined: Jul 11, 2005
  • Posts: 1828
  • Loc: In the Great White North
  • Status: Offline

Post July 13th, 2005, 10:29 am

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 31 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
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.