Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 23rd, 2024, 7:22 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Flash and script question
PostPosted: October 10th, 2009, 5:48 pm 
Offline

Joined: May 16th, 2008, 4:50 pm
Posts: 368
Location: Berghem The Netherlands
Opus: Opus Pro 9.75
OS: Windows 10
System: `HP
I like to make a flash application and i will give the user the choice to change the background image.
I did the folowing:
as background i took an imagefile and gave as filename <BG>
Then i made a button with the option to browse a graphics file and store it in <BG>

It works OK in the edit mode, but after publishing as a SWF file it won't work.
There must be a way to do it, but how?....

Kind regards,

Ad

_________________
Opus Pro v9.75
Windows 10 on HP EliteBook i7
http://www.csnmedia.nl


Top
 Profile Visit website  
 
 Post subject:
PostPosted: October 11th, 2009, 7:40 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:
It works OK in the edit mode, but after publishing as a SWF file

Have you set the Pub's TYPE to 'Flex', or are you developing/editing as Full OpusPro pub and then only making Flex/SWF at the publishing step?

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


Top
 Profile  
 
 Post subject:
PostPosted: October 12th, 2009, 6:58 am 
Offline

Joined: May 16th, 2008, 4:50 pm
Posts: 368
Location: Berghem The Netherlands
Opus: Opus Pro 9.75
OS: Windows 10
System: `HP
Well that's a good question? normaly i start a project in full mode.
Does it work when is start the project in Flex type?

_________________
Opus Pro v9.75
Windows 10 on HP EliteBook i7
http://www.csnmedia.nl


Top
 Profile Visit website  
 
 Post subject:
PostPosted: October 12th, 2009, 8:00 am 
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
My understanding is this: if I 'declare' a Pub to be Flex type up-front (either by checkbox in the new pub Wizard, or by setting the TYPE in Publication Properties), then during the development process then I will only be exposed to the objects and actions/commands that are supported for Flex.

The advantage is Opus only gives me the Flex 'subset' to work with... if I can call it that.

On the other hand, if I want to produce a Pub for different purposes or in multiple formats... it is okay to start in Full OpusPro TYPE. However, I need to be skilled at knowing what will work and not-work in the different output types (e.g., publish for DVD and publish for Flex or some other ).
So, at time of publishing, Opus might succeed in generating a good Flex pub... or it might generate the pub and then you'll find later what does not work or that the pub hangs or crashes. My guess is that's what happens. :?

The help files cover what is "not supported in Flex".

Hope that helps.

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


Top
 Profile  
 
 Post subject:
PostPosted: October 12th, 2009, 10:52 am 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
csnmedia wrote:
Does it work when is start the project in Flex type?


No, I'm pretty sure it's not the case. The idea is that you should select the type and have access to the actions & triggers for that subset but Opus does not limited all the features that are not available to that subset.

On top of this, I pretty sure that Opus preview will use all features in a publication regardless of the subset selected making publications appear to work until published.

This topic has been raised somewhere else and there might be more details. If I recall correctly, there is a section in the help that details more about this and includes more about what works and what doesn't.

Three rules of thumb when working with other publication types are:

1. Keep it simple and use actions.
2. Publish not preview
3. Learn to think outside the box (well more than usual)

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject:
PostPosted: October 13th, 2009, 2:21 pm 
Offline

Joined: November 8th, 2004, 5:23 pm
Posts: 279
Opus: Opus Pro 9
OS: Win 10/64
mackavi wrote:
On top of this, I pretty sure that Opus preview will use all features in a publication regardless of the subset selected making publications appear to work until published.
Mack


Yes, this is (unfortunately) true. Don't trust the preview! You have to export your publication to Flex (which is Flash) everytime to test if it works or not.

T.

_________________
Opus Pro 9.75, Win 10/64, 8 GB RAM, Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz (4 CPUs), ~3.4GHz, NVIDIA GeForce GTX 660 Ti, Roland OctaCapture


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

All times are UTC [ DST ]


Who is online

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