Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 How Do I
Index -> Off Topic
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
ecookman




PostPosted: Mon Jan 12, 2009 9:15 am   Post subject: How Do I

just wondering ...how would i extract a .swf from a website?
Sponsor
Sponsor
Sponsor
sponsor
jernst




PostPosted: Mon Jan 12, 2009 2:37 pm   Post subject: Re: How Do I

Usually you can tell the location of the swf file from the html code of the page it is on. For example, where I work the main page has an swf clip on it. You can look through the source searching for ".swf" and you can see exactly where the file is. Once you know that, you can paste it into the browser url area and then you can go to file->save and you will have the swf file.
ecookman




PostPosted: Mon Jan 12, 2009 4:47 pm   Post subject: Re: How Do I

o.k how about this one




<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><HTML LANG="en"><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=Shift_JIS">
<TITLE>Web game Powder Game - web games site DAN-BALL</TITLE>
<META NAME="Description" CONTENT="This web game is to use the mouse to feed Wind powder, the powder dance to enjoy the game.">
<META NAME="Keywords" CONTENT="web game,Powder Game,simulation game,java game,online game,games">
<META HTTP-EQUIV="Content-Script-Type" content="text/javascript"><META HTTP-EQUIV="Content-Style-Type" content="text/css"><LINK REL="alternate" TYPE="application/rss+xml" TITLE="RSS" HREF="/rss_en.xml"><LINK MEDIA="ALL" HREF="/style.css?40" REL="STYLESHEET"><SCRIPT SRC="/java.js?0" TYPE="text/javascript"><!-- jump --></SCRIPT><SCRIPT SRC="/javagame/dust/dust.js?16" TYPE="text/javascript"><!-- jump --></SCRIPT></HEAD><BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#0000FF" VLINK="#800080" ALINK="#0000FF"><DIV ALIGN="CENTER"><DIV ID="header"> Japanese<STRONG ID="wel">Login is here.</STRONG></DIV><DIV ALIGN="LEFT" ID="e_menu">Home Web Game Game Search Flash Comments Support Link Profile</DIV><DIV ALIGN="LEFT" ID="gmn">?@</DIV><DIV ID="middle"><DIV ID="l_middle"><DIV ID="pan">Web Game &gt; Powder Game</DIV><DIV CLASS="hr">?@</DIV><H1 CLASS="F2">- Powder Game ver5.6 -</H1><BR><TABLE SUMMARY="Game Summary" CELLSPACING="0"><TBODY ALIGN="LEFT" VALIGN="TOP"><TR><TH ABBR="Game Description">Game Description</TH><TD STYLE="WIDTH:1.5EM;" ALIGN="CENTER">:</TD><TD>This web game is to use the mouse to feed Wind powder,<BR>the powder dance to enjoy the game.</TD></TR><TR><TH ABBR="Genre">Genre</TH><TD ALIGN="CENTER">:</TD><TD>Simulation Games</TD></TR><TR><TH ABBR="Game Operation">Game Operation</TH><TD ALIGN="CENTER">:</TD><TD>left-click, right-click</TD></TR></TBODY></TABLE><BR><DIV STYLE="WIDTH:12.5EM;" ALIGN="LEFT">New : [BG-mesh] addition.</DIV><BR><DIV id="dust_pass_d"><STRONG>Save game</STRONG> : <TEXTAREA ID="bun" ONCLICK="this.select();" ONKEYPRESS=""></TEXTAREA> <INPUT TYPE="SUBMIT" VALUE="Get" ONCLICK="d_f_save(1)" ONMOUSEDOWN="document.getElementById('bun').value='';document.getElementById('dust_pass').innerHTML='?@';" ONKEYPRESS="" TABINDEX="3" ACCESSKEY="B"> <INPUT TYPE="SUBMIT" VALUE="Set" ONCLICK="d_f_load(1)" ONMOUSEDOWN="document.getElementById('dust_pass').innerHTML='?@';" ONKEYPRESS="" TABINDEX="3" ACCESSKEY="B"><DIV id="dust_pass">?@</DIV></DIV><DIV ID="d_vote"></DIV><DIV ID="dusttag"><APPLET ID="dust" CODE="dust" ARCHIVE="/javagame/dust/5.6/dust.jar" WIDTH="400" HEIGHT="442"><PARAM NAME="id" VALUE=""><PARAM NAME="en" VALUE="1"><PARAM NAME="gd" VALUE=""><PARAM NAME="up" VALUE="1"></APPLET><BR><BR></DIV>
<script type="text/javascript"><!--
google_ad_client = "pub-1932062691308093";
/* EN - ???V??R */
google_ad_slot = "5027613932";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<BR>
<!-- google_ad_section_start(weight=ignore) -->
<DIV><TABLE ID="save" SUMMARY="The game works"><TBODY ALIGN="CENTER"><TR><TD><SPAN STYLE="COLOR:#731008;">new</SPAN><BR><IMG SRC="/javagame/dust/save/99000/99203.gif" WIDTH="100" HEIGHT="75" ALT="Game image">Mid-air Trees<BR>by Nando<DIV CLASS="star" STYLE="WIDTH:55PX;"><DIV CLASS="st_bg_gr" ALIGN="LEFT"><DIV CLASS="st_bg_bl" STYLE="WIDTH:18.3PX;">?@</DIV></DIV><DIV CLASS="mask">?@</DIV></DIV>3vote<BR>2009/01/13 06:42<BR><A TITLE="play" HREF="javascript:void(0)" ONCLICK="d_play('Mid-air Trees','Nando', 3, 0,'2009/01/13 06:42','1','99203','','5.6')" ONKEYPRESS="">play</TD><TD><SPAN STYLE="COLOR:#731008;">new</SPAN><BR><IMG SRC="/javagame/dust/save/99000/99202.gif" WIDTH="100" HEIGHT="75" ALT="Game image">Bobs Adventure<BR>by Xs jester<DIV CLASS="star" STYLE="WIDTH:55PX;"><DIV CLASS="st_bg_gr" ALIGN="LEFT"><DIV CLASS="st_bg_bl" STYLE="WIDTH:18.3PX;">?@</DIV></DIV><DIV CLASS="mask">?@</DIV></DIV>3vote<BR>2009/01/13 06:40<BR><A TITLE="play" HREF="javascript:void(0)" ONCLICK="d_play('Bobs Adventure','Xs jester', 3, 0,'2009/01/13 06:40','1','99202','','5.6')" ONKEYPRESS="">play</TD><TD><SPAN STYLE="COLOR:#731008;">new</SPAN><BR><IMG SRC="/javagame/dust/save/99000/99201.gif" WIDTH="100" HEIGHT="75" ALT="Game image">Airgun, erase wall<BR>by Roni77<DIV CLASS="star" STYLE="WIDTH:55PX;"><DIV CLASS="st_bg_bl" ALIGN="LEFT"><DIV CLASS="st_bg_b" STYLE="WIDTH:9.6PX;">?@</DIV></DIV><DIV CLASS="mask">?@</DIV></DIV>16vote<BR>2009/01/13 06:30<BR><A TITLE="play" HREF="javascript:void(0)" ONCLICK="d_play('Airgun, erase wall','Roni77', 16, 0,'2009/01/13 06:30','1','99201','','5.6')" ONKEYPRESS="">play</TD><TD><BR><IMG SRC="/javagame/dust/save/99000/99185.gif" WIDTH="100" HEIGHT="75" ALT="Game image">Luigi<BR>by DaPiet<DIV CLASS="star" STYLE="WIDTH:55PX;"><DIV CLASS="st_bg_g" ALIGN="LEFT"><DIV CLASS="st_bg_r" STYLE="WIDTH:28.3PX;">?@</DIV></DIV><DIV CLASS="mask">?@</DIV></DIV>331vote<BR>2009/01/13 00:33<BR><A TITLE="play" HREF="javascript:void(0)" ONCLICK="d_play('Luigi','DaPiet', 331, 0,'2009/01/13 00:33','1','99185','','5.6')" ONKEYPRESS="">play</TD></TR></TBODY></TABLE></DIV><BR>* New past hour, Random past 24 hours.<DIV STYLE="MARGIN:1EM 0;TEXT-ALIGN:LEFT;WIDTH:30.5EM;">Delete function:<BR>After 12 hours, if the delete is often automatically deleted.</DIV>
<!-- google_ad_section_end -->
<DIV STYLE="MARGIN:1EM;FONT-WEIGHT:BOLD;">Save data</DIV><DIV CLASS="pg_vw" STYLE="MARGIN:0 0 1EM;"><FORM METHOD="POST" ID="week" ACTION="./search/"><INPUT TYPE="HIDDEN" NAME="o" VALUE="v" TABINDEX="1"><INPUT TYPE="HIDDEN" NAME="k" VALUE="w" TABINDEX="1">Weekly ranking</FORM>?@<FORM METHOD="POST" ID="month" ACTION="./search/"><INPUT TYPE="HIDDEN" NAME="o" VALUE="v" TABINDEX="1"><INPUT TYPE="HIDDEN" NAME="k" VALUE="1" TABINDEX="1"><INPUT TYPE="HIDDEN" NAME="m" VALUE="1228089600" TABINDEX="1"><INPUT TYPE="HIDDEN" NAME="r" VALUE="1" TABINDEX="1">December ranking</FORM></DIV><DIV ID="instructions" CLASS="jvt"><STRONG>- Game Instruction -</STRONG></DIV>
<script src="/javagame/dust/en_dust.js?1" type="text/javascript"></script>
<DIV CLASS="jvt"><STRONG>- Powder Game Comments -</STRONG><BR><BR><DIV ID="j_bbs">See comments</DIV></DIV><DIV ID="etc_link_en"><TABLE CELLPADDING="0" CELLSPACING="0"><TBODY ALIGN="LEFT"><TR><TD COLSPAN="6"><STRONG>More games</STRONG> - [Popularity degree]</TD></TR><TR><TD>Stick Ranger<BR>Font Game<BR>Simulation games POWDER GAME<BR>Typing games SAND MOJI<BR>Race games HAM RACE<BR>Simulation games LIQUID WEBTOY</TD><TD>[gooood<BR>[gooood<BR>[gooood<BR>[goood<BR>[gooood<BR>[gooood</TD><TD WIDTH="20">]<BR>]<BR>]<BR>]<BR>]<BR>]</TD><TD>Earth Editor<BR>Irritation Stickman<BR>3D action games MICRO PANDA<BR>Simulation games COMPASSES<BR>Simulation games PLANET SIMULATION<BR>Race games ROCKETS<TD>[gooood<BR>[gooood<BR>[gooood<BR>[good<BR>[goood<BR>[goood</TD><TD>]<BR>]<BR>]<BR>]<BR>]<BR>]</TD></TR></TBODY></TABLE></DIV></DIV><DIV ID="r_middle">
<!-- google_ad_section_start(weight=ignore) -->
<DIV CLASS="infot">- What's new. -</DIV><DIV CLASS="info"><IMG SRC="/images/schedule/2009010915.gif" ALT="Action RPG Stick Ranger ver2.8 (BETA)" WIDTH="40" HEIGHT="30"> Stick Ranger ver2.8</DIV><DIV CLASS="info"><IMG SRC="/images/schedule/2008122615.gif" ALT="Web game Powder Game ver5.6" WIDTH="40" HEIGHT="30"> Powder Game ver5.6</DIV>
<!-- google_ad_section_end -->
<BR><DIV>
<script type="text/javascript"><!--
google_ad_client = "pub-1932062691308093";
/* EN - ?E?T?C?h */
google_ad_slot = "8050706735";
google_ad_width = 160;
google_ad_height = 600;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</DIV><BR><DIV CLASS="infot">- Access Counter -</DIV><DIV ID="cutr">
<SCRIPT TYPE="text/javascript"><!--
counter(Array(403047,392169,383874,407034,529329,527379,448437,133992,134656984),1231796650)
//--></SCRIPT>
</DIV><BR><DIV CLASS="side_title">Questionnaire</DIV><DIV CLASS="side_box"><DIV ALIGN="CENTER"><DIV STYLE="WIDTH:158PX;">What is a favorite<BR> game machine in 2008?</DIV><DIV ID="ps_box">1.DS<BR>2.Wii<BR>3.PSP<BR>4.PS3<BR>5.Xbox360<BR></DIV><STRONG>[Result]</STRONG></DIV></DIV><BR><DIV ID="a_rank">
<SCRIPT TYPE="text/javascript"><!--
arank = new Array(9);
arank[0]=new Array('www.123spill.no/spill/2145.php','Powder Game - Lek ',30702);
arank[1]=new Array('www.pointlesssites.com/','Pointless Sites - ',5049);
arank[2]=new Array('www.1001spill.no/spill/powder_game','Powder Game',4092);
arank[3]=new Array('www.twbbs.net.tw/2230386.html','?????V?E ?L?D?S?????V?U???G (P',2409);
arank[4]=new Array('www.andyslife.org/games.php','AndysLife.org - Ga',1563);
arank[5]=new Array('jayisgames.com/archives/2008/02/powder_game_4.php','Powder Game 4 walk',1352);
arank[6]=new Array('www.fun-motion.com/physics-games/powder-game/','Powder Game',1312);
arank[7]=new Array('www.pepere.org/jeux-online_0_aa/jeu-poudre_v_1989.html','Jeu de Poudre - le',544);
arank[8]=new Array('www.youtube.com/watch?v=8fVMWhryccE','YouTube - Powder G',406);
page_ranking(arank, "en");
//--></SCRIPT>
</DIV></DIV><BR STYLE="CLEAR:BOTH;">?@</DIV><DIV ID="footer">- History Site map Inquiry Blog -<SPAN>Copyright(C) 2006 DAN-BALL. All Rights Reserved.</SPAN></DIV></DIV>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
<script type="text/javascript"><!--
_uacct = "UA-810625-1";
urchinTracker();
--></script>
</BODY></HTML>
Tony




