How to make a audio player using Revolution

2005-07-08 Thread Ban Nguyen
I am new to Rev.  Could someone please help me how to create a audio
player? Thank you
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Making an audio player.......

2005-07-08 Thread Ban Nguyen
Hello

I am a new user of revolution and learning it...

Does anyone have any example how to create an audio player?  I have 5
.wav files.  I want to make a list so user can click on any song to
play. Basically an audio player that also can rew, forward, stop, pause
and a status bar.

Thank you very much for your help








___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: How to make a audio player using Revolution

2005-07-08 Thread Ban Nguyen
Thank Eric

I have 5 .wav file

First I need to creat an array?
Could you give me some example how to code this.  I want user can click to 
play, pause, stop, rev or forward.  How do I code this?  Thank you for your help







-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Chatonet
Sent: Friday, July 08, 2005 2:42 PM
To: How to use Revolution
Subject: Re: How to make a audio player using Revolution

Hi Ban,

Welcome to this list.

Your question seems simple :-)
In fact it depends on many factors the first one of which is to know  
if QuickTime is installed or not.
This will decide on which file types you will able to play from the  
most common AIFF, WAV to AAC or mp3.
Then you will decide if you want the files stored in your stack or  
stay as files on your hard-disk.
Then, you will want to be able to set the loudness, to start playing,  
etc.
It's a whole world!

As for coding, you will use a player object the filename of which  
will be set to a sound file on your hard disk or the play command id  
the sound is stored in your stack.

To get started, you could check the following in the Docs dictionary:

play command
player keyword
currentTime property
playLoudness property
playRate property
playStopped message
sound function
start command
stop command

Le 8 juil. 05 à 22:19, Ban Nguyen a écrit :

> I am new to Rev.  Could someone please help me how to create a audio
> player? Thank you

Best Regards from Paris,

Eric Chatonet.

So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website

Web sitehttp://www.sosmartsoftware.com/
Email[EMAIL PROTECTED]/
Phone33 (0)1 43 31 77 62
Mobile33 (0)6 20 74 50 86


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Scrolling List field

2005-07-08 Thread Ban Nguyen
Hello

I've been searching the command to make the scrolling list field works.
I want user click on a line and see an action.  Thank you
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Scrolling List field

2005-07-11 Thread Ban Nguyen
Thanks you for your help.  It works.  How can I transfer the value of
clickline into a button so when user click on a button then it shows the
value of clickline







I'm no expert...

Turn on the "list behavior" checkbox in the field's basic properties 
window. Also, lock the text of the field. Put an "on mouseup" script 
in the script of the field. In the script, use the clickline 
function, or the value of the clickline. If you're a beginner, start 
with

on mouseup
  answer the clickline
  answer the value of the clickline
end mouseUp

When you see what the clickline and the value of the clickline look 
like, you'll be ready to take the next step. Of course, you've got to 
have some data in your scrolling list field for this to work.

That's the basics. Unless I got something wrong.


Good luck,



Tim
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


PLEASE HELP PLEASE HEP.........

2005-07-11 Thread Ban Nguyen
I have this code in the scrolling list field:

global textOfClickedLine
on mouseUp
   select the clickLine
   put the value of the clickLine into textOfClickedLine
   answer textOfClickedLine
end mouseUp

It prints the value of the clickline correctly

And then created a button on the same card

And have this code for the button:

on mouseUp
answer value(textOfClickedLine)
end mouseUp

but it prints out the whole text "textOfClickedLine" not the value. How
can I get the value of the "textOfClickedLine" to print out

I don't know what I did wrong Please help me.

Thank you for you help
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: PLEASE HELP PLEASE HEP.........

2005-07-11 Thread Ban Nguyen

It works thank you so much for your help.




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris
Sheffield
Sent: Monday, July 11, 2005 12:20 PM
To: How to use Revolution
Subject: Re: PLEASE HELP PLEASE HEP.

Looks like you already have your variable textOfClickedLine set up as  
a global.  All you need to do is declare that same variable as a  
global in your button's script.  Should work how you want it.

Chris


On Jul 11, 2005, at 1:08 PM, Ban Nguyen wrote:

> I have this code in the scrolling list field:
>
> global textOfClickedLine
> on mouseUp
>select the clickLine
>put the value of the clickLine into textOfClickedLine
>answer textOfClickedLine
> end mouseUp
>
> It prints the value of the clickline correctly
>
> And then created a button on the same card
>
> And have this code for the button:
>
> on mouseUp
> answer value(textOfClickedLine)
> end mouseUp
>
> but it prints out the whole text "textOfClickedLine" not the value.  
> How
> can I get the value of the "textOfClickedLine" to print out
>
> I don't know what I did wrong Please help me.
>
> Thank you for you help
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>

--
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.com
--


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Scrolling List field

2005-07-11 Thread Ban Nguyen

Thank you very much.  It works

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark
Swindell
Sent: Monday, July 11, 2005 12:06 PM
To: How to use Revolution
Subject: Re: Scrolling List field


On Jul 11, 2005, at 11:16 AM, Ban Nguyen wrote:

> Thanks you for your help.  It works.  How can I transfer the value of
> clickline into a button so when user click on a button then it  
> shows the
> value of clickline

You could put the clickline into a global variable (gClickVar) or  
custom property (clickProp).  When the user clicks on the button the  
value of the variable (or custom property) would show at the location  
of your choosing.


This would go into the field you click on:

On mouseUp
global gClickVar
put the clickline into gClickVar  -- (or)
--set the clickProp of this card to the clickline
End mouseUp


This would go into the Button that places the value of the clickline  
into a second field

On MouseUp
global gClickVar
put value(gClickVar) into field 2 -- or
--put the clickProp of this cd into field 2
end MouseUp

Hope this makes sense.  There are probably other more elegant solutions.

Mark
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


pause, rew and forwad an audio

2005-07-11 Thread Ban Nguyen
I use play and stop command to play and stop an audio.  What command do
I need to use to pause, rew and forwad an audio.  How do I control the
volume? Thank you for your help.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Scrolling List field please help please help.....

2005-07-11 Thread Ban Nguyen
Hi Mark
How can I get the next value by clicking on the button and hightlight
that line




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark
Swindell
Sent: Monday, July 11, 2005 12:06 PM
To: How to use Revolution
Subject: Re: Scrolling List field


On Jul 11, 2005, at 11:16 AM, Ban Nguyen wrote:

> Thanks you for your help.  It works.  How can I transfer the value of
> clickline into a button so when user click on a button then it  
> shows the
> value of clickline

You could put the clickline into a global variable (gClickVar) or  
custom property (clickProp).  When the user clicks on the button the  
value of the variable (or custom property) would show at the location  
of your choosing.


This would go into the field you click on:

On mouseUp
global gClickVar
put the clickline into gClickVar  -- (or)
--set the clickProp of this card to the clickline
End mouseUp


This would go into the Button that places the value of the clickline  
into a second field

On MouseUp
global gClickVar
put value(gClickVar) into field 2 -- or
--put the clickProp of this cd into field 2
end MouseUp

Hope this makes sense.  There are probably other more elegant solutions.

Mark
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


select previous and next clickline

2005-07-11 Thread Ban Nguyen
Hello

What command do you use to select the previous and next clickline in the
scrolling list field.  Thank you

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Scrolling List field please help please help.....

2005-07-11 Thread Ban Nguyen

Hi Mark

I am creating an audio player

I created a scrolling list field contanins a list of audio
I created the button play and stop using this code:

on mouseUp
  global gClickVar
 play audioClip value(gClickVar) looping
end mouseUp

on mouseUp
  global gClickVar
 stop playing audioClip value(gClickVar) 
end mouseUp

I want to create the pause, previous, next buttons
I want use click on the next button, then the next song in the list
should be hightlighted and play

Also same for previous button, plays the previous song

And pause button to stop the song

Could you please help.  Thank you so much



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark
Swindell
Sent: Monday, July 11, 2005 1:30 PM
To: How to use Revolution
Subject: Re: Scrolling List field please help please help.

I'm not sure I understand your question or exactly what you want to  
happen.

Each time you click a new line in field 1, that line replaces what  
was previously in the global variable or custom property. Then,  
clicking the button would place the new text into field 2.

Mark



On Jul 11, 2005, at 1:21 PM, Ban Nguyen wrote:

> Hi Mark
> How can I get the next value by clicking on the button and hightlight
> that line
>
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Mark
> Swindell
> Sent: Monday, July 11, 2005 12:06 PM
> To: How to use Revolution
> Subject: Re: Scrolling List field
>
>
> On Jul 11, 2005, at 11:16 AM, Ban Nguyen wrote:
>
>
>> Thanks you for your help.  It works.  How can I transfer the value of
>> clickline into a button so when user click on a button then it
>> shows the
>> value of clickline
>>
>
> You could put the clickline into a global variable (gClickVar) or
> custom property (clickProp).  When the user clicks on the button the
> value of the variable (or custom property) would show at the location
> of your choosing.
>
>
> This would go into the field you click on:
>
> On mouseUp
> global gClickVar
> put the clickline into gClickVar  -- (or)
> --set the clickProp of this card to the clickline
> End mouseUp
>
>
> This would go into the Button that places the value of the clickline
> into a second field
>
> On MouseUp
> global gClickVar
> put value(gClickVar) into field 2 -- or
> --put the clickProp of this cd into field 2
> end MouseUp
>
> Hope this makes sense.  There are probably other more elegant  
> solutions.
>
> Mark
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: select previous and next clickline

2005-07-11 Thread Ban Nguyen

Thank you David.  It helps me a lot

By the way.  How can I create a volume control to control a song? And I
would like to create a progress bar for an audio.  You have any idea?
Thank you




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Squance
Sent: Monday, July 11, 2005 2:20 PM
To: How to use Revolution
Subject: Re: select previous and next clickline

Ban Nguyen wrote:

>Hello
>
>What command do you use to select the previous and next clickline in
the
>scrolling list field.  Thank you
>  
>
I think what you're looking for is 'word 2 of the clickline'. When you 
evaluate 'the clickline' (eg type 'put the clickline' so that the msg 
box opens and 'the clickline' appears in it), you will see 'line x of 
field y' where x is the line number and y is the field number. Word 2 of

the click line is the line number, so your mouseup handler would need to

include a global variable to which word 2 of the clickline is assigned. 
Then the previous button would subtract 1 from that variable and do 
whatever to that line. Similarly, the next button would add 1 to the 
variable.

I'm afraid I've lost your last post, so can't put example lines into 
your script to illustrate, but hope this helps.
Dave
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


how to play video on a card?

2005-07-11 Thread Ban Nguyen
I have 3 .wmv files.  I want them to play on a card by selecting one by
one at a time.  Anyone know how to implement this.  Thank you
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


play videoClip "nameOfVideo" does not work, Please help

2005-07-11 Thread Ban Nguyen
I create a button name "play"
I put this script on button:
on mouseUp
   play videoClip "MENTORS" at 100,100
end mouseUp

It did not work.  Please help me, thank you
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: play videoClip "nameOfVideo" does not work, Please help

2005-07-12 Thread Ban Nguyen

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of J. Landman
Gay
Sent: Tuesday, July 12, 2005 8:33 AM
To: How to use Revolution
Subject: Re: play videoClip "nameOfVideo" does not work, Please help

On 7/12/05 9:09 AM, Devin Asay wrote:

> If you did not import the clip, but are trying to play it as an  
> external file, you must specify the entire file path, like this:

As long as we're talking about videoclips, is there a way to store a QT 
movie as an imported file in a stack, but still set a player to use it? 
I know I can write the movie to disk temporarily and play it from there,

but it would be cleaner if I could just refer to it in the stack. Using 
the "play" command to run it doesn't give enough control, I need to use 
a player object.






-  Could you  give an example how to use the player object?  I did
imported the moive (MENTORS.wmv) into the stack (videoClips)
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: play videoClip "nameOfVideo" does not work, Please help

2005-07-12 Thread Ban Nguyen


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of J. Landman
Gay
Sent: Tuesday, July 12, 2005 8:33 AM
To: How to use Revolution
Subject: Re: play videoClip "nameOfVideo" does not work, Please help

On 7/12/05 9:09 AM, Devin Asay wrote:

> If you did not import the clip, but are trying to play it as an  
> external file, you must specify the entire file path, like this:

As long as we're talking about videoclips, is there a way to store a QT 
movie as an imported file in a stack, but still set a player to use it? 
I know I can write the movie to disk temporarily and play it from there,

but it would be cleaner if I could just refer to it in the stack. Using 
the "play" command to run it doesn't give enough control, I need to use 
a player object.






-  Could you  give an example how to use the player object?  I did
imported the moive (MENTORS.wmv) into the stack (videoClips)




- Does it play .wmv movie?
This is what I did:
I create a button and put this code in there
on mouseUp
   play videoClip "MENTORS.wmv" at 100,100
end mouseUp

I didnot not work. What did I do wrong?  Please help





___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


place the window in the middle of screen?

2005-07-12 Thread Ban Nguyen
Hello,

How to place the window in the center of the screen?  Please help
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: place the window in the middle of screen?

2005-07-12 Thread Ban Nguyen

> Hello,
>
> How to place the window in the center of the screen?  Please help

...
set the loc of stack "xyz" to the screenloc
...

:-)



Should I put this code in the main stack?  Where should I put this code.
Thank you for your help





___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: place the window in the middle of screen?

2005-07-12 Thread Ban Nguyen

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Klaus
Major
Sent: Tuesday, July 12, 2005 9:48 AM
To: How to use Revolution
Subject: Re: place the window in the middle of screen?

Hi Ban,

>> Hello,
>>
>> How to place the window in the center of the screen?  Please help
> ...
> set the loc of stack "xyz" to the screenloc
> ...
>
> :-)
>
> Should I put this code in the main stack?  Where should I put this  
> code.

This should go into the stackscript into an "preopenstack" handler
so the window will appear in the middle of the screen:

on preopenstack
   set the loc of this stack to the screenloc
   ...
end preopenstack

> Thank you for your help

You're welcome :-)


Best from germany

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de


->  Thanks Klaus it works





___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


building an audio player

2005-07-12 Thread Ban Nguyen
Xin chào Klaus,


I am new to Revolution.  I am building an audio player.  So far I got the play, 
stop, next, previous buttons work

Do you have any idea to do the pause button and I want to use the slider to 
control the audio id user want to play fast or play back (you know what I mean)

I want to have a volume control to control the sound

BTW I am using the scrolling list field to list the audio files and let user 
click on each songit works 

Please help
Thank you
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: building an audio player

2005-07-12 Thread Ban Nguyen

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Klaus Major
Sent: Tuesday, July 12, 2005 10:54 AM
To: How to use Revolution
Subject: Re: building an audio player

Xin chào Ban,

> Xin chào Klaus,
>
> I am new to Revolution.  I am building an audio player.  So far I  
> got the play, stop, next, previous buttons work
>
> Do you have any idea to do the pause button and I want to use the  
> slider to control the audio id user want to play fast or play back  
> (you know what I mean)

you mean the user clicks (and holds the mouse!) on the fastforward  
button
and the sound plays very fast, until the user releases the mouse again?

Hint:
To be able to control the sound like you want to, you must use a  
"player" object!
If you just use "play ac xyz" then you do not have much control over  
the playback!
No fast forward/backward etc...

In that case i use a button (2 buttons, on for forward and one for  
backwards)
with this script, this is the fastforward button:

on mousedown
set the playrate of player "your audio playername here" to 2
   ## plays double speed...
   ## This is the "normal" behaviour of such a button, i think ;-)
end mousedown

on mouseup
 set the playrate of player "your audio playername here" to 1
end mouseup

on mouserelease
   set the playrate of player "your audio playername here" to 1
end mouserelease


That's all :-)
...
set the playrate of ... to -2
...

In the fast backward button.

> I want to have a volume control to control the sound

Simply use a "slider", vertical of horizontal.

Set the startvalue to 0
The endvalue to 100

And put this into the script of the slider:

on scrollbardrag t_value
set the playloudness of player "your audio playername here" to  
t_value
end scrollbardrag

Done :-)

The message "scrollbardrag" is being sent to Revolution continuously
while the user drags the slider. The message can have 1 parameter,
the current value of the slider, so this script will work in realtime.

Hope this helps.

> BTW I am using the scrolling list field to list the audio files and  
> let user click on each songit works
>
> Please help
> Thank you

Không có chi. (I just love Google ;-)

Regards


->


I used the "player" object but it did not work. How can I have a list of songs 
in there?

I want to use the slider to control the song forward and backward and use 
another slider to make the volume

Is there anyway to do that?

Thank you very much for your help
Ban

>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: play videoClip "nameOfVideo" does not work, Please help

2005-07-12 Thread Ban Nguyen
> 
>> As long as we're talking about videoclips, is there a way to store a 
>> QT movie as an imported file in a stack, but still set a player to
use 
>> it? I know I can write the movie to disk temporarily and play it from

>> there, but it would be cleaner if I could just refer to it in the 
>> stack. Using the "play" command to run it doesn't give enough
control, 
>> I need to use a player object.
> 
> 
> Aren't you describing a videoclip? The videoclip object is played 
> through a player, so you can show its controller:
> 
>   set the showController of the templatePlayer to true
>   play videoclip "My Clip"
> 
> Since playing a clip creates a temporary player for display, the 
> settings of the templatePlayer are used when playing the clip.

Oh! Excellent, thank you! This is perfect. I should have known you'd 
know. ;)



How do you set the location for this video?
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: play videoClip "nameOfVideo" does not work, Please help

2005-07-12 Thread Ban Nguyen

> At 10:32 AM -0500 7/12/2005, J. Landman Gay wrote:
> 
>> As long as we're talking about videoclips, is there a way to store a 
>> QT movie as an imported file in a stack, but still set a player to
use 
>> it? I know I can write the movie to disk temporarily and play it from

>> there, but it would be cleaner if I could just refer to it in the 
>> stack. Using the "play" command to run it doesn't give enough
control, 
>> I need to use a player object.
> 
> 
> Aren't you describing a videoclip? The videoclip object is played 
> through a player, so you can show its controller:
> 
>   set the showController of the templatePlayer to true
>   play videoclip "My Clip"
> 
> Since playing a clip creates a temporary player for display, the 
> settings of the templatePlayer are used when playing the clip.

Oh! Excellent, thank you! This is perfect. I should have known you'd 
know. ;)




How do you set the location for this video?






___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


slide show questions???

2005-07-12 Thread Ban Nguyen
Hello

I am using this code I found from this list:

I create a substack and put this code into it:

"
global the_advancing

on openCard
  send advanceSlide to me in 2 seconds
  global the_advancing
  put the result into the_advancing
end openCard

on advanceSlide
  visual dissolve
  go next cd
end advanceSlide

on mouseUp
  global the_advancing
end mouseUp

"
Then I create 4 cards, each card has one image.

It works fine but the substack pops up when I open the script panel.  

I wrote "close stack "gallery"" because I want to close this substack so
user can click on other button

Ay idea, please help
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: slide show questions???

2005-07-12 Thread Ban Nguyen

You might try something like the following you will put in your  
stack's script:

on openCard
   if the number of this cd = the number of cds then exit to top
   -- slide show is finished
   send NextSlide to me in 2 seconds
end openCard
-
on NextSlide
   visual effect dissolve -- [very] slow, [very] fast, etc.
   go next cd
end NextSlide

-

Thanks for your help

I tried this and it work fine but it pops up on top of other card and
play
I have 1 main stack: Home
And 3 substacks: gallery, about, and partner 

Stack gallery has 4 cards: pic1, pic2, pic3, pic4
I put the above script into gallery's stack

On the home stack I have 4 buttons : Home, gallery, about, partner.  I
put this code "go stack ." into each button

For some reason after clicking on gallery (see it fine with the slide
show) but after I clicked on the next button (example button about to go
to about page) the gallery pops up on top of it.  Don't know why..

Please help thank you very much
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


How to import track into player

2005-07-12 Thread Ban Nguyen
Does anyone know how to import track into player object? Thank you







___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


creating an animation banner

2005-07-12 Thread Ban Nguyen
Hello everyone

I like to create an animation banner (with 3 images changing every 15
seconds) and ach image has it own like to its website.

Example 
when image 1 shows, user click on it, it will take to url1
when image 2 shows, user click on it, it will take to url2


Thank you for your help
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


showController for audio question???

2005-07-13 Thread Ban Nguyen
Hello,

I use this code for video and it works perfect
set the showController of the templatePlayer to true
play videoclip "My Clip"

I use the similar code for audio and it does not work.  It plays the
song but does not show the controller

set the showController of the templatePlayer to true
play audioclip "My Clip"

-
My problem is:  I have a list of 9 songs and I want to show them in a
list and let user click on one song at a time and play it

I use the scrolling list field to display those songs.  Here is the code
of the scrolling list field:

on mouseup
global gClickVar
select the clickLine
put word 2 of the clickLine into gClickVar
   
   -- get the song name
   put line gClickVar of field "audioList" into gClickVar
   play audioClip gClickVar looping

end mouseup

--
I create a play button.  Here is the code for the play button (it works
fine):

on mouseUp
  global gClickVar
 play audioClip gClickVar looping
end mouseUp

-
I also create the stop, prev and next button.  They works fine

---
My problem is I don't know how to create the volume slider to control
the volume

---
I use this code for the pause button:
on mouseUp
global gClickVar
play pause audioClip gClickVar
end mouseUp

It stops the song and plays the beginning of the song when I release the
mouse.  I want to pause it and click again to continue play (not
beginning)

-
so that why I am trying to use this code so I don't have to worry about
volume and stuff...:

set the showController of the templatePlayer to true
play audioclip "My Clip"

but it does not work


-
Does the player object play the imported song (import as a control) or
only play songs on the hard drive that you insert in the source
(C:\audio\songs)


Please help me.  Anyone has any idea?  Thank you








___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: showController for audio question???

2005-07-13 Thread Ban Nguyen

Since you do not work with player objects you should change the line to:

on scrollbardrag t_value
set the playloudness to t_value
end scrollbardrag

->It works.  Thanks


--

I use this code for the pause button:
on mouseUp
global gClickVar
play pause audioClip gClickVar
end mouseUp

It stops the song and plays the beginning of the song when I release the
mouse.  I want to pause it and click again to continue play (not
beginning)

Klaus, do you have any idea?  Thanks


---

BTW, is there anyway to build the progress bar.  User can slide back and
forward and see how far the song is playing.


---






___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


how to pause a song??? please help

2005-07-13 Thread Ban Nguyen
Hello,

I've been working on creating a pause button to stop an audio and
clicking the button again to play the audio where it was stopped (not
the beginning)

I am using this code for pause button:

on mouseUp
play pause audioClip "my clip"
end mouseUp

It stops for 1 second and play at the beginning. Anyone knows how to set
it so it will play again where it was stopped.  Thank you.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: how to pause a song??? please help

2005-07-13 Thread Ban Nguyen




>Hello,
>
>I've been working on creating a pause button to stop an audio and
>clicking the button again to play the audio where it was stopped (not
>the beginning)
>
>I am using this code for pause button:
>
>on mouseUp
>play pause audioClip "my clip"
>end mouseUp
>
>It stops for 1 second and play at the beginning. Anyone knows how to
set
>it so it will play again where it was stopped.  Thank you.

--

I uploaded my sample Player exactly for people like you!  There is a 
Pause button: just see how I coded it!  If you have problems finding the

stack, just let me know, off the list, and I'll help you find it!

---

I did not use player object at the beginning so cannot use this code:

start player "myPlayer"
stop player "myPlayer"


I use "play" command

So I don't know what to do now

I want to have a list of songs (9 songs) displayed on the scrollList so
user can select which song is played.  Is there anyway that I can use
JLBPlayer to do this.  I want to play .wav file

JLBplayer only plays mp3?

thanks
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: how to pause a song??? please help

2005-07-13 Thread Ban Nguyen
> I did not use player object at the beginning so cannot use this code:
> 
> start player "myPlayer"
> stop player "myPlayer"
> 
> 
> I use "play" command
> 
> So I don't know what to do now

You'll definitely want to use a player object.  The play command was 
implemented as a simple way to play some media files, but doesn't have 
nearly the range of capabilities as a player.

And because it's supported by QuickTime you'll get not only MP3 
playback, but also WAV, AIFF, AAC, AU, and dozens more

--
  Richard Gaskin
  Managing Editor, revJournal
  ___
  Rev tips, tutorials and more: http://www.revJournal.com



---

I really want to use the "player" object but I don't know how to use it
to play the song that imported into stack.  I have seen people use the
"player" object to open a song from local computer (such as
C:\songs\).  I want to play song that imported into stack (9 songs).
I want to list these songs in the scrolling list field so user can
select a song to play.  Please help this is the last step that I need to
finish this project.  Klaus help me figure out how to make the volume
control and other button such as play, stop... work

---



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


mainStack and subStack question???

2005-07-14 Thread Ban Nguyen
Hello,

On my application that I am working on, it has a mainStack and 5
substacks

On the mainStack (card 1), I put 5 buttons to go to subStacks

This is a problem:  when user clicks on button 1 to go to substack 1,
the substack 1 shows, but when user click on button 2 to go to
substack2, the substack 1 disappears.

Is there anyway to keep the substack 1 stays until the substack 2 shows
up?


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: mainStack and subStack question???

2005-07-14 Thread Ban Nguyen

Hi Klaus,

> Hello,
>
> On my application that I am working on, it has a mainStack and 5
> substacks
>
> On the mainStack (card 1), I put 5 buttons to go to subStacks
>
> This is a problem:  when user clicks on button 1 to go to substack 1,
> the substack 1 shows, but when user click on button 2 to go to
> substack2, the substack 1 disappears.
>
> Is there anyway to keep the substack 1 stays until the substack 2  
> shows
> up?
-
it should stay open, actually, as long as you are not explicitely  
closing it!
Maybe it is just covered by the newly opened substack or the mainstack?

-

On the mainStack I have the audio Player, when user is reading substack
2 (for example) and the same time user click on the list of audio
outside the substack, the substack 2 disappears.  I want the substack 2
stay because user is reading it.  

--
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: mainStack and subStack question???

2005-07-14 Thread Ban Nguyen



> Hello,
>
> On my application that I am working on, it has a mainStack and 5
> substacks
>
> On the mainStack (card 1), I put 5 buttons to go to subStacks
>
> This is a problem:  when user clicks on button 1 to go to substack 1,
> the substack 1 shows, but when user click on button 2 to go to
> substack2, the substack 1 disappears.
>
> Is there anyway to keep the substack 1 stays until the substack 2  
> shows
> up?

-
It sounds like what you want is to smoothly transition from one stack  
to another with no breaks, flashes, or jumps. The best way I have  
found to do this is to use the go stack in window form, like this:

 go stack  in window 

This will simply replace the contents of the window with the new  
stack without having to visually close the old stack window and  
create and open a new window.

-

I did what you said but the window stop and could move the mouse
What Do you mean  ? is it the mainstack?
--




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


window flashing when playing video

2005-07-14 Thread Ban Nguyen
Hello,

The whole window is flashing when the video playing.  Flashing stops
when the video ends.  Anyone has had the same problem?  Please help
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


videoClip does stop playing????

2005-07-14 Thread Ban Nguyen
Hello,

I have a video (.mov)

I create a button (play) with this code:

on mouseUp
   play videoClip "my movie"
end mouseUp

I also create another button (close) with this code:

on mouseUp
  close this stack
  stop playing videoClip "my movie"
end mouseUp


The problem is:  the stack is closed but the video still play (you can
here it)

I don't know any other command to stop the video.  Please help.  Thank
you
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


How to play a video clip from stack (NOT from hard drive)

2005-07-14 Thread Ban Nguyen
Hi everyone,

I have been reading many tutorials but I could not find any help about
how to play a song/video that is imported into the stack (not from hard
drive)

(I want user play song from stack not from their hard drive because this
is a standalone CD)



I have a video (.mov)

I create a button (play) with this code:

on mouseUp
   play videoClip "my movie"
end mouseUp

I also create another button (close) with this code:

on mouseUp
  close this stack
  stop playing videoClip "my movie"
end mouseUp


The problem is:  the stack is closed but the video still play (you can
here it)

I don't know any other command to stop the video.  Please help.  Thank
you




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: videoClip does stop playing????

2005-07-15 Thread Ban Nguyen

> Hello,
>
> I have a video (.mov)
>
> I create a button (play) with this code:
>
> on mouseUp
>play videoClip "my movie"
> end mouseUp
>
> I also create another button (close) with this code:
>
> on mouseUp
>   close this stack
>   stop playing videoClip "my movie"
> end mouseUp
>
>
> The problem is:  the stack is closed but the video still play (you can
> here it)
>
> I don't know any other command to stop the video.  Please help.  Thank
> you

use reverse order and the correct syntax for you commands,
that should do the trick :-)

on mouseUp
   play stop vc
   close this stack
end mouseUp

vc = short for videoclip

No need to specify the name of the clip, since only one clip can be  
playing
at a time...




Thank you it works

-
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Problem with "Save As Standalone App"

2005-07-18 Thread Ban Nguyen
Hello,


I am having problem with "Save As Standalone App."
I have a Rev file (about 400,000 KB) when I save it as standalone app
(making an exe file).  It took a long time to finish.  The exe file size
is only 1,620 KB.  I could not open it.  I don't know what's wrong.
Could someone help me with this?  Thank you







___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


How to customize the scroll bar, progress bar, and slider bar?

2005-07-18 Thread Ban Nguyen
Hello everyone,

Is the anyway to customize the look of scroll bar, progress bar, and
slider bar?  I have been searching the list but have not come across to
any tutorials? Does anyone know please help? Thank you





___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution



Problem with "Save As Standalone App"

2005-07-18 Thread Ban Nguyen
Hello,


I am having problem with "Save As Standalone App."
I have a Rev file (about 400,000 KB) when I save it as standalone app
(making an exe file).  It took a long time to finish.  The exe file size
is only 1,620 KB.  I could not open it.  I don't know what's wrong.
Could someone help me with this?  Thank you






___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Problem with "Save As Standalone App"

2005-07-19 Thread Ban Nguyen

> Hello,
> 
> 
> I am having problem with "Save As Standalone App."
> I have a Rev file (about 400,000 KB) when I save it as standalone app
> (making an exe file).  It took a long time to finish.  The exe file
size
> is only 1,620 KB.  I could not open it.  I don't know what's wrong.
> Could someone help me with this?  Thank you


--

We don't have enough information. Do you get an error message? Did you 
enter all the settings in the Standalone Application Settings (in the 
File menu) before you did the build?


---


It took so long to finish.  I created a new folder to save it.  I opened
the folder.  It has two file myfile.rev(400,000 KB) and myfile.exe(1,650
KB).  I clicked on the myfile.exe.  It displayed an error: "cannot open
file myfile.exe, error message 0, 0"

Does anyone have any idea what's happening?

I tried to save a small application and I worked fine.  The only file
that I see after saving as standalone is .exe file (no .rev).  I don't
know if something wrong with the big file

Please help

Thank you




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


just testing

2005-07-19 Thread Ban Nguyen

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


substack locations????

2005-07-19 Thread Ban Nguyen
Hello,

I have an application with one main stack and 6 substacks.  For some
reason, all the substacks are displayed in the right location on my
computer which I used to develop the application.  I tried the
application on a different computer and all the substacks are display in
different locations.  Do you have any idea?





___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


card printing question???

2005-07-20 Thread Ban Nguyen
Hello everyone,

I have a gif image size 350 x 500.  I want to display it in the field so
user can scroll up and down to view it and print the whole image out.

This is what I have done:
I create a field and insert this code into the field:

on openCard
  set the imageSource of char 1 of field "myField" to "myImage"
end openCard


--->  the field displays the image perfectly the way I want it.

I also create a button (Print) on the same card.  I insert this code
into the Print button:

on mouseUp
  revPrintField the name of field "myField"
end mouseUp


The problem is when I click on the button "Print".  I give me error:

executing at 9:08:44 AM
TypeChunk: no such object
Object  Print
LinerevPrintField the name of field "myField"
HintmyField


Also, I go to File then the "Print Field" option is grey out

Could someone help me with this please

Thank you
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Screen Postion???

2005-07-21 Thread Ban Nguyen
Hello,

I am creating an application which has one main stack and 5 substacks. I
lock the size and location using property inspector BUT when I view the
application on different computers with different screen setting those 5
substacks are displayed in different locations

The problem is I don't know how to set the location for those 5
substacks so they are displayed in the right position that I set so I
don't have to worry about other users' computer screen setting.

Thank you
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Screen Postion???

2005-07-21 Thread Ban Nguyen

I am trying to use this code and I give me an error:

executing at 10:45:16 AM
TypeChunk: can't find stack
Object  main
Lineset the loc of stack item i of "partners, aboutUs, location,
contact" to tCurLoc
Hintstack "main.rev"


-
You could try to set the position of your stacks relative to the  
screenRect value in a preOpenStack handler in your main stack.
For instance:

on preOpenStack
   local tCurLoc
   -
   put the screenLoc into tCurLoc
   set the loc of this stack to tCurLoc
   repeat with i = 1 to 5
 add x to item 1 of tCurLoc -- horizontal co-ordinate
 add y to item 2 of tCurLoc -- vertical co-ordinate
 set the loc of stack  item i of  "MySubstack1, MySubstack2, etc"  
to tCurLoc
   end repeat
end preOpenStack

Such a handler will present the main stack centred on- screen and the  
others in cascade according to x and y values.
Of course, you can change all that to suit your needs (working for  
instance with the screenRect too).
It's just to get you the idea.

-

> I am creating an application which has one main stack and 5  
> substacks. I
> lock the size and location using property inspector BUT when I view  
> the
> application on different computers with different screen setting  
> those 5
> substacks are displayed in different locations
>
> The problem is I don't know how to set the location for those 5
> substacks so they are displayed in the right position that I set so I
> don't have to worry about other users' computer screen setting.

-
-
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


How to snap a substack window to the bottom of mainstack window???

2005-07-22 Thread Ban Nguyen

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


How to snap a substack window to the bottom of mainstack window

2005-07-22 Thread Ban Nguyen
Hello,


Does anyone know:

How to snap a substack window to the bottom of mainstack window?
When usr move the main stack, the substack should snap and follow?

Thank you




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


How to select the next clickLine of a scrolling list field

2005-07-25 Thread Ban Nguyen

Hello everyone,

Does anyone know how to select the next line of a scrolling list field?

Thanks
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


how to set the size of the card smaller than the size of the stack

2005-07-25 Thread Ban Nguyen
Hello,

Does anyone know how to set the size of the card smaller than the size
of the stack. When I create a new card in a stack, the card is the same
size as the stack.  I want its size smaller


I have a main stack:  In this stack I have 5 cards
On the first card I have all graphics set up like background,
borders and I also create 5 buttons to link to different cards

Here is the problem:  every time I create a new card, I have to copy all
the graphics from the first card and paste into the new card (I want all
card have the same look, just want to change the content)

Is there any better way to do this

I did another way by creating different substacks but it did not work
the way I want it because those substacks are displayed in different
locations (user's screen resolution)

Thank you for your help
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: how to set the size of the card smaller than the size of thestack

2005-07-25 Thread Ban Nguyen

> Does anyone know how to set the size of the card smaller than the size
> of the stack. When I create a new card in a stack, the card is the
same
> size as the stack.  I want its size smaller

If the card was smaller than the stack, what would you expect to see
beyond
the borders of the card?  *Something* has to be there.


> Here is the problem:  every time I create a new card, I have to copy
all
> the graphics from the first card and paste into the new card (I want
all
> card have the same look, just want to change the content)
> 
> Is there any better way to do this

---


Yes -- group the items you want to appear on each card and set the
group's
background behavior property to true.

-

I want user still see the other buttons so they can click to go there







___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


cannot import a MS word file into field

2005-07-25 Thread Ban Nguyen
Hello everyone,

I have a document MS word 

The document has text and several images.  How can I import this doc
into the field?

I used the property inspector but it did not work

Thank you




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


revPrintField problem

2005-07-25 Thread Ban Nguyen
Hello everyone,


I am having a problem with revPrintField

Here is the problem:
I create a stack
On the card, I create a text field (has a many lines of text), 5 images,
then I group them and make scroll bar so user can scroll up and down to
see the text and images (name the group as "myField")

Then on the same card, I create a button called "print" and put this
code into the print button:

on mouseUp
  revPrintField the name of field "myField"
end mouseUp

This is the error I got when I click on "print":

executing at 2:32:48 PM
TypeChunk: no such object
Object  Button
LinerevPrintField the name of field "myField"
HintmyField




Has anyone went throught this situation?  Please help




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: revPrintField problem

2005-07-25 Thread Ban Nguyen
> Hello everyone,
> 
> 
> I am having a problem with revPrintField
> 
> [snip]
> 
> on mouseUp
>   revPrintField the name of field "myField"
> end mouseUp
> 
> This is the error I got when I click on "print":
> 
>   executing at 2:32:48 PM
> Type  Chunk: no such object
> ObjectButton
> Line  revPrintField the name of field "myField"
> Hint  myField
> 
-
Hi Ban,

The revPrintField wants a long name or ID:
--
on mouseUp
  revPrintField the long ID of field "MyField"
end mouseUp
--

-

I changed the field to a long name but still got the same error.  The
field does have an ID, I checked from property inspector









___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: revPrintField problem

2005-07-25 Thread Ban Nguyen

> > Hello everyone,
> > 
> > 
> > I am having a problem with revPrintField
> > 
> > [snip]
> > 
> > on mouseUp
> >   revPrintField the name of field "myField"
> > end mouseUp
> > 
> > This is the error I got when I click on "print":
> > 
> > executing at 2:32:48 PM
> > TypeChunk: no such object
> > Object  Button
> > LinerevPrintField the name of field "myField"
> > HintmyField
> > 
>
-
> Hi Ban,
> 
> The revPrintField wants a long name or ID:
> --
> on mouseUp
>   revPrintField the long ID of field "MyField"
> end mouseUp
> --
> 
>
-
> 
> I changed the field to a long name but still got the
> same error.  The
> field does have an ID, I checked from property
> inspector
> 

Bizarre. Does it help if you put parentheses ?
--
on mouseUp
  revPrintField (the long ID of field "MyField")
end mouseUp
--

If that doesn't do it, it may not be able to find this
field -- is it on the same card as the button ?

--

I did put the () but still got the same error


--
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


rotating images

2005-07-26 Thread Ban Nguyen
Hello everyone,

I have question about rotating images. 
I want to rotate (changing) images every 10 seconds on the same card

I create main stack which has card (cd1).  In card cd1 I have 5 images.
I want to rotate these images every 10 seconds; each image will take to
an URL when it is clicked

I tried to do this on different card by using "go next cd" but I don't
know how to do this on the same cd

Thanks for your help






___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


rotating images

2005-07-28 Thread Ban Nguyen

Hello everyone,

I have question about rotating images. 
I want to rotate (changing) images every 10 seconds on the same card

I create main stack which has card (cd1).  In card cd1 I have 5 images.
I want to rotate these images every 10 seconds; each image will take to
an URL when it is clicked

I tried to do this on different card by using "go next cd" but I don't
know how to do this on the same cd

Thanks for your help


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: rotating images

2005-07-28 Thread Ban Nguyen



> Hello everyone,
> 
> I have question about rotating images. 
> I want to rotate (changing) images every 10 seconds on the same card
> 
> I create main stack which has card (cd1).  In card cd1 I have 5
images.
> I want to rotate these images every 10 seconds; each image will take
to
> an URL when it is clicked
> 
> I tried to do this on different card by using "go next cd" but I don't
> know how to do this on the same cd

Are your images imported into the stack, or are they files on disk?


---

I imported them into the stack


-









___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: rotating images

2005-07-28 Thread Ban Nguyen



Do the images sit on top of each other? or are they side by side?
On top:
Do you want one image to appear and then rotate in ten seconds and Then 
disappear and be replaced by image 2 which then rotates in ten seconds 
to disappear and be replaced by image 3 etc.


Yes, the images sit on top of each other.  I want image 1 appears then 10 sec 
image 2 appear then 1 sec image 3 appear..back to image 1 and so on


I have one main stack which has 5 cards.  I want these images keep changing 
while user click to go to another card

Thanks for your help








OR
Side by side:
Do you want image 1 in the upper left to rotate in ten seconds and Then 
in another ten seconds the image next to that one image 2 to then 
rotate etc.

OR
Some other effect?

If they are separate images all available/visible at the same time then 
stick a card script that is in a repeat loop that goes through the 
images one at a time and rotates them. Then "in" each image put the on 
mouseUp that will take them to a URL.

If they are to replace each other than you can still do a card level 
repeat loop but assign an image name to a blank image that then rotates 
in ten seconds. In the single image you can put an if the file name of 
me is then go URL switch case statement.

Let us know what it is exactly that you are trying to achieve and I 
know we can help.

Tom

On Jul 28, 2005, at 3:34 PM, Eric Chatonet wrote:

> Hi Ban,
>
> Have a look at 
> http://lists.runrev.com/pipermail/use-revolution/2005-May/057331.html
> Nice scripts (as usual :-) by Kim Hurley to get started.
>
> Le 28 juil. 05 à 18:02, Ban Nguyen a écrit :
>
>>
>> Hello everyone,
>>
>> I have question about rotating images.
>> I want to rotate (changing) images every 10 seconds on the same card
>>
>> I create main stack which has card (cd1).  In card cd1 I have 5 
>> images.
>> I want to rotate these images every 10 seconds; each image will take 
>> to
>> an URL when it is clicked
>>
>> I tried to do this on different card by using "go next cd" but I don't
>> know how to do this on the same cd
>>
>> Thanks for your help
>
>
> Best Regards from Paris,
>
> Eric Chatonet.
> 
> So Smart Software
>
> For institutions, companies and associations
> Built-to-order applications: management, multimedia, internet, etc.
> Windows, Mac OS and Linux... With the French touch
>
> Free plugins and tutorials on my website
> 
> Web sitehttp://www.sosmartsoftware.com/
> Email[EMAIL PROTECTED]/
> Phone33 (0)1 43 31 77 62
> Mobile33 (0)6 20 74 50 86
> 
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>


Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 
2.6


Advanced Media Group
Eagle Works Art & Sculpture
Semantic Compaction Systems
Prentke Romich Company
Prentke Romich International
SCIconics, LLC
Artist
Thomas J McGrath III
[EMAIL PROTECTED]



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: rotating images

2005-07-29 Thread Ban Nguyen

Hi Dave,

This is perfect exactly what I am looking for.  Thank you so much
One thing I want to add is make those images loop.  Example 1-2-3 then
back to 1-2-3 and so on.  Right now it stops at 3

Should I add "repeat with "



Thank you so much again




--



Hi,

I think the code you are looking for is something like this in the Card
Script:


global gImageCounter


on openCard
put 1 into gImageCounter

send "DisplayNextImage" to me in 1 second
end openCard





on DisplayNextImage

switch gImageCounter

case 1
set the fileName of image "ImageObject" to "File1"
break

case 2
set the fileName of image "ImageObject" to "File2"
break



case 3
set the fileName of image "ImageObject" to "File3"

--
--  On the last case, you need to reset the counter back 1, but we 
set it to 0 here so that the Add will make it 1
--
put gImageCounter to 0
break

end switch

add 1 to gImageCounter

send "DisplayNextImage" to me in 10 seconds

end DisplayNextImage

A better way of doing it would be to have a list of file names and 
index the list. I have written this way for clarity.


Hope this helps
All the Best
Dave


>Ban,
>
>I would handle this at the card level via:
>
>on openCard
>   send myImageRotate to me in 10 seconds
>end openCard
>
>on myImageRotate
>   -- do your repeat loop here to both rotate and cycle through 
>your images
>   -- maybe use a counter for what image we are on at this time
through
>
>   send myImageRotate to me in 10 seconds
>end myImageRotate
>
>HTH
>
>Tom
>
>On Jul 28, 2005, at 4:01 PM, Ban Nguyen wrote:
>>
>>Do the images sit on top of each other? or are they side by side?
>>On top:
>>Do you want one image to appear and then rotate in ten seconds and
Then
>>disappear and be replaced by image 2 which then rotates in ten seconds
>>to disappear and be replaced by image 3 etc.
>>
>>
>>Yes, the images sit on top of each other.  I want image 1 appears 
>>then 10 sec image 2 appear then 1 sec image 3 appear..back 
>>to image 1 and so on
>>
>>
>>I have one main stack which has 5 cards.  I want these images keep 
>>changing while user click to go to another card
>>
>>Thanks for your help
>>
>
>___
>use-revolution mailing list
>use-revolution@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your 
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


please help with "on playStopped"

2005-08-01 Thread Ban Nguyen
Hello everyone,


I have a list of songs (scrolling list field "list"):

I put this script so when user select a song, then start the player

on selectionchanged
  set the fileName of player "myPlayer" to the selectedtext of field
"list"
  start player "myPlayer"
end selectionchanged


I put this script into the player object "myPlayer" because I want the
next songs continue to play:

on PlayStopped
  local thisLine
  put the hilitedLines of field "list" into thisLine--current line
  set the hilitedLines of field "list" to (thisLine+1)  --next line
  set the fileName of player "myPlayer" to the selectedtext of field
"list"
  start player "myPlayer"
end PlayStopped



For some reason, it does not work right.  What it does is playing the
first song.  After the first song done, it selects the second song (no
playing), then selects the third song and plays. I open the property of
player object and see in the source shows "the second song"


Could someone please help?  The code looks right to me but I don't know
if I am missing anything.


Thank you
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: please help with "on playStopped"

2005-08-02 Thread Ban Nguyen


Thanks Jacqueline.  That solved the problem.



-





> Hello everyone,
> 
> 
> I have a list of songs (scrolling list field "list"):
> 
> I put this script so when user select a song, then start the player
> 
> on selectionchanged
>   set the fileName of player "myPlayer" to the selectedtext of field
> "list"
>   start player "myPlayer"
> end selectionchanged
> 
> 
> I put this script into the player object "myPlayer" because I want the
> next songs continue to play:
> 
> on PlayStopped
>   local thisLine
>   put the hilitedLines of field "list" into thisLine--current line
>   set the hilitedLines of field "list" to (thisLine+1)  --next line
>   set the fileName of player "myPlayer" to the selectedtext of field
> "list"
>   start player "myPlayer"
> end PlayStopped
> 
> 
> 
> For some reason, it does not work right.  What it does is playing the
> first song.  After the first song done, it selects the second song (no
> playing), then selects the third song and plays. I open the property
of
> player object and see in the source shows "the second song"
> 
> 
> Could someone please help?  The code looks right to me but I don't
know
> if I am missing anything.


Try putting a "lock messages" before you set the hilitedline in 
PlayStopped. I think setting the hilitedline is also causing a 
"selectionchanged" message to be sent, so the script changes the 
selection twice.

-- 
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


how to print landscape

2005-08-03 Thread Ban Nguyen
Hello


How to set to print the cd in landscape?

I have an image.  I grouped this image and set a vertical scroll bar.
How to print this image?  Could anyone know please help?




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


how to print image in the field

2005-08-03 Thread Ban Nguyen
Hello,


I have an image.  I grouped this image and set a vertical scroll bar. 
How to print this image?  Could anyone know please help?

I used revPrintField but it did not work.  revPrintField only prints
text in the field.

Thank you








___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


append a string to a string

2005-08-04 Thread Ban Nguyen
Hello,

How to append a string to a string?



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: append a string to a string

2005-08-04 Thread Ban Nguyen

I use this:

put "nameOfMovie" into myMovie
put ".mov" after myMovie


This works too

Thanks Eric

-


Hi Ban,

put "B" & "an" into tFirstName
put tFirstName && "Nguyen" into tDocs ;-)

Le 4 août 05 à 18:42, Ban Nguyen a écrit :

> How to append a string to a string?

PS. As I told you lately, check the docs!

Best Regards from Paris,

Eric Chatonet.

So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website

Web sitehttp://www.sosmartsoftware.com/
Email[EMAIL PROTECTED]/
Phone33 (0)1 43 31 77 62
Mobile33 (0)6 20 74 50 86


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Browser question???

2005-08-04 Thread Ban Nguyen
Hello,

I have question about how to hide the address bar, standard buttons and
menu bar of the user's browser.  

I have a button link to an URL.  I don't want to show the address bar,
standard buttons and menu bars

Thank for your help




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


minimize the window

2005-08-04 Thread Ban Nguyen
Hello,

I am working on a customize application.  The control is set empty.  How
do you insert a customized minimize button into stack.  The close is
easy just put the code "close this stack" but I don't know how to do for
the minimize button.


I've looked in the dictionary and could not find it.  


Thank you for your help



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: cannot import a MS word file into field

2005-08-04 Thread Ban Nguyen

How about if I have a big image that need to scroll up and down to see
it?








YOu can't do this directly into a field.

For one thing, Revolution knows very little of styled text fields, so  
it is essentially impossible simply to put Word content into a Rev  
field.

And it is impossible without a huge amount of work to mix images and  
text in a field in Rev. That's what cards are for. You put text in  
fields, images in their own object spaces.


On Jul 25, 2005, at 1:42 PM, Ban Nguyen wrote:

> Hello everyone,
>
> I have a document MS word
>
> The document has text and several images.  How can I import this doc
> into the field?
>
> I used the property inspector but it did not work
>
> Thank you
>
>
>
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



~~
Dan Shafer, Revolution Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"
 From http://www.revolutionpros.com, Click "My Stuff"



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: cannot import a MS word file into field

2005-08-04 Thread Ban Nguyen

Dan Shafer wrote:
> For one thing, Revolution knows very little of styled text fields, so

> it is essentially impossible simply to put Word content into a Rev
field.

Rev supports a wide variety of the most popular text style attributes. 
While Rev doesn't read the proprietary Word format directly, it can 
import styled text as RTF.

> And it is impossible without a huge amount of work to mix images and  
> text in a field in Rev. That's what cards are for. You put text in  
> fields, images in their own object spaces.

The imageSrc property allows images to be displayed in fields.  There 
are merits to both a card-based and field-based presentation, depending 
on the needs of the app in question, but both are quite doable.



If you use the imageSrc or group, How to print the content of that
field?I tried to use revPrintField and print command, but it did not
work.








___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Is there anyone in here using altBrowser???

2005-08-08 Thread Ban Nguyen
Hello,

How do you use altBrowser separate from the standalone app?  How to set
it up?


Thank you
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Is there anyone in here using altBrowser???

2005-08-08 Thread Ban Nguyen

Ban Nguyen wrote:
> How do you use altBrowser separate from the standalone app?  How to
set
> it up?

---

I use altBrowser.  altBrowser is an external, so you cannot use it 
unless it is called from within a standalone.  Now if you are asking 
something else then I will need further clarification on what it is that

you're trying to do.

Also, if you have any questions on how to setup altBrowser within your 
stack, check the documentation that came with it when you purchased 
altBrowser.


Derek Bump


--

I have two buttons (on the standalone app) to go to 2 different
websites. I want to use ALTBrowser to display them.

Is there anyway to display the website within the standalone?  
--



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Problem with "Wrong Disk Volume......"

2005-08-10 Thread Ban Nguyen
Hello everyone,


I have had this problem and I don't know why:

I finished the application and burned the .exe file into a CD from my
computer (the computer which I used to create the application).  I took
the CD to open the application on other computers (played for a while
then took it out).  An error message displayed:

"Wrong Disk Volume.."
"Please reinsert ...*.exe."

Has anyone had this problem before?


Thank you






___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Problem with "Wrong Disk Volume......"

2005-08-10 Thread Ban Nguyen







> Hello everyone,
>
>
> I have had this problem and I don't know why:
>
> I finished the application and burned the .exe file into a CD from my
> computer (the computer which I used to create the application).  I  
> took
> the CD to open the application on other computers (played for a while
> then took it out).  An error message displayed:
>
> "Wrong Disk Volume.."
> "Please reinsert ...*.exe."
>
> Has anyone had this problem before?

-

maybe a stupid question but did you really close/quit the application
before taking the cd out of the drive?

Windows does NOT like that and often rewards this with a blue screen ;-)

Thank you



Yes I did close the application






___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Problem with "Wrong Disk Volume......"

2005-08-10 Thread Ban Nguyen

> Hello everyone,
>
>
> I have had this problem and I don't know why:
>
> I finished the application and burned the .exe file into a CD from my
> computer (the computer which I used to create the application).  I  
> took
> the CD to open the application on other computers (played for a while
> then took it out).  An error message displayed:
>
> "Wrong Disk Volume.."
> "Please reinsert ...*.exe."
>
> Has anyone had this problem before?

-

maybe a stupid question but did you really close/quit the application
before taking the cd out of the drive?

Windows does NOT like that and often rewards this with a blue screen ;-)

Thank you



Yes I did close the application





FYI:  In the close button I have this script:

On mouseUp
   Close this stack
End mouseUp


I used an empty control, and created a close button with the script
above to close the application.  Did I miss any code?






___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Problem with "Wrong Disk Volume......"

2005-08-10 Thread Ban Nguyen

Thanks Dave and Klaus.  It works


--

Try:

close this stack
quit

Just a guess
Dave



>  > Hello everyone,
>>
>>
>>  I have had this problem and I don't know why:
>>
>>  I finished the application and burned the .exe file into a CD from
my
>>  computer (the computer which I used to create the application).  I 
>>  took
>>  the CD to open the application on other computers (played for a
while
>>  then took it out).  An error message displayed:
>>
>>  "Wrong Disk Volume.."
>>  "Please reinsert ...*.exe."
>>
>>  Has anyone had this problem before?
>
>-
>
>maybe a stupid question but did you really close/quit the application
>before taking the cd out of the drive?
>
>Windows does NOT like that and often rewards this with a blue screen
;-)
>
>Thank you
>
>
>
>Yes I did close the application
>
>
>
>
>
>FYI:  In the close button I have this script:
>
>On mouseUp
>Close this stack
>End mouseUp
>
>
>I used an empty control, and created a close button with the script
>above to close the application.  Did I miss any code?
>
>
>
>
>
>
>___
>use-revolution mailing list
>use-revolution@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your 
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


running player makes other thing slower

2005-08-16 Thread Ban Nguyen
Hi everyone,

Does anyone run into this problem like I have?

In my rev application, I have a player (playing song and movie) running
just fine but when I scroll up and down the field, the sound is messed
up and slows down other things such as selecting a line in the field
list, clicking on a button


What should I do to fix this problem? Please help.

Thank you




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


running player makes other things slower

2005-08-19 Thread Ban Nguyen
Hi everyone,

Does anyone run into this problem like I have?

In my rev application, I have a player (playing song and movie) running
just fine but when I scroll up and down the field, the sound is messed
up and slows down other things such as selecting a line in the field
list, clicking on a button


What should I do to fix this problem? Please help.

Thank you






___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


running player makes other thing slower

2005-08-22 Thread Ban Nguyen
Hi everyone,

Does anyone run into this problem like I have?

In my rev application, I have a player (playing song and movie) running
just fine but when I scroll up and down the field, the sound is messed
up and slows down other things such as selecting a line in the field
list, clicking on a button


What should I do to fix this problem? Please help.

Thank you





___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: running player makes other thing slower

2005-08-22 Thread Ban Nguyen
> Hi everyone,
>
> Does anyone run into this problem like I have?
>
> In my rev application, I have a player (playing song and movie)  
> running
> just fine but when I scroll up and down the field, the sound is messed
> up and slows down other things such as selecting a line in the field
> list, clicking on a button


-
Hi Ban,

If you could provide some more details about how your app is designed  
that would be great.  I have apps that use player objects and  
scrolling fields and haven't noticed any problems related to the  
two.  Information that could prove useful:

1) What platform?  Mac, Win, Both?
2) Does this happen in development and deployment or just development?
3) What codecs do your movies use?
4) How many players are active at a time?
5) Is the player in a group that you are scrolling?
6) Does your player object overlap anything that is scrolling?


-

Hi Trevor,

Information:

1) What platform?  Mac, Win, Both?

Both

2) Does this happen in development and deployment or just development?

I happened in development and deployment

3) What codecs do your movies use?

mp3 and mov

4) How many players are active at a time?

One player


5) Is the player in a group that you are scrolling?

The player is in different group (called AudioPlayer).  I have other
groups (called aboutUs, Partners,.).  When I click on the button to
go to one of these groups, the sound is paused 1 second.  The aboutUs
content has a scrollbar. It is slow when the music is playing.

6) Does your player object overlap anything that is scrolling?

No



Thank you for your help




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: running player makes other thing slower

2005-08-22 Thread Ban Nguyen
On Aug 22, 2005, at 11:55 AM, Ban Nguyen wrote:
> 3) What codecs do your movies use?
>
> mp3 and mov

mov is a container format, not an actual codec.  For the video you  
would have something like sorenson 3 or H.264  If your audio/video is  
encoded using a very high data rate then this could affect  
performance during playback depending on the system.

You might try loading a still image in the player and see if the  
slowdown still occurs.  If it doesn't then I would look at that data  
rate of your movies as a potential issue.


--

I am using mp3 file with encoded with 96 data rate



---
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: running player makes other thing slower

2005-08-22 Thread Ban Nguyen

On Aug 22, 2005, at 2:37 PM, Ban Nguyen wrote:
>
> I am using mp3 file with encoded with 96 data rate

That shouldn't cause any playback problems.  Did you try loading a  
still image into the player?  Do you have any code that watches  
monitors the status of the player object while it is playing  
(updating a progress bar)?  Perhaps that is firing too often and  
slowing things down?


-

I have progress bar with this script:


on MouseDown
  local i, j, l, x
  put the ClickLoc into l 
  put item 1 of l into x
  subtract the left of scrollbar "myProgressBar" from x
  put x / the width of scrollbar "myProgressBar" into x 
  put x * the duration of player "myPlayer" into x
  set the currentTime of player "myPlayer" to round(x)
end MouseDown




BTW, how can I load a still image into a player?



Thank you




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


altBrowser does not work on MAC

2005-08-24 Thread Ban Nguyen
I have altBrowser 1.043 and it works fine on PC but it does not work on
MAC OSX.  Anyone know what I should do to make it works?


Thank you




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: altBrowser does not work on MAC

2005-08-24 Thread Ban Nguyen
> From: Ban Nguyen <[EMAIL PROTECTED]>
> Date: 25 August 2005 6:46:13 AM GMT+10:00
> To: How to use Revolution 
> Subject: altBrowser does not work on MAC
> Reply-To: How to use Revolution 
>
>
> I have altBrowser 1.043 and it works fine on PC but it does not work
on
> MAC OSX.  Anyone know what I should do to make it works?

Works fine for me but you need OS 10.3 or later. Is that the problem?

Terry...



I have OS 10.3

I import altBrowser.dll by going to properties inspector - external
references then open the file altBrowser.dll now it imported in there
but I cannot import altBrowser.bundle


I also have this code in the stack

on startUp
  set the externals of this stack to "altBrowser.dll" &cr&
"altBrowser.bundle"
end startup





Thank you






___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


How to set the startValue for the scrollbar of a GROUP

2005-08-25 Thread Ban Nguyen
Hello,

Here is what i did:

I created an imageHolder and then group it and give it a scrollbar to
scroll the whole image (some image is long and some is short) by setting
it from the properties inspector.


I created several buttons to click to show different images by using
this script:
--Button1
set the fileName of image " imageHolder" to "pic_1.jpg"
--Button2
set the fileName of image " imageHolder" to "pic_2.jpg"
--and so on.

But the problem is when I clicked on button1 the pic_1.jpg showed up
fine with the scrollbarThumb at the startvalue.  Then I clicked on
button2 to view the pic_2.jpg (longer than pic_1.jpg), it showed up fine
and a longer scrollbarThumb because this pic is longer then the previous
pic.  Then I clicked on button1 to see the pic_1.jpg again, it showed up
fine BUT the scrollbarThumb was NOT at it's startvalue, it was at the
middle.

How can I set it back to start value?

I looked at the dictionary:

I found this:  

set the startValue of scrollbar "Progress" to 1

but I don't know the name of the scrollbar.  What I know is the name of
the group.

Could someone help me on this



Thank you






___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: How to set the startValue for the scrollbar of a GROUP

2005-08-25 Thread Ban Nguyen

> How can I set it back to start value?
>
> I looked at the dictionary:
>
> I found this:
>
> set the startValue of scrollbar "Progress" to 1
>
> but I don't know the name of the scrollbar.  What I know is the  
> name of
> the group.
>
> Could someone help me on this

You could do this:

set the vscroll of grp myGroup to 1
set the hscroll of grp myGroup to 1

Mark




Thanks Mark.  It works.


-


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution