Re: [Flashcoders] end of program event?
Hi, if you use a localsharedobject it will flush automatically as the player quits. Intercepting the finalize/destroy etc is not possible I think. hth hans On Tue, Jun 1, 2010 at 2:04 AM, Glen Pike wrote: > Hi, > > Not sure it this is any good, but try listening for the > REMOVED_FROM_STAGE event in your document class? > > Failing that, you could setup some JavaScript to talk to Flash on the > Window.unload event, but by then Flash could have gone... > > Hope this is some help.. > > Glen > > > Jim Andrews wrote: > >> I want to write text info to disk when the user quits the flash piece >> playing in the browser. >> >> Is there an event I listen to for the end of the program? What event? >> >> ja >> ___ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] JSFL question on shapes and strokes.
Hello, I am trying to convert some drawings on stage into a movieclip via jsfl. It works when all the elements on stage are separatly grouped. JSFL doesnt seem to 'see' non grouped drawings as seperate entities. To clearify, I have on frame on the main timeline. In this frame I have three shapes that are grouped and two shapes that are just plain circles made of a stroke. So in total I have 5 entities on stage. The JSFL script below outputs just three times. Does anybody know how I can get all five shapes on stage via jsfl, no matter if the are grouped or just drawings? I want each item to be converted into a MovieClip. var doc = fl.getDocumentDOM() var tl = doc.getTimeline() var layers = tl.layers; tl.setSelectedLayers(0); fl.outputPanel.clear(); for (var l=0; lhttp://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] end of program event?
Saving state info to disk at the end of a program's run (so state can be resumed on later play) is about as standard an operation in programming as reading a value in to a variable. It's just so very commonly done. Therefore, there must be a very standard class for this sort of UserDataManager. The UserDataManager, on program start, checks for a prefs (short for 'preferences') or .sol (or whatever) file on the system (fills the RAM var with default values if no such file exists). On program termination, the UserDataManager writes the RAM prefs or .sol (or whatever) file to disk. And during the running of the program, other modules occassionally save prefs values in the RAM UserDataManager--in the SharedObject. Surely there is a free UserDataManager (or some such name) class that is commonly used as a template for reading and writing such info to disk in Flash projects? ja http://vispo.com - Original Message - From: "Hans Wichman" To: "Flash Coders List" Sent: Tuesday, June 01, 2010 1:41 AM Subject: Re: [Flashcoders] end of program event? Hi, if you use a localsharedobject it will flush automatically as the player quits. Intercepting the finalize/destroy etc is not possible I think. hth hans On Tue, Jun 1, 2010 at 2:04 AM, Glen Pike wrote: Hi, Not sure it this is any good, but try listening for the REMOVED_FROM_STAGE event in your document class? Failing that, you could setup some JavaScript to talk to Flash on the Window.unload event, but by then Flash could have gone... Hope this is some help.. Glen Jim Andrews wrote: I want to write text info to disk when the user quits the flash piece playing in the browser. Is there an event I listen to for the end of the program? What event? ja ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] end of program event?
uh yeah the localshared object ;). Probably tons of wrappers out there if you need one. On Tue, Jun 1, 2010 at 12:20 PM, Jim Andrews wrote: > Saving state info to disk at the end of a program's run (so state can be > resumed on later play) is about as standard an operation in programming as > reading a value in to a variable. It's just so very commonly done. > > Therefore, there must be a very standard class for this sort of > UserDataManager. The UserDataManager, on program start, checks for a prefs > (short for 'preferences') or .sol (or whatever) file on the system (fills > the RAM var with default values if no such file exists). On program > termination, the UserDataManager writes the RAM prefs or .sol (or whatever) > file to disk. And during the running of the program, other modules > occassionally save prefs values in the RAM UserDataManager--in the > SharedObject. > > Surely there is a free UserDataManager (or some such name) class that is > commonly used as a template for reading and writing such info to disk in > Flash projects? > > ja > http://vispo.com > > - Original Message - From: "Hans Wichman" < > j.c.wich...@objectpainters.com> > To: "Flash Coders List" > Sent: Tuesday, June 01, 2010 1:41 AM > Subject: Re: [Flashcoders] end of program event? > > > > Hi, >> >> if you use a localsharedobject it will flush automatically as the player >> quits. Intercepting the finalize/destroy etc is not possible I think. >> >> hth >> hans >> >> >> >> >> On Tue, Jun 1, 2010 at 2:04 AM, Glen Pike >> wrote: >> >> Hi, >>> >>> Not sure it this is any good, but try listening for the >>> REMOVED_FROM_STAGE event in your document class? >>> >>> Failing that, you could setup some JavaScript to talk to Flash on the >>> Window.unload event, but by then Flash could have gone... >>> >>> Hope this is some help.. >>> >>> Glen >>> >>> >>> Jim Andrews wrote: >>> >>> I want to write text info to disk when the user quits the flash piece playing in the browser. Is there an event I listen to for the end of the program? What event? ja >>> > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Rede social une usuários do mundo acadêmico
If spam is to be trusted, the site will also allow you to make money by publishing stuff and inviting friends... >>> How do you type an upside-down question mark??? >>> Don't you dare laughing at one of the best features my language has contributed to written speech (too bad the rest of the world hasn't noticed it yet; and, no, we don't share it with anyone else, not even with Brazilians, Portuguese, et al). :P People often find it odd, but ¿why do these people feel, at the same time, that opening parenthesis before closing them is all that natural? It's Alt + 0191, anyway. Although most Spanish speakers don't seem to care to put those opening question and exclamation marks these days, just as they don't care to put those funny accent marks or spelling properly for that matter. They can't seem to be bothered with such minutiae. ¡Too bad! 2010/6/1 J.C. Berry > Just spam about a news site that allows user content. > > 2010/5/31 Karl DeSaulniers > > > Oh boy... here we go again. > > Anyone got a spanglish dictionary I could use? > > Sounds like something big. They used the word grande. > > How do you type an upside-down question mark??? > > > > > > On May 31, 2010, at 9:20 PM, Follow Science wrote: > > > > Com o Follow Science, você: > >> > >> > >>Fica sabendo dos próximos eventos > >> nacionais e internacionais; > >>Compartilha arquivos e idéias com > >> pessoas de diversas áreas; > >>Acessa um grande acervo de > notícias > >> e artigos; > >>Pode ganhar dinheiro publicando > >> conteúdo e convidando amigos; > >>E muito mais! > >> > >> > >>Cadastre-se no Follow Science!» > >> > >> > >> > >> > >> > >>Talvez você conheça essas pessoas > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >>Leandro Ferreira > >> > >> > >> > >> > >> > >> > >> > >>Petalla Timo > >> > >> > >> > >> > >> > >> > >> > >>michèle sato > >> > >> > >> > >> > >> > >> > >> > >>José Carlos > Martins > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >>©2010 Follow Science - Todos os direitos reservados. > >>Sobre Nós | Política de Privacidade | Termos de Uso > >> > >>Você recebeu esta mensagem pelo email > >> flashcod...@chattyfig.figleaf.com. Caso não queira mais receber nossos > >> comunicados clique aqui > >> > >> ___ > >> Flashcoders mailing list > >> Flashcoders@chattyfig.figleaf.com > >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >> > > > > Karl DeSaulniers > > Design Drumm > > http://designdrumm.com > > > > > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > -- > J.C. Berry, M.A. > UI Developer > 619.306.1712(m) > jcharlesbe...@gmail.com > portfolio: http://www.mindarc.com > > > > This E-mail is covered by the Electronic Communications Privacy Act, 18 > U.S.C. ?? 2510-2521 and is legally privileged. This information is > confidential information and is intended only for the use of the individual > or entity named above. If the reader of this message is not the intended > recipient, you are hereby notified that any dissemination, distribution or > copying of this communication is strictly prohibited. > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Rede social une usuários do m undo acadêmico
On 1 Jun 2010, at 13:42, Juan Pablo Califano wrote: > It's Alt + 0191 or a bit easier on a Mac: Option-? = ¿ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Rede social une usuários do mundo acadêmico
Don't know. For me it's quite easy, Shift + the key just next to backspace, but then I have a Spanish keyboard... 2010/6/1 Paul Evans > On 1 Jun 2010, at 13:42, Juan Pablo Califano wrote: > > > It's Alt + 0191 > > or a bit easier on a Mac: Option-? = ¿ > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] buttonMode and textfield
Is there anyway to make it so the whole area of a textfield will register if the buttonMode is set to true... as it now, the hand cursor only shows if I roll over the text - I would like it to act more like a link where you do not have to be exactly over the text... ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] buttonMode and textfield
Put an invisible box over the text and have the eventlistener added to that instead of the TF. On Tue, Jun 1, 2010 at 1:10 PM, Lehr, Theodore wrote: > Is there anyway to make it so the whole area of a textfield will register > if the buttonMode is set to true... as it now, the hand cursor only shows if > I roll over the text - I would like it to act more like a link where you do > not have to be exactly over the text... > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Smokescreen: Flash without the plugin
This has begun making the rounds recently but I didn't see it posted here yet: http://smokescreen.us/. Check out the demos, it's pretty crazy what they are able to accomplish. I tried implementing it this morning with some swfs at the place I'm contracting at but they haven't worked. I do a lot of prototypes of possible new software that are mainly just glorified slideshows. Some of them play through even though I have stop points and some only load the first frame but don't play. I can't wait until the official release so I can play around some more. Even if it can't handle 100% of what Flash Player can do, for what I'm doing here it would be great to have the option to play them on an iPad for presentation purposes. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Smokescreen: Flash without the plugin
Interesting. Does it only work with timeliner flash? Or can it handle something entirely code-built? .m On Tue, Jun 1, 2010 at 1:54 PM, Joe Minkiewicz wrote: > This has begun making the rounds recently but I didn't see it posted here > yet: http://smokescreen.us/. > > Check out the demos, it's pretty crazy what they are able to accomplish. I > tried implementing it this morning with some swfs at the place I'm > contracting at but they haven't worked. I do a lot of prototypes of possible > new software that are mainly just glorified slideshows. Some of them play > through even though I have stop points and some only load the first frame > but don't play. I can't wait until the official release so I can play around > some more. Even if it can't handle 100% of what Flash Player can do, for > what I'm doing here it would be great to have the option to play them on an > iPad for presentation purposes. > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] XML and htmlText
To me, at least, this seems very weird... I have a textfield I am creating in as... I am doing something like this: main_txt.htmlText = "Question: "+xmlData.children()[i].children()[0]+""; If I have a line break IN the xml - it shows up... but the line break that is hardcoded in that line does NOT show up... why would that be? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] prob with import mx.controls.Alert
I get an error, in Flash Builder 4, with the following line, which is part of an ActionScript project. import mx.controls.Alert; The error is "1172: Definition mx.controls:Alert could not be found." How do I fix this? ja? http://vispo.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] XML and htmlText
i think that textfields treat returns (\n or \r) in what it expects to be html text as whitespace i'd recommend wrapping any html in and just inserting them wholesale rather than getting them as children of a node so which can be brought into a textfield like this myText.htmlText = xml.mynode; On 1 June 2010 20:20, Lehr, Theodore wrote: > To me, at least, this seems very weird... I have a textfield I am creating > in as... I am doing something like this: > > main_txt.htmlText = "Question: > "+xmlData.children()[i].children()[0]+""; > > If I have a line break IN the xml - it shows up... but the line break > that is hardcoded in that line does NOT show up... why would that be? > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] another flash without flash library
http://smokescreen.us/ js lib converts flash to svg and html5 they've said they will be open sourcing the project soon works pretty okay on my iphone as well a ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] another flash without flash library
Shame it doesn't supporet anu of the really ineteresting stuff Flash does though. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Smokescreen: Flash without the plugin
"Smokescreen currently supports a sizeable subset of Flash 8 animation capabilities, streaming sound, sound effects, some input and basic ActionScript" On 2 June 2010 03:40, Matt S. wrote: > Interesting. Does it only work with timeliner flash? Or can it handle > something entirely code-built? > > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Smokescreen: Flash without the plugin
And then all the sudden people start disabling Javascript in their browsers because they are being bombarded with "flash-like" ads. On Tue, Jun 1, 2010 at 11:10 AM, Matt S. wrote: > Interesting. Does it only work with timeliner flash? Or can it handle > something entirely code-built? > > .m > > On Tue, Jun 1, 2010 at 1:54 PM, Joe Minkiewicz > wrote: > > This has begun making the rounds recently but I didn't see it posted here > > yet: http://smokescreen.us/. > > > > Check out the demos, it's pretty crazy what they are able to accomplish. > I > > tried implementing it this morning with some swfs at the place I'm > > contracting at but they haven't worked. I do a lot of prototypes of > possible > > new software that are mainly just glorified slideshows. Some of them play > > through even though I have stop points and some only load the first frame > > but don't play. I can't wait until the official release so I can play > around > > some more. Even if it can't handle 100% of what Flash Player can do, for > > what I'm doing here it would be great to have the option to play them on > an > > iPad for presentation purposes. > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Smokescreen: Flash without the plugin
I played around with it a little this evening and it handles basic ease timeline tweens in FP8 ok. When my phone went to sleep and I returned to the site the animation was freaking out like it was playing catchup then it returned to the original speed. http://www.thespikeranch.com/test/smokescreen/ Helps to view that on an iPhone/touch/pad. -Gerry On Jun 1, 2010, at 7:12 PM, Peter B wrote: > "Smokescreen currently supports a sizeable subset of Flash 8 animation > capabilities, streaming sound, sound effects, some input and basic > ActionScript" > > On 2 June 2010 03:40, Matt S. wrote: > >> Interesting. Does it only work with timeliner flash? Or can it handle >> something entirely code-built? >> >> > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] problem with import mx.controls.Alert
Am I on the right list for a question like this? I get an error, in Flash Builder 4, with the following line, which is part of an ActionScript project. import mx.controls.Alert; The error is "1172: Definition mx.controls:Alert could not be found." How do I fix this? ja? http://vispo.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] problem with import mx.controls.Alert
Make a Flex app - Alert is for Flex. Or make your own Alert class. I'm not sure if linking the Flex SWCs would work for an Alert or not. On Tue, Jun 1, 2010 at 10:34 PM, Jim Andrews wrote: > Am I on the right list for a question like this? > > I get an error, in Flash Builder 4, with the following line, which is part > of an ActionScript project. > > import mx.controls.Alert; > > The error is "1172: Definition mx.controls:Alert could not be found." > > How do I fix this? > > ja? > http://vispo.com > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] problem with import mx.controls.Alert
Thanks, Eric. So I guess none of the mx.controls are for Flash but, rather, are all for Flex? ja Make a Flex app - Alert is for Flex. Or make your own Alert class. I'm not sure if linking the Flex SWCs would work for an Alert or not. I get an error, in Flash Builder 4, with the following line, which is part of an ActionScript project. import mx.controls.Alert; The error is "1172: Definition mx.controls:Alert could not be found." How do I fix this? ja? http://vispo.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders