dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Possible?

  1. #1
    Senior Member
    Join Date
    Aug 2000
    Posts
    343

    Possible?

    Hi
    Is it possible to have the following command on a button?

    on release, play a random swf file from this folder: swf/

    Thanks
    Losse

  2. #2
    the cheesy child bounceboy's Avatar
    Join Date
    Dec 2008
    Location
    Australia
    Posts
    323
    its possible!!!
    num = random(5);
    loader.loadMovie("swf/num"+num+".swf");

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