Re: Gif issues
Animated GIF images seem to cause more trouble than they are worth with Livecode: - turning the clock back - Animations were effected in Hypercard by running through a series of cards. --- A method I have used is by having a Button where I want the animation to be and setting the icon to a series of images. If one opens an animated GIF with Quicktime one can export the series of frames as individual images which can then be imported into a stack, stored off-screen, and called as icons for a button. Although a series of images will involves a RAM overhead in comparison with an animated GIF that is hardly relevant when people look at you askance if your computer has less that a Gig of RAM. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Gif issues
On Thu, Nov 11, 2010 at 4:27 PM, Andrew Kluthe wrote: > > My splash screen presents a login and upon authenticating the actual > splash > comes up, checks for updates, then connects to a database using SQLYoga. I > had made 2 handlers, one for starting and showing the gif, and one for > stopping, hiding and resetting the gif's state. > > Everything works as it should until SQLYoga actual goes to connect to the > database. At this point the gif animation freezes until the connection is > successfully made. The rest of the processes for initialization are > lightning fast so primarily the gif is for the wait on the connection to > the > db. > GIF animations will not animate while the engine is involved in a long process. If it is taking a while to connect to the database then the engine is in a revOpenDatabase call which would stop the GIF animation. I don't know that the GIF animation issue is something that can be addressed right now but you could submit a request to have revOpenDatabase be non-blocking. hostnametoaddress was recently update in 4.5 so a to be non-blocking if [callback] was provided: hostnameToAddress(hostname, [ callback ]) This is significant because now our applications don't have to lock up if there is a problem connecting to the internet. Maybe revOpenDatabase could have a [callback] option as well. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Gif issues
You know I think we ran into this before. Because LiveCode is single threaded, things like animated cursors and progress bars will not run while a single command is executing. I assume this is what you mean by a blocking call. Either LiveCode needs to support multithreading, (unlikely) or someone needs to produce an external that does progress bars, that you can interact with via code while it's running. When I put it that way, it seems a tough nut to crack. Bob On Nov 11, 2010, at 7:14 PM, Andrew Kluthe wrote: > > I fixed the issue with it not connecting at all, it was an issue of not > putting the result i was error checking for. Gif issue persists identically. > Perhaps this is just not doable with SQLYoga's call. Would a blocking > command stop gifs from animating? If yes, would it also keep a manual gif > loop over the frames from working? I am inclined to think so. > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Gif-issues-tp3038619p3039002.html > Sent from the Revolution - User mailing list archive at Nabble.com. > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Gif issues
I fixed the issue with it not connecting at all, it was an issue of not putting the result i was error checking for. Gif issue persists identically. Perhaps this is just not doable with SQLYoga's call. Would a blocking command stop gifs from animating? If yes, would it also keep a manual gif loop over the frames from working? I am inclined to think so. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Gif-issues-tp3038619p3039002.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Gif issues
same thing happens. except now SQLYoga won't connect to my db at all. lol -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Gif-issues-tp3038619p3038999.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Gif issues
Try putting the call to sqlYoga into a command or function and then calling it in time eg: send connectNow to this stack in 10 milliseconds Not sure if that will work but give it a try. Bob On Nov 11, 2010, at 1:27 PM, Andrew Kluthe wrote: > > Hey there, > > I was following the beachball cursor post and decided to add a spinning > daisy gif to my splash screen to compliment the status log that lets the > user know what stage of initialization the program is in. > > My splash screen presents a login and upon authenticating the actual splash > comes up, checks for updates, then connects to a database using SQLYoga. I > had made 2 handlers, one for starting and showing the gif, and one for > stopping, hiding and resetting the gif's state. > > Everything works as it should until SQLYoga actual goes to connect to the > database. At this point the gif animation freezes until the connection is > successfully made. The rest of the processes for initialization are > lightning fast so primarily the gif is for the wait on the connection to the > db. > > Does anyone have any recommendations on how I could get the gif to play or > emulate the gif frame by frame (familiar with the process the frame by frame > loop entails, but wouldn't this also be blocked by the SQLYoga db_connect > call? > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Gif-issues-tp3038619p3038619.html > Sent from the Revolution - User mailing list archive at Nabble.com. > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Gif issues
Hey there, I was following the beachball cursor post and decided to add a spinning daisy gif to my splash screen to compliment the status log that lets the user know what stage of initialization the program is in. My splash screen presents a login and upon authenticating the actual splash comes up, checks for updates, then connects to a database using SQLYoga. I had made 2 handlers, one for starting and showing the gif, and one for stopping, hiding and resetting the gif's state. Everything works as it should until SQLYoga actual goes to connect to the database. At this point the gif animation freezes until the connection is successfully made. The rest of the processes for initialization are lightning fast so primarily the gif is for the wait on the connection to the db. Does anyone have any recommendations on how I could get the gif to play or emulate the gif frame by frame (familiar with the process the frame by frame loop entails, but wouldn't this also be blocked by the SQLYoga db_connect call? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Gif-issues-tp3038619p3038619.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution