LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-25-2003, 03:11 AM   #1
andrewt
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?
eg.

<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.


Regards,
Andrew
 
Old 08-26-2003, 08:16 PM   #2
jmawebb
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:57 AM.

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