Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 22nd, 2024, 9:28 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 14 posts ] 
Author Message
 Post subject: Flex probs in V7
PostPosted: February 17th, 2010, 11:16 am 
Offline

Joined: July 12th, 2009, 10:33 am
Posts: 124
Hi

I have a variety of issues with a Flex pub using V7. Some may be me being a donk.

1. String.number
I can't convert a string to a number. e.g. the code below produces a NaN error:

var V1 = String.number("1");
var V2 = String.number("2");
V3 = V1 + V2;

I've tried String.integer too. Same result.


2. There is an error in IE after publishing to flex and running the html file. Seems to want a tag at the end of the code, but I can’t work out what. This doesn't prevent it working, but looks bad. It just shows the page error warning symbol in the bottom-left of IE.

Message: Invalid character
Line: 654


3. The download meter doesn’t work. Just stays at zero until the page is ready.


Anyone any ideas? The first one is halting my progress, so it would be good to know if it is something I have done.

Many thanks
Dan

_________________
V9.6. Windows 10. Testing on PC, Mac, iPad.


Top
 Profile Visit website  
 
 Post subject:
PostPosted: February 17th, 2010, 1:26 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
ParseInt

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: February 17th, 2010, 9:59 pm 
Offline

Joined: July 12th, 2009, 10:33 am
Posts: 124
Thanks again Mack
I take it that's a bug?

Another issue (?) for DW: if you have an object off the side of a page, then it still shows up when viewing in IE (in the black section). I presume this is only a prob when using scaling rather than fixed window size. I have images that fly in and out of the screen. The thing is, they don't actually fly off the screen; they fly in to the black section, stop then disappear.


Cheers
Dan

_________________
V9.6. Windows 10. Testing on PC, Mac, iPad.


Top
 Profile Visit website  
 
 Post subject:
PostPosted: February 17th, 2010, 11:01 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
dan1 wrote:
I take it that's a bug?


No. OpusScript functions don't necessary translate to Flex. It does state this in the instructions and is the reason why pass through was introduced.

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: February 17th, 2010, 11:20 pm 
Offline

Joined: July 12th, 2009, 10:33 am
Posts: 124
String.number and String.integer are listed as being supported by Flex but don't appear to work. parseInt doesn't turn up in the help search at all, but works. parseFloat is mentioned, but only in passing. All very strange indeed. A bit of a lottery really.

Thanks
Dan

_________________
V9.6. Windows 10. Testing on PC, Mac, iPad.


Top
 Profile Visit website  
 
 Post subject:
PostPosted: February 17th, 2010, 11:35 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:
Another issue: if you have an object off the side of a page, then it still shows up when viewing in IE (in the black section).... I have images that fly in and out of the screen. The thing is, they don't actually fly off the screen; they fly in to the black section.....

Something you can try as a workaround. Create a Frame object approx the same size as the page. Put those IFOs (identified flying objects) in the Frame which might exert more specific control over the boundaries.

You should send a message to DW Support (from the Opus app Help menu). Be sure to give them good info about your Chapter/Page sizes, scaling settings etc, or offer to send them the Pub.

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


Top
 Profile  
 
 Post subject:
PostPosted: February 17th, 2010, 11:52 pm 
Offline

Joined: July 12th, 2009, 10:33 am
Posts: 124
Thanks Lar. I took your idea then simplified it to just adding some black masking blocks round the edge.
Cheers
Dan

_________________
V9.6. Windows 10. Testing on PC, Mac, iPad.


Top
 Profile Visit website  
 
 Post subject:
PostPosted: February 18th, 2010, 12:12 am 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
dan1 wrote:
A bit of a lottery really.


Sorry Dan, assumed that you'd been trying an unlisted function. Have just read through the flex list and they're there! Wondered whether it was an out of date list, so fired up Opus 5 and Flash 6. This also lists the String.number function and is also doesn't work.

At least good old parse works!

Think I'm going to buy a lotto ticket :-)

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: March 2nd, 2010, 4:02 am 
Offline

Joined: July 12th, 2009, 10:33 am
Posts: 124
In flex, you can drop an object onto a hidden target (see attached). I have targets that appear in one place at different times. Dropping on to the visible target triggers all of them. Disabling them makes no difference.


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

_________________
V9.6. Windows 10. Testing on PC, Mac, iPad.


Top
 Profile Visit website  
 
 Post subject:
PostPosted: March 2nd, 2010, 10:11 am 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
dan1 wrote:
Dropping on to the visible target triggers all of them. Disabling them makes no difference.


Morning Dan,

Not sure what you mean by this latter part. From your demonstration, it's certainly appears that drag-n-drop don't function as expected with either hidden or disabled objects. I tried images as well as your vectors.

Flex just isn't suitable for anything we create, but somebody might have a more workable solution, however, the only method I can think of that would appear to work is to remove the object from the screen.

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: March 2nd, 2010, 11:46 am 
Offline

Joined: July 12th, 2009, 10:33 am
Posts: 124
Evening Mack

I have a number of objects that should each be dropped onto the correct one of four targets. Rather than all four targets being visible at once, they appear one at a time in the same position on the screen. Because of the fault, dropping an object on to the visible target triggers all four sets of actions at once. It also means that all objects can be dropped at any time, instead of only the applicable ones for the visible target. It took me a while to work out what was happening.

I'll try moving them off screen if it sounds like DW will not fix this soon.

Cheers
Dan

_________________
V9.6. Windows 10. Testing on PC, Mac, iPad.


Top
 Profile Visit website  
 
 Post subject:
PostPosted: March 3rd, 2010, 1:36 am 
Offline

Joined: July 12th, 2009, 10:33 am
Posts: 124
That worked well thanks Mack, and saved me time over the more complex solution I was settling for. Fantastic. The only issue was that you don't appear to be able to move or animate hidden objects in Flex or Opus, but this was easy to work around.
Cheers
Dan

_________________
V9.6. Windows 10. Testing on PC, Mac, iPad.


Top
 Profile Visit website  
 
 Post subject:
PostPosted: March 3rd, 2010, 12:59 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Glad it worked.

There is a solution to moving hidden objects and that is to use transparency instead. Only problem is there seems to be a problem with vectors but frames / images work.

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: Re:
PostPosted: July 18th, 2010, 1:28 pm 
Offline

Joined: May 7th, 2005, 10:08 pm
Posts: 249
mackavi wrote:
dan1 wrote:
Dropping on to the visible target triggers all of them. Disabling them makes no difference.


Not sure what you mean by this latter part. From your demonstration, it's certainly appears that drag-n-drop don't function as expected with either hidden or disabled objects. I tried images as well as your vectors.

Mack


I just discovered that myself. On one hand, it's nice to know I'm not alone in having these Flex issues, but on the other hand, I'm sorry that it's not just me - I don't wish everyone else to be frustrated, as well.


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

All times are UTC [ DST ]


Who is online

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