LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-17-2003, 12:57 AM   #1
Locura
Member
 
Registered: May 2003
Distribution: Ubuntu 6.10 SE, Mac OS 10.4.8
Posts: 370

Rep: Reputation: 30
Firebird 0.7 w/ GTK2 - no text in some flash applets


Ever since I started using Firebird 0.7, the version with GTK 2 instead of GTK+ 1.x, there is no text in certain flash applets. Here is an example, a web poll from ESPN.com.
 
Old 11-17-2003, 07:42 AM   #2
mrpdaemon
Member
 
Registered: Jun 2003
Distribution: Slackware 9.1
Posts: 41

Rep: Reputation: 15
I use Fbird 0.7 with GTK2 , but the text in that poll is visible to me.

which flash plugin are you using? (about:plugins in address bar)
 
Old 11-17-2003, 12:55 PM   #3
Locura
Member
 
Registered: May 2003
Distribution: Ubuntu 6.10 SE, Mac OS 10.4.8
Posts: 370

Original Poster
Rep: Reputation: 30
File name: libflashplayer.so
Shockwave Flash 6.0 r79
 
Old 11-18-2003, 08:02 AM   #4
mrpdaemon
Member
 
Registered: Jun 2003
Distribution: Slackware 9.1
Posts: 41

Rep: Reputation: 15
File name: libflashplayer.so
Shockwave Flash 6.0 r69

works here. Maybe you can try downgrading your flash plugin?
 
Old 11-18-2003, 10:41 AM   #5
Locura
Member
 
Registered: May 2003
Distribution: Ubuntu 6.10 SE, Mac OS 10.4.8
Posts: 370

Original Poster
Rep: Reputation: 30
I'll give it a try later tonight. Does Macromedia have a site for legacy versions of their plugin, or is there another site I can get an older version from?
 
Old 11-19-2003, 04:15 PM   #6
Locura
Member
 
Registered: May 2003
Distribution: Ubuntu 6.10 SE, Mac OS 10.4.8
Posts: 370

Original Poster
Rep: Reputation: 30
OK, I reinstalled plugin version 6.0 r69, and I get the same problem. What else could be affecting this?
 
Old 11-20-2003, 01:00 PM   #7
Locura
Member
 
Registered: May 2003
Distribution: Ubuntu 6.10 SE, Mac OS 10.4.8
Posts: 370

Original Poster
Rep: Reputation: 30
I tracked down the actual script that calls the flash object, here it is:

Code:
<script language="Javascript" type="text/javascript">
<!--
	var SOB=new flashObj();
	SOB.flashFile ='http://static.espn.go.com/swf/fp/tabs/pollka_v103.swf'+voted;
	SOB.width = '260';
	SOB.height = "218";
	SOB.DenyIEdl = 'TRUE';
	SOB.quality = 'best';
	SOB.scale = 'exactfit';
	SOB.altTxt = "";
	SOB.FlashVer = 5;
	SOB.cabVersion = "5,0,0,0";
	document.write(SOB.render());
//-->
</script>
The flash object appears to get its data from the following script(s):

Code:
	<script language="Javascript" type="text/javascript">
		var poll = 0;
	</script>
	<script language="Javascript" src="http://sports.espn.go.com/espn/fp/pollDataJS" type="text/javascript"></script>

	<script language="Javascript" type="text/javascript">

	var hasVoted = false;
	var voted = "?voted=0";
	var pollBit = poll % 256 % 64 % 4;

	bitArray = new Array();
	bitArray[0] = 8;
	bitArray[1] = 1;
	bitArray[2] = 2;
	bitArray[3] = 4;

	var cookieId = (poll - (poll % 256)) / 256;
	var CookieIdasString = new String(cookieId);
	var cookieName = "POLL" + CookieIdasString;

	pollCookie = getCookie(cookieName)

	if (pollCookie != null) {

		cookiePosition = pollCookie.length - Math.ceil((poll % 256 )/ 4);

		cookieValue = pollCookie.substring(cookiePosition, cookiePosition + 1);

		cookieAsHex = "0x" + cookieValue.toString(1);

		if ((bitArray[pollBit] & cookieAsHex) == bitArray[pollBit]) {
			var hasVoted = true;
		}

		if (hasVoted) {
			voted = "?voted=1";
		}
	}

	function getCookie(name) {
		var start = document.cookie.indexOf(name+"=");
		var len = start+name.length+1;
		if ((!start) && (name != document.cookie.substring(0,name.length))) return null;
		if (start == -1) return null;
		var end = document.cookie.indexOf(";",len);
		if (end == -1) end = document.cookie.length;
		return unescape(document.cookie.substring(len,end));
	}

</script>
I'm not sure where the text is originating now, from the JavaScript or the Flash. Anyone got any ideas?
 
Old 11-21-2003, 03:01 PM   #8
Locura
Member
 
Registered: May 2003
Distribution: Ubuntu 6.10 SE, Mac OS 10.4.8
Posts: 370

Original Poster
Rep: Reputation: 30
Anyone?
 
Old 11-27-2003, 07:27 PM   #9
Locura
Member
 
Registered: May 2003
Distribution: Ubuntu 6.10 SE, Mac OS 10.4.8
Posts: 370

Original Poster
Rep: Reputation: 30
Still having trouble with this, any help would be appreciated.
 
  


Reply



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

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Flash applets in Firefox freeze every two seconds strazce Linux - Software 0 01-13-2005 01:51 PM
Flash, xft, gtk2, and Firefox/mozilla noahl Slackware 3 03-25-2004 02:47 PM
Firebird + Java Applets chrisk5527 Linux - Software 2 02-09-2004 04:25 PM
Firebird and Java / Flash bluefire Linux - Software 2 10-07-2003 10:45 AM
firebird + shockwave + flash qwijibow Linux - Newbie 20 09-17-2003 11:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration