Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Actionscript / July 2008



Tip: Looking for answers? Try searching our database.

Style sheet ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DMennenoh **AdobeCommunityExpert** - 16 Jul 2008 14:36 GMT
I couldn't find any info on this -  I was having issues loading an external
style sheet and narrowed it down to this:

.footer a:link {
color: #abb8bd;
text-decoration: underline;
}

If I include that, which is not needed by Flash, but for the site, Flash
won't load the sheet. When removed the sheet loads fine. No real problem,
except now I need two style sheets. But just curious to know what about this
Flash doesn't like - and why it doesn't just ignore it. It seems to be the
a:link causing the problem...

Signature

Dave -
www.offroadfire.com
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/

kglad - 16 Jul 2008 17:31 GMT
that must look like a malformed css to flash.  you could use one style for your footer and one for your footer links and flash would be happy.
DMennenoh **AdobeCommunityExpert** - 16 Jul 2008 18:45 GMT
Hey kglad, you mean because those are pseudo classes? I just didn't see
anywhere where pseudo classes were a no-no in Flash. But you're right I
could just make them standard classes - it's just I am using CSS supplied by
another person. But I think I can manage the change.

Signature

Dave -
www.offroadfire.com
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/

kglad - 16 Jul 2008 21:32 GMT
i think that is well-formed css.  but flash is treating that as if it's
malformed.

and flash doesn't do that with standard pseudo-classes like:

a:link {
color: #abb8bd;
text-decoration: underline;
}

so, it's not just the use of a pseudo-class.  it's the combination of a style
and pseudo-class.

your css person could use the following and flash should be happy:

// for styling footer.  in particular, for links in footer both within and
outside of flash.

.footerlink {
color: #abb8bd;
text-decoration: underline;
}
DMennenoh **AdobeCommunityExpert** - 17 Jul 2008 12:29 GMT
>>your css person could use the following and flash should be happy:

Yeah, but I think it's still better to just use two style sheets. That way
would work, but then all the standard tags like <a> and such within the html
text footer section will need to reference those specific classes. Seems
less work to just use two sheets, at least in this case.

thanks

Signature

Dave -
www.offroadfire.com
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/

kglad - 18 Jul 2008 06:18 GMT
you're welcome.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.