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

createEmptyMovieClip 1

Status
Not open for further replies.

mmmbob

Programmer
Jul 23, 2003
29
US
Hi,
I'm trying to create a button dynamically. I'm trying to use a createEmptyMovieClip method to create a "movie clip" and then giving it an onRelease event handler. But this doesn't seem to work.
But when i make a movie, add it to the library and then attach it through attachMovie method, then the onRelease method seems to work.
Any ideas on why i can't do this?
Also, when i create a movie using createEmptyMovieClip and hten loadMovie(jpg) it loads correctly. But when I createEmptyMovieClip and hten specify it's width and hten try the loadMovie method, it doesn't seem to load it....
Any help in either of these issues will be great.
Thanks,
 
Bill Watson hasn't been seen or heard from since Thu, Nov 20, 2003. Guess you'll have to live with what's in this thread.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top