Re: [Flashcoders] Design pattern?

2010-01-18 Thread John McCormack
The user may go for another button click as the timer ends. How about saving state when a non-button click occurs? John Nathan Mynarcik wrote: Gotcha. That makes sense. --Original Message-- From: Paul Andrews Sender: flashcoders-boun...@chattyfig.figleaf.com To: Flash Coders List

Re: [Flashcoders] Design pattern?

2010-01-18 Thread Karl DeSaulniers
Maybe? var clicks:Number = 0; function checkClicks() { clicks++; if(clicks == 1) { //show this } else if(clicks == 2) { //show this } else if(clicks == 3) { //show this } else if(clicks == 4) {

Re: [Flashcoders] Design pattern?

2010-01-18 Thread Paul Andrews
John McCormack wrote: The user may go for another button click as the timer ends. Well, maybe but it just means I save one time more often than I needed to. There's no chance of missing a save (except a small window when the user could just close the browser before a save has happened). How

Re: [Flashcoders] Design pattern?

2010-01-18 Thread Paul Andrews
Karl DeSaulniers wrote: Maybe? var clicks:Number = 0; function checkClicks() { clicks++; if(clicks == 1) { //show this } else if(clicks == 2) { //show this } else if(clicks == 3) { //show this } else if(clicks == 4) { //show this } else

Re: [Flashcoders] Design pattern?

2010-01-18 Thread Nathan Mynarcik
Paul, I think your timer solution is probably best for this situation. Nathan Mynarcik Interactive Web Developer nat...@mynarcik.com 254.749.2525 www.mynarcik.com -Original Message- From: Paul Andrews p...@ipauland.com Date: Mon, 18 Jan 2010 14:52:59 To: Flash Coders

Re: [Flashcoders] Design pattern?

2010-01-18 Thread Karl DeSaulniers
Gotcha. Sorry, thought I had that one nailed. :) Maybe have all the states load dynamically in MCs that lay on top of each other with different levels and opacity and swap their levels and opacities? One load time for all images/states. 4 different states that are switchable and can take on

Re: [Flashcoders] Design pattern?

2010-01-18 Thread Nathan Mynarcik
His issue isn't about the buttons, but is how to save the state that the user chooses by clicking one of the buttons. I think he has the displaying of buttons nailed down already. Nathan Mynarcik Interactive Web Developer nat...@mynarcik.com 254.749.2525 www.mynarcik.com -Original

Re: [Flashcoders] external interface

2010-01-18 Thread Gustavo Duenas
so I change it for the regular lightbox.js or you meant inside of the js file? Gustavo On Jan 16, 2010, at 1:33 AM, amol wrote: It is because of your js just chang this lightbox++.js and check - Original Message - From: Gustavo Duenas gdue...@leftandrightsolutions.com To:

Re: [Flashcoders] Design pattern?

2010-01-18 Thread Paul Andrews
Karl DeSaulniers wrote: Gotcha. Sorry, thought I had that one nailed. :) Maybe have all the states load dynamically in MCs that lay on top of each other with different levels and opacity and swap their levels and opacities? One load time for all images/states. 4 different states that are

Re: [Flashcoders] Design pattern?

2010-01-18 Thread Paul Andrews
Nathan Mynarcik wrote: Paul, I think your timer solution is probably best for this situation. Yes, I think it is. I just wanted to see if there was some other clever way to do it better. I'm just avoiding the use of a separate SAVE button really. Paul Nathan Mynarcik Interactive Web

Re: [Flashcoders] Design pattern?

2010-01-18 Thread Greg Ligierko
I do not have the feeling how user interacts with the buttons. I am just guessing that each button will be clicked many times in one sequence and after reaching the desired state (a,b,c,...c,d,a,B) user will move the cursor to a next button (or close the window). If this is the scenario, then

Re: [Flashcoders] external interface

2010-01-18 Thread Bob Wohl
This line: script type=text/javascript src=js/lightbox++.js/script should just be script type=text/javascript src=js/lightbox.js/script On Mon, Jan 18, 2010 at 8:25 AM, Gustavo Duenas gdue...@leftandrightsolutions.com wrote: so I change it for the regular lightbox.js or you meant inside of

Re: [Flashcoders] Design pattern?

2010-01-18 Thread Paul Andrews
Greg Ligierko wrote: I do not have the feeling how user interacts with the buttons. I am just guessing that each button will be clicked many times in one sequence and after reaching the desired state (a,b,c,...c,d,a,B) user will move the cursor to a next button (or close the window). If this is

Re: [Flashcoders] external interface-Lightbox in flash (solved)

2010-01-18 Thread Gustavo Duenas
Thanks for the help, I've just edit the lightbox++.js, because it appears that it is not working with the regular lightbox.js, there was a function to hide the flash and I've just erased, now everything is working as normal. On Jan 18, 2010, at 12:21 PM, Bob Wohl wrote: This line: script

[Flashcoders] Exporting a movie file

2010-01-18 Thread Lehr, Ross (N-SGIS)
I know you can export a frame of a movie clip to an image, but can flash export a movie clip to a video file (.mov)? Thanks Ross ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Exporting a movie file

2010-01-18 Thread Nathan Mynarcik
You can save the fla as an avi file in your publish settings. Is this what you are looking to do? --Original Message-- From: Lehr, Ross (N-SGIS) Sender: flashcoders-boun...@chattyfig.figleaf.com To: Flash Coders List ReplyTo: Flash Coders List Subject: [Flashcoders] Exporting a movie

Re: [Flashcoders] Exporting a movie file

2010-01-18 Thread Henrik Andersson
Nathan Mynarcik wrote: I know you can export a frame of a movie clip to an image, but can flash export a movie clip to a video file (.mov)? Do note that said video will miss several features, most importantly any actionscript used. Use some 3rd party converter instead, the built in

RE: [Flashcoders] Exporting a movie file

2010-01-18 Thread Merrill, Jason
but can flash export a movie clip to a video file (.mov)? File Export Movie select Quicktime Jason Merrill Bank of America Global Learning Learning Performance Soluions Join the Bank of America Flash Platform Community and visit our Instructional Technology Design Blog (note: these

RE: [Flashcoders] Exporting a movie file

2010-01-18 Thread Merrill, Jason
Nope - that's not going to work. The Flash player renders dynamic text, not the Quicktime player. Quicktime does not support Actionscript. Jason Merrill Bank of America Global Learning Learning Performance Soluions Join the Bank of America Flash Platform Community and visit our

Re: [Flashcoders] Exporting a movie file

2010-01-18 Thread jonathan howe
I recommend Macromedia Generator!* -jonathan *joking. I spent a lot of time messing around with Generator as a way to streamline image production about 10 years ago. I'm glad it can be a punchline now. On Mon, Jan 18, 2010 at 2:59 PM, Barry Hannah ba...@shift.co.nz wrote: This is much more

Re: [Flashcoders] Design pattern?

2010-01-18 Thread Greg Ligierko
If I did, then for sure there is a better method :) I did not play with the onBeforeUnload JS event and don't know whether overriding its handler could work with ExternalInterface. Perhaps you already considered this. The JS dialog might be annoying but this could be another alternative.

Re: [Flashcoders] Design pattern?

2010-01-18 Thread Paul Andrews
Greg Ligierko wrote: If I did, then for sure there is a better method :) I did not play with the onBeforeUnload JS event and don't know whether overriding its handler could work with ExternalInterface. Perhaps you already considered this. The JS dialog might be annoying but this could be