Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently January 6th, 2025, 10:01 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Flash actionscript - Opus script
PostPosted: February 10th, 2005, 1:00 pm 
Offline

Joined: November 19th, 2004, 1:36 pm
Posts: 178
Location: Birmingham
Am I right in thinkin that as both are based on Javascript the commands etc will be very similair?

I used to use flash quite a bit - not so much now

I'm not really a code head but I have loads of books on Flash and scripting for designers including examples with source code etc - I used to find the flashkit website a greats source for publications others had made that did stuff I was trying to work out how to do!

I was thinking.. if the code is similair - I should be able to adapt it to use in Opus - but being one of the ones that hates anything that looks like alegbra - I'm not sure quite how to go about it!

Is there anybody else out there that has done this? I had scripts for doing all sorts of cool stuff in flash..

Maybe I should splash out on a coding course... but the tutor would have to V patient!!


Top
 Profile  
 
 Post subject:
PostPosted: February 10th, 2005, 1:48 pm 
Offline

Joined: October 25th, 2004, 12:27 pm
Posts: 526
Location: Digital Workshop
Hi,

Thank you for your enquiry.

OpusScript and ActionScript are both based on the ECMAScript (Javascript 1.1) specification and are therefore very close in terms of structure and syntax. Both languages are also used in similar contexts (multimedia authoring), so I have found that it is much easier to 'translate' an ActionScript tutorial to work with Opus than it is to reverse-engineer a web-based JavaScript application for use in Opus.

For example, my 'Beat The Pea' game (http://www.digitalworkshop.com/opuspubl ... ThePea.htm) was originally inspired by a series of physics tutorials at www.kirupa.com and www.flashkit.com, and you should find that most ActionScript tutorials can be modified to work in OpusScript without too much difficulty.

If you have not already done so, I would recommend taking a look at the Bouncing Ball articles in the Tutorial section (viewforum.php?f=13) as this will give you a good introduction to handling objects and animation via script.

Kind regards,

I hope this helps. Please do not hesitate to contact me if you have any further queries.

_________________
Robin Garrett
Digital Workshop Technical Support


Top
 Profile Visit website  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 54 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group