Search found 17 matches

by pastrana
Mon Mar 08, 2010 10:07 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Constraint of Rotations?
Replies: 1
Views: 3355

Constraint of Rotations?

I want to create a puzzle with several square images and:
-Constraint image rotation (via mouseups) to 90, 180, 270 then get back to 0 (4 movements)
-get the number according to the rotation grade (is the picture at 180º?) and send that value to a variable so I can compare it with other pictures
-if ...
by pastrana
Fri Mar 05, 2010 4:55 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: STOP drag me ?
Replies: 4
Views: 4905

Re: STOP drag me ?

it worked!
thanlks!

ben
by pastrana
Thu Mar 04, 2010 10:41 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: STOP drag me ?
Replies: 4
Views: 4905

Re: STOP drag me ?

Thanks!
That works but what I want to accomplish to to disable the graphic from being moved again (drag)

Benjamin
by pastrana
Thu Mar 04, 2010 9:42 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Software at the Speed of Thought
Replies: 7
Views: 7748

Re: Software at the Speed of Thought

I bought the ebook many years ago, how updated it is today?

Ben
by pastrana
Thu Mar 04, 2010 9:40 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: STOP drag me ?
Replies: 4
Views: 4905

STOP drag me ?

How do I make a picture "lock" into position in this script?
(I want to move the picture to the correct position and if that is true then Lock it (stop drag me command
) (the red commented script)

Thanks! Ben

SCRIPT:

global my_old_position
on mouseDown
set the layer of me to the num of controls ...
by pastrana
Mon Dec 01, 2008 7:32 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Script to launch PDF
Replies: 24
Views: 19183

ALELUYA!

Thanks Mark!

Now it worked!

:D :D :D :D :D :D :D :D
by pastrana
Mon Dec 01, 2008 5:18 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Script to launch PDF
Replies: 24
Views: 19183

Hello Mark, I tried your script but then script (the bold line) gets highlited as an error.

on mouseUp
set the itemDel to slash
put item 1 to -2 of the effective filename of me into myPath
put "/battlechic.pdf" after myPath
if the platform is "MacOS" then
put revMacFromUnixPath(myPath) into ...
by pastrana
Mon Dec 01, 2008 4:37 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Script to launch PDF
Replies: 24
Views: 19183

Getting error from script

executing at 11:34:52 AM
Type Chunk: can't set property
Object Button
Line put item 1 to -2 of the effective filename of me into myPath
Hint mouseUp
by pastrana
Mon Dec 01, 2008 7:36 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Script to launch PDF
Replies: 24
Views: 19183

NOTHING!

Thansk JAN, I tried
and here is a small movie I recorder to show nothing happens with the script.

The movie executing script
http://www.sandovale.com/revolution/pdf.mov

THE STACK
http://www.sandovale.com/revolution/PDF.rev


THE PDF doc to launch
http://www.sandovale.com/revolution/battlechic ...
by pastrana
Mon Dec 01, 2008 3:50 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Script to launch PDF
Replies: 24
Views: 19183

launch pdf

I am really getting crazy.

I tried the script but nothing happens!

on mouseUp
launch "/cover.pdf"
end mouseUp

the PDf doc & stack are in the same directory and even the Preview mac application.

I am really anxious to use Revolution for a Big Project but this simple
tasks forces me to use Flash ...
by pastrana
Sun Nov 30, 2008 4:00 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Script to launch PDF
Replies: 24
Views: 19183

Script to launch PDF

How do I launch from rev Studio a PDF doc from an specific folder in mac or pc? I can't find a solution in the previous forum threads.
Thanks!
Benjamin
by pastrana
Tue Sep 23, 2008 7:10 am
Forum: Announcements
Topic: Callback Tutorials?
Replies: 3
Views: 6092

Callback Tutorials?

Where can I find a Callback tutorial?
thanks!

Ben
by pastrana
Mon Sep 22, 2008 11:36 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Getting mouseUps from QTVR's
Replies: 1
Views: 2717

Getting mouseUps from QTVR's

Is there any way to get a mouseUp click
from an specific QTVR hotspot / track and send the event to Revolution
and also send back a mouseUp to another hotspot, play, set node etc...

I want to create an educational game and be able to get the results
to Revolution Studio so I can show or hide an ...
by pastrana
Sat Aug 30, 2008 4:10 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Media templates in Studio?
Replies: 2
Views: 3609

Media templates in Studio?

Why I can't open or create the Rev media stacks in Studio?

If there is an upgrade from Media to Studio I should be able to
use Studio only instead of going back to Media in order to be able to open the Games, slideshows projects.?

Thanks!

Benjamin
by pastrana
Thu Jul 31, 2008 10:06 pm
Forum: Games
Topic: New game demo from fasasoftware crazy shot
Replies: 7
Views: 16738

Thanks!

Cool game!
You mentioned about the code
but I can't find the link in your web.

Benjamin