[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Thread Index]
[Monthly Archives] [List Home]

javascript -- Re: [Virtools] RE: email_support_closed



Hi David,

If I understand your question correctly, here are some
tips.

> I tried the trigger object and trigger script
> examples and nothing. I'd really like to trigger 
> multiple events like SwitchToCam and StartTheScript
> at the same time and need to see a working example.

Actually, you can handle all the events by simply
passing a message from javascript. 

For example, if a Building Block, say, BB-1, receieves
message "start" from javascript, it will triger
another Building Block, say, BB-2. Ok, now BB-2 is
active and broadcast a message "start_all". Then, all
the events can start at the same time if they are all
waiting for message "start_all".

Hope this can help.

Alex

javascript for sending a message to BB:

function
SendMessageToTheObject(ObjectName,MessageName)
{
    var cmd = "SendMessage" + " '" + ObjectName + "' "
+ "'" + MessageName + "' ";	
    var res = document.Virtools.DoCommand(cmd);
}




--- Virtools Technical Support <support@virtools.com>
wrote:
> David,
> We are experiencing technical problems with the
> server that hosts
> theswapmeet.com and the Support section of
> www.virtools.com.
> 
> This does not interrupt technical support in any
> way.
> 
> Please send me the serial number you used to
> register your Virtools Dev
> version or your full access registration login so
> that we can process your
> support request.
> 
> regards,
> 
> Nicolas Augustin
> Virtools Technical Support
> 
>   -----Message d'origine-----
>   De : David Mettler
> [mailto:david.mettler@friendlystreetllc.com]
>   Envoye : vendredi 31 janvier 2003 01:06
>   A : support@virtools.com
>   Cc : Virgile Delporte; Virtools Users
>   Objet : email_support_closed
> 
> 
>   What happened to theswapmeet.com and Virtools
> support??? I need a question
> answered and was going to check the faq and nothing!
> 
> 
> 
>   I'm trying to trigger a key event BB from
> javascript and wanted to know if
> it's possible, if so what does the code look like?
> 
> 
> 
>   I tried the trigger object and trigger script
> examples and nothing. I'd
> really like to trigger multiple events like
> SwitchToCam and StartTheScript
> at the same time and need to see a working example.
> 
> 
> 
>   Here's a link to the test file
> www.friendlystreetllc.com/alberici/book/book3.html I
> have the top 3
> SwitchToCam scripts working, the bottom link is not
> working. You can see the
> look I'm after by pressing 4 (switchCamera), T
> (transparency), and W (drain
> water).
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
...............................................................
Distributed via the virtools-user-group list: http://www.theswapmeet.com/numl.html
To reply to the list instead of its author, use "Reply to All"
To unsubscribe: send "unsubscribe virtools-user-group" to Majordomo@lists.theswapmeet.com
To subscribe: send "subscribe virtools-user-group" to Majordomo@lists.theswapmeet.com
To post a message: send it to virtools-user-group@lists.theswapmeet.com
...............................................................


Follow-Ups: