Skip to main content
Participant
June 23, 2006
Question

swf will play in html page but not asp page

  • June 23, 2006
  • 2 replies
  • 420 views
I have an existing flash movie created in 2004mx. This movie is embeded within an asp page created in dreamweaver. It has never had any problems. After loading Studio 8 suite I modified the movie and saved the asp page in dreamweaver and it will not display. If I change the dreamweaver pave extention to html the page works. All suggestions appreciated.
This topic has been closed for replies.

2 replies

Inspiring
June 24, 2006
Try saving your swf file in a js file and call that from the asp page. Simply put Document.write(' at the start of each line of the swf code and then put '); at the end of everyline. Call it from the asp page by typeing:

<script language="JavaScript" src="the_path_to_the_Js_file.js" type="text/JavaScript"></script>

If you would like an example please post back. :)

Hope this helps, Adam
msere123Author
Participant
June 27, 2006
Adam,
If you have a sample I would very much appreciate it.
thanks!
Inspiring
June 24, 2006
Is your ASP doctype still in place?


--
Nancy Gill
Adobe Community Expert
BLOG: http://www.dmxwishes.com/blog.asp
Author: Dreamweaver 8 e-book for the DMX Zone
Co-Author: Dreamweaver MX: Instant Troubleshooter (August, 2003)
Technical Editor: DMX 2004: The Complete Reference, DMX 2004: A Beginner's
Guide, Mastering Macromedia Contribute
Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP Web Development


"msere123" <webforumsuser@macromedia.com> wrote in message
news:e7h2bf$h7l$1@forums.macromedia.com...
>I have an existing flash movie created in 2004mx. This movie is embeded
>within
> an asp page created in dreamweaver. It has never had any problems. After
> loading Studio 8 suite I modified the movie and saved the asp page in
> dreamweaver and it will not display. If I change the dreamweaver pave
> extention
> to html the page works. All suggestions appreciated.
>