PostPosted: Mon Jan 12, 2009 5:29 pm   Post subject: RE:How Do I

The game is written in Java (and runs as an applet), not flash.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
andrew.




PostPosted: Mon Jan 12, 2009 6:16 pm   Post subject: RE:How Do I

Maybe it's possible for you to download the .class file and maybe run it from there in a web browser with an html page. I don't know for sure because I'm not a master in embedding applets and HTML.
ecookman




PostPosted: Tue Jan 13, 2009 8:04 am   Post subject: RE:How Do I

hmmm how would i snag that?
Zren




PostPosted: Tue Jan 13, 2009 12:30 pm   Post subject: Re: How Do I

http://dan-ball.jp/en/javagame/dust/5.6/dust.jar

Right click > Save link as

It's a .Jar so it beats me how to use it. It also is designed to run as an applet soooo... Though when I did try it said something about the main method manifest. It might just be me though.
DemonWasp




PostPosted: Tue Jan 13, 2009 1:46 pm   Post subject: RE:How Do I

Try
code:
java -jar dust.jar

at the command-line (and in the correct directory, assuming you have java installed...). If that doesn't work, you can try opening it in an archive program (such as WinZIP, or better yet, 7zip); jar files are just a .zip archive that happen to be specially interpreted by Java.
Sponsor
Sponsor
Sponsor
sponsor
ecookman




