Flash keeps going strange!

M

*MOSH*

I had one flash element embeded in my page with a java script fix so that it
doesn't get that annoying box around it. This was fine until I tried to add
another flash element. The second flash object keeps overwriting the first
one so there is only one that will display...I need them both to display!!

Any suggestions??

Cheers,

*MOSH*
 
D

David Berry

We need to see a page that's "strange" so we can see why it's happening.
Can you make a page with 2 Flash objects on it that is acting the way you
describe, upload that page and then post a link to it so we can take a look?
 
S

Stefan B Rusynko

The scripts defines a container for the flash as

<div id="flashcontent"></div>

and invokes it using the script line calling that unique id with

fo.write("flashcontent");

Your second flash should use a unique different id as say

<div id="flashcontent2"></div>

and invoke it using the script line calling that second id as

fo.write("flashcontent2");

PS
Any parameters must be passed before the flash is invoked, So your

fo.write("flashcontent");
fo.addVariable("variable", "varvalue");

Should be

fo.addVariable("variable", "varvalue");
fo.write("flashcontent");

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


| URL: http://www.thanet-icc.com
|
| there is only the one flash object on there at the moment as the site is
| live and i didn't want to mess it up.
|
| "David Berry" wrote:
|
| > What's the URL so we can take a look?
| >
| > --
| > David Berry
| > FrontPage Support: http://www.frontpagemvps.com/
| >
| >
| > | > >I had one flash element embeded in my page with a java script fix so that
| > >it
| > > doesn't get that annoying box around it. This was fine until I tried to
| > > add
| > > another flash element. The second flash object keeps overwriting the first
| > > one so there is only one that will display...I need them both to display!!
| > >
| > > Any suggestions??
| > >
| > > Cheers,
| > >
| > > *MOSH*
| >
| >
| >
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top