Search  
Search Options

LOAD AND UNLOAD SWF VIA HTML

HomeForumsVideo DiscussionLoad and unload swf via html
21256 AgentLu
2 posts

Hi,

Does anybody know if it is possible to load and unload swfs via an html menu? I have been using various javascripts, the point of the excersize is just to load different content, and not to have to reload the entire page. Basically I am trying to build a movie clip showcase.

The javascript I have been using will not allow me to swap out a swf, even if I place the swf into a separate html document.

Any help or references will be greatly appreciated.

Posted 4 months ago
16749 seifip
500 posts
Referred at least one person Protecting flashden against copyright violations Sold between 5 000 and 10 000 dollars

http://flashden.net/forums/thread/need-an-immediate-quote/2914 – similar problem…

Posted 4 months ago
11973 CreativeMedia
293 posts
Referred at least one person

This can be done easy by using an iframe.

All you have to do is place the swfs into a separate html pages

so when you click on one of the links in the html menu it will load the separate html pages into a iframe.

Posted 4 months ago
21118 rajkataria17
85 posts
Referred at least one person Sold between 100 and 1 000 dollars

Well, Flash and JavaScript can easily communicate with each other…

Here is a simple tutorial: http://www.echoecho.com/flashjavascript.htm

Posted 4 months ago
21102 TopQuality
67 posts
Referred at least one person Sold between 1 and 100 dollars

check the possibilities with CSS aswell I think its possible.

Posted 4 months ago
21256 AgentLu
2 posts

Thanks all for the tips, I tried the iframe however it would not load the html what I have now discovered after doing various other tutorial is that the in principal it is working, i.e. I can load html pages etc into the iframe/div but it is not showing the swf.

The method that I am using currently is from this tutorial:

http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm

For some reason it will not load in swf documents. Does anybody know why?

Posted 4 months ago

Hey man,

I’m having the same problem!!!

I’m trying to display video players embedded into a flash file and once it loads one player it does not unload it.

Has anyone find anything that fixes this? I just need some simple code that will take care of this without having to load the swf’s in different html pages.

Posted 2 months ago