eBook authors eBook Software - create and publish your own ebooks
Create your own eBooks
 
   
EBookApprentice.com
Learn How To Create, Publish & Market E-Books
 
   
EBookCompiler.com
E-Book Creation Software
 
   
EBookPower.com
Add sophisticated multimedia to your E-Books
 
   
CoverFactory.com
Create E-Book covers in minutes
 
 
  EBookSubmit.com
E-Book Marketing & Promotion made easy
 
  EBookJungle.com
Search engine for E-Books
 
  EBookInterviews.com
Interviews with eBook authors
 
  EBookEnhance.com
Tools for building better eBooks
 
 
 
Archived Message:

Need Help


 
Sankar Mahadeo Hello The output file. Filename appear when hightlited and it asked you to save the file which is already save, when you do save it , it overight the file with a blank page. The Active EBook Compiler give you a message no index page or index excluded. Could some one please help me

Posted on: 8:41 am on April 5, 2005
Zeb Hi Sankar,
Am trying to write to file from Ebook Compiler as well but no success...  I hope the prob is not cause by Windoze XP SP2...  But maybe we can help each other.
Thanks.
Zeb

Posted on: 3:15 am on April 6, 2005
EBookCompiler I don't understand either of your questions. You need to explain step by step, what the issue/problem/question is.

There are no known problems with our compiler on XP/SP2

No index means you need to create a file (in same folder as your other HTML pages) called index.htm or index.html - and you haven't


Posted on: 4:16 pm on April 6, 2005
Zeb Hi Sunil, and tanks for your quick reply!

In my case what I am trying to do is saving a file to the HDD of the person who owns my E-Book - from his E-Book.

To be clear : A user purshase my eBook.  He opens it for the first time and is asked to fill a form (builted in Flash by me).  When the send button is activated the details of the form are sent to a MySQL database and, plus, a random number of 10 digits is created inside the Flasn movie.

Question: How can I retrieve this number and save it to the HDD of the User in a fixed location (C:\system).  Ok maybe am asking a lot here about flash, but  if I just can know how to use the Activ Script from Activ Compiler to save and create a file on a HDD I can sure cope with the rest.  Actually I have tryed scrips on your site from other programmers and nothing seems to work.  It looks like part of the script or infos are missing.

By the way I would love to be part of the Beta team testers.

Thanks and hopefully I was clear anough!

Zeb


Posted on: 5:28 pm on April 6, 2005
Storyman Zeb,

Have you been able to create a form in Flash that retrieves and stores the random number WITHOUT using it inside Activ e-Book? I mean a stand alone Flash program that retrieves a random number.

Also, are you using Action Script 1.0 or 2.0?


Posted on: 6:54 pm on April 6, 2005
Zeb Storyman,

Using AS2

My script is fairly symple and is not retrieved.  It is actioned from the button and the ActionScript result is displayed in a dynamic fiel here called NUM.  Here is the code:

on (release) {
NUM = Number(random(1234567890))+2;
}

The NUM field (var) is placed off the same page of the button so the user can't read it.  It is fairly easy to retrieve the new randomized number from the field NUM in a few lines of script and send it to a DataBase, but I also want it to be saved on the User's HDD without him knowing it in a text or else file.  Then, I will have some other scripts/fonctions that will check that number each time the user opens his book.

In a way of meaning, I am trying to sort a way to make my E-books more secure...  Any help here is very welcome!

Thanks Storyman!

Zeb


Posted on: 7:51 pm on April 6, 2005
Storyman Zeb,

If I understand this correctly what you want to do is to use Flash to retrive a random number from a web site, then store it on the user's hard drive to verify that the user has a legit copy of your ebook.

I see one major problem with this approach. SWF files can EASILY be broken with third party software. Do a Google on the subject and you'll see what I mean.

Just to be clear my understanding is that Activ e-Book encrypts the HTML files, but leaves the other files un-encrypted--which means if a user locates them they can easily hack them.

There are several services that will do what you want so it is possible. The services charge a monthly fee so if you figure it out the rest of us would appreciate knowing.

