Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 08-25-2003, 03:11 AM   #1
LQ Newbie
Registered: Jul 2003
Posts: 21

Rep: Reputation: 15
Preloading swf Flash files in broswer

Hi can anyone tell me if it is possible to
swap flash files as like image files?

I've tried it and it does not work at all.
No error whatsoever... it just does not load..

Can anyone please tell me if it's possible to swap
flash files at on on popular broswers?

<a onClick="Swap(0)")<img...> </a>
<a onClick="Swap(1)")<img...> </a>

<embed name="swfFlash"> </embed>

<Body onLoad="document['swfFlash'].src = "intro.swf">

where Swap is :

document['swfFlash'].src = arySWF[0]... etc

where arySWF contains the FLASH filenames.

Old 08-26-2003, 08:16 PM   #2
LQ Newbie
Registered: Aug 2003
Posts: 2

Rep: Reputation: 0
You might try setting the outerHTML of the embed element to a new value. Or you could merge all the flash files into one and make the links part of it.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
I Can't play *.swf flash movie!! jasmines4u Fedora 1 10-14-2005 02:16 PM
Flash image (.swf) in Linux nebu Linux - Software 2 07-01-2005 02:51 PM
My RealPlayer stopped playing swf files Raafi Linux - Software 0 06-29-2005 04:41 PM
Program to analyze flash (.swf) files csr99001 Linux - Software 1 06-30-2004 04:24 AM
app for flash (.swf) creation? questionasker Linux - Software 2 04-14-2004 02:06 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:04 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration