Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | FLASH: Layers & Flash in Netscape |
From: | Jose M. Rubio/DoubleYou |
Date: | Mon, 19 Jun 2000 11:40:18 +0100 |
Hi everybody
Got some problems here.
I'm trying to create a layer on the fly with a Flash movie embeded in it,
and I've got some issues that get me stuck:
1.- FS_Command doesn't seem to work inside of a dynamic layer. Neither in
Explorer or Netscape. Funny enough, a GetURL("javascript:myfunction()")
seems to work pretty well, while it was not working when I had my movie
outside the layer in IE 4.
That's not a big problem since as I've said it works fine (and I've got my
fingers crossed).
2.- Now I'm trying to control the movie via javascript with goToFrame()
and Play (). No problems in IE using a function to retrieve the movie name
("window.mylyr.document[objName]").
In Netscape that function is not enough
("document.mylyr.document[objName]"). When I initialize my layers I have to
"force" Netscape to "realize" it is a Flash movie in the page, so I call a
function which just does: "document.mylyrDiv.document.embeds[0]".
Weird, uh? Well, it can get even worse. If the Flash Movie is really small
(between 10-15 Kb) it works fine. But when the movie is bigger (I'm working
with a 95 Kb movie, so it's not that big), I get the following javascript
error:
"unable to reflect embed with index 0 - not loaded yet?."
So I tried to workaround this. I made a little preloader for my movie so
when it's fully loaded it calls the "document.mylyrDiv.document.embeds[0]"
function. And I get the same error!!!!!!!!!!
Since this is driving me nuts any clue will be greatly appreciated.
TIA
-----------------------------
Jose M. Rubio
DoubleYou
josedoubleyou [dot] com
http://www.doubleyou.com
Tel. +34 93 292 3110
Fax. +34 93 292 2197
ICQ Number: 68390036
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]