/    Sign up×
Community /Pin to ProfileBookmark

Save HTML/SWF to PDF by using javascript?

Hi all,
I’m developing a flash page flip program,and it can show html or swf as web page inside textbox . in that case I need to add the save button to save the current showing html or swf.so that , is there any source code from javascript to[B][I][I][I] save HTML to PDF[/I][/I][/I][/B]?and also how to put the javascript into actionscript?

According to my experienced I developed as the following code inside my asctionscript file,but I’m not sure for the long js code can i put like that as well?

example code:

_root.onEnterFrame = function ()
{
if (Key.isDown(Key.ESCAPE))
{
getURL(“javascript:window.close();”);
}
}

so pls help me out and thanks in advance.
Thanx.[B][/B]

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @vennasa spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...