Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / January 2008

Tip: Looking for answers? Try searching our database.

How to get a URL encapsulated in a SWF file(Flash)-post again

Thread view: 
Jason Yang - 28 Jan 2008 13:35 GMT
The Flash usually combines ActionScript.

with a script like

on (release)
{
 getURL("http://www.someweb.com","_blank");
}"

it will run internet explorer and direct to the website in the script when
we click on it.

and now I want get the url without clicking, how can I make it with java?

Thanks for any assistance you may give ~

-------------------------

a nice man said:
see http://mindprod.com/jgloss/htmlrendering.html
Signature

Roedy Green, Canadian Mind Products
The Java Glossary, http://mindprod.com

------------------------------------
after some research on the given URL:

Thank you very much.

It seems the page only refers to how to get HTML document from a url and
display it .but My problem is how to get the ActionScript string of url from
a flash,without clicking or decompilation.

so my problem still unresolved.so I post my question again ,sorry~

"Roedy Green" <see_website@mindprod.com.invalid>
??????:nsoep3hohs6mc7t40pc5dghoa765vd5h0o@4ax.com...

> On Wed, 23 Jan 2008 20:29:27 +0800, "Jason Yang"
Lew - 28 Jan 2008 15:37 GMT
> The Flash usually combines ActionScript.
>
[quoted text clipped - 9 lines]
>
> and now I want get the url without clicking, how can I make it with java [sic]?

Why do you want to add Java to the above?

Signature

Lew

Jason Yang - 28 Jan 2008 16:47 GMT
I want to know how to resolve this problem  with a program ,which write in
java
"Lew" <lew@lewscanon.com> дÈëÏûÏ¢ÐÂÎÅ:1rmdnSgh2d8zawDanZ2dnUVZ_jKdnZ2d@comcast.com...
>> The Flash usually combines ActionScript.
>>
[quoted text clipped - 13 lines]
>
> Why do you want to add Java to the above?
Matt Humphrey - 28 Jan 2008 17:57 GMT
>I want to know how to resolve this problem  with a program ,which write in
>java
[quoted text clipped - 15 lines]
>>> and now I want get the url without clicking, how can I make it with java
>>> [sic]?

There are tools available to decompile SWF / ActionScript. I've never used
them but came across a couple with 60 seconds of Google.  I can't imagine
any way to get at contents without decompiling.

http://code.google.com/p/swfparser/downloads/list

Matthew Humphrey http://www.iviz.com/
Lew - 29 Jan 2008 00:11 GMT
(top-posting corrected)
"Lew" wrote:
>> Why do you want to add Java to the above?

> I want to know how to resolve this problem  with a program ,which write in
> java [sic]

Yes, we got that already.  I was asking why you picked Java.

I'm not so sure that Java is the best language for messing with Flash scripts,
or even if it's compatible.  Have you tried googling for a Java library that
works with Flash?

Signature

Lew

Jason Yang - 29 Jan 2008 01:59 GMT
Matthew Humphrey,thank you very much.

and Lew,thanks too.I have tried to google for this but nothing except
decompiling was refered.

what kind of language could be better in your opinion? or any  better method
to get the encapsulated url ?

waitting for help ~

"Lew" <lew@lewscanon.com> дÈëÏûÏ¢ÐÂÎÅ:TM6dnXyc-d6I8gPanZ2dnUVZ_o7inZ2d@comcast.com...
> (top-posting corrected)
> "Lew" wrote:
[quoted text clipped - 8 lines]
> scripts, or even if it's compatible.  Have you tried googling for a Java
> library that works with Flash?
Matt Humphrey - 29 Jan 2008 02:39 GMT
> Matthew Humphrey,thank you very much.
>
[quoted text clipped - 3 lines]
> what kind of language could be better in your opinion? or any  better
> method to get the encapsulated url ?

I think you're going to be lucky to get anything at all.  If it's possible
to retrieve the URL, I think it can be done only by decompiling and
carefully studying the data.  SWF is not an open text format, it's
essentially a compiled language and in some cases it's obfuscated and / or
encrypted. The issue isn't which programming language to use for this--the
issue is knowing the binary SWF format.  If you can get a library to do this
for you, by all means use it and whatever language it relies on.  I can
guarantee there will not be a method called "getEncapsulatedURLs".

Matt Humphrey http://www.iviz.com/
Jason Yang - 29 Jan 2008 02:48 GMT
thanks for your points sincerely.I will do more research on this.

"Matt Humphrey" <matth@iviz.com> дÈëÏûÏ¢ÐÂÎÅ:Rv6dnTRjRuRjDAPanZ2dnUVZ_ualnZ2d@comcast.com...

>> Matthew Humphrey,thank you very much.
>>
[quoted text clipped - 14 lines]
>
> Matt Humphrey http://www.iviz.com/


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
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



©2008 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.