lingo-l preserve regpoint with imported png at runtime

2004-06-16 Thread Frank Di Luzio
Hi List, I'm putting together a product catalog which imports png images as overlays for an underlying image. Therefore, it is absolutely necessary that I preserve the regPoint of the png. In Authoring mode, I can set the filename or use importFileInto to load the images into the application and

Re: lingo-l preserve regpoint with imported png at runtime

2004-06-16 Thread Valentin Schmidt
Hi Frank, you can set mymember.centerRegPoint=false. or you could import the new png offstage (or with sprite.visible=0), set the correct regpoint with mysprite.regpoint=point(x,y), and then show the sprite. if all your images need different regpoints, you could store them in a (property) list,

Re: lingo-l preserve regpoint with imported png at runtime

2004-06-16 Thread Frank Di Luzio
- Original Message - From: Valentin Schmidt [EMAIL PROTECTED] you can set mymember.centerRegPoint=false. or you could import the new png offstage (or with sprite.visible=0), set the correct regpoint with mysprite.regpoint=point(x,y), and then show the sprite. if all your images

Re: lingo-l Open a specific page within a pdf

2004-06-16 Thread Daniel Nelson
There's always Impressario. -Daniel Is there any way of opening a particular page in a pdf, not just baOpenFile(pdf file, Normal) but more like baOpenFile(pdf file, page 500, Normal)? Can this somehow be done with a [Windows] shell command?

lingo-l Browser object Window

2004-06-16 Thread Igor
When you write some JavaScript code in html page, you can always get the reference to the opened window object: script type=JavaScript var myWnd = window; // or get the parent window: var myWnd = window.parent /script So, how to get this reference from ShockWave movie? -- Best regards,

Re: lingo-l preserve regpoint with imported png at runtime

2004-06-16 Thread Frank Di Luzio
- Original Message - From: Frank Di Luzio [EMAIL PROTECTED] surprised that it works with bitmap member (i.e. it doesn't appear in the list view of the property inspector). I found it. I was looking at the member and not at bitmap properties Well, I almost got it to work. The

Re: lingo-l preserve regpoint with imported png at runtime

2004-06-16 Thread Valentin Schmidt
hi frank, a quick test showed me that it's important that your image is linked as external file from the beginning (even the dummy, if there is one). with code like the following you can restrict the sensitive area to the non-transparent part of the image: on mouseUp me s=sprite(me.spriteNum)

RE: lingo-l Open a specific page within a pdf

2004-06-16 Thread Tim Welford
I had this problem too, The only way I could find was to open the pdf with buddyapi wait for the ok that it opened properly (maybe add a short delay for slower machines) Then use baSendKeys to send key presses to the pdf. as I remember, Ctrl+N to open the page number dialog, then the entry box

Re: lingo-l preserve regpoint with imported png at runtime

2004-06-16 Thread Frank Di Luzio
- Original Message - From: Valentin Schmidt [EMAIL PROTECTED] a quick test showed me that it's important that your image is linked as external file from the beginning (even the dummy, if there is one). Thanks Valentin, that seemed to be the main problem. I was creating a new internal

Re: lingo-l preserve regpoint with imported png at runtime

2004-06-16 Thread Frank Di Luzio
Ok it works now. I will follow-up later tonight or tomorrow with the detailed description. (got to catch my bus and get home to the kiddies!) Noch mal danke Valentin. Frank [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post

lingo-l Not founf articles at Director Online

2004-06-16 Thread Petro Bochan
Hello, Whom can I contact concerning not found articles at Director-Online? Thanks Peter the Great [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

lingo-l Stopping a Flash sprite

2004-06-16 Thread Kerry Thompson
I'm getting a white flash on screen when I stop a Flash sprite from Lingo. The sprite is not dts, and it's lock-step. The sprite is assigned dynamically at run time, from an existing linked member. The artist and I are trying to figure out if it's his animations, or my code. When I issue a

Re: lingo-l Stopping a Flash sprite

2004-06-16 Thread Agustín María Rodríguez
Kerry Thompson wrote: IOW, it stops the animation, but leaves the current frame on the screen. Dunno what IOW means but if your problem is that the Flash sprite remains in the screen buffer, then you can refresh it by doing the stageColor = the stageColor. But maybe not. Would it give me a

RE: lingo-l Stopping a Flash sprite

2004-06-16 Thread Kerry Thompson
Dunno what IOW means but if your problem is that the Flash sprite remains in the screen buffer, then you can refresh it by doing the stageColor = the stageColor. IOW = In Other Words. The problem seems that the flash sprite *doesn't* stay in the screen buffer. If it did, I don't

Re: lingo-l Open a specific page within a pdf

2004-06-16 Thread Jeremy Aker
I believe you can do it with the PDF Xtra (http://www.integrationnewmedia.com/products/pdfdirector/) Jeremy Aker mailto:[EMAIL PROTECTED] On Jun 16, 2004, at 9:02 AM, Tim Welford wrote: I had this problem too, The only way I could find was to open the pdf with buddyapi wait for the ok that it

RE: lingo-l Open a specific page within a pdf

2004-06-16 Thread Mendelsohn, Michael
OK. I'm a bit surprised this doesn't seem to be able to be done via a shell command, even after perusing http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs /en-us/ntcmds.mspx. On that page, I can't figure out what would be appropriate. Thanks anyway, Michael M. [To

Re: lingo-l Stopping a Flash sprite

2004-06-16 Thread Agustín María Rodríguez
Kerry Thompson wrote: That's an idea. I would want the poster frame to be the current frame--I can get that from the frame() function. Yup. That´s in case you to do it realtime. But if that image it will always be the same and if you´re not trying to save space, then it´d be faster to have the

Re: lingo-l Open a specific page within a pdf

2004-06-16 Thread Bertil Flink
I think you will find all the available command line switches in the Acrobat SDK: http://partners.adobe.com/asn/tech/pdf/acrobatsdks.jsp Once you do, you can modify Gary Smith's old script: http://www.mods.com.au/FAQ/faqs/acrobatsplash.htm Please report back if you find something useful. ---

lingo-l FileIO: writeReturn method failure

2004-06-16 Thread Petro Bochan
Hello, The Director MX 2004 Documentation explains FileIO function writeReturn as (p.588): ...inserts a line return in a file... Moreover, as the docs say it should be used with none of the arguments. But if you simply use it you'll get an error saying Symbol expected. Further more, if you paste

Re: lingo-l preserve regpoint with imported png at runtime

2004-06-16 Thread Kurt Griffin
with code like the following you can restrict the sensitive area to the non-transparent part of the image: on mouseUp me s=sprite(me.spriteNum) m=s.member col=m.image.extractAlpha().getPixel(the mouseloc-point(s.left,s.top)) if col=0 then return -- or use ilk(col)#color if

lingo-l lingo-lText question

2004-06-16 Thread Matt Wells
Hello, Tried this in flash and it doesn't have the capabilities. :( Can anyone tell me if this posibal in shockwave/director? I want to read a couple of paragraphs from a database. (So this project would be a shockwave project.) Into a editable text field. What I need to do is highlight a

Re: lingo-l Open a specific page within a pdf

2004-06-16 Thread Bertil Flink
More info: http://partners.adobe.com/asn/acrobat/sdk/public/docs/PDFOpenParams.pdf Describes PDF open parameters for Acrobat 6.0, that allow you to open a PDF file using a URL or command that specifies both the file to be opened plus actions to be performed once the file is opened. Bertil

RE: lingo-l Stopping a Flash sprite

2004-06-16 Thread Kerry Thompson
Yup. That´s in case you to do it realtime. But if that image it will always be the same and if you´re not trying to save space, then it´d be faster to have the bitmap already created and just doing the sprite member´s swap realtime. It has to be realtime. It's a skip intro

lingo-l test - ignore

2004-06-16 Thread Tab Julius
test post [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 Open a specific page within a pdf

2004-06-16 Thread Bertil Flink
OK, I did some tests in the message window based on the info in this doc: http://partners.adobe.com/asn/acrobat/sdk/public/docs/PDFOpenParams.pdf baFindApp(pdf) gves the path to the full Acrobat on my system so I hardcoded the path to Reader instead: Message window test theApp =

RE: lingo-l Open a specific page within a pdf

2004-06-16 Thread Mendelsohn, Michael
Bertil... Thanks, that's a really good help. I thought I was going to have to shell out a few hundred bucks for the SDK. Get it -- Shell? - Michael M. More info: http://partners.adobe.com/asn/acrobat/sdk/public/docs/PDFOpenParams.pdf Describes PDF open parameters for Acrobat 6.0, that

lingo-l lingo-lText question

2004-06-16 Thread Mathew Ray
Not to say you shouldn't use Director, but is shockwave -may- not be the best tool for the job...if all you are looking for is text handling of input selection, flash can definitely do that. First Question: Have you tried using the custom text formatterstuff and the Selection class in flash? It

Re: lingo-l Open a specific page within a pdf

2004-06-16 Thread Bertil Flink
Hmm, the last mail didn't semm to get through. so let's try again. - OK, I did some tests in the message window based on the info in this doc: http://partners.adobe.com/asn/acrobat/sdk/public/docs/PDFOpenParams.pdf baFindApp(pdf) gves the path to the full Acrobat on my system so I hardcoded

RE: lingo-l Open a specific page within a pdf

2004-06-16 Thread Mendelsohn, Michael
Bertil, that's a great solution. I tried, and failed, to do it from the [Windows] run dialog: acrobat C:\Documents and Settings\mendelsohnm.CORP\Desktop\ADOBEuiquickref.pdf /A page=18 -- didn't work In your routine below, just curious, why did you add in the baShortFileName? When you said

RE: lingo-l lingo-lText question

2004-06-16 Thread Matt Wells
Ok so if replaceSel(text) will replace the selection that is selected then is there a way to get what is selected? So I select Matt form the sentence below: Hello my name is Matt? I need to get Matt and add the b/b tags to get bMatt/b -Original Message- From: [EMAIL PROTECTED]

Re: lingo-l lingo-lText question

2004-06-16 Thread Mathew Ray
This link may help out a bit... http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary635.html Selection class Availability Flash Player 5. Description The Selection class lets you set and control the text field in which the insertion point is

RE: lingo-l Open a specific page within a pdf

2004-06-16 Thread Todd Culley
If using DMX2004 you need to use the following syntax: _player.open(theArg theDoc, theApp) todd -Original Message- Message window test theApp = baShortFileName(D:\Program\Adobe\Acrobat 6.0\Reader\AcroRd32.exe) theDoc = baShortFileName(C:\Documents and Settings\Bertil

RE: lingo-l FileIO: writeReturn method failure

2004-06-16 Thread Kerry Thompson
But if you simply use it you'll get an error saying Symbol expected. Are you sure the file is being created? You should put a check in after the new() statement: fileIO = xtra(FileIO).new() if not objectP(fileIO ) then alert FileIO not installed. end if You should also check the

Re: lingo-l Open a specific page within a pdf

2004-06-16 Thread Bertil Flink
If the path contains spaces, remember to enclose it in quotes if you try from the Run dialog. In Director, the way to go is with baShortFileName, which DOSifies the path eliminates spaces. It may seem to work without baShortFileName on your system, but sooner or later it will fail, trust me.

lingo-l Direct Communication Xtra

2004-06-16 Thread Hotmail
Hi all, Hi list admin., I would like to say that i want a [runtime functional] Direct Communication Xtra no matter it pops-up a demo alert or a trial period reminder, I do not want any crack or serial number for the xtra, The project i am working on is PERSONAL and not commercial, I am a junior

Re: lingo-l Direct Communication Xtra

2004-06-16 Thread Troy Rollins
On Jan 2, 1999, at 12:40 PM, Hotmail wrote: Hi list admin., I would like to say that i want a [runtime functional] Direct Communication Xtra no matter it pops-up a demo alert or a trial period reminder, I do not want any crack or serial number for the xtra, The project i am working on is