HighDots Forums  

hiding part of a Flash image

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss hiding part of a Flash image in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Haines Brown
 
Posts: n/a

Default hiding part of a Flash image - 08-17-2006 , 01:05 PM






I'm trying to use a Shockwave Flash file as is except for a line of
text that it displays. I'd like to hide that line of text, and so I
tried to create a black mask to do it. However, I can't move the mask
over the text.

This is the idea:

<div id="inside">
<embed>...</embed>
<div id="mask"></div>
</div>

With the style:

embed { z-index: 1; }
#mask { width: 400px; height: 40px;
background-color: black;
position: relative; left: 380px; bottom: 30px;
z-index: 2;
}

The mask appears to slip under the Flash image regardless of z-index.

--

Haines Brown
KB1GRM
ET1(SS) U.S.S. Irex SS-482

Reply With Quote
  #2  
Old   
David Stone
 
Posts: n/a

Default Re: hiding part of a Flash image - 08-18-2006 , 07:33 AM






In article <87bqqj70nj.fsf (AT) teufel (DOT) hartford-hwp.com>,
Haines Brown <brownh (AT) teufel (DOT) hartford-hwp.com> wrote:

Quote:
I'm trying to use a Shockwave Flash file as is except for a line of
text that it displays. I'd like to hide that line of text, and so I
tried to create a black mask to do it. However, I can't move the mask
over the text.

This is the idea:

div id="inside"
embed>...</embed
div id="mask"></div
/div

With the style:

embed { z-index: 1; }
#mask { width: 400px; height: 40px;
background-color: black;
position: relative; left: 380px; bottom: 30px;
z-index: 2;
}

The mask appears to slip under the Flash image regardless of z-index.
I know this is a silly question, but why don't you just
remove the offending text from the flash file?


Reply With Quote
  #3  
Old   
Nije Nego
 
Posts: n/a

Default Re: hiding part of a Flash image - 08-18-2006 , 06:20 PM



On Fri, 18 Aug 2006 07:33:58 -0400, David Stone wrote:

Quote:
In article <87bqqj70nj.fsf (AT) teufel (DOT) hartford-hwp.com>,
Haines Brown <brownh (AT) teufel (DOT) hartford-hwp.com> wrote:

I'm trying to use a Shockwave Flash file as is except for a line of
text that it displays. I'd like to hide that line of text, and so I
tried to create a black mask to do it. However, I can't move the mask
over the text.

This is the idea:

div id="inside"
embed>...</embed
div id="mask"></div
/div

With the style:

embed { z-index: 1; }
#mask { width: 400px; height: 40px;
background-color: black;
position: relative; left: 380px; bottom: 30px;
z-index: 2;
}

The mask appears to slip under the Flash image regardless of z-index.

I know this is a silly question, but why don't you just
remove the offending text from the flash file?
Obviously, offending text is somebody elses logo.

--
buy, bought, bye


Reply With Quote
  #4  
Old   
Haines Brown
 
Posts: n/a

Default Re: hiding part of a Flash image - 08-18-2006 , 09:52 PM



Nije Nego <"nije\"nego"@net.hr> writes:

Quote:
On Fri, 18 Aug 2006 07:33:58 -0400, David Stone wrote:

In article <87bqqj70nj.fsf (AT) teufel (DOT) hartford-hwp.com>,
Haines Brown <brownh (AT) teufel (DOT) hartford-hwp.com> wrote:

I'm trying to use a Shockwave Flash file as is except for a line of
text that it displays. I'd like to hide that line of text, and so I
tried to create a black mask to do it. However, I can't move the mask
over the text.

I know this is a silly question, but why don't you just
remove the offending text from the flash file?

Obviously, offending text is somebody elses logo.
A reasonable guess, but not the case in fact. The two Flash files were
purchased by my wife for her web page (and it was I who paid for
them). However, for her site's splash page, the original designer
also incorporated a hot text into the Flash file to link to the next
page. I felt it better to have the move automatic (meta refresh)
rather than require a mouse click. So I needed to hide the hot
text. Is there something about Flash files that they don't respond to
stacking with z-index? Is there some place on line where I can find
out about Flash parameters and attributes?

I would have liked to recreate the animationed effects from scratch,
but I would prefer not to use javascript, and the animations may be
too complicated for it: a) a text that encircles the globe which
emerges from a point, b) a star that likewise emerges, c) a text
that does the same. What are my (non-proprietary) options for creating
such effects?

--

Haines Brown
KB1GRM
ET1(SS) U.S.S. Irex SS-482


Reply With Quote
  #5  
Old   
Gus Richter
 
Posts: n/a

Default Re: hiding part of a Flash image - 08-18-2006 , 10:29 PM



Haines Brown wrote:
Quote:
Nije Nego <"nije\"nego"@net.hr> writes:

On Fri, 18 Aug 2006 07:33:58 -0400, David Stone wrote:

In article <87bqqj70nj.fsf (AT) teufel (DOT) hartford-hwp.com>,
Haines Brown <brownh (AT) teufel (DOT) hartford-hwp.com> wrote:

I'm trying to use a Shockwave Flash file as is except for a line of
text that it displays. I'd like to hide that line of text, and so I
tried to create a black mask to do it. However, I can't move the mask
over the text.
I know this is a silly question, but why don't you just
remove the offending text from the flash file?
Obviously, offending text is somebody elses logo.

A reasonable guess, but not the case in fact. The two Flash files were
purchased by my wife for her web page (and it was I who paid for
them). However, for her site's splash page, the original designer
also incorporated a hot text into the Flash file to link to the next
page. I felt it better to have the move automatic (meta refresh)
rather than require a mouse click. So I needed to hide the hot
text. Is there something about Flash files that they don't respond to
stacking with z-index? Is there some place on line where I can find
out about Flash parameters and attributes?

I would have liked to recreate the animationed effects from scratch,
but I would prefer not to use javascript, and the animations may be
too complicated for it: a) a text that encircles the globe which
emerges from a point, b) a star that likewise emerges, c) a text
that does the same. What are my (non-proprietary) options for creating
such effects?
<http://www.quip.net/blog/2006/flash/how-to-position-flash-beneath-other-content>

--
Gus


Reply With Quote
  #6  
Old   
Spartanicus
 
Posts: n/a

Default Re: hiding part of a Flash image - 08-19-2006 , 02:04 AM



Haines Brown <brownh (AT) teufel (DOT) hartford-hwp.com> wrote:

Quote:
However, for her site's splash page, the original designer
also incorporated a hot text into the Flash file to link to the next
page. I felt it better to have the move automatic (meta refresh)
rather than require a mouse click. So I needed to hide the hot
text.
Get a Flash editor, change the Flash file.

--
Spartanicus


Reply With Quote
  #7  
Old   
Sherm Pendley
 
Posts: n/a

Default Re: hiding part of a Flash image - 08-19-2006 , 08:50 AM



Haines Brown <brownh (AT) teufel (DOT) hartford-hwp.com> writes:

Quote:
A reasonable guess, but not the case in fact. The two Flash files were
purchased by my wife for her web page (and it was I who paid for
them). However, for her site's splash page, the original designer
also incorporated a hot text into the Flash file to link to the next
page. I felt it better to have the move automatic (meta refresh)
rather than require a mouse click. So I needed to hide the hot
text.
Why not simply open up the .fla file in a Flash editor, remove the link,
and export a new .swf?

sherm--

--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net


Reply With Quote
  #8  
Old   
Haines Brown
 
Posts: n/a

Default Re: hiding part of a Flash image - 08-20-2006 , 09:45 PM



Sherm Pendley <sherm (AT) Sherm-Pendleys-Computer (DOT) local> writes:

Quote:
Haines Brown <brownh (AT) teufel (DOT) hartford-hwp.com> writes:

A reasonable guess, but not the case in fact. The two Flash files were
purchased by my wife for her web page (and it was I who paid for
them). However, for her site's splash page, the original designer
also incorporated a hot text into the Flash file to link to the next
page. I felt it better to have the move automatic (meta refresh)
rather than require a mouse click. So I needed to hide the hot
text.

Why not simply open up the .fla file in a Flash editor, remove the link,
and export a new .swf?
sherm,

I don't have the original .fla file. Do you think the developer who
sold my wife the resulting .swf file is obliged to hand it over to his
client? I should think so, but don't know. If I had that file I could
use f4l (Flash for Linux), which I've installed, to rebuild the swf
file with the changes I need.

I tried out Flare (Linux), but it only produces a .flr script file,
not the original resources. If I can't get the fla resources from the
original developer it seems I have little choice but to pay to have
the two swf files decompiled.

--

Haines Brown
KB1GRM
ET1(SS) U.S.S. Irex SS-482


Reply With Quote
Reply




Thread Tools
Display Modes

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

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.