A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: External SWF Button calls???

  1. #1
    Art-by-Andy amorari's Avatar
    Join Date
    Dec 2004
    Location
    Orlando, Florida
    Posts
    151

    External SWF Button calls???

    I'm using Flash CS5 and Action Script 2.0

    I have a main swf file that contains my music. It loads an external swf file with a simple button that onRelease is suppose to stopAllSounds. However... when I publish... and view on the web... the externally loaded swf file with the button that stopsAllSounds doesn't indeed stop the sounds in the main swf file.

    Can someone help me with the code? I tried a global variable but it's either not working... or I've done it wrong.

    Please don't suggest I don't load this button externally. It must happen. I'm giving you the basics so I can get the answer I needed but it's much more complex than I'm letting on. Thanks!

  2. #2
    Art-by-Andy amorari's Avatar
    Join Date
    Dec 2004
    Location
    Orlando, Florida
    Posts
    151

    resolved

    Resolved: I took the code of the button itself and created the button action as a function on the main timeline.

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