Re: Visual effect problems in iOS

2012-02-22 Thread Mark Wieder
Ken-

Tuesday, February 21, 2012, 9:12:32 AM, you wrote:

> Thank you for listening to this rant…

...you left out "think diff..." oh... never mind...

-- 
-Mark Wieder
 mwie...@ahsoftware.net


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Visual effect problems in iOS

2012-02-21 Thread Pete
Interesting.  There's an example in the dictionary that specifically uses
"slowly" but sounds like you can't use that any longer.

At the risk of giving Ken apoplexy, you could argue that "slow" is being
used as an adjective to describe the speed property of the visual effect
command, not as an adverb to the effect.  I'm not saying I am arguing that,
just that a person could

Pete

On Tue, Feb 21, 2012 at 9:58 AM, Peter M. Brigham, MD wrote:

> Ah, another grammarhead! I love it! I've always found it interesting that
> the obsessive focus on syntax and grammar needed by programmers/coders to
> use the coding language well is rarely associated with equal attention to
> grammatical English.
>
> -- Peter
>
> Peter M. Brigham
> pmb...@gmail.com
> http://home.comcast.net/~pmbrig
>
> On Feb 21, 2012, at 12:12 PM, Ken Ray wrote:
>
> >
> > On Feb 20, 2012, at 2:26 PM, Graham Samuel wrote:
> >
> >> Having finally reviewed that page (12) I notice that the description
> doesn't apply to my case. I have not locked the screen, and am just doing a
> card-to-card transition. As I said, my very simple example works (set up a
> "flip left" visual effect, then go to a different card), but it doesn't
> work in my app. I am quite prepared to believe it's my fault but I really
> can't see what I'm doing wrong. Incidentally, locking and unlocking the
> screen as described in the document doesn't help.
> >
> > Is it possible you're using an unsupported adjective? I discovered that
> if I used "slowly" instead of "slow", the visual effect wouldn't work. The
> only supported adjectives are "very slow", "slow", "normal", "fast", and
> "very fast".
> >
> > OT: Grammar(you can stop reading here if you don't care about this)
> >
> > 
> > As someone who's kind of picky about the use of language, the fact that
> the descriptor is described in the iOS Development Release Notes as an
> *adjective* and not an *adverb* drives me crazy… you see visual effects
> originated in HyperCard, then SuperCard, and then ultimately in
> MetaCard/Revolution/LiveCode. At the beginning, the syntax allowed for both
> proper adverbs (like "slowly") as well as improper ones (like "slow"). But
> at some point along the way, Revolution/LiveCode dropped official support
> (in the documentation, that is) for proper adverbs. So where you used to be
> able to use:
> >
> >unlock screen with visual effect dissolve slowly
> >
> > you are now urged to use:
> >
> >unlock screen with visual effect dissolve slow
> >
> > The current desktop versions of LC still support proper adverbs, but the
> mobile versions don't. Personally I see that as a bad direction. Use of
> "slowly" is  the correct form, since "dissolve", "flip", etc. are all
> *verbs*, thus requiring an *adverb* to modify them. Adjectives are meant to
> modify *nouns*, which in this case is the "visual effect". So if the speeds
> were adjectives, or if for some reason the noun being modified is "visual
> effect dissolve" and not "visual effect", the syntax would end up being:
> >
> >unlock screen with slow visual effect dissolve
> >
> > However since the current syntax is to apply the modifier *after* the
> description of the effect, it means that "dissolve" is a verb, and as such
> should use an adverb. And while most of the rest of the world seems OK with
> saying things like:
> >
> >"The car moves fast"  (instead of "The car moves quickly")
> >"Your clock is running slow"  (instead of "Your clock is running
> slowly")
> >"Eat a healthy breakfast" (instead of "Eat a healthful breakfast")
> >
> > I feel that LiveCode should at least continue to support adverbs with
> visual effects on *all* platforms.
> >
> > Thank you for listening to this rant…
> >
> > :D
> > 
> >
> > Ken Ray
> > Sons of Thunder Software, Inc.
> > Email: k...@sonsothunder.com
> > Web Site: http://www.sonsothunder.com/
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>


-- 
Pete
Molly's Revenge 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Visual effect problems in iOS

2012-02-21 Thread Peter M. Brigham, MD
Ah, another grammarhead! I love it! I've always found it interesting that the 
obsessive focus on syntax and grammar needed by programmers/coders to use the 
coding language well is rarely associated with equal attention to grammatical 
English.

-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig

On Feb 21, 2012, at 12:12 PM, Ken Ray wrote:

> 
> On Feb 20, 2012, at 2:26 PM, Graham Samuel wrote:
> 
>> Having finally reviewed that page (12) I notice that the description doesn't 
>> apply to my case. I have not locked the screen, and am just doing a 
>> card-to-card transition. As I said, my very simple example works (set up a 
>> "flip left" visual effect, then go to a different card), but it doesn't work 
>> in my app. I am quite prepared to believe it's my fault but I really can't 
>> see what I'm doing wrong. Incidentally, locking and unlocking the screen as 
>> described in the document doesn't help.
> 
> Is it possible you're using an unsupported adjective? I discovered that if I 
> used "slowly" instead of "slow", the visual effect wouldn't work. The only 
> supported adjectives are "very slow", "slow", "normal", "fast", and "very 
> fast". 
> 
> OT: Grammar(you can stop reading here if you don't care about this)
> 
> 
> As someone who's kind of picky about the use of language, the fact that the 
> descriptor is described in the iOS Development Release Notes as an 
> *adjective* and not an *adverb* drives me crazy… you see visual effects 
> originated in HyperCard, then SuperCard, and then ultimately in 
> MetaCard/Revolution/LiveCode. At the beginning, the syntax allowed for both 
> proper adverbs (like "slowly") as well as improper ones (like "slow"). But at 
> some point along the way, Revolution/LiveCode dropped official support (in 
> the documentation, that is) for proper adverbs. So where you used to be able 
> to use:
> 
>unlock screen with visual effect dissolve slowly
> 
> you are now urged to use:
> 
>unlock screen with visual effect dissolve slow
> 
> The current desktop versions of LC still support proper adverbs, but the 
> mobile versions don't. Personally I see that as a bad direction. Use of 
> "slowly" is  the correct form, since "dissolve", "flip", etc. are all 
> *verbs*, thus requiring an *adverb* to modify them. Adjectives are meant to 
> modify *nouns*, which in this case is the "visual effect". So if the speeds 
> were adjectives, or if for some reason the noun being modified is "visual 
> effect dissolve" and not "visual effect", the syntax would end up being:
> 
>unlock screen with slow visual effect dissolve
> 
> However since the current syntax is to apply the modifier *after* the 
> description of the effect, it means that "dissolve" is a verb, and as such 
> should use an adverb. And while most of the rest of the world seems OK with 
> saying things like:
> 
>"The car moves fast"  (instead of "The car moves quickly")
>"Your clock is running slow"  (instead of "Your clock is running slowly")
>"Eat a healthy breakfast" (instead of "Eat a healthful breakfast")
> 
> I feel that LiveCode should at least continue to support adverbs with visual 
> effects on *all* platforms.
> 
> Thank you for listening to this rant…
> 
> :D
> 
> 
> Ken Ray
> Sons of Thunder Software, Inc.
> Email: k...@sonsothunder.com
> Web Site: http://www.sonsothunder.com/
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Visual effect problems in iOS

2012-02-21 Thread Graham Samuel
Thanks Chris

I am embarrassed to say that my card-to-card effects are now working! I had a 
completely repeatable recipe to show they won't working yesterday, but a 
restart of my machine and a test immediately afterwards (both on the simulator 
and the iPad itself) showed the effects working fine. Since I hadn't changed 
the code of my app between the two tests, I can only think that I somehow 
messed up the IDE with other stuff I did in the previous sessions. If I find 
out exactly how to cause the problem, I will report it. Meanwhile thanks for 
the advice. 

Right now I no longer want to do stack-to-stack transitions, but your advice on 
this will be stored away in the scrapbook for later use.

Graham
Back to the next problem - embedded sounds.

On Tue, 21 Feb 2012 08:37:14 -0700, Chris Sheffield wrote:

> Graham,
> 
> Not sure if you've ever found a solution for this problem, but I've got a 
> couple other suggestions that may help.
> 
> First, if you're simply issuing a command like:
> 
>   visual effect "whatever"
>   go cd "someCard"
> 
> then this should work just fine. I've found that if something like this is 
> not working, it's usually because I have some kind of error that's occurring 
> in the script (usually preOpenCard) of the card I'm trying to go to. Nothing 
> to do in this case but debug and try to figure out what's going on. With that 
> said, I have actually found, and I believe others have as well, that you get 
> a very slight performance boost if you use the "lock screen for visual 
> effect" command instead of the above method. So something like:
> 
>   lock screen for visual effect
>   go cd "someCard"
>   unlock screen with visual effect "whatever"
> 
> So you might give that a try and see what happens. As I said, it's not 
> necessary to do it this way, and the first method should work just fine.
> 
> If I remember correctly, your original post also mentioned using a visual 
> effect when moving to different stacks. If not, disregard the following. I've 
> found a way that works well for me. There are probably others. I was also 
> having issues with this at one point, and I found this worked just fine. 
> Something like:
> 
>   visual effect "whatever"
>   go cd "someCard" of stack "theToStack"
>   close stack "theFromStack"
> 
> It seems to be necessary to specify a card, even if there's only one, when 
> using the go command, otherwise the visual effect doesn't happen. And the 
> same goes for the close stack command. It's supposedly not necessary to do 
> that, as in iOS only one stack is open at a time, but, once again, I found 
> that the effect did not work correctly if I didn't issue that command.
> 
> Hope some of this helps. Once again, if you find that visual effects are not 
> happening like they should, but the code is correct and you *are* moving to 
> the desired card, most likely it's a script error somewhere.
> 
> Chris
> 
> 
> --
> Chris Sheffield
> Read Naturally, Inc.
> www.readnaturally.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Visual effect problems in iOS

2012-02-21 Thread Michael Doub
Let me join you on the soapbox.   I agree with you that support for all 
platforms should be the same.   I am less of an language purest, but I am happy 
to support you.

-= Mike


On 02/21/2012, at 12:12 PM, Ken Ray wrote:

> 
> On Feb 20, 2012, at 2:26 PM, Graham Samuel wrote:
> 
>> Having finally reviewed that page (12) I notice that the description doesn't 
>> apply to my case. I have not locked the screen, and am just doing a 
>> card-to-card transition. As I said, my very simple example works (set up a 
>> "flip left" visual effect, then go to a different card), but it doesn't work 
>> in my app. I am quite prepared to believe it's my fault but I really can't 
>> see what I'm doing wrong. Incidentally, locking and unlocking the screen as 
>> described in the document doesn't help.
> 
> Is it possible you're using an unsupported adjective? I discovered that if I 
> used "slowly" instead of "slow", the visual effect wouldn't work. The only 
> supported adjectives are "very slow", "slow", "normal", "fast", and "very 
> fast". 
> 
> OT: Grammar(you can stop reading here if you don't care about this)
> 
> 
> As someone who's kind of picky about the use of language, the fact that the 
> descriptor is described in the iOS Development Release Notes as an 
> *adjective* and not an *adverb* drives me crazy… you see visual effects 
> originated in HyperCard, then SuperCard, and then ultimately in 
> MetaCard/Revolution/LiveCode. At the beginning, the syntax allowed for both 
> proper adverbs (like "slowly") as well as improper ones (like "slow"). But at 
> some point along the way, Revolution/LiveCode dropped official support (in 
> the documentation, that is) for proper adverbs. So where you used to be able 
> to use:
> 
>unlock screen with visual effect dissolve slowly
> 
> you are now urged to use:
> 
>unlock screen with visual effect dissolve slow
> 
> The current desktop versions of LC still support proper adverbs, but the 
> mobile versions don't. Personally I see that as a bad direction. Use of 
> "slowly" is  the correct form, since "dissolve", "flip", etc. are all 
> *verbs*, thus requiring an *adverb* to modify them. Adjectives are meant to 
> modify *nouns*, which in this case is the "visual effect". So if the speeds 
> were adjectives, or if for some reason the noun being modified is "visual 
> effect dissolve" and not "visual effect", the syntax would end up being:
> 
>unlock screen with slow visual effect dissolve
> 
> However since the current syntax is to apply the modifier *after* the 
> description of the effect, it means that "dissolve" is a verb, and as such 
> should use an adverb. And while most of the rest of the world seems OK with 
> saying things like:
> 
>"The car moves fast"  (instead of "The car moves quickly")
>"Your clock is running slow"  (instead of "Your clock is running slowly")
>"Eat a healthy breakfast" (instead of "Eat a healthful breakfast")
> 
> I feel that LiveCode should at least continue to support adverbs with visual 
> effects on *all* platforms.
> 
> Thank you for listening to this rant…
> 
> :D
> 
> 
> Ken Ray
> Sons of Thunder Software, Inc.
> Email: k...@sonsothunder.com
> Web Site: http://www.sonsothunder.com/
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Visual effect problems in iOS

2012-02-21 Thread Ken Ray

On Feb 20, 2012, at 2:26 PM, Graham Samuel wrote:

> Having finally reviewed that page (12) I notice that the description doesn't 
> apply to my case. I have not locked the screen, and am just doing a 
> card-to-card transition. As I said, my very simple example works (set up a 
> "flip left" visual effect, then go to a different card), but it doesn't work 
> in my app. I am quite prepared to believe it's my fault but I really can't 
> see what I'm doing wrong. Incidentally, locking and unlocking the screen as 
> described in the document doesn't help.

Is it possible you're using an unsupported adjective? I discovered that if I 
used "slowly" instead of "slow", the visual effect wouldn't work. The only 
supported adjectives are "very slow", "slow", "normal", "fast", and "very 
fast". 

OT: Grammar(you can stop reading here if you don't care about this)


As someone who's kind of picky about the use of language, the fact that the 
descriptor is described in the iOS Development Release Notes as an *adjective* 
and not an *adverb* drives me crazy… you see visual effects originated in 
HyperCard, then SuperCard, and then ultimately in MetaCard/Revolution/LiveCode. 
At the beginning, the syntax allowed for both proper adverbs (like "slowly") as 
well as improper ones (like "slow"). But at some point along the way, 
Revolution/LiveCode dropped official support (in the documentation, that is) 
for proper adverbs. So where you used to be able to use:

unlock screen with visual effect dissolve slowly

you are now urged to use:

unlock screen with visual effect dissolve slow

The current desktop versions of LC still support proper adverbs, but the mobile 
versions don't. Personally I see that as a bad direction. Use of "slowly" is  
the correct form, since "dissolve", "flip", etc. are all *verbs*, thus 
requiring an *adverb* to modify them. Adjectives are meant to modify *nouns*, 
which in this case is the "visual effect". So if the speeds were adjectives, or 
if for some reason the noun being modified is "visual effect dissolve" and not 
"visual effect", the syntax would end up being:

unlock screen with slow visual effect dissolve

However since the current syntax is to apply the modifier *after* the 
description of the effect, it means that "dissolve" is a verb, and as such 
should use an adverb. And while most of the rest of the world seems OK with 
saying things like:

"The car moves fast"  (instead of "The car moves quickly")
"Your clock is running slow"  (instead of "Your clock is running slowly")
"Eat a healthy breakfast" (instead of "Eat a healthful breakfast")

I feel that LiveCode should at least continue to support adverbs with visual 
effects on *all* platforms.

Thank you for listening to this rant…

:D


Ken Ray
Sons of Thunder Software, Inc.
Email: k...@sonsothunder.com
Web Site: http://www.sonsothunder.com/  

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Visual effect problems in iOS

2012-02-21 Thread Chris Sheffield
Graham,

Not sure if you've ever found a solution for this problem, but I've got a 
couple other suggestions that may help.

First, if you're simply issuing a command like:

visual effect "whatever"
go cd "someCard"

then this should work just fine. I've found that if something like this is not 
working, it's usually because I have some kind of error that's occurring in the 
script (usually preOpenCard) of the card I'm trying to go to. Nothing to do in 
this case but debug and try to figure out what's going on. With that said, I 
have actually found, and I believe others have as well, that you get a very 
slight performance boost if you use the "lock screen for visual effect" command 
instead of the above method. So something like:

lock screen for visual effect
go cd "someCard"
unlock screen with visual effect "whatever"

So you might give that a try and see what happens. As I said, it's not 
necessary to do it this way, and the first method should work just fine.

If I remember correctly, your original post also mentioned using a visual 
effect when moving to different stacks. If not, disregard the following. I've 
found a way that works well for me. There are probably others. I was also 
having issues with this at one point, and I found this worked just fine. 
Something like:

visual effect "whatever"
go cd "someCard" of stack "theToStack"
close stack "theFromStack"

It seems to be necessary to specify a card, even if there's only one, when 
using the go command, otherwise the visual effect doesn't happen. And the same 
goes for the close stack command. It's supposedly not necessary to do that, as 
in iOS only one stack is open at a time, but, once again, I found that the 
effect did not work correctly if I didn't issue that command.

Hope some of this helps. Once again, if you find that visual effects are not 
happening like they should, but the code is correct and you *are* moving to the 
desired card, most likely it's a script error somewhere.

Chris


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com

On Feb 20, 2012, at 1:26 PM, Graham Samuel wrote:

> Thanks Paul, stupid of me. I seem always to be looking in the wrong place for 
> information.
> 
> Having finally reviewed that page (12) I notice that the description doesn't 
> apply to my case. I have not locked the screen, and am just doing a 
> card-to-card transition. As I said, my very simple example works (set up a 
> "flip left" visual effect, then go to a different card), but it doesn't work 
> in my app. I am quite prepared to believe it's my fault but I really can't 
> see what I'm doing wrong. Incidentally, locking and unlocking the screen as 
> described in the document doesn't help.
> 
> Thanks for the info, though.
> 
> Graham
> 
> OnMon, 20 Feb 2012 11:21:36 +, Paul Hibbert  wrote:
> 
>> Hi Graham,
>> 
>>> Thanks - I had not read these notes in detail and indeed it took some time 
>>> to find anything like them on the RunRev web site - they don't seem to have 
>>> stuck around on my Mac after installation. The only notes I could find are 
>>> called "LiveCodeNotes-5_0_0.pdf, revision 7", and there's nothing on Page 
>>> 12, so I still seem to have missed it - maybe you could tell me what it 
>>> says?
>> 
>> The notes John Dixon referred to should be under the Help menu in the 
>> LiveCode application, they are right below the 'User Guide' link.
>> 
>> If you want to access them through the finder, ctrl-click (right click) on 
>> the LiveCode application icon, choose 'Show Package Contents', then navigate 
>> to 'Contents > Tools', the release notes for LiveCode, iOS & Android are all 
>> in that folder.
>> 
>> HTH
>> 
>> Paul
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Visual effect problems in iOS

2012-02-20 Thread Graham Samuel
Thanks Paul, stupid of me. I seem always to be looking in the wrong place for 
information.

Having finally reviewed that page (12) I notice that the description doesn't 
apply to my case. I have not locked the screen, and am just doing a 
card-to-card transition. As I said, my very simple example works (set up a 
"flip left" visual effect, then go to a different card), but it doesn't work in 
my app. I am quite prepared to believe it's my fault but I really can't see 
what I'm doing wrong. Incidentally, locking and unlocking the screen as 
described in the document doesn't help.

Thanks for the info, though.

Graham

OnMon, 20 Feb 2012 11:21:36 +, Paul Hibbert  wrote:

> Hi Graham,
> 
>> Thanks - I had not read these notes in detail and indeed it took some time 
>> to find anything like them on the RunRev web site - they don't seem to have 
>> stuck around on my Mac after installation. The only notes I could find are 
>> called "LiveCodeNotes-5_0_0.pdf, revision 7", and there's nothing on Page 
>> 12, so I still seem to have missed it - maybe you could tell me what it says?
> 
> The notes John Dixon referred to should be under the Help menu in the 
> LiveCode application, they are right below the 'User Guide' link.
> 
> If you want to access them through the finder, ctrl-click (right click) on 
> the LiveCode application icon, choose 'Show Package Contents', then navigate 
> to 'Contents > Tools', the release notes for LiveCode, iOS & Android are all 
> in that folder.
> 
> HTH
> 
> Paul

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Visual effect problems in iOS

2012-02-20 Thread Paul Hibbert
Hi Graham,

> Thanks - I had not read these notes in detail and indeed it took some time to 
> find anything like them on the RunRev web site - they don't seem to have 
> stuck around on my Mac after installation. The only notes I could find are 
> called "LiveCodeNotes-5_0_0.pdf, revision 7", and there's nothing on Page 12, 
> so I still seem to have missed it - maybe you could tell me what it says?

The notes John Dixon referred to should be under the Help menu in the LiveCode 
application, they are right below the 'User Guide' link.

If you want to access them through the finder, ctrl-click (right click) on the 
LiveCode application icon, choose 'Show Package Contents', then navigate to 
'Contents > Tools', the release notes for LiveCode, iOS & Android are all in 
that folder.

HTH

Paul
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: Visual effect problems in iOS

2012-02-20 Thread Graham Samuel
Thanks - I had not read these notes in detail and indeed it took some time to 
find anything like them on the RunRev web site - they don't seem to have stuck 
around on my Mac after installation. The only notes I could find are called 
"LiveCodeNotes-5_0_0.pdf, revision 7", and there's nothing on Page 12, so I 
still seem to have missed it - maybe you could tell me what it says?

In the document I did find, towards the end there's a list of "specific bug 
fixes" which includes, unless I drastically misread it:

> Go stack (to different stack) doesn't play visual effects on mobile
> Go stack in window doesn't play visual effects on mobile


Well it doesn't work for me so I accept that as a limitation, and as I said in 
my original post, I have re-organised my app to avoid this issue by simplifying 
the structure so that everything the user sees is in one stack and thus I only 
require card-to-card visual effects. But none of this explains why my plain 
vanilla card-to-card example works while my attempt to do what I meant to be 
the exact same plain vanilla thing in my app, doesn't work. I can't see how I 
have influenced the engine's ability to do visual effects.

Any clues?

TIA

Graham



On Sun, 19 Feb 2012 18:34:59 +, John Dixon  wrote:

> Hi... have a look at p.12 in the LC 5.0.2 release notes about the changes to 
> using visual effects...
> 
>> From: livf...@mac.com
>> Subject: Visual effect problems in iOS
>> Date: Sun, 19 Feb 2012 18:15:50 +0100
>> To: use-livecode@lists.runrev.com
>> 
>> Folks, I have been trying to use 'visual effect' to make transitions between 
>> cards and between stacks on an iPad app and I am not getting anywhere.
>> 
>> Firstly I can't get the transition between stacks to do anything. The syntax 
>> shown in the dictionary seems a bit ambiguous (I just want to move to 
>> another stack in the same window) but I am not seeing any transitions. So I 
>> decided to confine my effects to a single stack, just switching between 
>> cards.
>> 
>> I built a tiny stack that just moves between cards using buttons that do 
>> this kind of thing:
>> 
>> on mouseUp
>>   visual effect "flip left"
>>   go cd "second"
>> end mouseUp
>> 
>> This works fine in the simulator: but when I put the same bit of code into 
>> my actual app, the 'go' works but not the visual effect. Here is the actual 
>> code, copied from the app
>> 
>> on mouseUp
>>   visual effect "flip left"
>>   go cd "Diagram"
>> end mouseUp 
>> 
>> The card exists and is in the current stack. What can I possibly have done 
>> to stop the effect working? Beats me.
>> 
>> FWIW, I'm using LC 5.0.2 on MacOS Lion 10.7.3 with version 4.2.1 of Xcode 
>> and version 5.0 of the simulator. The alwaysBuffer of the relevant stack is 
>> set to true.
>> 
>> Puzzled
>> 
>> Graham
> 

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: Visual effect problems in iOS

2012-02-19 Thread John Dixon

Hi... have a look at p.12 in the LC 5.0.2 release notes about the changes to 
using visual effects...

> From: livf...@mac.com
> Subject: Visual effect problems in iOS
> Date: Sun, 19 Feb 2012 18:15:50 +0100
> To: use-livecode@lists.runrev.com
> 
> Folks, I have been trying to use 'visual effect' to make transitions between 
> cards and between stacks on an iPad app and I am not getting anywhere.
> 
> Firstly I can't get the transition between stacks to do anything. The syntax 
> shown in the dictionary seems a bit ambiguous (I just want to move to another 
> stack in the same window) but I am not seeing any transitions. So I decided 
> to confine my effects to a single stack, just switching between cards.
> 
> I built a tiny stack that just moves between cards using buttons that do this 
> kind of thing:
> 
> on mouseUp
>visual effect "flip left"
>go cd "second"
> end mouseUp
> 
> This works fine in the simulator: but when I put the same bit of code into my 
> actual app, the 'go' works but not the visual effect. Here is the actual 
> code, copied from the app
> 
> on mouseUp
>visual effect "flip left"
>go cd "Diagram"
> end mouseUp 
> 
> The card exists and is in the current stack. What can I possibly have done to 
> stop the effect working? Beats me.
> 
> FWIW, I'm using LC 5.0.2 on MacOS Lion 10.7.3 with version 4.2.1 of Xcode and 
> version 5.0 of the simulator. The alwaysBuffer of the relevant stack is set 
> to true.
> 
> Puzzled
> 
> Graham

  
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode