lingo-l create and save pdf

2004-01-15 Thread Mark van den Elzen
Hello List,
 
I'm hoping to find some help here, a client wants me to create a
database driven application for his products. This is not the problem
the problem is his demand for being able to export a page with images
to a pdf file on his HD. I have been searching the internet for the best
way to accomplish this task, the only xtra I have found that claims it
could do the trick is the DirectImage xtra (used to be directXport). 
Is there anybody out there that has used this xtra to dynamically
create/export a PDF? What are the limitations? Is there a better
solution? 
I own a copy of PdfXtra (V. 2.2), but it seams to have no options to
create/edit a pdf.
 
Many thanks in for any help,

Mark van den Elzen



[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


RE: lingo-l create and save pdf

2004-01-15 Thread Eric Frericks
Search the archives, There are several scripts that been posted that can do
this. I think Valentin Schmidt and Daniel Nelson are the ones who posted
them. I have been experimenting with Valentins and it works great.

-Original Message-
From: Mark van den Elzen [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 15, 2004 6:52 AM
To: [EMAIL PROTECTED]
Subject: lingo-l create and save pdf


Hello List,
 
I'm hoping to find some help here, a client wants me to create a
database driven application for his products. This is not the problem
the problem is his demand for being able to export a page with images
to a pdf file on his HD. I have been searching the internet for the best
way to accomplish this task, the only xtra I have found that claims it
could do the trick is the DirectImage xtra (used to be directXport). 
Is there anybody out there that has used this xtra to dynamically
create/export a PDF? What are the limitations? Is there a better
solution? 
I own a copy of PdfXtra (V. 2.2), but it seams to have no options to
create/edit a pdf.
 
Many thanks in for any help,

Mark van den Elzen



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
for learning and helping with programming Lingo.  Thanks!]
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Re: lingo-l create and save pdf

2004-01-15 Thread Daniel Nelson
Hello Mark,

If the images are bitmaps, then you will need Valentin's solution.  If 
they are dynamically generated charts that use Bezier curves, then I 
don't know of any other besides mine that will do that.  Mine is 
available from:

http://www.bluejade.com/public_resources/director/bluejade_scripts.zip

The PDF export is available from menu-vector shapes-PDF export.

Regards,

Daniel

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]


lingo-l adding a volume level meter to a sound recorder

2004-01-15 Thread Slava Paperno
I'm answering my own question from last summer. I was then working on a 
Director application that recorded sound and wanted to display a level 
meter so the user can see and adjust the input volume or just speak louder. 
It's also reassuring for the user to see that someting is actually 
happening. Last summer, I couldn't find a way to achieve this.

I've now been able to do exactly what I wanted using the asFFT Xtra from 
http://www.as-ci.net/asFFTXtra/index.html in conjunction with the Audio 
Xtra from http://www.updatestage.com/xtras/audio.html. Both are easy to 
use, and support from both vendors is outstanding. There was an interesting 
issue of compatibility that we were able to resolve within a day. Feel free 
to write to me on- or off-list for details.

Slava

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]


Re: lingo-l create and save pdf

2004-01-15 Thread Valentin Schmidt
hi mark,

my lingo script for creating pdf you can find at
http://dasdeck.de/staff/valentin/pdf_class/pdf_class_v102.zip

but if your project is win only, and you use a lot of images, you would
better use my pdfCreator xtra, a free scripting xtra based on PDFLib
which you can find at
http://dasdeck.de/staff/valentin/xtras/pdf/pdfCreator.zip

regards
valentin

Mark van den Elzen wrote:
 Hello List,

 I'm hoping to find some help here, a client wants me to create a
 database driven application for his products. This is not the problem
 the problem is his demand for being able to export a page with
 images
 to a pdf file on his HD. I have been searching the internet for the
 best
 way to accomplish this task, the only xtra I have found that claims it
 could do the trick is the DirectImage xtra (used to be directXport).
 Is there anybody out there that has used this xtra to dynamically
 create/export a PDF? What are the limitations? Is there a better
 solution?
 I own a copy of PdfXtra (V. 2.2), but it seams to have no options to
 create/edit a pdf.

 Many thanks in for any help,

 Mark van den Elzen



 [To remove yourself from this list, or to change to digest mode, go
 to http://www.penworks.com/lingo-l.cgi  To post messages to the list,
 email [EMAIL PROTECTED]  (Problems, email
 [EMAIL PROTECTED]). Lingo-L is for learning and helping with
 programming Lingo.  Thanks!]

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


lingo-l Residual Flash Graphics in DirMX Windows

2004-01-15 Thread Trevor J. Lotz
I'm having an issue with a project I'm working on, and I'm hoping 
someone either has a solution, or some information to help me figure 
this out.  I'm creating a CD-ROM that has some QuickTime video, 
software demonstrations as .swf files, and some links out to HTML pages 
directly on the CD.  The problem I am having is this.

When I run the program, both in authoring and runtime modes, if I view 
a software demo, come back to the demos menu, then click to go to a 
different marker with the HTML links, open Internet Explorer, then 
close IE to come back to the Director movie, the last graphic viewed of 
the Flash movie is placed over the entire stage, with the menu buttons 
on top.  It's like it's not refreshing the screen, but it already did, 
when loading a new menu.  Very strange.

I've tried several possible things, and the only thing I can come up 
with that has really changed since the last version of this disc that 
we did, is the upgrade from Director 8.5 to MX.  This only happens on 
Windows, and again, it happens in both authoring and runtime 
environments.

I've tried to force updateStage in several places, I've changed the 
method of opening the HTML files from DirectOS to gotoNetPage, etc.  
But I can't seem to see it make any difference.  I'm stumped.  Any 
suggestions would be greatly appreciated.

Trevor J. Lotz ~ Penna Powers Brian Haynes
e] [EMAIL PROTECTED] ~ p] 801.487.4800
Advertising  Design  Interactive  Public Relations
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]


Re: lingo-l Residual Flash Graphics in DirMX Windows

2004-01-15 Thread Warren Ockrassa
On Jan 15, 2004, at 5:21 PM, Trevor J. Lotz wrote:

I've tried to force updateStage in several places, I've changed the 
method of opening the HTML files from DirectOS to gotoNetPage, etc.  
But I can't seem to see it make any difference.  I'm stumped.  Any 
suggestions would be greatly appreciated.
  the stageColor = the stageColor



Warren Ockrassa | President,  nightwares LLC  [EMAIL PROTECTED]
 nightwares LLC | Consulting  Programming http://www.nightwares.com/
 Author | Director 8.5 Shockwave Studio: A Beginner's Guide
Chapter samples | http://www.nightwares.com/director_beginners_guide/
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]


Re: lingo-l Residual Flash Graphics in DirMX Windows

2004-01-15 Thread Mathew Ray
Hi Trevor,

Try using the stagecolor = the stagecolor where you are updating the 
stage. Qlso try putting something in the same sprite channel as the 
flash to help flush it out - like a blank bitmap or something. I 
witnessed the same thing last year and these tweaks seemed to help.

~Mathew

Trevor J. Lotz wrote:
I'm having an issue with a project I'm working on, and I'm hoping 
someone either has a solution, or some information to help me figure 
this out.  I'm creating a CD-ROM that has some QuickTime video, software 
demonstrations as .swf files, and some links out to HTML pages directly 
on the CD.  The problem I am having is this.

When I run the program, both in authoring and runtime modes, if I view a 
software demo, come back to the demos menu, then click to go to a 
different marker with the HTML links, open Internet Explorer, then close 
IE to come back to the Director movie, the last graphic viewed of the 
Flash movie is placed over the entire stage, with the menu buttons on 
top.  It's like it's not refreshing the screen, but it already did, when 
loading a new menu.  Very strange.

I've tried several possible things, and the only thing I can come up 
with that has really changed since the last version of this disc that we 
did, is the upgrade from Director 8.5 to MX.  This only happens on 
Windows, and again, it happens in both authoring and runtime environments.

I've tried to force updateStage in several places, I've changed the 
method of opening the HTML files from DirectOS to gotoNetPage, etc.  But 
I can't seem to see it make any difference.  I'm stumped.  Any 
suggestions would be greatly appreciated.

Trevor J. Lotz ~ Penna Powers Brian Haynes
e] [EMAIL PROTECTED] ~ p] 801.487.4800
Advertising  Design  Interactive  Public Relations


[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]


Re: lingo-l Residual Flash Graphics in DirMX Windows

2004-01-15 Thread Kyle Smeby
Mathew and Warren's advise sounds good--although I haven't tried their 
method.

I had this same problem when I upgraded to MX and the only work around 
I found then was to make sure the flash sprites were NOT direct to 
stage.  This takes  a pretty heavy toll on your frame rate, so if the 
earlier suggestions work I would definitely go with those.

	later,

		kyle

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]


Re: lingo-l Residual Flash Graphics in DirMX Windows

2004-01-15 Thread Warren Ockrassa
On Jan 15, 2004, at 7:13 PM, Kyle Smeby wrote:

Mathew and Warren's advise sounds good--although I haven't tried their 
method.
It's auld schoole, laddie. Since Dir4 at least methinks.

Warren Ockrassa | President,  nightwares LLC  [EMAIL PROTECTED]
 nightwares LLC | Consulting  Programming http://www.nightwares.com/
 Author | Director 8.5 Shockwave Studio: A Beginner's Guide
Chapter samples | http://www.nightwares.com/director_beginners_guide/
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]


Re: lingo-l Residual Flash Graphics in DirMX Windows

2004-01-15 Thread David Benman
I had the same issue in a project last year.

Near as I could figure Director has a buffer that it writes the Flash 
and Quicktime content to that doesn't necessarily get cleared but 
does get displayed when you return from another app.

Strangely enough I remember it occuring the opposite of what was 
stated here. I thought my experience was having it appear when I was 
NOT direct to stage i.e. this is the buffer that director uses to 
display non-direct to stage stuff, both QT and flash. I think using 
direct to stage when I could eliminated the problem.

Oh, just found this which I had posted on another board:

've just been battling this same issue. I don't think unload or 
anything like that will help because this doesn't feel like its 
member based but more related to a image buffer in Director.

I had it occur when I displayed a flash movie over a quicktime movie 
then dismissed the flash movie. Then if I tried to capture the image 
of the stage or, get this, went to another app on windows and then 
returned to the projector, parts of the flash image would appear.

My solutions included never displaying flash and quicktime over each 
other on the stage and also displaying a flash movie immediately 
after the initial flash movie that had a more acceptable image even 
if it did display. In this instance, I used an image of the 
background. I just had to do some conscious management of this 
buffer.



I'm having an issue with a project I'm working on, and I'm hoping 
someone either has a solution, or some information to help me figure 
this out.  I'm creating a CD-ROM that has some QuickTime video, 
software demonstrations as .swf files, and some links out to HTML 
pages directly on the CD.  The problem I am having is this.

When I run the program, both in authoring and runtime modes, if I 
view a software demo, come back to the demos menu, then click to go 
to a different marker with the HTML links, open Internet Explorer, 
then close IE to come back to the Director movie, the last graphic 
viewed of the Flash movie is placed over the entire stage, with the 
menu buttons on top.  It's like it's not refreshing the screen, but 
it already did, when loading a new menu.  Very strange.

I've tried several possible things, and the only thing I can come up 
with that has really changed since the last version of this disc 
that we did, is the upgrade from Director 8.5 to MX.  This only 
happens on Windows, and again, it happens in both authoring and 
runtime environments.

I've tried to force updateStage in several places, I've changed the 
method of opening the HTML files from DirectOS to gotoNetPage, etc. 
But I can't seem to see it make any difference.  I'm stumped.  Any 
suggestions would be greatly appreciated.

Trevor J. Lotz ~ Penna Powers Brian Haynes
e] [EMAIL PROTECTED] ~ p] 801.487.4800
Advertising * Design * Interactive * Public Relations
[To remove yourself from this list, or to change to digest mode, go 
to http://www.penworks.com/lingo-l.cgi  To post messages to the 
list, email [EMAIL PROTECTED]  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]


--


David Benman Interactive
[EMAIL PROTECTED]
http://davidbenman.home.comcast.net/
Phone: (508) 384-0240

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


lingo-l FileXtra4 Mac OpenDocument

2004-01-15 Thread Kyle Smeby
I'm using the fileXtra to open PDF docs off the CD.  It works like a 
charm on the PC, but nothing doing on the Mac.  I've done this before 
using FileXtra3 on OS9.  Has anyone else had this problem?

FileXtra is returning the failed code, 0 so it is being called.  The 
variables are the same cross-platform so I don't know what the problem 
could be.

	any help would be much appreciated,

		kyle

Here is the code I'm using:

On getPDF

  if the platForm contains win then

theme = sprite(2).getVariable(_root.themeVar)

toFX = xtra(FileXtra4).new()
put toFX.fx_FileOpenDocument(the moviePath  pdfs\themes\  theme)
toFX = 0
  else

theme = sprite(2).getVariable(_root.themeVar)

toFX = xtra(FileXtra4).new()
put toFX.fx_FileOpenDocument(the moviePath  pdfs:themes:  theme)
toFX = 0
  end if

end

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]


lingo-l External cast created with an older version????

2004-01-15 Thread Teo Petralia
Hi!
I'm getting annoyed by a dialog message saying that the external cast 
that I'm using with my movie is saved with an older version of 
Director, that is not true at all. Every time I make a small change 
to the movie, this message start again.

Is it a Director bug? Strange because before it wasn't doing it.

Does anyone knows the solution?

Teo
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


lingo-l GetNetText bug?

2004-01-15 Thread Rodrigo Peres
Hi list,

I'm using getNetText to return a xml from a php script. When I try to use
the script director open debuger and tells that my var (gListaXML) is empty
when I try (gListaXML[1].memoria.cartas[3].carta2[2]). But If I use the same
script, line by line in message window everything works fine. Can someone
has an idea?

gNetID = 
GetNetText(http://www.rodrigoperes.com.br/desen/games/php/memoria_xml.php?a
tividade_id=12)

Global gXml
on exitFrame me
  if(netdone(gNetID) = true AND netError(gNetID)=OK) then
gXml = netTextResult(gNetID)
interpretaXml
  else
go to the frame
  end if
End

on interpretaXml
  global gListaXML, gXml
  parseObj = new(xtra xmlparser)
  
  erro = parseObj.parseString(string(gXml))
  if parseObj.doneParsing() then
if erro = void then
  gListaXML = parseObj.makeList()
  gNetID = -1  
  go carrega_cartas
else
  put error in xml
  halt
end if
  end if
End

Thank's

Rodrigo

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Re: lingo-l Residual Flash Graphics in DirMX Windows

2004-01-15 Thread macmec
Thanks to Mathew, Warren, Kyle, and David for their input on this.  I'm 
not at the office until tomorrow, so I will definitely be trying these 
ideas and I'll let everyone know what happens.

Mathew, when you say to set the stagecolor where I am updating the 
stage, are you suggesting that I do that in addition to the updateStage 
command, or instead?

On Thursday, Jan 15, 2004, at 16:51 US/Mountain, Mathew Ray wrote:

Try using the stagecolor = the stagecolor where you are updating the 
stage. Qlso try putting something in the same sprite channel as the 
flash to help flush it out - like a blank bitmap or something. I 
witnessed the same thing last year and these tweaks seemed to help.
macmec ~ [EMAIL PROTECTED]
This message was sent from a Macintosh computer.  Epitome of creativity.
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]


Re: lingo-l Residual Flash Graphics in DirMX Windows

2004-01-15 Thread Warren Ockrassa
On Jan 15, 2004, at 11:15 PM, macmec wrote:

Mathew, when you say to set the stagecolor where I am updating the 
stage, are you suggesting that I do that in addition to the 
updateStage command, or instead?
Instead of, not in addition to.

Warren Ockrassa | President,  nightwares LLC  [EMAIL PROTECTED]
 nightwares LLC | Consulting  Programming http://www.nightwares.com/
 Author | Director 8.5 Shockwave Studio: A Beginner's Guide
Chapter samples | http://www.nightwares.com/director_beginners_guide/
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]


lingo-l why palettized images?

2004-01-15 Thread Slava Paperno
This must be somethig very simple--something I accidentally messed up--but 
I can't find what. All of a sudden all images on the stage are palettized, 
look like 8-bit color or worse. Yet all bitmaps in the movie have 
member().depth of 32 bits. According to Properties Inspector, all bitmaps 
have paletteRef set to SystemWindows, yet everything looks like the VGA 
palette is applied to all.

What could be causing this? What have I done?

Slava

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]


lingo-l DMX 2004 question for Tom

2004-01-15 Thread Troy Rollins
Hey Tom,

One more -

Has anything been done about the ability for MIAWs and even the stage 
windows to rob focus from the message window? Or certain types of MIAWs 
preventing text entry into entire other windows?

Just happen to be struggling a bit with that now, and using silly 
workarounds, so it was at the front of my thinking.
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]