Javascript :: Get Colors To Work In SIFR 3 R436?

Dec 1, 2009

I've got a demo page up here; you can view source to see what I'm trying to do. As you can see, everything about it seems to be working except for colors. I'm trying to set the color to blue (#0000ff), but it stays as black. I created a custom SWF file for my font, embedding four different variations of a single font in order to accommodate for different styles per these instructions (because this particular font family stores regular, bold, italic, and bold italic as four disjoint font names).

For posterity I'll paste some of the source code from that demo page I linked to here:

[Code]...

View 3 Replies


Similar Posts:


Javascript :: Way To Make SIFR Work

Dec 3, 2009

It works perfectly when pulled within labels like in the demo.[code]note: (id="slidesbigtext") loads text from javascript without any issues, just can't find a way to make sIFR work in this situation..

View 1 Replies

Javascript :: SIFR 3 Not Displaying In IE Just Getting XXX?

Mar 7, 2010

I am having a problem with sIFR 3 not displaying in IE. I get 3 larges black XXX in IE yet it displays fine in Firefox. I have checked i do have the most recent version of flash installed correctly.

[Code]...

View 2 Replies

Javascript :: Use Various Selectors In SIFR 3r436?

Apr 15, 2010

sIFR.replace(neutra, {
selector: '#nav li',
css:[ 'a { color: #ffffff; text-decoration:none; font-size:14px} a:hover { color:

[Code]....

and i need to style a b inside a span inside a div ... and i just can't find the way, if i add another sIFR.replace(blah... it won't work, it messes with the other replacement sometimes

View 2 Replies

Javascript - Jquery And SIFR Link Management?

Feb 5, 2010

Ok, I'm using Jquery to build a dynamic menu, and sIFR to change the text to TrajanPro font.

This does not mix. I want to find a way to make it mix, though.

sIFR has automatic parsing of links, so that Flash sends you to the link location. What it doesn't do is pass on javascript triggers. I'm trying to make my menu as accessible as possible, by using hard links and then rewriting them with Jquery into managing the visibility of submenus, like this ~

[Code]...

View 2 Replies

Flash :: Get SIFR To Render The .sIFR-alternate Correctly With FlashBlock Enabled?

Apr 10, 2010

So I've looked this up in a few different places, and the only answer I've seen is "style the span.sIFR-alternate element". Problem is, if I apply any styles to that element that will actually have it appear & be placed correctly, it shows up alongside the sIFR text when FlashBlock isn't present (e.g. in Safari/IE) or is disabled. Here's the default styles for .sIFR-alternate:

[Code]....

View 1 Replies

Javascript :: SIFR 3 Showing On Home Page But Not On Any Other Pages

Jul 27, 2010

I have integrated sIFR3 and it shows perfectly in my home page but not on any other pages. I never changed anything only the name of the font. Here is my sifr-config.js:

[Code]....

View 1 Replies

ActionScript 3.0 :: Determine X Colors Between 2 Defined Colors?

Apr 26, 2010

I wonder what kind of class(es) I should use to accomplish this task. I have two predefined colors, 0xFF0000 and 0x00FF00 (red and green), and I would like to set a number of gradiants of colors between these two colors. [code]This generates a random color, but I don't want to generate just any random one. Does anyone know what kind of color class I should use to accomplish my task objective?

View 5 Replies

Flash :: Update SIFR To AS3?

Jan 10, 2010

In my experience, the text rendering is better in flash 9/10 AS3. Are there any plans to get sIFR working with AS3?

View 2 Replies

Css :: Sifr Not Replacing Font

Jul 21, 2010

I am trying to use sIFR to replace the headlines (e.g. The Tour of A Lifetime) on this page: [URL] The font I want to swap in is Verlag by hoefler & frere jones. I had this working the other day but it suddenly stopped working: the font does not replace. All the js/css/flash files are linked correctly. I tested my verlag.swf and it works. And, I tested sIFR with a different font and the replacement worked. Am I having issues because I have yet to buy a Verlag license for the server?

View 1 Replies

Flash :: Max Font Size For SIFR?

Nov 18, 2009

I am trying to implement a large font for sIFR, but it seems to have a ceiling where you cant go any higher. I have adjusted the the variable MAX_FONT_SIZE within the sIFR.as to no avail. Is this possible or is it a limitation with flash?

View 1 Replies

Actionscript 3 :: Translate SIFR (for Hyphenation And With The Help Of A Converter)?

May 12, 2010

One thing asked for a lot with sIFR is hyphenation.The only problem is that Hyphenator.as is written in AcionScript 3, while sIFR is in ActionScript 2.I found an AS2 to AS3 converter s3-converter-createtextfield-geturl-handling/ but the result examples.bezel.be/sIFR-as3.as is not working yet.

View 1 Replies

Jquery :: Flash - SIFR Only Works Partially In IE?

Jun 8, 2011

My sIFR 3 font replacement is working great in FF and IE except when I use it on a 'services' page that has an unrelated Flash object feature at the bottom. Only the first sIFR3'ed element shows up in IE on this page. I am also using jQuery 1.2.6 on this page to bring up random content. It is a windows xp pc.

In IE, the html on the 'services'page sIFR'ed elements has become garbled in the browser as I see when I view the source. Things like this: nodeIndex='1' and jQuery1307565945701='4' are added to the ul and li elements and should not be. The class 'sIFR-replaced' is not being added from sIFR like it is supposed to be.

The jQuery does not interfere with sIFR3 font replacement on my other pages because they don't have the extra Flash file on the bottom. The Flash file is a shockwave cab file, version 9,0,0,0 (that I did not add).I see this error in the console ' 'match(...).1' is null or not an object' but I got this same error elsewhere and it wasn't affecting anything.

View 1 Replies

Javascript :: Flash - Unable To Work In IE8?

Nov 24, 2009

I am trying to create this html elements dynamically on the onload of my page,however;when I run it the code wont work on IE8 but okay in firefox,safari,and others.

function getmovie() {
var container = document.getElementById("container");
if (!container)

[code]....

View 3 Replies

Javascript :: Get Flex 3 And OpenX To Work Together?

Jun 5, 2010

I'm trying to get Flex 3 and OpenX to work together. Everything works great in Safari and Firefox. But, I get an XML parser error in Internet Explorer, which makes me want to rip my hair out and drink turpentine.

I've tried to simplify the problem as best I can. Basically, I take the adReturn and then turn it into xml.

adReturn = '<adXMLReturn>' + adReturn + '</adXMLReturn>';
xmlReturn = new XML(adReturn);

I don't think that IE likes adReturn, which is below:

[Code].....

View 1 Replies

Javascript :: Can't Get ExternalInterface.addCallback To Work?

Jun 15, 2010

I'm trying to use ExternalInterface.addCallback to allow js to call an as3 method. My code is as follows:

AS:

ExternalInterface.addCallback("sendToActionscript", callFromJavaScript);

function callFromJavaScript():void{
circle_mc.gotoAndStop("finish"); [code]....

It's not working. What am I doing wrong?

View 3 Replies

Javascript :: Nested Tags Work In E4X?

Jun 24, 2010

Suppose I have the following XML:var foo:XML = <root><a>this is a <b>special</b> case</a></root>

Is there any way to detect the position of <b> relative to the contents of <a> without a custom subparser?

View 1 Replies

Javascript :: Why Does SWFObject Work In Chrome Yet Not IE / FF

Sep 23, 2010

Am I using the code improperly or is there a flaw in SWFObject? If you go to the URL below you can see that it the flash file (an MP3 player) shows up perfectly fine in Chrome. However, in both Firefox and IE8 it loads a blank white box. If you mouse over the box the pointer changes to a hand as if its registering the buttons, just not actually displaying them. Link: [URL] (MP3 player should be displaying in the right-hand empty column)

View 1 Replies

Javascript :: Embed Flash To Work With IOS As Well

Feb 28, 2012

I want to ask that how could we embed a flash banner so that it should work with IOS as well. Currently I'm using this code, but want to change it so that it should work with IOS as well.

[code]...

View 3 Replies

Javascript :: Compiled SWF / HTML Does Not Work In IE9

Mar 30, 2012

I have the most weirdest problem with Flash Player and FlashDevelop (to be honest, dont know which one causes it), so let me explain. I have recently downloaded FlashDevelop and created an AS3 Project. When I compile the project, the files are generated in the bin folder. Now, when I navigate to the bin folder and open the index.html in Firefox and IE9, everything works fine. However, when I copy the bin folder somewhere else and then try to do the same, i can see the flash movie in Firefox but not IE9.

View 1 Replies

Html :: Clickable SIFR Inside Linked Elements

Dec 28, 2009

My site in progress has some large graphical buttons that uses sIFR to display their headings. The structure looks like this:

[Code]...

I'm replacing the <h2> element with sIFR 3, revision 436. Everything works great until I activate sIFR. The font is replaced just fine, but the heading can no longer be clicked even though the rest of the button can. I tried to add another <a> inside the <h2> heading but that broke the whole layout since multiple <a> tags can't be nested. Is there a "correct" way to fix this or should I work around it with something ugly like a z-indexed clickable blank.gif on top of the whole thing? Or is there something else wrong that I've missed?

View 2 Replies

JavaScript :: ExternalInterface.AddCallback Does Not Work On Firefox?

Apr 15, 2010

I'm trying to call a method inside a flash movie from js, every time the mouse leaves the "div". It works on Internet Explorer, but not in firefox. Here is the html script:

<script type="text/javascript">
window.onload = function(e){
init();
}function init(){
document.getElementById('div').onmouseout = function(e) {
[Code] .....

Here is example of the problem, there is an alert for the js and the flash should be able to remove the swf (see a gray background? it works! see a image, flash didn't receive the call): [URL]. This should work with internet explorer / safari / chrome (pc/mac) only firefox seams to reject this.

View 2 Replies

JavaScript :: Unable To Get ExternalInterface.Call To Work In IE7

Aug 11, 2010

<script type="text/javascript" src="swfobject/swfobject.js"></script>
<script language="javascript" >
swfobject.registerObject("myId", "10.0.0");
function execute(){
return a;
}
[Code] .....

I have this which is based off of this question: [URL]. However this neither works in firefox and IE. If I embed my flash into the browser like this:
<embed src="helpdeskApp_three.swf" id="flash" quality="high" scale="exactfit" width="800" height="500" name="movie" align="middle" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="[URL]"/>

This works in Firefox but not IE. What is the proper way of embedding my flash movie so it works across all browsers?

View 1 Replies

Flash :: Getting Javascript To Work With SWF File Using ExternalInterface

Oct 16, 2010

I have a SWF file emedded withing a HTML page. Trying to do a simple operation - go to and play certain frame in SWF using javascript. I'm using ExternalInterface to do this but for the life of me can't get the two to communicate. I add all the code but when clicking on the link which calls javascript, it says my flash object is undefined?

[Code]...

View 2 Replies

Javascript :: ExternalInterface.addCallback For As3 Doesn't Work

Mar 17, 2011

I want to call AS function from JS.

I have the following ActionScript 3 code:

package {
import flash.display.*;
import flash.events.*;

[Code]....

But obj has no method PlaySound() (obj is not null).

View 2 Replies

ActionScript 3.0 :: Getting Return Value From Javascript Won't Work In IE - Works In FF

Jul 14, 2009

Whenever I use ExternalInterface to call a Javascript function in Firefox, the Javascript successfully returns a value to Flash. However, in IE, I always get 'null' for the return.

I know Flash is successfully calling the JS because i have an alert in the JS function that is firing. It's just the return that is null.

View 1 Replies

Flash :: Sifr 3 Barebones Test - Unusual Line Breaks?

Nov 13, 2009

I want to use a non-standard font on the web in a various combinations of font-color and font-size without having to assign individual configs for each. So far sIFR seems to pick up font-size no problem. but not font color, so I am working on a work around.

The problem I am running into: sIFR is breaking text to the next line without a linebreak <BR> being present.

[Code]...

For the sake of the project I am working on, it looks like setting the standard to block level elements only with font-sizes of 18px and above will be the route taken to keep from holding it up further, but I still have personal interest and would like to pursue understanding sIFR and the line breaking further.

I am new to Stack Overflow and am concerned this may be an 'extended discussion' which the FAQ says is beyond the scope of this site.

View 2 Replies

Flash :: Sifr 2.0.7 Only Working When Font Is Installed On User's Computer?

Apr 1, 2010

I am using sifr 2.0.7 and here's the deal. The sifr is working (I can see it in the DOM) however, the font is wrong.It doesn't pick up my swf font (DIN) unless you have it installed on your computer?The css font style is: HelveticaNeue which is what the sifr seems to render if you don't have DIN installed.I see it on my computer but my friend see DIN.

View 1 Replies

Javascript :: Shadowbox Never Activates; Links Only Work As Normal

Dec 1, 2011

Following the official Shadowbox usage instructions, I appended just a few lines of CSS/JS:

[Code]....

And yet, when I click on my thumbnail, it does not generate a Shadowbox overlay. Instead, my browser follows an ordinary link to the animation. I've also tried Lightbox, Greybox, and Lightbox2, working at this problem for about twelve hours. My understanding of Javascript objects and classes is very limited. Web Development is not my career path.

View 2 Replies

Javascript :: Cross-browser Solution To Work With SVG Files?

Dec 9, 2011

I'm working on a project that originally required me to use <area> elements and 40 copies of a single GIF image to have a hoverable and clickable <img> tag. I suggested SVG, and the client agreed to use SVG instead, as it was easier to work with for both of us.

Anyways, my question is, what cross-browser JavaScript SVG library will allow me to display and interact with pre-made SVG images.

I know of these libraries:

Raphaƫl: I'm currently using this along with a SVG loading plugin. But that plugin does not support Inkscape or Adobe Illustrator SVGs (i.e. most SVGs). cang: This library looks promising, but it requires <canvas> support, which IE doesn't have natively. svgweb: Another more-promising library. It requires Flash, but most IE users have Flash. jQuery SVG: It seems to be able to load SVG images, but development seems to have died. And it requires me to use a modified version of jQuery 1.3.

My client would like to provide somewhat-arbitrary images to my script and have chunks of them be "selectable" (see my demo here).

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved