Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently September 29th, 2024, 5:28 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Funtions available in Flash
PostPosted: December 12th, 2007, 11:03 pm 
Offline

Joined: November 3rd, 2004, 6:44 pm
Posts: 59
Location: Ipswich, UK
Is there a list anywhere that shows which script funtions do/do not work when using Flash?

Regards

Clive Cartmel


For this message Clive Cartmel has been thanked by : mackavi


Top
 Profile  
 
 Post subject:
PostPosted: December 12th, 2007, 11:27 pm 
Offline

Joined: November 11th, 2004, 4:05 am
Posts: 636
Location: Christchurch, NZ
Hi Clive,
Open the opusscript help and search for "flex" using the index tab -- the first thing you will get is a list of OpusScript functions supported by Opus Flex.

Paul


For this message Paul has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Flex Functions mentioned in list don't work
PostPosted: November 7th, 2011, 10:15 pm 
Offline

Joined: June 24th, 2010, 9:22 am
Posts: 19
Opus: Pro 8.5 Version 9 preview
OS: Windows 7 Home premium, Windows Vista Business
System: Quad 6600, 3 gig RAM
I know this is an old post (literally years old).

In any case, I've used Opus Help to check out the supposed Flex supported functions. The attached small app uses "RegisterEventHandlers" for mouse over and mouse move functioanlity.

Sadly, when published, it doesn't work.

If anyone can explain why, I'll appreciate it. It's supposed to move an object to the mouse cursor on mouse over.


You do not have the required permissions to view the files attached to this post.


For this message stefangas has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: Re: Funtions available in Flash
PostPosted: November 7th, 2011, 11:26 pm 
Offline
Godlike
Godlike

Joined: November 12th, 2005, 1:56 am
Posts: 1474
Location: SFBay Area
Opus: OpusPro v9.0x, & Evol.
OS: Vista32
System: Core 2 duo 2Ghz, RAM 3GB, Nvidia Go 7700 - laptop
Quote:
The attached small app uses "RegisterEventHandlers" for mouse over and mouse move functioanlity.
I do not have time to check the attached file, but can point you to some things to try or check.

It seems Flash/Flex handles scripted functions differently. Check out this section of the (Opuscript) Help file:
Quote:
Using OpusScript with Flex

Opus Flex does support a limited sub-set of the OpusScript functions. However, it is strongly recommended that you begin with new scripts for Flex publications, as few existing scripts are likely to work without alteration. Please note, there are several limitations that are described below.

Functions all return immediately. In OpusScript many functions do not return a value until the action they perform has completed (such as the Move() function). It is not possible to replicate this behaviour in Flash, therefore all functions return immediately.
The help info goes on to mention CASE sensitive and other details to pay attention to.

So I think if you structured your Event Handler routine to call a function you wrote in Opusscript -- you need to check the logic flow and that above issue about "immediately" returning a result. Maybe you could use Custom Trigger and TriggerComponentEvent() creatively... reaching back into Standard Actions for the Move of the mouse cursor. I have not done much with Flex, so I am just talking off the top-of-my-head here.

_________________
_good things come to those who wait(0)_


For this message Lar_123 has been thanked by : mackavi


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 12 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