Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: Flash in HTML layers
From: Mike Greenberg
Date: Wed, 8 Jul 1998 19:17:20 +0100

Title: Re: Flash in HTML layers
You don't have a z-index or layer specified. The Javascript is fine but your problem is in your layers these are not defined.

Michael

Michael Greenberg
Multimedia/Shockwave Developer (Director and Flash)
Project Manager of Mercavia Web Site
http://www.enquest.com
http://www.mercavia.com

email: macmikeatatl [dot] mindspring [dot] com
mgreenbergatenquest [dot] com

----------
>From: Rudy de Belgeonne <rdebelgeattwowaytv [dot] co [dot] uk>
>To: flasheratshocker [dot] com
>Subject: RE: Flash in HTML layers
>Date: Wed, Jul 8, 1998, 1:20 PM
>

>As I said earlier, I've successfully embedded my movie in a layer, I
>just can't seem to access it if I want to control it through JavaScript.
>
>I would have thought something like
>window.document.layers['movieLayer'].document.goodmovie.Play() would
>have done the trick, but it don't......
>
>Would you say it's a syntax thing or an HTML thing?
>
>Here's the HTML for my simple test page (I'm developing solely for
>Navigator4.04 at the moment)
>
><HTML>
><HEAD>
><TITLE>Flash Test</TITLE>
></HEAD>
><BODY>
><layer clip=800,600 top=50 left=0 name= 'movieLayer' bgcolor='white' >
><EMBED NAME="goodmovie"
>MAYSCRIPT SRC="goodmovie2.swf"
>WIDTH=800 HEIGHT=600
>swliveconnect=true
>play = "false"
>PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_P
>rod_Version=ShockwaveFlash">
></layer>
>
><form>
><input type="button" value="Play Flash"
>> >>
><input type="button" value="Stop Flash"
>> >y()">
></BODY>
>
><SCRIPT LANGUAGE="JavaScript">
></SCRIPT>
>
></HTML>
>
>> -----Original Message-----
>> From: Mike Greenberg [SMTP:macmikeatatl [dot] mindspring [dot] com]
>> Sent: Wednesday, July 08, 1998 3:57 PM
>> To: flasheratshocker [dot] com
>> Subject: Re: Flash in HTML layers
>>
>> This can be done with no problem. what did you have in mind?
>>
>> Michael
>>
>> Michael Greenberg
>> Multimedia/Shockwave Developer (Director and Flash)
>> Project Manager of Mercavia Web Site
>> http://www.enquest.com
>> http://www.mercavia.com
>>
>> email: macmikeatatl [dot] mindspring [dot] com
>> mgreenbergatenquest [dot] com
>>
>> ----------
>> >From: Rudy de Belgeonne <rdebelgeattwowaytv [dot] co [dot] uk>
>> >To: flasheratshocker [dot] com
>> >Subject: FW: Flash in HTML layers
>> >Date: Wed, Jul 8, 1998, 9:33 AM
>> >
>>
>> >Does anyone know whether its POSSIBLE to embed a flash movie in a
>> layer
>> >(and be able to access it)?
>> >
>> >> -----Original Message-----
>> >> From: Rudy de Belgeonne [SMTP:rdebelgeattwowaytv [dot] co [dot] uk]
>> >> Sent: Tuesday, July 07, 1998 5:21 PM
>> >> To: flasheratshocker [dot] com
>> >> Subject: RE: Flash and JavaScript teamwork
>> >>
>> >> This got me out of my trouble - thank you Steve.
>> >>
>> >> My next problem is trying to embed the flash movie in a layer/div
>> for
>> >> more control within the HTML page.
>> >> It works well, allowing me to hide/show the movie layer, revealing
>> >> HTML
>> >> behind it, or to change the position of the movie on the page.
>> >>
>> >> The problematic part is that I can no longer control the movie
>> through
>> >> JavaScript.
>> >>
>> >> I thought the syntax should be something like:
>> >>
>> >> <input type="button" value="Play Flash"
>> >>
>> > >> >> ()
>> >> ">
>> >>
>> >> but it obviously isn't as it can't find the movie.
>> >>
>> >> Has anyone else tried this?
>> >>
>> >> Thanks again
>> >>
>> >> Rudy
>> >>
>>
>
>------------------------------------------------------------------------
>To UNSUBSCRIBE send: unsubscribe flasher in the body of an
>email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
>N.B. Email address must be the same as the one you used to subscribe.
>For info on digest mode send: info flasher to list-manageratshocker [dot] com



[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]