Skip navigation
cubsfan2010
Currently Being Moderated

I created a link to a SWF in Dreamweaver, and can't close the SWF...

Apr 19, 2013 10:57 PM

Hello all-

 

I am experimenting with a website in Dreamweaver, and created a link to a SWF. When the link is clicked, the SWF displays but there is no way to close it (it takes up the entire screen.) I know I need to add AS3 code to a close button in the SWF, and NOT close the browser window. I know the answer is simple, but fscommand("quit") doesn't seem to work....there should be a simple line of code that does this- if anyone knows I appreciate some help, and thank you in advance for your time!!!!

 
Replies
  • Currently Being Moderated
    Apr 19, 2013 11:17 PM   in reply to cubsfan2010

    if you have access to the server where the swf resides, you can program a Flashcontainer (you need flash to do that not Dreamweaver) that loads the swf on your on stage (google as3 load external swf) and remove it deliberately.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points