loadMovie with a variable name

  • santanamoll
  • Born
  • Born
  • santanamoll
  • Posts: 2
  • Loc: Holland

Post 3+ Months Ago

Hi, does anybody know why this code won't work;

on (release) {
var movname = getProperty(this, _name);
loadMovie ("loadmov/"+movname+".swf", 1)
trace (movname);
}
The trace shows that the var is set.

Thanx in advance
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • santanamoll
  • Born
  • Born
  • santanamoll
  • Posts: 2
  • Loc: Holland

Post 3+ Months Ago

:oops: I had to use loadMovieNum instead, so it's

on (release) {
var movname = getProperty(this, _name);
loadMovieNum ("loadmov/"+movname+".swf", 1)
trace (movname);
}

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 25 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-2014. Ozzu® is a registered trademark of Unmelted, LLC.