You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 58 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Has anyone had any successs installing an Anim-Fx swf file? [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Rafael
Corporal
Corporal


Joined: May 24, 2003
Posts: 71


PostPosted: Fri Jul 11, 2003 11:07 pm Reply with quoteBack to top

Has anyone had any successs installing an Anim-Fx swf file in php-nuke?
Find all posts by RafaelView user's profileSend private message
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Sat Jul 12, 2003 4:44 am Reply with quoteBack to top

How different is that from a regular swf file?

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
Rafael
Corporal
Corporal


Joined: May 24, 2003
Posts: 71


PostPosted: Sat Jul 12, 2003 9:15 am Reply with quoteBack to top

Hi Zhen-Xjell:

There is a separate text file which holds the data for the swf file. You can alter the text file info without altering the swf file therefore making changes to the files easy. Their link is as follows:
http://www.anim-fx.com/faq.html It's a real neat program. What I've been attempting to do is use the random hallo block and substitute their swf files with mine. I have renamed the swf files and text files to userhallo0X to follow the same name scheme. I also changed a parameter in the text file to reflect the new name as well. I left one original userhallo file to test and ensure the integrity of the block hasn't been broken. The original displays fine but the altered files do not want to appear. Here is the user hallo random block code I am using. It has been slightly altered in my attempts to get the anim-fx file to show:
Quote:
if (eregi("block-Random_userhallo.php",$PHP_SELF)) {

Header("Location: index.php");

die();

}

mt_srand((double)microtime()*1000000);
$imgs = dir('images/userhallo');
while ($file = $imgs->read()) {
if (eregi("swf", $file) || eregi("swf", $file)) {
$imglist .= "$file ";
}
}
closedir($imgs->handle);
$imglist = explode(" ", $imglist);
$a = sizeof($imglist)-4;
$random = mt_rand(0, $a);
$image = $imglist[$random];
$asin = explode(".", $image);

global $cookie;

//$content .= "<center><h3>Hallo $cookie[1]</h3><b>\n";

$content .= "<center><OBJECT classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash6/swflash.cab#version=6,0,0,0\" WIDTH=468 HEIGHT=60>
<PARAM NAME=movie VALUE=\"images/userhallo/$image\">
<PARAM NAME=play VALUE=true>
<PARAM NAME=loop VALUE=true>
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#FFFFFF>
<PARAM NAME=wmode VALUE=transparent>
<PARAM NAME=scale VALUE=noborder>
<PARAM NAME=menu VALUE=false>
<EMBED src=\"images/userhallo/$image\" base=\".\" quality=high bgcolor=#FFFFFF
WIDTH=468 HEIGHT=60 play=true loop=true scale=noborder wmode=transparent TYPE=\"application/x-shockwave-flash\" PLUGINSPAGE=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" menu=\"false\"></EMBED></OBJECT>\n";

//$content .= "<center><br>registriere Dich bitte (falls Du es noch nicht hast) um den vollen Umfang <br>dieses Portals nutzen zu koennen. Danach kannst Du zu allen individuellen Aenderungen und persoenlichen Einstellungen schreiten, die Du im Hauptmenue unter <a href=\"modules.php?name=Your_Account\">'Deine Informationen'</a> findest.</p> Viel Spass auf unserem Webportal<br>wuenscht das AdminTeam";


?>


A copy of the original anim-fx file is quoted here:
Quote:
&label600=matrix&constructor=[type Function]&__proto__=[object Object]&globalsound=[object Object]&freeze=&url=http://www.gruffdaddy.com&urljumpto=&loop=0&loaded=1&effect=600&colorbackground=0x9D9D00&colortext=0x000000&line1= Have you ever...&line2= missed out on family reunions?&line3= forgot birthdays or anniversaries?&line4= not any more...&line5= The Gathering &x1=0&x2=0&x3=0&x4=0&x5=0&y1=150&y2=150&y3=150&y4=150&y5=150&vol=0&s1=80&s2=80&s3=80&s4=80&s5=80&bg=0&frameto=_level0.interfaceholder.frameonclick



Matrix is the name of the file(effect) and I changed it within the textfile to userhallo05 to match the swf file. The beginning of the file thus reads: This still hasnt helped.
Quote:
&label600=userhallo05&constructor
Find all posts by RafaelView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.177 Seconds - 320 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::