How to close a .swf after playing so another graphic can show in its place?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • webgal47
    New Member
    • Apr 2012
    • 1

    How to close a .swf after playing so another graphic can show in its place?

    I have a SWF file on an index page; I need it to play, close, and free up the spot so a static graphic and text will show in the same spot.

    Anyone know if some AS3 that will work for this purpose? I'm a total newbie to AS3 so any solution needs to be as specific as possible... thanks in advance!
  • Vikram Raman
    New Member
    • Feb 2010
    • 24

    #2
    You can use the URLLoader or Loader Class and urlrequest class, change the url property when you want to load other swf. I hope this might help you.

    Here is the tutorial http://injun.ru/flash10api/flash/net/URLLoader.html

    Comment

    • Fary4u
      Contributor
      • Jul 2007
      • 273

      #3
      try to hide the object using object.visible= false; if not then use = null; to clear the value.

      Comment

      Working...