I'd suggest you visit the Macromedia Flash Forum and inquire about writing cookies using Flash. It is an active group and usually pretty fast with a response.


Posted on: 6:59 pm on April 7, 2005
Zeb Storyman,

In fact the SWF is within an HTML page in the Activ E-Book and the random number is retrieved from there locally, not from a Web site.

I do not want to use cookies and I am probably more on various Flash Newsgroups and forums than I am home...  but under another name...

I only want to know how to save to a file, creating it at the same time on a hard drive from within a E-Book application.

Thanks.

Zeb


Posted on: 9:08 pm on April 7, 2005
Storyman Zeb,

Isn't the SWF file called from the HTML page and not actually part of the HTML file? If that is true, then Activ does not encrypt the actual SWF file beyond the code that calls the SWF file from inside the HTML file.

I'm sorry if I'm a little dense on this, but if the Flash program generates a random number and stores it on the user's hard drive what will it be compared against when the stored number is retrieved? Active uses the hard drive's serial number to generate a number that then corresponds to a registration number that is then used to unlock the ebook.

Have you considered using javascript? At least the code is within the HTML file and not in an external file.


Posted on: 9:32 pm on April 7, 2005
Zeb Hi Storyman!

Please let me xplain to you directly from your text:

Isn't the SWF file called from the HTML page and not actually part of the HTML file?
- No it is called within the HTML object statement.  Like normal.

If that is true, then Activ does not encrypt the actual SWF file beyond the code that calls the SWF file from inside the HTML file.
- I know that and the actual randomed number is not a problem to be retrieved and stored on a database or on another SWF part (dynamic field) or file...

I'm sorry if I'm a little dense on this,
- It's ok with me Storyman, I believe that talking about it is the best way to find a solution... while half the croud will think I am crazy, part of the other half will learn by helping to fix the problem. and so will I !

but if the Flash program generates a random number and stores it on the user's hard drive what will it be compared against when the stored number is retrieved?
- You see my E-Book users have to be on-line the first time they register my Book with a form builted in Flash that will send their information (name, underware color etc) and that randomed number when they click the button, to a DataBase on a server and, if I can, stored on the users HDD.  The reason is SECURiTY.

Active uses the hard drive's serial number to generate a number that then corresponds to a registration number that is then used to unlock the ebook.
- Well this is very nice but anyone using the original password with the original Book will be able to unlock it (regardless of the HD serial).  It can be distributed very easily with the original pass.

Have you considered using javascript?
- Yes and it is part of the solution...

As where I am to, I am thinking of creating an installation program that will install the E-Book' exe with few other icons, and an ini oe as file on the users HDD.  Then it look to be easier to save to an already existing file...

Cheers!

...and again thanks for your comments they are appreciated.


Posted on: 1:46 pm on April 8, 2005

Go to Active Discussion Thread

Participate in Current/New Discussions

List All Archived Forums



Copyright © 2000-2015, Answers 2000 Limited.

With any business, it is up to the individual owner of said business to ensure the success of the business. You may make more or less than any sample figures or results that might be quoted on our web sites or other publications. All business involves risk, and many businesses do not succeed. Further, Answers 2000 Limited does NOT represent that any particular individual or business is typical, or that any results or experiences achieved by any particular individual/business is necessarily typical.

Disclosure: Our company's websites' content (including this website's content) includes advertisements for our own company's websites, products, and services, and for other organization's websites, products, and services. In the case of links to other organization's websites, our company may receive a payment, (1) if you purchase products or services, or (2) if you sign-up for third party offers, after following links from this website. Unless specifically otherwise stated, information about other organization's products and services, is based on information provided by that organization, the product/service vendor, and/or publicly available information - and should not be taken to mean that we have used the product/service in question. Additionally, our company's websites contain some adverts which we are paid to display, but whose content is not selected by us, such as Google AdSense ads. For more detailed information, please see Advertising/Endorsements Disclosures

Our sites use cookies, some of which may already be set on your computer. Use of our site constitutes consent for this. For details, please see Privacy.

Contact Us    About and Terms Of Use    Privacy    Advertising/Endorsements Disclosures