PostPosted: Tue Jan 13, 2009 6:24 pm   Post subject: RE:How Do I

so that would look like


C:\Documents and Settings\ryan\Desktop\dust\java -jar dust.jar



in the run?
DemonWasp




PostPosted: Tue Jan 13, 2009 6:52 pm   Post subject: RE:How Do I

Have you tried it?

Before you get too worried about getting it exactly right, make sure you have access to java from the command-line (I'm not sure it installs that by default). You can do this by just trying "java" in a command-line; if it says "couldn't find java", you'll need to set it up properly, while if it says "missing input files" or somesuch you've got it.

If you don't have Java installed, install it and check it's working before continuing.

Once you have java installed properly, try moving to the given directory. Assuming you saved it in (your desktop)\dust, use something like the following:

code:
cd "C:\Documents and Settings\ryan\Desktop\dust\"


Then you can try running it with just:

code:
java -jar dust.jar


If that doesn't have the desired effect, then more effort is required. If it does, then you can probably just make a Windows shortcut that does that all for you.
Vertico




PostPosted: Tue Jan 13, 2009 7:06 pm   Post subject: RE:How Do I

Or, ask the owner of the site if you can use their content. If they say no, don't try and steal it...
ecookman




PostPosted: Tue Jan 13, 2009 8:08 pm   Post subject: RE:How Do I

well it is unprotected.... and i am not steeling just trying to use it off line
Display posts from previous:   
   Index -> Off Topic
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 12 Posts ]
Jump to:   


Style:  
Search: