A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: how to assign action to button from timeline

  1. #1
    Junior Member
    Join Date
    Apr 2009
    Posts
    23

    Angry how to assign action to button from timeline

    SIr,

    I am newcommer I have 29 buttons on stage by which I have to call 29 swf externally .Can I assign action to this button in keyframe to call external loadmovieNum. I can assign directly to button but I want it by keyframe.

    I have tried by instancename. on release loadmovie but there is a problem

    urgent........

    awaiting

    thanks

  2. #2
    theInstanceName.onRelease(){

    clipToLoadMovie.loadMovie("urlToMovie.swf");

    }

  3. #3
    Senior Member
    Join Date
    May 2010
    Posts
    178
    Actionscript Code:
    theInstanceName.onRelease=function(){
    trace("Hello World");
    }

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center